Skip to content

Fold gap planning into plan workflow#123

Merged
PatrickSys merged 25 commits into
mainfrom
pivot/m1a-plan-amend
Jul 8, 2026
Merged

Fold gap planning into plan workflow#123
PatrickSys merged 25 commits into
mainfrom
pivot/m1a-plan-amend

Conversation

@PatrickSys

Copy link
Copy Markdown
Owner

Summary

  • fold gap-closure planning into gsdd-plan amend/extend mode
  • remove the standalone gap-planning workflow from public workflow inventory, docs, and help text
  • rewire next routing, lifecycle preflight, and regression coverage around the 13-workflow surface

Verification

  • rtk node tests/phase.test.cjs
  • rtk node tests/gsdd.invariants.test.cjs
  • rtk node tests/gsdd.next.test.cjs
  • rtk node tests/gsdd.scenarios.test.cjs
  • rtk node tests/gsdd.guards.test.cjs
  • rtk npm test

Test User and others added 25 commits July 6, 2026 23:35
…rs still present; resolved in next commit)
docs(m0a): front door — honest README, zero jargon
refactor(m0b): decouple gates, delete ceremony modules, surface next --json blockers
- health/scenarios/phase: init-built fixture paths .planning -> .work (T6 rule)
- next.test: legacy fixtures gain .planning/config.json (real pre-pivot repos always have it; resolver reads config marker)
- phase.test: workspace-root error regex, .work/bin freshness paths
- guards: global-install boundary regex follows README .work wording

Known reds carried (pre-existing): invariants plan.md 640-cap; 4 README framing guards red since merge-base (masked by && test chain).

Claude-Session: https://claude.ai/code/session_01VXkmXuUHiyagQbcAJJGnGA
feat(m0c): one state folder — .work canonical, .planning dual-read
feat(m0d): boxed next card, CI smoke gate, D-47 init exit, honest test runner
Align Workspine CLI/help/docs wording with the current state-folder contract, keep retired helper commands out of public help, and add the permanent public surface language gate. Verified with the local test suite and PR checks.
@gemini-code-assist

Copy link
Copy Markdown

Warning

Gemini encountered an error creating the review. You can try again by commenting /gemini review.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 11a4ddd802

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread bin/lib/phase.mjs
Comment on lines 408 to +412
const blockedOn = [
...(prerequisiteBlockers.length > 0 ? ['prerequisites'] : []),
...(artifactStatus.satisfied ? [] : ['artifacts']),
...(uiProofGate.blocks_verification ? ['ui_proof'] : []),
];
const closureVerified = legacyVerified && prerequisiteBlockers.length === 0 && artifactStatus.satisfied && uiProofSatisfied;
const closureVerified = legacyVerified && prerequisiteBlockers.length === 0 && artifactStatus.satisfied;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restore UI-proof gating for phase verification

When a phase PLAN frontmatter declares ui_proof_slots (or an empty slot list without no_ui_proof_rationale), this new closureVerified calculation can still return verified: true and exit 0 as soon as PLAN/SUMMARY/artifact checks pass, because the UI-proof comparison result is no longer part of blocked_on or the final gate. The generated verify workflow still requires direct gsdd verify <phase> to fail closed for those UI-proof contracts, so UI-sensitive phases can be marked done without the planned/observed UI proof or rationale.

Useful? React with 👍 / 👎.

@PatrickSys PatrickSys merged commit afda4e7 into main Jul 8, 2026
2 checks passed
@PatrickSys PatrickSys deleted the pivot/m1a-plan-amend branch July 9, 2026 05:34
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