@rt-tools/agent-kit 0.37.0 → 0.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/assets/checks/action-of.mjs +154 -0
- package/assets/checks/board-pull-state.github.mjs +82 -13
- package/assets/checks/board-runs.github.mjs +40 -5
- package/assets/checks/board.github.mjs +1 -1
- package/assets/checks/check-board.github.mjs +58 -19
- package/assets/checks/check-specs.mjs +2 -2
- package/assets/checks/check-state-next.mjs +22 -10
- package/assets/checks/check-turn-map.mjs +26 -6
- package/assets/checks/check-work-steps.mjs +4 -173
- package/assets/checks/decide.mjs +285 -0
- package/assets/checks/decision-table.json +21365 -0
- package/assets/checks/decision-table.mjs +495 -0
- package/assets/checks/epic-table.github.mjs +4 -3
- package/assets/checks/epic-window.mjs +98 -0
- package/assets/checks/flow-condition.mjs +64 -0
- package/assets/checks/flow-data.mjs +136 -0
- package/assets/checks/flow-forecast.mjs +330 -0
- package/assets/checks/flow-guard-run.mjs +90 -0
- package/assets/checks/flow-guard.mjs +294 -0
- package/assets/checks/flow-model.mjs +271 -0
- package/assets/checks/flow-override.mjs +130 -0
- package/assets/checks/flow-plan.mjs +206 -0
- package/assets/checks/flow-scaffold.mjs +224 -0
- package/assets/checks/flow-step.mjs +365 -0
- package/assets/checks/flow-sync.mjs +296 -0
- package/assets/checks/flow-syntax.mjs +292 -0
- package/assets/checks/flow-verdict.mjs +112 -0
- package/assets/checks/lib-common.mjs +10 -2
- package/assets/checks/lib-domains.mjs +1 -1
- package/assets/checks/lib-manifests.mjs +34 -2
- package/assets/checks/merge-read.mjs +239 -0
- package/assets/checks/owner-nudges.mjs +389 -0
- package/assets/checks/push-inputs.mjs +444 -0
- package/assets/checks/push-trace.mjs +108 -0
- package/assets/checks/record-count.mjs +410 -0
- package/assets/checks/record-recount.mjs +187 -0
- package/assets/checks/record-turn.mjs +155 -0
- package/assets/checks/rt-kit-checks.config.mjs +17 -2
- package/assets/checks/spec-anchors.mjs +4 -4
- package/assets/checks/spec-contract.mjs +5 -5
- package/assets/checks/task-flow-script.mjs +292 -0
- package/assets/checks/tree-assignment.mjs +26 -7
- package/assets/checks/work-result.mjs +281 -0
- package/assets/checks/work-steps-lib.mjs +205 -0
- package/assets/commands/next-session.md +3 -1
- package/assets/commands/night.md +28 -18
- package/assets/defaults/gate-map.sh +39 -12
- package/assets/defaults/merges.sh +48 -0
- package/assets/defaults/project.sh +43 -13
- package/assets/defaults/push.sh +23 -0
- package/assets/defaults/turn-map.md +24 -21
- package/assets/docs/GLOSSARY.md +6 -2
- package/assets/hooks/ask-judge.md +65 -0
- package/assets/hooks/browser-guard-device-id.sh +11 -9
- package/assets/hooks/browser-guard-no-asking.sh +12 -6
- package/assets/hooks/browser-guard-no-listing.sh +13 -7
- package/assets/hooks/browser-guard-no-other-drivers.sh +25 -17
- package/assets/hooks/browser-guard-require-select.sh +15 -15
- package/assets/hooks/commit-msg.sh +13 -3
- package/assets/hooks/conscience-guard.sh +9 -25
- package/assets/hooks/decide.sh +141 -0
- package/assets/hooks/deny-tail.sh +16 -11
- package/assets/hooks/dev-server-guard.sh +27 -20
- package/assets/hooks/dispatch.sh +47 -4
- package/assets/hooks/docs-guard.sh +31 -200
- package/assets/hooks/end-conversation-guard.sh +12 -21
- package/assets/hooks/epic-stop-guard.sh +54 -105
- package/assets/hooks/exam-guard.sh +32 -65
- package/assets/hooks/facts-docs.sh +221 -0
- package/assets/hooks/facts-flow.sh +173 -0
- package/assets/hooks/facts.sh +308 -0
- package/assets/hooks/flow-step-guard.sh +93 -0
- package/assets/hooks/git-guard-delivery-body.sh +4 -4
- package/assets/hooks/git-guard-delivery-conflict.sh +16 -10
- package/assets/hooks/git-guard-delivery-draft.sh +3 -3
- package/assets/hooks/git-guard-delivery-epic.sh +18 -9
- package/assets/hooks/git-guard-delivery-folder.sh +32 -7
- package/assets/hooks/git-guard-delivery-merge.sh +2 -2
- package/assets/hooks/git-guard-delivery-merged.sh +12 -1
- package/assets/hooks/git-guard-delivery-pipeline.sh +1 -1
- package/assets/hooks/git-guard-delivery-rerun.sh +32 -0
- package/assets/hooks/git-guard-delivery-signature.sh +82 -45
- package/assets/hooks/git-guard-delivery-task.sh +47 -0
- package/assets/hooks/git-guard-delivery.sh +112 -101
- package/assets/hooks/git-guard-discard.sh +8 -18
- package/assets/hooks/git-guard-main.sh +13 -19
- package/assets/hooks/git-guard-no-verify.sh +56 -16
- package/assets/hooks/git-guard-push-ahead.sh +46 -5
- package/assets/hooks/git-guard-push-marks.sh +227 -31
- package/assets/hooks/git-guard-push-tests.sh +51 -53
- package/assets/hooks/git-guard-tree-assignment.sh +7 -4
- package/assets/hooks/guard-note.sh +8 -6
- package/assets/hooks/handoff-entry-guard.sh +20 -39
- package/assets/hooks/handoff-write.sh +3 -1
- package/assets/hooks/hook-input.sh +0 -41
- package/assets/hooks/metric-marks.sh +19 -7
- package/assets/hooks/observe.sh +1 -1
- package/assets/hooks/override-write-guard.sh +27 -9
- package/assets/hooks/pre-push.sh +20 -10
- package/assets/hooks/prose-style-guard.sh +6 -19
- package/assets/hooks/pull-merges.sh +76 -0
- package/assets/hooks/push-set.sh +39 -7
- package/assets/hooks/qa-dataid-guard.sh +7 -17
- package/assets/hooks/record-turn.sh +52 -0
- package/assets/hooks/rerun-guard.sh +11 -16
- package/assets/hooks/reuse-first-guard.sh +7 -21
- package/assets/hooks/role-calls.sh +25 -3
- package/assets/hooks/rule-source-guard.sh +54 -21
- package/assets/hooks/skill-gate-rearm.sh +18 -5
- package/assets/hooks/skill-gate.sh +156 -20
- package/assets/hooks/skill-loaded.sh +18 -3
- package/assets/hooks/sql-guard-target.sh +2 -2
- package/assets/hooks/sql-guard-write.sh +12 -12
- package/assets/hooks/sql-guard.sh +58 -16
- package/assets/hooks/task-context-load.sh +3 -1
- package/assets/hooks/task-flow-context.sh +20 -22
- package/assets/hooks/task-flow-draft-guard.sh +25 -74
- package/assets/hooks/task-flow-guard.sh +28 -129
- package/assets/hooks/tree-assignment-guard.sh +25 -14
- package/assets/hooks/turn-entry-load.sh +3 -1
- package/assets/hooks/turn-exit-guard.sh +92 -452
- package/assets/hooks/turn-exit-role.sh +47 -0
- package/assets/hooks/turn-judge.md +103 -0
- package/assets/hooks/window-fill-guard.sh +22 -41
- package/assets/laws/work-conduct.md +9 -8
- package/assets/patterns/autonomous-work-run.md +35 -10
- package/assets/patterns/browser-verification-measure.md +10 -20
- package/assets/patterns/browser-verification-stand.md +30 -42
- package/assets/patterns/doc-style-human.md +0 -6
- package/assets/patterns/doc-style-sweep.md +7 -7
- package/assets/patterns/doc-style-trace.md +5 -4
- package/assets/patterns/doc-style-write.md +7 -7
- package/assets/patterns/epic-flow-declare.md +15 -8
- package/assets/patterns/git-workflow-commit.azure.md +9 -155
- package/assets/patterns/git-workflow-commit.github.md +11 -269
- package/assets/patterns/git-workflow-commit.gitlab.md +9 -161
- package/assets/patterns/git-workflow-docker.md +8 -231
- package/assets/patterns/git-workflow-freshness.md +9 -56
- package/assets/patterns/git-workflow-merge.md +7 -174
- package/assets/patterns/git-workflow-migration.md +5 -73
- package/assets/patterns/git-workflow-pr-body.github.md +6 -159
- package/assets/patterns/git-workflow-pr-ready.md +9 -69
- package/assets/patterns/git-workflow-pr.azure.md +14 -220
- package/assets/patterns/git-workflow-pr.github.md +13 -253
- package/assets/patterns/git-workflow-pr.gitlab.md +14 -241
- package/assets/patterns/git-workflow-restart.md +5 -41
- package/assets/patterns/git-workflow-secrets.md +10 -76
- package/assets/patterns/git-workflow-stack.md +9 -205
- package/assets/patterns/lib-layers-new.md +7 -3
- package/assets/patterns/queue-audit-read.github.md +9 -3
- package/assets/patterns/spec-driven-domain.md +50 -48
- package/assets/patterns/spec-driven-rule.md +18 -19
- package/assets/patterns/status-report-table.github.md +2 -2
- package/assets/patterns/task-flow-archive.md +15 -256
- package/assets/patterns/task-flow-close.md +16 -291
- package/assets/patterns/task-flow-cycle.md +13 -39
- package/assets/patterns/task-flow-graph.needs-graph.md +8 -58
- package/assets/patterns/task-flow-handoff.md +13 -161
- package/assets/patterns/task-flow-resume.md +19 -183
- package/assets/patterns/task-flow-start.md +9 -248
- package/assets/patterns/testing-e2e.md +14 -18
- package/assets/patterns/testing-unit.md +9 -13
- package/assets/patterns/turn-entry-map.md +15 -5
- package/assets/pitfalls/agent-kit-extend.md +200 -0
- package/assets/pitfalls/agent-kit.2.md +323 -0
- package/assets/pitfalls/angular-patterns.md +98 -0
- package/assets/pitfalls/autonomous-work.md +15 -0
- package/assets/pitfalls/browser-verification.md +265 -0
- package/assets/pitfalls/component-structure.md +98 -0
- package/assets/pitfalls/dependencies.md +92 -0
- package/assets/pitfalls/deploy-flow.azure.md +171 -0
- package/assets/pitfalls/deploy-flow.github.md +211 -0
- package/assets/pitfalls/deploy-flow.gitlab.md +173 -0
- package/assets/pitfalls/doc-style.2.md +286 -0
- package/assets/pitfalls/doc-style.md +3 -3
- package/assets/pitfalls/entity-conventions.needs-admin.md +96 -0
- package/assets/pitfalls/entity-models.md +89 -0
- package/assets/pitfalls/git-workflow-commit.azure.md +190 -0
- package/assets/pitfalls/git-workflow-commit.github.md +307 -0
- package/assets/pitfalls/git-workflow-commit.gitlab.md +196 -0
- package/assets/pitfalls/git-workflow-docker.md +275 -0
- package/assets/pitfalls/git-workflow-freshness.md +88 -0
- package/assets/pitfalls/git-workflow-hosting.azure.md +31 -0
- package/assets/pitfalls/git-workflow-hosting.github.md +32 -0
- package/assets/pitfalls/git-workflow-hosting.gitlab.md +31 -0
- package/assets/pitfalls/git-workflow-merge.md +220 -0
- package/assets/pitfalls/git-workflow-migration.md +103 -0
- package/assets/pitfalls/git-workflow-pr-body.github.md +185 -0
- package/assets/pitfalls/git-workflow-pr-ready.md +104 -0
- package/assets/pitfalls/git-workflow-pr.2.azure.md +172 -0
- package/assets/pitfalls/git-workflow-pr.2.github.md +184 -0
- package/assets/pitfalls/git-workflow-pr.2.gitlab.md +180 -0
- package/assets/pitfalls/git-workflow-pr.azure.md +159 -0
- package/assets/pitfalls/git-workflow-pr.github.md +107 -0
- package/assets/pitfalls/git-workflow-pr.gitlab.md +151 -0
- package/assets/pitfalls/git-workflow-push.azure.md +30 -0
- package/assets/pitfalls/git-workflow-push.github.md +30 -0
- package/assets/pitfalls/git-workflow-push.gitlab.md +30 -0
- package/assets/pitfalls/git-workflow-queue.azure.md +30 -0
- package/assets/pitfalls/git-workflow-queue.github.md +30 -0
- package/assets/pitfalls/git-workflow-queue.gitlab.md +30 -0
- package/assets/pitfalls/git-workflow-restart.md +72 -0
- package/assets/pitfalls/git-workflow-secrets.md +114 -0
- package/assets/pitfalls/git-workflow-stack.md +254 -0
- package/assets/pitfalls/git-workflow.2.azure.md +291 -0
- package/assets/pitfalls/git-workflow.2.github.md +294 -0
- package/assets/pitfalls/git-workflow.2.gitlab.md +278 -0
- package/assets/pitfalls/git-workflow.github.md +5 -9
- package/assets/pitfalls/lib-layers.md +114 -0
- package/assets/pitfalls/lists.md +117 -0
- package/assets/pitfalls/navigation.md +94 -0
- package/assets/pitfalls/reuse-first.md +201 -0
- package/assets/pitfalls/spec-driven.2.md +318 -0
- package/assets/pitfalls/spec-driven.md +9 -7
- package/assets/pitfalls/styling-bem.2.md +125 -0
- package/assets/pitfalls/task-flow-archive.md +264 -0
- package/assets/pitfalls/task-flow-close.2.md +165 -0
- package/assets/pitfalls/task-flow-close.md +167 -0
- package/assets/pitfalls/task-flow-cycle.md +73 -0
- package/assets/pitfalls/task-flow-graph.needs-graph.md +98 -0
- package/assets/pitfalls/task-flow-handoff.md +200 -0
- package/assets/pitfalls/task-flow-handover.md +30 -0
- package/assets/pitfalls/task-flow-owner.md +29 -0
- package/assets/pitfalls/task-flow-plan.md +29 -0
- package/assets/pitfalls/task-flow-resume.md +257 -0
- package/assets/pitfalls/task-flow-start.md +287 -0
- package/assets/pitfalls/task-flow.2.md +303 -0
- package/assets/pitfalls/task-flow.md +18 -29
- package/assets/pitfalls/testing.2.md +279 -0
- package/assets/pitfalls/testing.md +11 -12
- package/assets/pitfalls/turn-conduct.md +17 -18
- package/assets/pitfalls/typescript-conventions.md +161 -0
- package/assets/pitfalls/write-a-skill.md +128 -0
- package/assets/rules/angular-patterns.md +21 -86
- package/assets/rules/autonomous-work.md +37 -29
- package/assets/rules/browser-verification.md +28 -251
- package/assets/rules/component-structure.md +25 -87
- package/assets/rules/dependencies.md +20 -78
- package/assets/rules/deploy-flow.azure.md +27 -134
- package/assets/rules/deploy-flow.github.md +34 -196
- package/assets/rules/deploy-flow.gitlab.md +28 -137
- package/assets/rules/doc-style.md +32 -282
- package/assets/rules/entity-conventions.needs-admin.md +26 -82
- package/assets/rules/entity-models.md +14 -63
- package/assets/rules/epic-flow.md +5 -3
- package/assets/rules/git-workflow-hosting.azure.md +26 -0
- package/assets/rules/git-workflow-hosting.github.md +38 -0
- package/assets/rules/git-workflow-hosting.gitlab.md +27 -0
- package/assets/rules/git-workflow-push.azure.md +28 -0
- package/assets/rules/git-workflow-push.github.md +28 -0
- package/assets/rules/git-workflow-push.gitlab.md +28 -0
- package/assets/rules/git-workflow-queue.azure.md +23 -0
- package/assets/rules/git-workflow-queue.github.md +30 -0
- package/assets/rules/git-workflow-queue.gitlab.md +23 -0
- package/assets/rules/git-workflow.azure.md +21 -264
- package/assets/rules/git-workflow.github.md +24 -285
- package/assets/rules/git-workflow.gitlab.md +21 -258
- package/assets/rules/lib-layers.md +30 -103
- package/assets/rules/lists.md +21 -105
- package/assets/rules/navigation.md +10 -69
- package/assets/rules/queue-audit.github.md +5 -3
- package/assets/rules/reuse-first.md +20 -195
- package/assets/rules/spec-driven.md +35 -316
- package/assets/rules/status-report.md +5 -3
- package/assets/rules/styling-bem.md +20 -117
- package/assets/rules/task-flow-handover.md +24 -0
- package/assets/rules/task-flow-owner.md +34 -0
- package/assets/rules/task-flow-plan.md +38 -0
- package/assets/rules/task-flow.md +22 -289
- package/assets/rules/testing.md +32 -270
- package/assets/rules/turn-conduct.md +109 -111
- package/assets/rules/turn-entry.md +2 -2
- package/assets/rules/typescript-conventions.md +41 -147
- package/assets/samples/tasks/_template/plan.md +30 -6
- package/assets/samples/tasks/_template/progress.md +0 -1
- package/assets/skills/agent-kit-extend.md +25 -168
- package/assets/skills/agent-kit.md +27 -299
- package/assets/skills/write-a-skill.md +20 -106
- package/assets/task-flow/flow.js +188 -0
- package/assets/task-flow/flow.md +102 -0
- package/assets/task-flow/measure/agreement.mjs +24 -0
- package/assets/task-flow/measure/copy.mjs +22 -0
- package/assets/task-flow/measure/epic-of.mjs +50 -0
- package/assets/task-flow/measure/epic-text.mjs +35 -0
- package/assets/task-flow/measure/epic.mjs +114 -0
- package/assets/task-flow/measure/folder.mjs +16 -0
- package/assets/task-flow/measure/footprint.mjs +28 -0
- package/assets/task-flow/measure/grill.mjs +21 -0
- package/assets/task-flow/measure/host.mjs +8 -0
- package/assets/task-flow/measure/owner.mjs +20 -0
- package/assets/task-flow/measure/plan.mjs +27 -0
- package/assets/task-flow/measure/pr.mjs +20 -0
- package/assets/task-flow/measure/progress.mjs +50 -0
- package/assets/task-flow/measure/session.mjs +175 -0
- package/assets/task-flow/measure/task.mjs +23 -0
- package/assets/task-flow/measure/text.mjs +77 -0
- package/assets/task-flow/source/git.mjs +86 -0
- package/assets/task-flow/source/host.mjs +172 -0
- package/assets/task-flow/source/marks.mjs +56 -0
- package/assets/task-flow/source/owner.mjs +74 -0
- package/assets/task-flow/source/records.mjs +116 -0
- package/assets/task-flow/source/session.mjs +232 -0
- package/assets/task-flow/source/steps.mjs +28 -0
- package/assets/task-flow/source/tree.mjs +42 -0
- package/assets/templates/rule.md +2 -2
- package/bin/agent-kit.d.ts.map +1 -1
- package/bin/agent-kit.js +30 -0
- package/bin/agent-kit.js.map +1 -1
- package/lib/agent-checks.d.ts +55 -0
- package/lib/agent-checks.d.ts.map +1 -0
- package/lib/agent-checks.js +209 -0
- package/lib/agent-checks.js.map +1 -0
- package/lib/assets.d.ts.map +1 -1
- package/lib/assets.js +7 -2
- package/lib/assets.js.map +1 -1
- package/lib/cargo-prose.d.ts +2 -1
- package/lib/cargo-prose.d.ts.map +1 -1
- package/lib/cargo-prose.js.map +1 -1
- package/lib/cargo.d.ts +29 -0
- package/lib/cargo.d.ts.map +1 -1
- package/lib/cargo.js +27 -1
- package/lib/cargo.js.map +1 -1
- package/lib/cascade.d.ts.map +1 -1
- package/lib/cascade.js +3 -1
- package/lib/cascade.js.map +1 -1
- package/lib/commands.d.ts.map +1 -1
- package/lib/commands.js +78 -2
- package/lib/commands.js.map +1 -1
- package/lib/companion.d.ts +0 -5
- package/lib/companion.d.ts.map +1 -1
- package/lib/companion.js +1 -1
- package/lib/companion.js.map +1 -1
- package/lib/config.d.ts +18 -0
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +18 -1
- package/lib/config.js.map +1 -1
- package/lib/cost.d.ts +0 -8
- package/lib/cost.d.ts.map +1 -1
- package/lib/cost.js +4 -4
- package/lib/cost.js.map +1 -1
- package/lib/epic-window-send.d.ts +74 -0
- package/lib/epic-window-send.d.ts.map +1 -0
- package/lib/epic-window-send.js +166 -0
- package/lib/epic-window-send.js.map +1 -0
- package/lib/hooks-map.d.ts +4 -12
- package/lib/hooks-map.d.ts.map +1 -1
- package/lib/hooks-map.js +4 -27
- package/lib/hooks-map.js.map +1 -1
- package/lib/integrity.d.ts +3 -0
- package/lib/integrity.d.ts.map +1 -1
- package/lib/integrity.js +7 -0
- package/lib/integrity.js.map +1 -1
- package/lib/metric-lines.d.ts +2 -1
- package/lib/metric-lines.d.ts.map +1 -1
- package/lib/metric-lines.js +49 -1
- package/lib/metric-lines.js.map +1 -1
- package/lib/metric-send-mark.d.ts +6 -3
- package/lib/metric-send-mark.d.ts.map +1 -1
- package/lib/metric-send-mark.js +15 -5
- package/lib/metric-send-mark.js.map +1 -1
- package/lib/metric-send.d.ts +6 -2
- package/lib/metric-send.d.ts.map +1 -1
- package/lib/metric-send.js +47 -13
- package/lib/metric-send.js.map +1 -1
- package/lib/metrics.d.ts +17 -0
- package/lib/metrics.d.ts.map +1 -1
- package/lib/metrics.js +26 -15
- package/lib/metrics.js.map +1 -1
- package/lib/observations-cargo.d.ts +1 -5
- package/lib/observations-cargo.d.ts.map +1 -1
- package/lib/observations-cargo.js +2 -2
- package/lib/observations-cargo.js.map +1 -1
- package/lib/observations.d.ts +0 -2
- package/lib/observations.d.ts.map +1 -1
- package/lib/observations.js +3 -3
- package/lib/observations.js.map +1 -1
- package/lib/order.d.ts +0 -2
- package/lib/order.d.ts.map +1 -1
- package/lib/order.js +0 -4
- package/lib/order.js.map +1 -1
- package/lib/outcomes.d.ts +7 -9
- package/lib/outcomes.d.ts.map +1 -1
- package/lib/outcomes.js +8 -7
- package/lib/outcomes.js.map +1 -1
- package/lib/proposals.d.ts +0 -1
- package/lib/proposals.d.ts.map +1 -1
- package/lib/proposals.js +1 -1
- package/lib/proposals.js.map +1 -1
- package/lib/push-gate.d.ts +13 -0
- package/lib/push-gate.d.ts.map +1 -1
- package/lib/push-gate.js +11 -7
- package/lib/push-gate.js.map +1 -1
- package/lib/push-set-usefulness.d.ts +78 -0
- package/lib/push-set-usefulness.d.ts.map +1 -0
- package/lib/push-set-usefulness.js +225 -0
- package/lib/push-set-usefulness.js.map +1 -0
- package/lib/shipment.d.ts +2 -11
- package/lib/shipment.d.ts.map +1 -1
- package/lib/shipment.fixture.d.ts +0 -3
- package/lib/shipment.fixture.d.ts.map +1 -1
- package/lib/shipment.fixture.js +3 -3
- package/lib/shipment.fixture.js.map +1 -1
- package/lib/shipment.js +2 -2
- package/lib/shipment.js.map +1 -1
- package/lib/sync.d.ts +10 -0
- package/lib/sync.d.ts.map +1 -1
- package/lib/sync.js +14 -1
- package/lib/sync.js.map +1 -1
- package/lib/traits.d.ts +0 -3
- package/lib/traits.d.ts.map +1 -1
- package/lib/traits.js +2 -2
- package/lib/traits.js.map +1 -1
- package/lib/variants.d.ts +0 -1
- package/lib/variants.d.ts.map +1 -1
- package/lib/variants.js +1 -1
- package/lib/variants.js.map +1 -1
- package/lib/work-result.d.ts +43 -0
- package/lib/work-result.d.ts.map +1 -0
- package/lib/work-result.js +39 -0
- package/lib/work-result.js.map +1 -0
- package/package.json +1 -1
- package/assets/checks/signals/ui-kit.json +0 -11
- package/assets/hooks/claim-guard.sh +0 -212
- package/assets/hooks/grill-gate-ask.sh +0 -26
- package/assets/hooks/grill-gate-bypass.sh +0 -61
- package/assets/hooks/grill-gate-options.sh +0 -50
- package/assets/hooks/grill-gate.sh +0 -482
- package/assets/hooks/postmortem-guard.sh +0 -124
- package/assets/hooks/proposal-guard.sh +0 -154
- package/assets/hooks/stand-login-guard.sh +0 -107
- package/assets/hooks/turn-exit-epic.sh +0 -173
- package/assets/hooks/turn-exit-patterns.sh +0 -123
- package/assets/hooks/turn-exit-verdict.sh +0 -149
- package/assets/hooks/waiting-turn-guard.sh +0 -320
- package/assets/hooks/work-start-guard.sh +0 -175
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
# Work conduct — cold part, second file
|
|
2
|
+
|
|
3
|
+
The sections the rule `task-flow` handed over when it was cut to its statements and split in
|
|
4
|
+
four parts — `task-flow`, `task-flow-plan`, `task-flow-owner`, `task-flow-handover`: its names,
|
|
5
|
+
its flow and every article of all four parts whole, with its reasons. Read on demand.
|
|
6
|
+
|
|
7
|
+
## How the rule reads
|
|
8
|
+
|
|
9
|
+
Rule under the law `docs/constitution/work-conduct.md`. The law says what must be true about the
|
|
10
|
+
course of work; here — what it is called in this tree, where it lives and what is not checked here.
|
|
11
|
+
How a series of tasks is held together as one epic — rule `epic-flow` under the same law.
|
|
12
|
+
|
|
13
|
+
**Cold part:** `pitfalls.md` next to it — traps and conduct from incident analyses. Loaded on
|
|
14
|
+
demand, not with the rule: an ordinary decision does not need it — whoever analyses a miss or argues
|
|
15
|
+
with a guard does.
|
|
16
|
+
|
|
17
|
+
**Requires:** `hooks/task-flow-guard.sh`, `hooks/task-flow-draft-guard.sh`,
|
|
18
|
+
`hooks/task-context-load.sh`, `hooks/window-fill-guard.sh`, `hooks/turn-exit-guard.sh`,
|
|
19
|
+
`hooks/turn-judge.md`, `hooks/ask-judge.md`, `hooks/main-run-context.sh`
|
|
20
|
+
|
|
21
|
+
## What it is called here
|
|
22
|
+
|
|
23
|
+
| In the law | Here |
|
|
24
|
+
| --- | --- |
|
|
25
|
+
| the owner's request | what work begins with; grilled by the `/grill-me` command before the first edit |
|
|
26
|
+
| understanding written where the work goes | `docs/tasks/<ветка>/grill.md` — the request verbatim, the owner's answers in their words, decisions with reasons |
|
|
27
|
+
| the plan | `docs/tasks/<ветка>/plan.md` — the task footprint and stages with readiness signs; not edited after it is written |
|
|
28
|
+
| the progress | `docs/tasks/<ветка>/progress.md` — "Where we stand", decisions along the way, session entries; the only place where done work is marked |
|
|
29
|
+
| the product agreement written before the code | `docs/specs/<домен>/proposed/<фича>/` — the feature spec; merges into the domain spec before the PR opens |
|
|
30
|
+
| the task folder before the task is created | `docs/tasks/_draft-<slug>/` — outside history while there is no number |
|
|
31
|
+
| exploration | an `Explore` or `general-purpose` session before the first question to the owner |
|
|
32
|
+
| the plan review by roles | `.claude/workflows/plan.js` — need, points, agreement, critique, plan, goal |
|
|
33
|
+
| a large edit carried by roles | `.claude/workflows/feature.js` — plan, implementation, check, acceptance, points, goal |
|
|
34
|
+
|
|
35
|
+
## Where it lives
|
|
36
|
+
|
|
37
|
+
In this tree — the table in `implementation.md` next to it. Paths live there, not here: the rule
|
|
38
|
+
travels between repositories, the layout does not, and a path named in the rule lies in the first
|
|
39
|
+
tree that keeps its code differently.
|
|
40
|
+
|
|
41
|
+
## Work states
|
|
42
|
+
|
|
43
|
+
The unit of work is a state, not a step. A state has an entry, a mandatory action and an exit, and
|
|
44
|
+
until the action is done the work stays in the same state.
|
|
45
|
+
|
|
46
|
+
The state is measured by the engine from the branch, the task folder and the host. The line
|
|
47
|
+
``- **State:** `этап-идёт` `` in the "Where we stand" section of the progress mirrors it and never
|
|
48
|
+
stands ahead of it.
|
|
49
|
+
|
|
50
|
+
[the table stays in the hot part of the rule]
|
|
51
|
+
|
|
52
|
+
No state has a mandatory action that sounds like "wait": waiting for someone else's step is not a
|
|
53
|
+
work state, so in `работа-отдана` the mandatory action is the next task, not the open PR. A blocked
|
|
54
|
+
task does not count as next: the same waiting under the name of work. The next is taken from the
|
|
55
|
+
epic plan; outside an epic the owner names it, and the queue, asked by a command, goes into the
|
|
56
|
+
question: "no tasks" is a statement about the tree, backed by output, not by the executor's memory. A filled session window is no state either: the session ends
|
|
57
|
+
with a handover, and the work stays where it stood. **An open card says nothing about whether the
|
|
58
|
+
work is taken.** A card is closed by the merge, and in a session that opens no PRs the list of open
|
|
59
|
+
ones does not shrink. A task is untaken when the tree holds no trace of it: open numbers are checked
|
|
60
|
+
against the archive and its history — a record past its expiry stays in `git log -- docs/archive/`.
|
|
61
|
+
|
|
62
|
+
What a turn ends with — rule `turn-conduct` under the same law.
|
|
63
|
+
|
|
64
|
+
The list is shown to the owner at the start of work, and where we stand is marked on it.
|
|
65
|
+
|
|
66
|
+
The states after the folder have no line on disk: the progress leaves with the folder, and the
|
|
67
|
+
folder is taken apart before the PR opens. The engine measures them from the branch history and the
|
|
68
|
+
host.
|
|
69
|
+
|
|
70
|
+
## Flow
|
|
71
|
+
|
|
72
|
+
The course of work from the owner's request to closing: where the grill stands, what the guard
|
|
73
|
+
demands and where the task folder goes.
|
|
74
|
+
|
|
75
|
+
```mermaid
|
|
76
|
+
flowchart TD
|
|
77
|
+
A[The owner's request] --> B[Exploration over the tree — before the first question]
|
|
78
|
+
B --> C[Grill: six mandatory questions, the answers land on disk]
|
|
79
|
+
C --> D{The edit touches application code}
|
|
80
|
+
D -->|Yes| E[A product agreement is written — before the code]
|
|
81
|
+
D -->|No| F[The plan states the reason there is none]
|
|
82
|
+
E --> Z{The epic of this work exists}
|
|
83
|
+
F --> Z
|
|
84
|
+
Z -->|No| Y[The epic is declared: a card, all its tasks and a plan — then its branch from the main branch]
|
|
85
|
+
Z -->|Yes| G[Task, branch from the epic branch, task folder by branch name; the epic card moves with its first task]
|
|
86
|
+
Z -->|The owner's word about work outside an epic| X[Task, branch from the main branch, task folder by branch name]
|
|
87
|
+
X --> H
|
|
88
|
+
Y --> G
|
|
89
|
+
G --> H[A plan with stages; not edited after it is written]
|
|
90
|
+
H --> I{Stage done}
|
|
91
|
+
I -->|Yes| J[A mark in the progress — the only place where done work is marked]
|
|
92
|
+
J --> I
|
|
93
|
+
I -->|Stages are over| T[The agreement merges into the domain spec, texts are brought up to what was done, then the suite runs]
|
|
94
|
+
T --> N[The task folder is taken apart by the last commit: the grill — to the archive, findings — to the epic plan, the plan — away]
|
|
95
|
+
N --> S[Work queue audit]
|
|
96
|
+
S --> K[The PR opens; the executor names the number, what it waits for and what comes next]
|
|
97
|
+
K --> W[The rules review of the closed work goes to the background, findings land on disk]
|
|
98
|
+
W --> L[While the PR waits for review, the next task is taken]
|
|
99
|
+
L --> M{Review and run are over}
|
|
100
|
+
M -->|Red run or remarks| V[Fixed in the same branch: the plan is gone from disk, the guard takes the sign of work from the branch history]
|
|
101
|
+
V --> M
|
|
102
|
+
M -->|Green and no remarks| O[The draft, if there was one, is lifted; a person presses merge into the epic branch]
|
|
103
|
+
O --> P{Tasks of the epic are left}
|
|
104
|
+
P -->|Yes| G
|
|
105
|
+
P -->|No| Q[The PR of the epic into the main branch opens: every folder is taken apart]
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
## The articles whole, with their reasons
|
|
109
|
+
|
|
110
|
+
- **Editing application code is refused until the work has reached a state in which code is
|
|
111
|
+
edited.** The guard demands three things: a task folder by branch name, a plan in it and a
|
|
112
|
+
declared state. The agreement has a guard of its own on the same events.
|
|
113
|
+
- **The guard judges the declared transition, not the presence of files.** The refusal is lifted
|
|
114
|
+
by the declared state — `этап-идёт`,
|
|
115
|
+
`этапы-кончились`, `разбор-кончился`, `работа-отдана`. The fifth road is the branch history: a
|
|
116
|
+
folder taken apart means handed-in work.
|
|
117
|
+
- **A state line never stands ahead of the measured state.** A line moved forward is a declaration
|
|
118
|
+
of intent: the engine measures the state, and an edit that puts the line ahead of it is refused.
|
|
119
|
+
- **A refusal by state names the mandatory action of that state.** Hearing only "wrong state", the
|
|
120
|
+
executor rewrites the state line instead of the step.
|
|
121
|
+
- **Only a word from the list counts as a state name.** A word of one's own says nothing about the
|
|
122
|
+
entry, the exit or the action.
|
|
123
|
+
- **Two requirements — two guards, and one can be lifted without losing the other.** A line about
|
|
124
|
+
unchanged behaviour lifts the agreement, not the requirement to reach the code-editing state.
|
|
125
|
+
- **A merged agreement does not lock the branch.** After the merge the "proposed" directory is gone
|
|
126
|
+
from disk while the plan refers to it to the end: the guard tells merged from never-created by the
|
|
127
|
+
branch history.
|
|
128
|
+
- **The agreement is required by the edit paths, not by an appraisal of the task.** `apps/**` and
|
|
129
|
+
`libs/**` are the sign; rules, texts, tooling and dependencies fall outside it. The bypass is the
|
|
130
|
+
line `**Behaviour:** unchanged — <the reason of the owner>` in the plan; an empty reason is not
|
|
131
|
+
accepted.
|
|
132
|
+
- **What needs the owner's word is taken from a list, not appraised on the spot.** The appraisal
|
|
133
|
+
"this is safe" is assigned by whoever finds it convenient.
|
|
134
|
+
- **A stop the owner sets on a later step is written down the moment it is said.** A task they put
|
|
135
|
+
off gets the mark «отложено» in the epic plan, set only by their last word naming it; the engine
|
|
136
|
+
then takes the next task. A stop for the turn itself is read from their last message.
|
|
137
|
+
- **A reply to the owner's order begins with the result, not with intent or its justification.** A
|
|
138
|
+
justification under someone else's accepted decision reads as its appraisal. One exception:
|
|
139
|
+
execution stopped by an obstacle — then the obstacle is named.
|
|
140
|
+
- **The last run of the main branch is read first thing in a session and after every known
|
|
141
|
+
merge.** A red main branch lives until the owner notices; a red run is fixed before new work is taken.
|
|
142
|
+
- **A session does not start work by itself.** The handover, the state from the startup hook and an
|
|
143
|
+
assigned epic say what to do, not whether to work: a start needs the owner's word in the same
|
|
144
|
+
session. An empty message, one word or one path order no work.
|
|
145
|
+
- **A refusal by an external limiter removes the way, not the task.** It names no exit: the way is
|
|
146
|
+
taken from the guard that already described this fix, and the task stays the same.
|
|
147
|
+
- **A question written by a past session does not become a question to the owner.** It is addressed
|
|
148
|
+
to the handover's author, and some are closed by a work step.
|
|
149
|
+
- **The owner's instruction holds until they cancel it, and a new fact against it is a line in the
|
|
150
|
+
reply about the cost, not a new question.** Re-asked is what the instruction does not cover. A
|
|
151
|
+
menu where two options of three offer to cancel the owner's decision is that very cancellation.
|
|
152
|
+
- **An answer in the owner's message counts the same as an answer in a document.** A question
|
|
153
|
+
already answered in the conversation is not asked again.
|
|
154
|
+
- **The owner's word about the design is a task setting, not a decision.** What they named is
|
|
155
|
+
usually in the tree under that word — a name on a screen, a spec section, a model field — and is
|
|
156
|
+
checked against it before the edit. Diverged — the owner is asked.
|
|
157
|
+
- **A tool the owner named is used, and a substitute is named in the same reply.** A command, a
|
|
158
|
+
role or a browser named in the request is part of it; the reply says what was used instead and why.
|
|
159
|
+
- **A rule of the tree outweighs a standing instruction of the host.** The host describes its own
|
|
160
|
+
default; where the two differ, the tree's text is carried out.
|
|
161
|
+
- **A task folder is created for any work, no exceptions.** An exception with even one lawful form
|
|
162
|
+
is executed as permission. It goes in before the first edit.
|
|
163
|
+
- **The task folder goes into the branch by a commit, not lives in one working tree.** Uncommitted,
|
|
164
|
+
it passes edits without refusal until the plan is already gone. Outside history one draft without
|
|
165
|
+
a number is lawful.
|
|
166
|
+
- **The task folder is taken apart by the last commit before the PR opens, not after approval.** A
|
|
167
|
+
person merges as soon as they see green, and no room is left for a closing commit.
|
|
168
|
+
- **After opening the PR, the executor tells the owner the number, what it waits for and what comes
|
|
169
|
+
next.** A draft waits for the run, a PR opened ready waits for the owner's hand, and that is said.
|
|
170
|
+
- **A request to merge never comes before the work is checked.** Where the pipeline wakes for this
|
|
171
|
+
base: folder taken apart and pushed → PR as a draft → run green → draft lifted → the request to
|
|
172
|
+
merge, naming the number. Where it does not wake, the green push gate is the check, and opening
|
|
173
|
+
the PR and asking to merge are one turn.
|
|
174
|
+
- **A PR that waits for a run opens as a draft, and one that waits for nothing opens ready.** An
|
|
175
|
+
open PR reads as an invitation to merge. Which of the two applies is decided by the bases the pipeline wakes for, and that is read from its file.
|
|
176
|
+
- **The plan guard is the lower bound of the requirement, not its limit.** It demands a folder only
|
|
177
|
+
for an edit of application code; the article above — for any work.
|
|
178
|
+
- **An instruction to work by a rule or by the progress is an instruction to do all its steps,
|
|
179
|
+
including those that change history.** Marking a stage, a commit, a push and opening a PR are
|
|
180
|
+
prescribed by the rule; questions are asked about what the progress lacks.
|
|
181
|
+
- **A taken task does not end a turn.** Creating the task, the branch, the column and the folder is
|
|
182
|
+
preparation; the turn-exit guard names the plan, the action of that state, in its refusal.
|
|
183
|
+
- **The stages of a plan cover its done-sign whole.** Otherwise every stage closes, the run is
|
|
184
|
+
green, and half the order is not done. Either the stages are written up to the sign, or the sign
|
|
185
|
+
is narrowed to what the stages give.
|
|
186
|
+
- **Every rule of the product agreement becomes a step of some stage.** The plan names, per rule,
|
|
187
|
+
the stage that writes its code and the check that proves it, and is compared with the agreement
|
|
188
|
+
rule by rule before the first stage: a rule with no stage is found at the merge review, when the
|
|
189
|
+
code is written.
|
|
190
|
+
- **Every step of the plan carries a check whose expected output is taken from a run while the plan
|
|
191
|
+
is written.** Written by a guess, it fails at the step itself. The engine runs the check and writes
|
|
192
|
+
the mark of the step; a step marked done without its mark is refused.
|
|
193
|
+
- **A plan for work that ports a technique from outside is written by a measurement of one's own
|
|
194
|
+
code.** Reading the sample says how it is built; what is needed here is said by a count over
|
|
195
|
+
one's own files.
|
|
196
|
+
- **A count that becomes the measure of the work is bounded by the declaration, not by the file.**
|
|
197
|
+
A file holds neighbouring sets too.
|
|
198
|
+
- **Waiting for one part of a stage is never a stop of the stage.** The parts independent of what is
|
|
199
|
+
awaited are done in the same turn; the owner is told what is done and what is left for their step.
|
|
200
|
+
- **A finding made mid-stage is checked against the plan's exit conditions before the first edit.**
|
|
201
|
+
A finding named by no exit condition goes to the section on what the work does not do, and is
|
|
202
|
+
filed as a task.
|
|
203
|
+
- **Done work is marked only in the progress.** "Where we stand" is rewritten by every session, not
|
|
204
|
+
appended.
|
|
205
|
+
- **The plan names the steps of every stage, and the progress mirrors them with a mark each.** The
|
|
206
|
+
plan is not edited after it is written, the marks change every turn; a line nobody can call done
|
|
207
|
+
is not a step.
|
|
208
|
+
- **The numbers and the names of the steps are copied from the plan, not reworded.** A check matches
|
|
209
|
+
the two lists: a reworded name reads as a different step.
|
|
210
|
+
- **Exactly one step carries the mark of going on right now, while any step is not done.** Marked on
|
|
211
|
+
none, the progress says the work stands; marked on two, it says nothing at all.
|
|
212
|
+
- **A word for a new notion is looked up in the tree's glossary.** It goes into the context whole
|
|
213
|
+
at session start, so "did not read it" is never a ground.
|
|
214
|
+
- **The task folder is created as a draft and gets its number by a command.** Until the grill ends,
|
|
215
|
+
how many tasks come out is unknown, so the number never comes first.
|
|
216
|
+
- **An abandoned grill is visible.** A draft older than a week is listed by the work queue audit.
|
|
217
|
+
- **Work ordered in words becomes a task in the queue in the same turn.** Even if it will not be
|
|
218
|
+
done now: a draft folder has no number, and one session knows of it. Postponed work names a
|
|
219
|
+
date; postponed silently, it reads as done.
|
|
220
|
+
- **The plan names the points: the epic its milestone, the task the change a person will see.** The
|
|
221
|
+
role `product-strategist` tries to prove the miss in planning and before the PR. A proved miss is
|
|
222
|
+
fixed or named to the owner; no pipeline stops. Every PR body carries the table of points.
|
|
223
|
+
- **An improvement of a rule names the metric it should move, and the next report judges it.** A repair
|
|
224
|
+
names what was broken instead. An edit that moved nothing is named so. The technique is the
|
|
225
|
+
pattern `task-flow-cycle`.
|
|
226
|
+
- **Work is judged by the role `goal-critic` against the owner's words.** A plan is no evidence to
|
|
227
|
+
it, its reply is not edited, and the PR body carries its table.
|
|
228
|
+
- **A mission is set by the owner.** A session only proposes a wording from its analysis and waits
|
|
229
|
+
for approval.
|
|
230
|
+
- **Building by a sample begins with reading the sample itself, whole, by walking the directories.**
|
|
231
|
+
- **Exploration of a tree that holds a code graph begins with the graph.** A tree with a graph names
|
|
232
|
+
the trait `graph` in its settings and follows the pattern `task-flow-graph`: in every turn the
|
|
233
|
+
graph is checked against the head before the first exploration, and a turn that does not use it
|
|
234
|
+
names the reason. Relations are taken from the graph; numbers, behaviour and texts — from the code
|
|
235
|
+
and the documents.
|
|
236
|
+
- **The path to a sample lies outside the history, the permission to work outside the epic — in
|
|
237
|
+
the main branch.** The path names another tree and lives among the records that belong to no
|
|
238
|
+
branch; the progress names the sample by a reference to that place. The permission is a row of
|
|
239
|
+
the table of assignments, read from the main branch by every branch; it repeats the owner's word,
|
|
240
|
+
not replaces it.
|
|
241
|
+
- **Closed work is reviewed by the rules in the background, right after the PR, and its findings
|
|
242
|
+
wait for the owner.** Only the session that led the work sees what was loaded and what was
|
|
243
|
+
missing, and it takes the next task meanwhile. A proposal sent unreviewed becomes the work of
|
|
244
|
+
someone who did not order it; only the digest of observations leaves, always. The technique is
|
|
245
|
+
the pattern `task-flow-archive`.
|
|
246
|
+
- **The cheap closing step goes before the costly one, and the run — after the merge.** A run
|
|
247
|
+
before the merge checks what will not reach main.
|
|
248
|
+
- **The agreement merges into the domain spec by one of the last commits of the branch, before the
|
|
249
|
+
PR opens.** By then the bindings are known, and `proposed/` never appears in main. What is ready
|
|
250
|
+
to merge is listed by `npm run check:specs`.
|
|
251
|
+
- **The folder of a closed task is taken apart, not moved whole.** What explains a decision goes to
|
|
252
|
+
`docs/archive/`; the rest is deleted. One not taken apart is caught by the work queue audit.
|
|
253
|
+
- **Opening the PR and lifting the draft are refused while the branch carries its task folder.** A
|
|
254
|
+
person presses merge on the host, where there are no guards: a lifted draft reads to them as an
|
|
255
|
+
invitation. The branch content is judged, not the working tree.
|
|
256
|
+
- **A branch that removed the folder adds a record to the archive.** Removing is cheaper than taking
|
|
257
|
+
apart, and the grill leaves first — the only record of the owner's words.
|
|
258
|
+
- **The bypass is the line `Task-folder-skip: <reason>` in the PR or in the command itself.** An
|
|
259
|
+
empty reason is no bypass, and the bypass lifts the refusal but does not silence the work queue
|
|
260
|
+
audit line.
|
|
261
|
+
|
|
262
|
+
## What of the law is not here
|
|
263
|
+
|
|
264
|
+
Nothing checks the completeness of the written understanding: the machine sees that a record exists,
|
|
265
|
+
not that it closes every gap. The same for a question worth asking and not asked — it leaves no
|
|
266
|
+
trace. The owner judges both.
|
|
267
|
+
|
|
268
|
+
The guard judges by the edit paths, not by whether the work changes behaviour. A refactoring gets no
|
|
269
|
+
sign of its own: the appraisal "behaviour does not change" would be assigned by whoever it hinders.
|
|
270
|
+
|
|
271
|
+
Of the grill itself only the questions are judged: the agent hook of the question tool holds a
|
|
272
|
+
question the owner already answered or a rule answers plainly, and names where the answer is. The
|
|
273
|
+
exploration, the six questions, the count of menus and the answers are checked by nothing.
|
|
274
|
+
|
|
275
|
+
The agent hooks judge by meaning, not by shared words, and a model can let a case pass: a doubtful
|
|
276
|
+
question leaves, a doubtful turn ends.
|
|
277
|
+
|
|
278
|
+
Nothing watches the plan's immutability: an edit along the way is told from the original record only
|
|
279
|
+
by history.
|
|
280
|
+
|
|
281
|
+
Nothing checks that the texts match what was done: the machine cannot see what went stale in a rule
|
|
282
|
+
or a spec. This is held by the closing step and the task footprint in the plan. A rule and a spec
|
|
283
|
+
are edited in the branch, a law is not: its article goes to the owner as text, and the work goes on
|
|
284
|
+
without it.
|
|
285
|
+
|
|
286
|
+
What went to the archive is not checked: the owner judges it at review.
|
|
287
|
+
|
|
288
|
+
The task folder guard judges the executor's call, not the host's button: a person merging from their
|
|
289
|
+
side passes it in silence, and there the requirement is held by a section in the PR body.
|
|
290
|
+
|
|
291
|
+
A tree may reverse the hand-in order by an override. Which package steps stop being executed then
|
|
292
|
+
nothing counts; it is held by reading both texts in a row on every such edit.
|
|
293
|
+
|
|
294
|
+
## Patterns
|
|
295
|
+
|
|
296
|
+
- `task-flow-start` — exploration, grill, agreement, plan, task and branch.
|
|
297
|
+
- `task-flow-resume` — returning to unfinished work in a new session.
|
|
298
|
+
- `task-flow-close` — merging the agreement, bringing the texts up to date, opening the PR and
|
|
299
|
+
lifting the draft.
|
|
300
|
+
- `task-flow-archive` — taking the task folder apart, the move to the archive, review by the rules.
|
|
301
|
+
- `task-flow-cycle` — an edit chosen by the report and judged by the next one.
|
|
302
|
+
- `task-flow-graph` — where the tree names the trait `graph`: the freshness check, the domain inventory and
|
|
303
|
+
what the graph never answers.
|
|
@@ -22,13 +22,13 @@ The rule is `task-flow`; the articles that hold the law stand there.
|
|
|
22
22
|
forbids the permitted work as many times as branches are created before the merge. The refusal
|
|
23
23
|
names the file and is silent about the record belonging to the branch. While the permission lives
|
|
24
24
|
in the repository, the number is appended in every new branch.
|
|
25
|
-
- **The name of another tree is not written into repository files,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
- **
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
owner's
|
|
25
|
+
- **The name of another tree is not written into repository files, and the full path to a sample
|
|
26
|
+
carries it.** So the full path lives in the directory of records that belong to no branch, where
|
|
27
|
+
it is lawful, and the repository holds only a reference without the name.
|
|
28
|
+
- **A stop written into the progress outlived the reason it was written for.** It lay on disk,
|
|
29
|
+
entered the context in the next session and read as the current state: three owner's instructions
|
|
30
|
+
in a row did not outweigh one line. So the progress carries no line about a stop any more, and the
|
|
31
|
+
guard reads the owner's word from the record of the session.
|
|
32
32
|
|
|
33
33
|
- **The folder is named after the branch, one to one.** The startup hook looks for it by `git branch
|
|
34
34
|
--show-current`, and a folder named otherwise is found by nothing: the work goes on with an empty
|
|
@@ -75,12 +75,6 @@ The rule is `task-flow`; the articles that hold the law stand there.
|
|
|
75
75
|
session questions the owner anew. The draft got its name from the words of the request, the branch
|
|
76
76
|
from the terminology of the agreement; the same words, yet not the same.
|
|
77
77
|
|
|
78
|
-
- **Waiting on one part of a stage is never a stop of the stage.** The parts that do not depend on
|
|
79
|
-
what is awaited are done in the same turn: to say "acceptance is pending" and touch nothing else
|
|
80
|
-
is a stop of the whole work for a reason that applies to a tenth of it. The rule speaks of the
|
|
81
|
-
task, and "one part is pending" is read by it as "the work is pending" — of five parts of a stage,
|
|
82
|
-
one was waiting.
|
|
83
|
-
|
|
84
78
|
- **A line with a path is never an assignment.** An address names a file, not an action; read as an
|
|
85
79
|
instruction, it gives the session work the owner did not ask for. The same with any line without a
|
|
86
80
|
verb: asking what to do with it is cheaper than writing fifty files past the request.
|
|
@@ -146,9 +140,9 @@ The rule is `task-flow`; the articles that hold the law stand there.
|
|
|
146
140
|
prescribes it.
|
|
147
141
|
|
|
148
142
|
|
|
149
|
-
- **
|
|
150
|
-
|
|
151
|
-
|
|
143
|
+
- **A task of the epic that is not free is not the end of the epic.** Tasks taken by other executors
|
|
144
|
+
leave the epic going on, and the next free task of the same epic is taken; a finished epic is a
|
|
145
|
+
stop with the table of its tasks, rule `turn-conduct`. Which tasks are left is asked by the
|
|
152
146
|
command, not recalled from the handover: a statement in the handed-over text describes the tree
|
|
153
147
|
and the day it was written in.
|
|
154
148
|
- **A closing step of the work does not count as taking the next task.** Moving the task being
|
|
@@ -161,9 +155,9 @@ The rule is `task-flow`; the articles that hold the law stand there.
|
|
|
161
155
|
passes afterwards.
|
|
162
156
|
- **A stack of branches costs more, and its price is named.** A PR into a neighbouring branch does
|
|
163
157
|
not start the pipeline declared for the main base; merging the base closes the next PR as merged
|
|
164
|
-
although its edits are not in
|
|
165
|
-
Tasks that follow one another in code lawfully live as branches from
|
|
166
|
-
edit does not rest on the code of the previous one.
|
|
158
|
+
although its edits are not in the epic branch; a conflict is resolved anew in every branch of the
|
|
159
|
+
stack. Tasks that follow one another in code lawfully live as branches from the epic branch, as
|
|
160
|
+
long as the next edit does not rest on the code of the previous one.
|
|
167
161
|
|
|
168
162
|
- **A find in the middle of a stage feels like part of the current work when the subject is
|
|
169
163
|
adjacent.** It has no sign of its own: before the first edit the find is not in the tree, and
|
|
@@ -171,10 +165,6 @@ The rule is `task-flow`; the articles that hold the law stand there.
|
|
|
171
165
|
conditions is checked, not the feeling — otherwise the two pieces of work lose their separate
|
|
172
166
|
rollback.
|
|
173
167
|
|
|
174
|
-
## Executor behaviour — from incident analyses
|
|
175
|
-
|
|
176
|
-
Moves out of the rule in the next task of the epic.
|
|
177
|
-
|
|
178
168
|
## What stood in the articles
|
|
179
169
|
|
|
180
170
|
Cases and numbers that used to stand next to the rule's articles. No edit decision rests on them:
|
|
@@ -248,11 +238,11 @@ they are for whoever investigates a miss or argues with a guard.
|
|
|
248
238
|
- **A run placed as the first closing step eats the session window.** It costs more than all the
|
|
249
239
|
other steps together: the one who spent it hit the fill threshold on four binding lines — on work
|
|
250
240
|
that would have taken a minute had it come first.
|
|
251
|
-
- **Permission to work outside the assigned epic
|
|
252
|
-
Written into a
|
|
253
|
-
|
|
254
|
-
the
|
|
255
|
-
|
|
241
|
+
- **Permission to work outside the assigned epic lies in the main branch, not in a task branch.**
|
|
242
|
+
Written into a task branch, it leaves with that branch: from a neighbouring one it is invisible,
|
|
243
|
+
and the epic guard refuses exactly the work the owner permitted. Its place is the table of
|
|
244
|
+
assignments in the main branch. The row repeats the owner's word: a number written in by oneself
|
|
245
|
+
is not a permission.
|
|
256
246
|
- **A task moved to another epic is removed from the previous one's set in the same turn.** The move
|
|
257
247
|
is two motions, and done by half it leaves the task in two sets at once: the epic looks unclosed
|
|
258
248
|
with all its work done. The total is written where the set is edited: postponed, it is written
|
|
@@ -263,6 +253,5 @@ they are for whoever investigates a miss or argues with a guard.
|
|
|
263
253
|
cards, one card at a time.
|
|
264
254
|
- **The task order says nothing about how the branches stand**, and the numbers of the created
|
|
265
255
|
tasks return to the order section by the same edit.
|
|
266
|
-
- **A finished epic is named to the owner by the same turn that takes work outside it.**
|
|
267
256
|
- **A retelling of a sample in the grill and in the epic plan is not the sample.**
|
|
268
257
|
- **The review of closed work ends with an edit of the rules layer or a proposal outward.**
|