feature/Gate-misses-added-bundle · L-260913-d509aa - #23
Conversation
The drift gates hashed only the files sources.json recorded, while the call site loads every .mthds file under its bundle directory, so a file added there left both gates green over a bundle the types were not generated from. The sidecar now records that directory as bundle_dir; both gates list it the way their language's call site does and report an unrecorded file, a recorded file outside it, or a missing directory as stale-source, and a sidecar recording sources without it fails closed. Refresh mode re-reads the file set from bundle_dir, and the edit, design and standalone organize staleness notices cover additions. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PkKCLxNQGjDLNAiW4kdVpx
…grate tracker Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PkKCLxNQGjDLNAiW4kdVpx
…ddir comment The comment still told a project on Node below 20.1 or 18.17 to walk the bundle directory itself, which is below @pipelex/sdk's own Node floor and, followed, leaves the drift gate's recursive readdir listing a different file set than the call site loads. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PkKCLxNQGjDLNAiW4kdVpx
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PkKCLxNQGjDLNAiW4kdVpx
017ba86 to
252a06e
Compare
|
Reviewers: cubic, Codex (review and adversarial), and the official The branch was rebased onto Fixed: Deferred, unverified, traced in
🤖 Generated with Claude Code |
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PkKCLxNQGjDLNAiW4kdVpx
|
Reviewers: cubic, Codex (review), and the official Fixed: nothing. The pass confirmed no defect. Deferred, unverified, traced in
🤖 Generated with Claude Code |
The offline drift gates hashed only the files
sources.jsonrecorded, while the call site loads every.mthdsfile under its bundle directory, so a file added there left both gates green over a bundle the types were not generated from. The sidecar now records that directory asbundle_dir, both gates list it the way their language's call site does and report additions asstale-source, refresh mode re-reads the file set from it, and the edit, design and standalone organize staleness notices cover additions. Stacked onfeature/Python-builder-gaps, which carries the Python gate this changes.Closes L-260913-d509aa
🤖 Generated with Claude Code
https://claude.ai/code/session_01PkKCLxNQGjDLNAiW4kdVpx
Summary by cubic
Fixes the offline drift gates so a
.mthdsfile added to an integrated bundle's directory is no longer missed: the gates previously hashed only the filessources.jsonrecorded, while the call site loads every.mthdsfile under the bundle directory, leaving both gates green over a bundle the types were not generated from.sources.jsonsidecar now records the bundle directory asbundle_dir..mthdsfile underbundle_dir; a file added there is reported asstale-source, and a sidecar recording sources withoutbundle_dirfails closed.bundle_dir, and the edit, design, and standalone organize staleness notices cover additions.Closes L-260913-d509aa.
Written for commit b55c258. Summary will update on new commits.