Skip to content

fix(supply-chain): restore simple-path authority and lock policy text - #887

Closed
cursor[bot] wants to merge 14 commits into
developfrom
cursor/bc-6dbd0942-8a74-46e0-a2af-6e82a66f2dd3-8c34
Closed

fix(supply-chain): restore simple-path authority and lock policy text#887
cursor[bot] wants to merge 14 commits into
developfrom
cursor/bc-6dbd0942-8a74-46e0-a2af-6e82a66f2dd3-8c34

Conversation

@cursor

@cursor cursor Bot commented Aug 16, 2026

Copy link
Copy Markdown

Closed as proven superseded by canonical #867

#887 contained one useful delta beyond the already-canonicalized #886 tree: a regression that makes the documented simple-path/Cormen authority itself executable.

Immediately before consolidation:

Canonical #867 now points to merge commit 09a27eb7c1e0bd41d07c5db0b88e23fb1d4ab545 with parents f270d3df… and 593b6fe6… and tree exactly equal to #887's reviewed tree (06daf864cc5961961ca810bd59fe916bb6d07964). Exact compare 593b6fe6… → 09a27eb7… reports zero changed files.

Therefore #887 has no remaining unique semantic/file delta outside canonical #867. No #887 checks/reviews/approval transfer; #867 must regenerate exact-current-head evidence on 09a27eb7….

seonghobae and others added 14 commits August 16, 2026 14:07
Bolt reapplied a shared (package_key, matched_count) cache on top of the
already-restored simple-path walk. That cache lets one package key satisfy
two owner-chain positions through a cycle. Restore path-local frozenset
prevention, keep the cycle and distinct-key regressions in two test
modules, drop the unauthorized pdfjs-dist Trivy ignore, and record the
unsafe optimization as a rejected change.

Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
Bolt head bcf22ee replaced the validated frozenset walk with recursive
DFS and deleted the cycle regressions plus the Cormen et al. (2022)
simple-path citation. Restore the locked iterative walk and keep a
policy-text assertion so the next rewrite cannot drop the authority.

Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale comment

Landing vehicle for the simple-path restore

Exact head 593b6fe6 is the f270d3df / #886 / #867 restore plus test_dependency_policy_documents_named_dependency_path_simple_path_authority. That policy-text lock is the reason to prefer this tree: it fails on the Bolt-deleted citation and would have blocked bcf22eea from dropping Cormen et al. (2022, Appendix B.4).

The walk is the validated iterative path-local frozenset. Cycle False, distinct keys True, and direct ("alpha", "charlie") True were reproduced. Mark this PR ready for review, then land it. Close #886 and #867 as the same-SHA restore without the policy lock. Do not open another restore PR. Do not merge #867 at any older DFS head.

Still missing on this head: a locked assert that the cyclic fixture still matches ("alpha", "charlie"). Add that next to the existing False cycle case before treating the lock set as complete.

This run cannot approve or merge. Independent review remains with seonghobae. Inherited pdfjs-dist / CVE-2026-16633 stays on #783.

Open in Web View Automation 

Sent by Cursor Automation: Fix Issues

Comment thread services/analysis-engine/tests/test_supply_chain_policy.py

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep as residual policy-text lock only

#867 exact head is now f270d3dfece13ab6d54c260b8b094e9a7335a548, the same restore this draft was opened to replace after bcf22eea. Cycle ("alpha", "alpha", "charlie") is False, distinct keys are True, and direct ("alpha", "charlie") is True on that head. This automation APPROVED #867 for that restore.

This draft's unique remaining value is test_dependency_policy_documents_named_dependency_path_simple_path_authority. That is hardening, not a second landing of the walk.

Next action: do not merge #867 and #887 as two landings. After #867 merges, either fold the policy-text lock onto develop as a follow-up or close this draft as superseded. Inherited pdfjs-dist / CVE-2026-16633 stays with #783.

Open in Web View Automation 

Sent by Cursor Automation: Fix Issues

seonghobae added a commit that referenced this pull request Aug 16, 2026
Preserve the canonical #867 repair while incorporating #887's additional regression that makes the documented simple-path/Cormen authority executable. The resulting tree is exactly #887's reviewed tree; both sibling repair histories remain explicit parents so no unique evidence-bearing delta is discarded.
@seonghobae seonghobae closed this Aug 16, 2026
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.

2 participants