Skip to content

docs: ensure_deps SHA pin (#99), Laminar sync (#97), dep-cache pitfall - #103

Merged
mrojas54 merged 5 commits into
mainfrom
cursor/engineering-documentation-updates-4131
Aug 14, 2026
Merged

docs: ensure_deps SHA pin (#99), Laminar sync (#97), dep-cache pitfall#103
mrojas54 merged 5 commits into
mainfrom
cursor/engineering-documentation-updates-4131

Conversation

@cursor

@cursor cursor Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Documentation-only sync after merged #99 and #97, extended beyond open #101 with the current main dep-cache pitfall (existence-based skip after packaged-SHA bump; tracked by open #102). Prefer this branch over #100/#101 once it lands.

Docs added/updated

  • README.md — complex ensure_deps SHA pin + troubleshooting; existence-based cache wipe after SHA bump; Laminar --hook exclusion; architecture bullets for observability/tracing; suite 738/4; removed duplicate complexity-gate troubleshooting rows
  • AGENTS.md — stdlib-by-default opening; SHA-pinned deps/warmups; existence-based rebuild caveat; optional tracing extra; module ownership for observability/tracing
  • SPEC.md / EVALUATION.md — S20 extended for optional Laminar CLI tracing
  • BUILDPLAN.md — T22 (fix(complex): pin ensure_deps to manifest SHA, not corpus HEAD #99 + residual vs fix(complex): invalidate dep cache when manifest SHA changes #102), T23 (Add opt-in Laminar CLI tracing #97); runtime note for tracing extra
  • docs/superpowers/specs/2026-07-12-complex-debug-probe-design.md — SHA pin for npm_ci/warmup + existence-based idempotency caveat

Codepaths covered

  • complex_runner.ensure_deps (git show npm manifests + archived warmup tree at packaged manifest SHA; target.exists() skip)
  • cli.py + observability/setup_tracing.py + tracing.run_traced (console-only; worktrees --hook untraced)

Knowledge gaps addressed

Open in Web View Automation 

cursoragent and others added 4 commits August 5, 2026 11:02
Document that npm_ci copies and warmups follow the packaged manifest
SHA via git show / archive, not corpus HEAD, and record T22.

Co-authored-by: Michelle Rojas <mrojas54@users.noreply.github.com>
Extend S20/EVALUATION/AGENTS/BUILDPLAN for the #97 tracing extra,
note worktrees --hook stays untraced, and refresh the hermetic count.

Co-authored-by: Michelle Rojas <mrojas54@users.noreply.github.com>
Add cli.py tracing wrap and observability/tracing.py module bullets,
note Laminar in Status, and align AGENTS.md opening with stdlib-by-default
(optional tracing extra).

Co-authored-by: Michelle Rojas <mrojas54@users.noreply.github.com>
After #99, ensure_deps still skips rebuilds when the cache leaf exists, so
a packaged-manifest SHA bump can leave oracles on stale node_modules.
Document the wipe workaround, drop duplicate complexity-gate rows, and
point T22 at open PR #102.

Co-authored-by: Michelle Rojas <mrojas54@users.noreply.github.com>
Take main's TOOLBENCH_TRACING=1 wording (#104) and replace the branch's
outdated existence-based dep-cache pitfall with #102 .manifest-sha stamp
docs (T24). Refresh hermetic suite count to 748/4.

Co-authored-by: Michelle Rojas <mrojas54@users.noreply.github.com>
@mrojas54
mrojas54 marked this pull request as ready for review August 14, 2026 02:52
@mrojas54
mrojas54 merged commit 6117cd8 into main Aug 14, 2026
2 checks passed
@mrojas54
mrojas54 deleted the cursor/engineering-documentation-updates-4131 branch August 14, 2026 02:52
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