drift: four defects the context-weight sweep found in passing #103
Labels
No labels
already-shipped
bug
documentation
duplicate
enhancement
external-review
good first issue
help wanted
in progress
invalid
needs-decision
proposal
question
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: crenshawdev/cadence-archived#103
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Four prose/code drifts found while sweeping for context weight. None is a token cut; all four are the class self-verify exists to catch and currently does not.
cadence-core/workflows/execute.md:241names "thephase_startline instart". There is no step namedstart— the line is appended ingit_guard.cadence-core/workflows/execute.md:36resolvesworkflow.test_command, but it is consumed only at:369, on the parallel path. A sequential run resolves a config key it never reads.cadence-core/references/config-reach.md:136-138namesworkflows/execute.mdas the reach site for the threeparallelization.*keys. Correct today; moves if theexecute_paralleldeferral lands. Track alongside that change.cadence-core/references/seams.md:236-240saysgit-guard.mdis consulted at steps 1, 2, 3 "and in its guardrails block", butskills/cad-land/SKILL.md's current guardrails cite no git-guard. Either the sentence is stale or the guardrail was dropped — resolve which. If the cad-land guardrails compression lands, fix this in the same commit.Worth considering
1 and 2 are both "prose names a step or key the code does not use at that point". Check 2 already lints script invocations and check 1 lints config keys for existence, but neither checks that a resolved key is consumed on the path that resolves it. If that is cheap to add, it belongs with the other self-verify work in this milestone.
All four drifts fixed in the current tree: the 'start' step reference is gone from execute.md, workflow.test_command resolves only at its consumer on the parallel path, config-reach.md names execute-parallel.md for the moved keys, and the stale seams.md guardrails claim is gone.