Repository navigation
Reconcile privacy and submission evidence with the deployed state - #177
Conversation
The write gate (#166), the tool-surface changes that followed, and the new fronting layer on the public origin had left the privacy-policy source text and both directory-submission guides describing a deployment that no longer exists (#174, #122). Privacy policy source text (both edits flagged in the header as pending legal review before the served page picks them up): - Widen "Websites you ask the Service to look up" to "look up, or act on": since #166 every state-changing call first fetches the target application's published declarations, which discloses the request to whoever runs that site (#174). - Under "The authorization is not restricted to particular applications", state the action-reach limit: state-changing actions reach only applications whose operators publish the service declaration, and are signed with that application's own identity (#174). - Record the hosting-model drift for #122: the public origin is now fronted by Internet Computer HTTP-gateway infrastructure that terminates TLS and forwards only the MCP/OAuth paths, while sections 2, 3 and 5 still describe the application host alone; the header now requires reconciling those sections with the operators before the next republication. Minimize routine identifiers, per the OpenAI submission guidance to drop identifiers a reply does not need: - list_app_accounts no longer returns last-used timestamps; the II wire timestamp is dropped at the Candid decode boundary and never carried further. - No routine reply echoes the per-app principal any more: the acted_as_principal field is gone from the canister_query, canister_update_call and get_canister_oql_schema outputs, and the text annotation names the derivation origin only, which is what carries the mismatch safeguard. get_app_principal still returns the principal when asked. Regenerate the submission claims from a live scan (2026-09-01): - 10 tools, 9 read-only, longest name 23 chars (both guides said 11 tools / 10 read-only, verified against a surface two releases old). - The status dashboard, /version, and the OpenAI domain-verification endpoint are cut off by the gateway front today; the affected readiness rows, blockers and checklist steps now say so and name the fronting-layer allowlist fix each needs. Co-Authored-By: Claude <[email protected]> Claude-Session: https://claude.ai/code/session_011RewvMNfTKVwXfyf5tqSzL
|
Failing check: The Copilot review bot crashes in its own backend before producing any review: it reads the diff fine, builds its prompt, then the session-creation call to Evidence it isn't the diff: the first run and the re-requested run fail identically at the same spot with different request IDs, and everything this repo controls is green on the same head ( Nothing in this repository can fix a 400 from Copilot's own model API; it needs Copilot's service to recover (or the org's Copilot code-review configuration to be checked if it persists). Re-request the review once more when convenient — I'll keep the PR watched and pick up whatever the next run produces. Generated by Claude Code |
A minor bump rather than a patch, because both the library API and the served tool surface changed incompatibly since 0.2.0. `imcp2` no longer contains the tool surface and the II session engine: they moved to a new sibling crate, `imcp2-core` (#150, #157), which `imcp2` now depends on by version and which publishes alongside it. The re-exports in `src/lib.rs` keep the familiar names resolving (`IiInstance`, `SessionGauges`, `Agent`, `IC_URL`), but the crate an embedder links has changed shape, and `IcTools` is gone — split into `IcCanisterTools` and `IcProtocolTools` (#157). The surface an MCP client sees changed too: only the app/canister tools are served (#158), state-changing calls now reach only applications that publish a service declaration (#166), the ledger transfer/approval methods are refused (#154, #163), `icp_top_up_canister` is instructions-only (#153), and routine replies no longer echo the per-app principal (#177). Under cargo's 0.x rules `0.2` is the compatibility range, so shipping this as 0.2.1 would hand the break to everyone on `imcp2 = "0.2"` — the requirement our own README recommends — the next time they ran `cargo update`. 0.3.0 opens a new range instead; existing users stay on 0.2.x until they choose to move. The README's dependency line follows, as `"0.2"` would no longer resolve to a current release. `imcp2-core` moves in lockstep: publish-crate.yml checks the tag against both manifests, and the workspace pin that binds them (`imcp2-core = { path = …, version = … }`) has to name the same number or the path dependency stops resolving. `imcp2-local` moves with them — it releases on its own `imcp2-local-v*` tags and has never been cut, so there is nothing to keep it behind, and its `--version` output would otherwise report 0.2.0 from a 0.3.0 tree. Claude-Session: https://claude.ai/code/session_01GqhkbpCwxs67F5E2EzyDwh Co-authored-by: Claude <[email protected]>
Summary
Executes the privacy/submission drift action from the release review: the two policy sentences #174 flagged are updated in the source text (gated on legal review in the doc header), the hosting-model drift behind #122 is recorded and now gates republication, routine tool outputs stop carrying per-app principals and last-used timestamps (the OpenAI submission guidance asks for exactly this minimization), and both directory guides' claims are regenerated from a live scan of the current build — 10 tools / 9 read-only, where both guides still said 11 / 10.
The live probe (2026-09-01) also found the production origin fronted by Internet Computer HTTP-gateway infrastructure that forwards only the MCP/OAuth paths:
/version,/status/, the II app-metadata document (#169), and the OpenAI domain-verification endpoint all answer with redirects at that edge. The guides now say so wherever they cited those endpoints as evidence; restoring the paths is fronting-layer work tracked in #176.Related issues
#174 and #122 — closed by the drift action this PR executes, each with the audit record in its closing comment. #176 tracks the operator-side follow-ups (gateway allowlist, hosting facts for the policy).
Changes
docs/icp-mcp-privacy-policy-draft.md— the two Privacy policy: two sentences go stale once writes fetch the app's origin #174 sentence fixes: "Websites you ask the Service to look up" widens to "look up, or act on" (every state-changing call now fetches the app's published declarations first), and "The authorization is not restricted to particular applications" gains the action-reach limit (writes reach only apps publishing the declaration, signed with that app's own identity). Both are flagged in the header as pending legal review. A second header note records the hosting-model drift and blocks republication until sections 2, 3 and 5 are reconciled with the operators (Deployment-level logging audit to substantiate the privacy policy's logging claims #122).crates/imcp2-core— data minimization in routine outputs:list_app_accountsdrops last-used timestamps at the Candid decode boundary (never carried past the decoder), andacted_as_principalis removed from thecanister_query,canister_update_callandget_canister_oql_schemaoutputs and from the text identity annotation. Thederived_for_origin/requestedecho stays — the origin is what carries the mismatch safeguard — andget_app_principalstill returns the principal on request.docs/anthropic-directory-submission.md,docs/openai-directory-submission.md— counts regenerated (10 tools, 9 read-only, unit-pinned; longest name 23); dated re-verification notes describing the scan; the status-page row, production-build blocker, domain-verification blocker and checklists updated for the endpoints the gateway front cuts off; a data-minimization evidence line for OpenAI's minimum-information bar.README.md— tool-table rows updated to the minimized reply shapes.Testing
cargo build --locked --all-targetscargo test --locked --all-targets— 266 tests pass, including the updated decode and annotation testscargo fmt/clippyfindings introduced: the pre-existing output was compared before/after this diff (the tree was not fmt-clean before this change, and CI does not gate on it)npm test --prefix monitoring/mcp-status— dashboard unchanged, not runChecklist
🤖 Generated with Claude Code
https://claude.ai/code/session_011RewvMNfTKVwXfyf5tqSzL
Generated by Claude Code