Promote the fast path to a first-class product, not an escape hatch #191
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#191
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?
The problem
/cad-taskis described as "a small off-roadmap task", which is accurate andalso positions it as the exception. It is not the exception. Most real work in
most projects is one to three commits with no phase around it.
The heavy path gets the design attention because Cadence's own work is always the
heavy kind. That is a dogfooding bias, and it shows: the phase spine has a
context step, a plan gate, an executor contract, per-plan risk checks, an
adjudicated triage gate, a summary, a verify walk and a trace bracket. The fast
path has an inline mode and a
--planflag.Below roughly half a day of work the phase overhead dominates, and a user whose
work is mostly that size experiences Cadence as bureaucracy. That is precisely
the reaction the README's audience statement warns about, and the honest reading
is that the tool earns it for small work.
The proposal
Give the fast path the same GUARANTEES with none of the machinery:
/cad-taskrun leaves commits and nothing else, so the corpus has a holeexactly where the majority of the work went.
not less risky for being off-roadmap.
What it should NOT gain: a context step, a plan gate, a verify walk, a SUMMARY.
The point is that the guarantees are separable from the ceremony, and this issue
is the proof.
Why it is a philosophy change
It concedes that the phase is a unit of PROCESS, not the unit of WORK, and that
Cadence's guarantees should attach to the work.
How you would know it worked
Count
/cad-taskruns against/cad-executephases over a month of real use. Ifthe fast path is used more and leaves less record, the hole is confirmed and the
fix is measurable: recall hit rate on task-originated work goes from zero to
something.
Parked, not rejected: the premise is unmeasured. The case rests on 'most real work is one to three commits with no phase around it.' On the only project with data, that is false - 9
cad-taskcommits against 595 phase-scoped commits over the last 60 days, about 1.5% of the work. The issue is honest that it is diagnosing dogfooding bias, but the remedy is then built for a usage pattern nobody has observed, and it is the most expensive item on the decision list to build. The corpus hole it names is real and stays real; what is missing is evidence that the hole is where the work goes. Reopening condition: a user (or a Cadence run on another repo) showscad-taskcarrying a meaningful share of commits, at which point the record/risk-check/trace-bracket trio is the right fix and this issue is already the spec for it.Shipped in v3.6.0 as FST-01, FST-02 and FST-03.
/cad-task now writes .planning/tasks//RECORD.md through a task-record seam that derives every figure from the committed range, and both the recall corpus and /cad-why read it as a tier. The risk-surface check runs on the committed range via risk-check run --phase 0. The run brackets itself under a per-run phase-0 correlation anchor, so per-role token accounting finally covers the fast path.
It gained none of the four this issue ruled out: no context step, no plan gate, no verify walk, no SUMMARY.
The measurement this issue asked for is now possible, which it was not before: task-originated work is in the corpus, so recall hit rate on it is no longer zero by construction.