Skip to content

docs(framework): correct stale trusted-dependency-review claim (epic #837) - #1080

Merged
jimhoyd merged 1 commit into
mainfrom
claude/epic-837-docs-reconciliation
Sep 30, 2026
Merged

jimhoyd merged 1 commit into
mainfrom
claude/epic-837-docs-reconciliation

Conversation

@jimhoyd

@jimhoyd jimhoyd commented Sep 30, 2026

Copy link
Copy Markdown
Collaborator

Epic #837, section 5 documentation reconciliation

Fixes the one concrete remaining item the epic's "Remaining work" table names: docs/FRAMEWORK.md's "Using npm libraries directly" section said review "does not list what the route imports" and the approval digest "covers only the entry file." That's stale relative to packages/core/src/trusted-dependencies.ts (the bounded dependency inventory, folded into projectSha256 via packages/core/src/policy.ts) and docs/FUNCTION-SECURITY.md's existing "Trusted dependency review" section, which already describes the current behavior accurately.

What changed

Corrected the paragraph to say review names directly imported bare packages and records a bounded inventory of the route's locally followed relative/dynamic-import files and npm lockfile metadata into the digest — not just the entry file — while keeping the honest limitations: no node_modules traversal, computed/dynamic imports and require()/createRequire() are recorded as opaque, and the inventory is bounded (256 files / 8 MiB / 2 MiB per file). Also fixed the adjacent link, which pointed at FUNCTION-SECURITY.md#granting-selected-bindings instead of the actual #trusted-dependency-review anchor.

Checked proofs/ecosystem/README.md's own review-findings paragraph — it's already reconciled and matches current behavior, so no change was needed there.

Verification

npm run check:docs passes in full (trust-model prose, local links, guide YAML, guidance-claims, agent-facts, yaml-reference/extension-reference/llms-full/cookbook-index/agent-assets generation checks); npm run typecheck passes. Docs-only change, no runtime behavior touched.

  • Changes match the documented portable contract; docs/examples are updated where needed.
  • Relevant tests and package checks pass, or limitations are explained above.
  • No credentials, customer data or private project material are included.
  • Runtime/starter changes remain aligned where applicable.

🤖 Generated with Claude Code

"Using npm libraries directly" said review "does not list what the
route imports" and the approval digest "covers only the entry file" --
stale relative to the implemented bounded dependency inventory
(packages/core/src/trusted-dependencies.ts, folded into projectSha256
via packages/core/src/policy.ts) and FUNCTION-SECURITY.md's "Trusted
dependency review" section, which trusted-dependencies.ts already
matches.

Review does name directly imported bare packages and records a bounded
inventory of the route's locally followed relative/dynamic-import files
and npm lockfile metadata into the digest, not just the entry file --
while remaining explicitly incomplete (no node_modules traversal,
computed/dynamic imports and require()/createRequire() are opaque, and
the inventory is capped). Also fixes the FUNCTION-SECURITY.md anchor,
which pointed at #granting-selected-bindings instead of
#trusted-dependency-review.

proofs/ecosystem/README.md already carries the corrected wording; only
FRAMEWORK.md was stale. Part of epic #837's tracked documentation
reconciliation (section 5).

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@jimhoyd
jimhoyd enabled auto-merge (squash) September 30, 2026 19:35
@jimhoyd
jimhoyd merged commit c1ce167 into main Sep 30, 2026
17 checks passed
@jimhoyd
jimhoyd deleted the claude/epic-837-docs-reconciliation branch September 30, 2026 19:36
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.

1 participant