Skip to content

Sync with anthropics/financial-services (23 upstream commits) - #1

Merged
smurphy405 merged 25 commits into
mainfrom
sync/anthropic-upstream-2026-11-18
Nov 18, 2026
Merged

smurphy405 merged 25 commits into
mainfrom
sync/anthropic-upstream-2026-11-18

Conversation

@smurphy405

Copy link
Copy Markdown

Purpose

Brings Jerpoint's fork of Anthropic's finance plugins up to date. Seán's Claude Code installs the finance plugins from this fork (marketplace claude-for-financial-services), and the fork was 23 commits behind anthropics/financial-services.

Scope

Notable upstream changes

Security / data effects

Test evidence

  • git diff --stat upstream/main after the merge shows only JERONIMO.md.
  • Upstream CI runs on this PR where Actions allows it.

Deployment

Once merged: claude plugin marketplace update claude-for-financial-services, then claude plugin update <plugin>@claude-for-financial-services for each installed plugin, and restart Claude Code.

Known limitations

  • The wealth-management plugin is still installed locally. Upstream no longer ships it, so it can't be updated.

🤖 Generated with Claude Code

mihilmy and others added 25 commits May 14, 2026 21:26
…oser validation (anthropics#195)

The add-in now accepts entra_scope as a comma/whitespace-separated list and
no longer requires a URI-shaped value (Entra validates scope syntax, not the
build script). Update the docs and the build-manifest validation to match:

- build-manifest.mjs: entra_scope pattern relaxed to any non-blank string;
  the graph_client_id pairing check is unchanged.
- manifest.md: document the multi-scope list syntax and the same-resource
  constraint; clarify the build script enforces the pairing, not the format.
- bootstrap.md: note scp is a space-delimited list with multiple scopes.
- debug.md: add a Silent SSO / Entra token failures troubleshooting section
  (AADSTS50194, entra_scope-without-graph_client_id, silent-then-popup).
…Wef sideload debug (anthropics#208)

* feat(repo): plugin version-bump hook + CI backstop, fix install docs/remote

* docs(claude-in-office): add Wef registry + wef-folder sideload (Windows + macOS) for local debugging

* ci: use actions/checkout@v4 instead of pinned SHA

* docs(claude-in-office): scope sideload cleanup to the specific manifest, not the wef folder

* docs(claude-in-office): scope cache-clear to wef contents with guards, not rm -rf of caches/wef dirs

* docs(claude-in-office): target cache-clear by add-in Id, leave other add-ins in wef untouched

* feat(claude-in-office): add clear-addin-cache scripts (mac/win), ID-targeted, dry-run by default

* fix(claude-in-office): Windows sideload cleanup is registry-based, ID-first; direct edits (no office-addin-dev-settings); document deployed-cache caveat

* docs(claude-in-office): clarify surgical per-ID deletion of local/sideloaded manifests is safe; MS warning applies only to the deployed cache

* feat(claude-in-office): add sideload-addin scripts (mac/win), ID-derived, dry-run by default; debug.md points to script pair

* feat(claude-in-office): sideload installs directly (drop dry-run); dry-run stays only on destructive clear-addin-cache

* docs(claude-in-office): make the post-clear app restart an explicit step, not a buried line
…ropics#232)

fix(plugins): hooks.json must be {"hooks": {}} not []; add plugin-validate CI

The empty-array hooks.json in private-equity, financial-analysis,
equity-research and wealth-management caused those plugins to fail to
load ("Hook load failed: expected object, received array"). Replace [] with
the minimal valid {"hooks": {}} object in all four.

Add a plugin-validate workflow that runs the official `claude plugin
validate` over the marketplace manifest and every plugin on each PR and
push, so a malformed manifest fails CI instead of reaching users. The
CLI is installed from the official binary channel and cached, keyed on a
pinned version, so a warm cache skips the download entirely.
…cs#239)

* fix(ci): cache claude binary dir, not just the dangling symlink

~/.local/bin/claude is a symlink into ~/.local/share/claude/versions/<v>.
Caching only the symlink restored a dangling link on a cache hit, so
`claude` failed with exit 127. Cache the versioned dir too and bump the
cache key (-v2) to discard the broken saved entry.

* docs(claude-for-msft-365-install): add update + bootstrap sections, debug command row
…lobal MCP (anthropics#243)

The marketplace loader rejected 9 of 20 plugins on sync:

- 29 vertical-plugin SKILL.md sources had no YAML frontmatter — the
  skill name/description sat in the body as a bare `description:` line
  after the `# Title` H1. Synthesized proper `--- name/description ---`
  frontmatter (name = skill dir, description = the existing body text),
  matching the loading skills (e.g. fund-admin/accrual-schedule). Agent
  bundles re-synced via scripts/sync-agent-skills.py (12 copies).
- 4 hooks/hooks.json were `[]`; the loader requires a JSON object.
  Changed to `{ "hooks": {} }` — the form investment-banking already
  uses and that synced clean.
- partner-built/spglobal defined the `spglobal` MCP server both inline
  in plugin.json and in .mcp.json (identical). Dropped the inline copy;
  .mcp.json is the canonical location.

scripts/check.py: OK — 80 files, 0 issues.

Co-authored-by: Jake Marsh <jakemarsh@anthropic.com>
* Add displayName to all marketplace plugin entries

* Bump pinned Claude Code CLI to 2.1.143 for marketplace displayName support
* Added Box to MCP Integrations

* Add Box to mcp.json
…ph_cloud validation (anthropics#268)

* docs(claude-for-msft-365-install): sovereign-cloud support via graph_cloud enum

The Outlook add-in now supports GCC-High, DoD, and 21Vianet tenants via a
single graph_cloud manifest parameter (global | us-gov-high | us-gov-dod |
china) that maps to fixed Graph + Entra endpoint pairs — no admin-supplied
URLs. Teach the install plugin about it:

- commands/manifest.md: per-tenant graph_cloud table; DoD must always set it
  (shares an authority host with GCC High); non-global clouds require a BYO
  graph_client_id; the enum also governs Word/Excel/PowerPoint Entra SSO.
- scripts/build-manifest.mjs: register graph_cloud and hard-fail on
  unrecognized values or a non-global cloud without graph_client_id,
  mirroring the add-in's load-time checks so admins see the error at build
  time instead of an AADSTS code after deployment. Param building extracted
  into an exported buildParams() for testability.
- scripts/build-manifest.test.mjs: node:test suite — default query string
  unchanged, all enum values accepted, bad values and the removed URL params
  rejected.
- .github/workflows/plugin-validate.yml: run the test suite on every PR.

* Drop manifest script tests — graph_cloud validation is two inline checks
…n doc (anthropics#281)

* manifest: add gateway_auth_source=entra param + Entra app registration docs (incl. GCC High)

- build-manifest.mjs: recognize gateway_auth_source; require entra_scope (→ graph_client_id, entra_sso=1); warn if paired with gateway_token; drop stale 'graph_client_id is Outlook-only' note
- manifest.md: new 'Use the Entra token as your gateway credential' section with a consolidated Entra app registration checklist (SPA redirect URI, Expose an API, admin consent, v2 tokens, gateway-side validation) and a GCC High/DoD subsection (portal.azure.us, .us issuer/JWKS)

* manifest.md: list both NAA redirect URIs (brk-multihub + https fallback)

The checklist only listed the https://.../msal-redirect.html SPA fallback. Desktop Office and Outlook web use the NAA broker, which requires brk-multihub://pivot.claude.ai registered as SPA — without it sign-in fails with AADSTS50011. Both are needed: brk-multihub for NAA, https for the Excel/Word/PPT Office-Web fallback where the NAA bridge isn't injected. Also pointed the earlier 'Bring your own Entra app' prose at the checklist instead of duplicating (incompletely).

* Split Entra app registration into commands/entra-app.md

manifest.md now documents what the params do; entra-app.md documents how to register the app (redirect URIs, per-use-case permissions table, admin consent, token version, backend validation, GCC-High/DoD, troubleshooting). Linked from every manifest.md section that needs your own app: graph_client_id, entra_scope, gateway_auth_source, sovereign clouds.
…ics#302)

* Add read-only add-in data export; harden cache-clear scripts

Chat history, skills, MCP registrations and memory live only in browser
storage on the user's machine. Add export-addin-data.{sh,ps1} to copy them
before a rebuild, and fix the cache-clear scripts that sit next to them.

clear-addin-cache.sh matched the add-in ID case-sensitively, but Office names
the wef file with whatever casing the manifest <Id> carried. A lowercase GUID
reported "already clear" and exited 0, sending admins to the folder-wide wipe
that destroys chat history on Windows. Match case-insensitively, and make a
miss print NOT cleared and exit non-zero on both platforms.

clear-addin-cache.ps1 never parsed on Windows PowerShell 5.1: em dashes in a
BOM-less .ps1 are decoded as ANSI into mojibake containing a quote, which
terminates a string mid-file. All .ps1 files are now pure ASCII, and check.py
rejects non-ASCII bytes in a .ps1 without a UTF-8 BOM.

Also:
- export: parse the port out of WebKit's binary origin file. Dropping it made
  two origins on the same host collide in one export folder, silently
  overwriting the first.
- export: include localStorage, which holds settings, the inference config,
  and the onboarding/terms flags.
- export: exporting nothing while --out was given now exits non-zero, so
  "export then wipe" cannot treat an empty backup as success.
- export: a failed database copy no longer aborts the run; paths containing
  an apostrophe work.
- export.ps1: clear the destination before Copy-Item -Recurse, which nested
  instead of refreshing on a re-run; add -IncludeAll for stores whose names
  compaction has hidden; scan uncompressed LevelDB files first.
- clear.ps1: require a GUID for -Id, since Remove-Item -Path expands wildcards;
  escape value names for Remove-ItemProperty.
- clear.sh: scan Outlook too, and guard flags that take a value.
- Document why replacing or reinstalling a manifest never moves the data.

Verified on macOS against live add-in data, and on a Windows host against
Windows PowerShell 5.1.

* Export Windows localStorage as the whole per-profile store

localStorage holds the settings, the inference/customer config, and the
onboarding + terms-accepted flags -- none of it in IndexedDB -- so an export
without it left a rebuilt machine re-doing onboarding.

Chromium keeps one LevelDB per profile shared by every origin, so it cannot be
filtered down to one add-in. Copy it whole rather than drop it, once per Office
account, beside that account's origin folders. It therefore also contains other
origins' settings: the size is printed on every run including the argument-less
preview, the help text says so plainly, and the folder can simply be deleted
from the export if a data policy forbids it.

- Copy to a scratch name and swap only on success. Deleting the destination
  first meant a locked LOCK file (Office still running) left the export with
  neither the new copy nor the previous good one. A failure is now counted and
  reported as INCOMPLETE with a non-zero exit, matching the macOS script.
- Drive the copy off the unique profile list instead of the per-store loop, so
  a profile whose only store fails the origin-name parse keeps its settings.
- Report in list mode too, matching macOS -- the argument-less run is
  advertised as printing what it found.
- .SYNOPSIS/.DESCRIPTION no longer claim only Claude's data is copied.
- Correct the export-data doc: the export tree is relabelled for readability,
  not a path mirror, so it cannot be copied back verbatim.

Verified on a Windows host against Windows PowerShell 5.1: copied once per
profile, flat on re-run, real LevelDB contents present, disclosed in list mode
without writing anything.
…nthropics#307)

* manifest: add access_policies key and guided access-policies command doc

Adds the access_policies config key — a JSON array of allow/deny
statements that supersedes disabled_features and can scope a rule to
documents by Purview sensitivity label. The build script recognizes
the key (warn-only shape check for a JSON array), manifest.md documents
it alongside disabled_features, and a new access-policies command walks
the admin through fetching label GUIDs, choosing statements, and the
matching rules to explain before shipping.

* Validate access_policies statement structure; document grammar and slugs

The build script now parses access_policies and warns on each statement
that fails the grammar — bad effect, unknown resource or identifier type,
an operator the identifier type does not support (a GUID takes only
equals | exists), an empty identifiers array, a blank action slug. These
are the shapes the add-in drops silently, so the build is the only place
they get caught; an unparseable value is fatal.

Docs: add a statement-grammar reference and the full feature-slug list to
access-policies.md, sync the disabled_features table in manifest.md with
all four slugs, add the missing access_policies field to bootstrap.md,
and fix the parent-label prefix example to include the " - " separator.
* manifest: recognize the available_models config key

Adds available_models to the KEYS validator (comma-separated ids or JSON
array of ids / {id,label} objects, mirroring the add-in's parser) and
documents it in manifest.md and bootstrap.md. Replaces the retired
disabled_models/additional_models pair from anthropics#294: available_models is a
single override list, so admins state the full picker rather than diffs.

No-Verification-Needed: exercised build-manifest.mjs directly against valid and invalid inputs

* bump claude-for-msft-365-install to 0.1.9

No-Verification-Needed: version bump only
…s slug (anthropics#329)

docs: document the web_search disabled_features slug (0.1.11)

The add-in now enforces web_search in disabled_features: it removes the
native web_search/web_fetch server tools and the user toggle, leaving code
execution intact. Add it to the enforced-slug table with the pairing
guidance (mcp_servers for an in-network replacement search tool) and to the
build script's hint.
Add Claude for Financial Advisors plugin
The plugin directory stays; only the marketplace listing is removed to avoid a duplicate listing.
…ropics#352)

Admins can now write add-in access rules that match the open document's path, for files that can't carry a sensitivity label (for example, on a network share).
- access-policies.md: a path example, the grammar and operator entries, and a rule covering how paths are compared and their limits.
- build-manifest.mjs: accepts file_path with equals | startsWith, and warns when it is used on uploaded_file, where it can never match.
…ring (anthropics#356)

* build-manifest: put credentials in the URL fragment, not the query string

Claude for Office reads manifest settings from the URL fragment; query-string
credentials are deprecated there and ignored from 2026-10-19
(anthropics/office-agent#2857). Fragments are not sent in HTTP requests.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LTWZSYSeY8PZFPmQ3PXJin

* manifest docs: trim the fragment explanation

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LTWZSYSeY8PZFPmQ3PXJin

* build-manifest: rename FRAGMENT_KEYS to SENSITIVE_KEYS

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LTWZSYSeY8PZFPmQ3PXJin

---------

Co-authored-by: Claude <noreply@anthropic.com>
Delete the financial advisors directory in anthropics/financial-services
- Allow Amazon Bedrock when building Outlook manifests, and update the setup steps to match.
- Limit per-user attributes to the eight supported keys, and add the slug rows.
- Say that the export contains sign-in credentials and that Anthropic cannot restore add-in data.

Bumps the plugin version to 0.1.14.
Brings Jerpoint's fork up to date with Anthropic's finance plugins.
The one conflict was plugins/vertical-plugins/wealth-management/hooks/hooks.json:
upstream deleted the wealth-management plugin (anthropics#349); our fork had only changed
that file's format, so the deletion is accepted. Upstream's own hooks.json repair
(anthropics#232, anthropics#243) is identical to our earlier fix for the other plugins.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@smurphy405
smurphy405 merged commit 6affa26 into main Nov 18, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.