Skip to content

fix(build-plan-status): --refresh keeps an existing build-plan.json current - #437

Merged
MendixMau merged 3 commits into
release/v1.0from
fix/build-plan-json-refresh
Oct 16, 2026
Merged

MendixMau merged 3 commits into
release/v1.0from
fix/build-plan-json-refresh

Conversation

@MendixMau

Copy link
Copy Markdown
Owner

Problem

project-bin/build-plan-status.sh --refresh runs after every exec.sh run and every full gate-check.sh run. It refreshed architecture/build-plan.html but never rewrote architecture/build-plan.json, which only an explicit --json run writes (typically once at Stage 4). On a real project the json still showed the Stage 4 snapshot (0 rows built) after a day of building, while build-plan.md showed 27 built.

Fix

  • In --refresh mode, if architecture/build-plan.json already exists it is regenerated from build-plan.md with the same parser --json uses. The write is skipped when only generatedAt would differ.
  • --refresh never creates the json when it did not exist.
  • Script header, artifact-manifest.tsv row, README.md, ROUTING.md and skill-routing.tsv text updated in sync; CHANGELOG entry added.

Tests run

  • tests/wave2/test-build-plan-json.sh: PASS=70 FAIL=0 (new T11: flipped State shows in json after --refresh, no rewrite on timestamp-only change, no json created when absent)
  • bin/render-routing.sh --check: in sync
  • bin/check-skill-routing.sh: all routed
  • tests/wave2/test-closeout.sh (manifest consumer)

🤖 Generated with Claude Code

…urrent

exec.sh and gate-check.sh run --refresh after every step, but only an explicit --json
rewrote build-plan.json, so a Stage 4 snapshot read 0 built after a day of building.
--refresh now regenerates an existing json with the same parser (skipping the write when
only generatedAt would differ) and never creates one. Docs, manifest and routing rows updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MendixMau MendixMau closed this Oct 16, 2026
@MendixMau MendixMau reopened this Oct 16, 2026
MendixMau and others added 2 commits October 16, 2026 23:51
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MendixMau
MendixMau changed the base branch from master to release/v1.0 October 16, 2026 16:21
@MendixMau
MendixMau merged commit 300a80e into release/v1.0 Oct 16, 2026
2 checks passed
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.

1 participant