-
Notifications
You must be signed in to change notification settings - Fork 1
Pipeline Design 190
The shipwright docs check system detected stale AUTO sections in .claude/CLAUDE.md. AUTO sections are HTML-comment-delimited blocks (<!-- AUTO:section-id --> ... <!-- /AUTO:section-id -->) that are regenerated from source code. The core-scripts section drifted because two scripts changed line counts after recent edits:
-
scripts/sw-intelligence.sh: 1547 → 1523 (24 lines removed) -
scripts/sw-pipeline.sh: 2944 → 2883 (61 lines removed)
The fix has already been applied by shipwright docs sync. This is a pure documentation synchronization — no runtime behavior, no API contracts, no new dependencies.
Apply the already-generated docs sync output as-is. The change is confined to a single file (.claude/CLAUDE.md) updating two numeric values in the core-scripts AUTO table. No architectural changes are needed. The existing documentation keeper infrastructure (sw-docs.sh) correctly detected and fixed the drift.
Pattern used: Existing AUTO-sync pipeline — source-of-truth is the script files on disk, wc -l generates the canonical line counts, and docs sync rewrites the markdown table rows.
-
Manual edit of line counts — Pros: Fastest possible fix / Cons: Error-prone, bypasses the sync tooling that exists precisely for this purpose. Rejected because it undermines the automation.
-
Suppress the staleness signal — Pros: No commit needed / Cons: Leaves documentation inaccurate, erodes trust in AUTO sections, and the daemon patrol would re-flag it. Rejected because stale docs are a real problem for agents that consume CLAUDE.md as context.
- Files to create: none
- Files to modify:
.claude/CLAUDE.md(already modified bydocs sync— two line count values in thecore-scriptsAUTO table) - Dependencies: none
- Risk areas: none — this is a data-only change in a markdown table with no runtime impact
-
shipwright docs checkexits 0 (all 6 AUTO sections fresh) -
npm testpasses (no test regressions from doc-only change) -
git diffshows only line count changes in thecore-scriptstable forsw-intelligence.shandsw-pipeline.sh