Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #796, following the maintainer's 2026-09-24 decision to keep this focused on plan-time Rule influence and to use
Decision | Why | Rule reference.What changed
01-plan/assets/plan-template.md:## Decisionsgets a third column,Rule reference. It holds a stable logical identifier such asarchitecture/ports, optionally with the decisive instruction, ornonefor architecture-only decisions. The template comment now lists a second reason to add a row: a project rule chose this decision over a meaningful alternative. It also says affected files stay in the phase projection. A fixed line under the table says these references are model-reported when the plan is written and are not proof of the model's reasoning. Unlike the template comments, which are deleted, this line stays in the plan.01-plan/references/findings.md: newRule influencefinding. It only applies when a rule picks a decision over an alternative, not when the rule merely applies. The existingProject rulesfinding is unchanged.01-plan/actions/03-conclude.md: each rule influence from the findings becomes a## Decisionsrow. When there is none, no row is written.02-implement/SKILL.md: new transversal rule. Rule influence is read from the plan's## Decisionsonly. It is never inferred afterwards and never written as comments in application source.05-review/references/axis-relevancy.md: theconformlens also flags a change that contradicts a plan## Decisionsrow, and must never infer rule influence the plan does not record.scripts/__tests__/validate-plan.test.js): two new cases. A Decisions table without the new column is refused. A plan with no## Decisionssection, meaning no rule influence, is still valid.No separate trace store was added, and the validator script is unchanged: it already enforces template table headers.
Compatibility
The validator enforces template table headers. An existing plan whose
## Decisionstable has only the old two columns will be reported as "table header differs" if it is validated again. Plans without a## Decisionssection are unaffected, since the section is optional. I left the pinnedcli/tests/fixtures/framework-realsnapshot alone on purpose.I couldn't run the tests in this environment. I checked the new cases by reading them against the test's
fill/mutatehelpers.Fixes #796
Happy to adjust anything or close it if it isn't a fit.