Repository navigation
docs(framework): correct stale trusted-dependency-review claim (epic #837) - #1080
Merged
Merged
Conversation
"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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 topackages/core/src/trusted-dependencies.ts(the bounded dependency inventory, folded intoprojectSha256viapackages/core/src/policy.ts) anddocs/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_modulestraversal, computed/dynamic imports andrequire()/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 atFUNCTION-SECURITY.md#granting-selected-bindingsinstead of the actual#trusted-dependency-reviewanchor.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:docspasses 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 typecheckpasses. Docs-only change, no runtime behavior touched.🤖 Generated with Claude Code