mirror of
https://github.com/BradGroux/veritas-kanban.git
synced 2026-08-28 02:44:59 +00:00
chore: enforce delivery timebox (#1069)
This commit is contained in:
parent
461c1fbbbf
commit
9cf0ccb96c
3 changed files with 23 additions and 0 deletions
|
|
@ -115,6 +115,9 @@ Do not run `npm install`, `yarn`, or `bun install`. If lockfile conflicts arise,
|
|||
a linked issue instead of expanding the active pull request.
|
||||
- Re-scope before continuing when an issue no longer fits one coherent review, an unexpected
|
||||
subsystem becomes necessary, or verification work is larger than the behavior being changed.
|
||||
- At the 45-minute delivery checkpoint, if the issue is not pull-request ready, stop adding scope
|
||||
and report the concrete cause. Split independent remaining work into linked issues, or continue
|
||||
only when the next step is required to preserve correctness of the current behavior.
|
||||
- During implementation, run the narrowest useful loop: type-check touched packages, lint changed
|
||||
files, and run focused tests for changed behavior and high-risk edges.
|
||||
- Run focused Vitest slices with
|
||||
|
|
|
|||
|
|
@ -17,6 +17,10 @@ export const CADENCE_CONTRACTS = {
|
|||
description: 'narrowest useful implementation loop',
|
||||
pattern: /run the narrowest useful loop/i,
|
||||
},
|
||||
{
|
||||
description: '45-minute split or escalate delivery checkpoint',
|
||||
pattern: /45-minute delivery checkpoint/i,
|
||||
},
|
||||
{
|
||||
description: 'direct Vitest exact-file invocation',
|
||||
pattern: /exec vitest run/i,
|
||||
|
|
|
|||
|
|
@ -34,6 +34,22 @@ test('reports a missing canonical cadence rule with its file', () => {
|
|||
]);
|
||||
});
|
||||
|
||||
test('requires the 45-minute delivery checkpoint in canonical guidance', () => {
|
||||
const files = validContractFiles();
|
||||
files['AGENTS.md'] = files['AGENTS.md'].replace(
|
||||
'45-minute delivery checkpoint',
|
||||
'unbounded delivery loop'
|
||||
);
|
||||
|
||||
assert.deepEqual(findMissingCadenceContracts(files), [
|
||||
{
|
||||
file: 'AGENTS.md',
|
||||
message:
|
||||
'required cadence contract is missing: 45-minute split or escalate delivery checkpoint',
|
||||
},
|
||||
]);
|
||||
});
|
||||
|
||||
test('rejects unconditional workspace-wide pnpm test commands', () => {
|
||||
assert.deepEqual(
|
||||
findUnsafePromptStatements({
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue