Skip to content

fix(gates): shared surface test, realpath title, ${JOURNEY_DIR} manifest token (#233 #234 #235) - #256

Closed
MendixMau wants to merge 1 commit into
masterfrom
fix/gate-surface-realpath-journeydir
Closed

MendixMau wants to merge 1 commit into
masterfrom
fix/gate-surface-realpath-journeydir

Conversation

@MendixMau

Copy link
Copy Markdown
Owner

What changed and why

Field evidence

Field run 2026-10-08, existing app: the gate and the Surface column disagreed on the harness report, the title read "." for gate-check.sh . 6, and the journeys artifact reported PENDING while the journeys obligation passed.

Checklist

  • Size cap: 5 files, +52/-17
  • Test tier: T1. Existing fixtures pass: test-source-sufficiency 51/0, test-source-sufficiency-gate 7/0, test-bug03-gates 31/0, test-wrong-verdicts 20/0. The ${JOURNEY_DIR} resolver was checked ad hoc for default, relative env, absolute env and toolkit.env values. No new fixture for the harness-pair case or the title.
  • Instrument rules: both layouts handled by the resolver (relative under root, absolute outside)
  • CHANGELOG line under Unreleased
  • bash -n, check-portability, check-scripts 102/102, leak guard, check-pr-discipline clean

🤖 Generated with Claude Code

https://claude.ai/code/session_01VJgWP5vEoAsNsJYqCDMGNw


Generated by Claude Code

…233 #234 #235)

#233: new test_surface_hit() in gate-check.sh is the one test behind check_stage_6 and the
Surface column, so the harness pair (docs/verification/report.html + docs/report.json)
no longer reads MISSING while the gate passes.
#234: source-sufficiency report title uses realpath basename, so "." / trailing slash
no longer yield an empty or "." title.
#235: artifact-manifest.tsv accepts a ${JOURNEY_DIR} token; artifact-check.sh resolves it
via project-bin/_common.sh (env > toolkit.env > ~/.mxcli-toolkit.env > journeys/), relative
or absolute. Ad-hoc checked: default, relative env, absolute env, toolkit.env file.
No golden-input capture applies (no parser added).

Checks: bash -n; check-portability, check-no-client-data (leak guard), check-scripts,
check-pr-discipline; fixtures test-source-sufficiency (51/0), test-source-sufficiency-gate
(7/0), test-bug03-gates (31/0), test-wrong-verdicts (20/0).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VJgWP5vEoAsNsJYqCDMGNw
MendixMau added a commit that referenced this pull request Oct 8, 2026
Squash of integration/2026-10-08, which merges:

- #225 perf(ui-loop): test-stack-up.sh recognises a live mxcli run --local
- #231 fix(sync): sync-project.sh no longer exits 1 silently before its bin/ refresh
- #242 fix(init): local by default, no Dev Container
- #243 docs(lint): process/lint-backlog.md, the lint rollout plan
- #247 new(lint): the lint gate keeps a ledger
- #249 learn(test): skills/e2e-locators-that-lie.md
- #250 learn(skills): unhappy-path-testing.md
- #251 fix(testing-shape): mxcli test --local shares the deploy directory (#230)
- #252 fix(obligations): LOOK staleness reads the newest VALID AT stamp (#155)
- #253 docs(lint): quality-source review, Batch 4 backlog rows and skill additions
- #254 fix(lint): CONV020 works out of the box, page navigation counts as feedback (#229, #245)
- #255 fix(e2e): journey-runner rung 2 runs for a negative-only span claim (#150)
- #256 fix(gates): Stage 6 Surface, source-sufficiency title, ${JOURNEY_DIR} manifest token (#233, #234, #235)

Verified on the branch: tests/run-tests.sh 33/0, tests/test-lint-delivery.sh ALL GREEN, tests/wave2 73/75 (two environmental), render-routing --check, check-scripts, check-portability, leak guard, check-no-private-citations, check-pr-discipline all clean; scaffold smoke run without crashes.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VJgWP5vEoAsNsJYqCDMGNw
@MendixMau

Copy link
Copy Markdown
Owner Author

Merged into master via integration PR #258 (squash 9dd9be4), on the maintainer's approval. Closing this PR; its branch is part of that squash.


Generated by Claude Code

@MendixMau MendixMau closed this Oct 8, 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