@cbartens/bkit 5.1.0 → 5.2.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/.bkit/README.md +11 -7
- package/.bkit/core/.agents/plugins/bkit/hooks/bkit-gateguard.cjs +39 -50
- package/.bkit/core/.agents/plugins/bkit/hooks/bkit-guardrails.cjs +74 -56
- package/.bkit/core/.agents/plugins/bkit/hooks/bkit-readguard.cjs +72 -0
- package/.bkit/core/.agents/rules.md +8 -4
- package/.bkit/core/.agents/shortcuts.md +1 -1
- package/.bkit/core/.bkit/LICENSE.md +18 -140
- package/.bkit/core/.bkit/README.md +10 -6
- package/.bkit/core/.bkit/cloud.md +12 -15
- package/.bkit/core/.bkit/comparison.md +66 -14
- package/.bkit/core/.bkit/install.md +31 -8
- package/.bkit/core/.bkit/jsonl.md +0 -1
- package/.bkit/core/.bkit/prompts.md +14 -13
- package/.bkit/core/.bkit/providers.md +90 -26
- package/.bkit/core/.bkit/templates.md +38 -11
- package/.bkit/core/.bkit/workflows.md +63 -41
- package/.bkit/core/.claude/hooks/bkit-gateguard.cjs +4 -3
- package/.bkit/core/.claude/hooks/bkit-readguard.cjs +60 -0
- package/.bkit/core/.codex/hooks/bkit-gateguard.cjs +8 -6
- package/.bkit/core/.codex/hooks/bkit-readguard.cjs +58 -0
- package/.bkit/core/.cursor/hooks/bkit-guardrails.cjs +12 -19
- package/.bkit/core/.cursor/hooks/bkit-readguard.cjs +59 -0
- package/.bkit/core/.opencode/plugin/bkit-gateguard.js +73 -22
- package/.bkit/core/.opencode/plugin/bkit-readguard.js +126 -0
- package/.bkit/core/docs/templates/bkit-audit-adoption.md +2 -2
- package/.bkit/core/docs/templates/bkit-plan.md +6 -3
- package/.bkit/core/engine/checks/after/auth.ts +32 -0
- package/.bkit/core/engine/checks/after/github.ts +4 -4
- package/.bkit/core/engine/checks/after/index.ts +36 -50
- package/.bkit/core/engine/checks/after/managed.ts +40 -0
- package/.bkit/core/engine/checks/before/index.ts +5 -4
- package/.bkit/core/engine/checks/before/mcp.ts +60 -54
- package/.bkit/core/engine/checks/status-holes.ts +1 -1
- package/.bkit/core/engine/checks/tips/catalogue.ts +356 -0
- package/.bkit/core/engine/checks/tips/detect.ts +144 -0
- package/.bkit/core/engine/checks/tips/index.ts +174 -0
- package/.bkit/core/engine/cli.ts +57 -9
- package/.bkit/core/engine/commands/install/doctor.ts +5 -1
- package/.bkit/core/engine/commands/install/install.ts +39 -9
- package/.bkit/core/engine/commands/install/uninstall.ts +32 -18
- package/.bkit/core/engine/commands/install/upgrade.ts +15 -28
- package/.bkit/core/engine/commands/launch.ts +33 -11
- package/.bkit/core/engine/commands/tips.ts +16 -0
- package/.bkit/core/engine/commands/workflow/runs.ts +57 -16
- package/.bkit/core/engine/commands/workflow/runtime.ts +12 -0
- package/.bkit/core/engine/commands/workflow/steps.ts +1 -0
- package/.bkit/core/engine/commands/workflow/tests.ts +647 -4
- package/.bkit/core/engine/commands/workflow/workstreams.ts +4 -4
- package/.bkit/core/engine/install/cloud-env.ts +7 -21
- package/.bkit/core/engine/install/hosts.ts +21 -0
- package/.bkit/core/engine/install/managed-block.ts +36 -0
- package/.bkit/core/engine/install/manifest.ts +46 -4
- package/.bkit/core/engine/install/modules/antigravity.ts +8 -7
- package/.bkit/core/engine/install/modules/claude.ts +6 -6
- package/.bkit/core/engine/install/modules/cloud.ts +2 -2
- package/.bkit/core/engine/install/modules/codex.ts +5 -5
- package/.bkit/core/engine/install/modules/core.ts +23 -9
- package/.bkit/core/engine/install/modules/cursor.ts +6 -6
- package/.bkit/core/engine/install/modules/opencode.ts +4 -4
- package/.bkit/core/engine/install/payload-links.ts +6 -10
- package/.bkit/core/engine/install/placeholders.ts +1 -1
- package/.bkit/core/engine/install/version-file.ts +17 -9
- package/.bkit/core/engine/install/write.ts +68 -1
- package/.bkit/core/engine/ledgers/telemetry.ts +0 -2
- package/.bkit/core/engine/shared/package-roots.ts +8 -10
- package/.bkit/core/hooks/antigravity-hook.js +67 -0
- package/.bkit/core/hooks/gateguard-edit-payload.js +4 -4
- package/.bkit/core/hooks/gateguard-engine.js +16 -6
- package/.bkit/core/hooks/guardrails-read.js +23 -0
- package/.bkit/core/hooks/readguard-engine.js +259 -0
- package/.bkit/core/hooks/readguard-payload.js +67 -0
- package/.bkit/core/prompts/bkit-audit-generate.md +1 -0
- package/.bkit/core/prompts/bkit-build-challenge-1.md +1 -0
- package/.bkit/core/prompts/bkit-build-challenge-2.md +1 -0
- package/.bkit/core/prompts/bkit-build-challenge-reconcile.md +1 -0
- package/.bkit/core/prompts/bkit-build-challenge-remediate.md +1 -0
- package/.bkit/core/prompts/bkit-build-challenge-tests.md +1 -0
- package/.bkit/core/prompts/bkit-build-install-skills.md +1 -0
- package/.bkit/core/prompts/bkit-build-plan-current.md +1 -0
- package/.bkit/core/prompts/bkit-build-plan-execute.md +5 -1
- package/.bkit/core/prompts/bkit-build-plan-gaps-remediate.md +1 -0
- package/.bkit/core/prompts/bkit-build-plan-verify.md +11 -3
- package/.bkit/core/prompts/bkit-build-summary.md +1 -0
- package/.bkit/core/prompts/bkit-debug-abort-handover.md +1 -0
- package/.bkit/core/prompts/bkit-debug-failure-diagnose.md +1 -0
- package/.bkit/core/prompts/bkit-debug-failure-remediate.md +1 -0
- package/.bkit/core/prompts/bkit-debug-failure-soak.md +1 -0
- package/.bkit/core/prompts/bkit-debug-summary.md +1 -0
- package/.bkit/core/prompts/bkit-design-brainstorm-ideate-1.md +1 -0
- package/.bkit/core/prompts/bkit-design-brainstorm-ideate-2.md +1 -0
- package/.bkit/core/prompts/bkit-design-brainstorm-ideate-3.md +1 -0
- package/.bkit/core/prompts/bkit-design-generate.md +9 -4
- package/.bkit/core/prompts/bkit-design-organise.md +1 -0
- package/.bkit/core/prompts/bkit-design-review-1.md +1 -0
- package/.bkit/core/prompts/bkit-design-review-2.md +1 -0
- package/.bkit/core/prompts/bkit-design-spike.md +1 -0
- package/.bkit/core/prompts/bkit-design-summary.md +1 -0
- package/.bkit/core/prompts/bkit-design-update.md +1 -0
- package/.bkit/core/prompts/bkit-plan-complexity-check.md +1 -0
- package/.bkit/core/prompts/bkit-plan-complexity-split.md +3 -2
- package/.bkit/core/prompts/bkit-plan-generate.md +1 -0
- package/.bkit/core/prompts/bkit-plan-review-1.md +1 -0
- package/.bkit/core/prompts/bkit-plan-review-2.md +1 -0
- package/.bkit/core/prompts/bkit-plan-review-3.md +1 -0
- package/.bkit/core/prompts/bkit-plan-scope-check-1.md +2 -1
- package/.bkit/core/prompts/bkit-plan-scope-check-2.md +2 -1
- package/.bkit/core/prompts/bkit-plan-summary.md +1 -0
- package/.bkit/core/prompts/bkit-plan-update.md +2 -1
- package/.bkit/core/prompts/bkit-ship-conflict-resolve.md +1 -0
- package/.bkit/core/prompts/bkit-ship-deferred-sweep.md +1 -0
- package/.bkit/core/prompts/bkit-ship-summary.md +1 -0
- package/.bkit/core/prompts/bkit-ship-update-docs.md +1 -0
- package/.bkit/core/prompts/bkit-utility-compress-markdown.md +1 -0
- package/.bkit/core/prompts/bkit-utility-update-decisions.md +1 -0
- package/.bkit/core/prompts/bkit-utility-update-deferrals.md +1 -0
- package/.bkit/core/prompts/bkit-utility-update-documentation.md +1 -0
- package/.bkit/core/prompts/bkit-utility-update-failures.md +1 -0
- package/.bkit/core/prompts/bkit-utility-update-knowledge.md +1 -0
- package/.bkit/core/prompts/bkit-utility-update-roadmap.md +1 -0
- package/.bkit/core/workflows/bkit-build.md +33 -21
- package/.bkit/core/workflows/bkit-debug.md +29 -22
- package/.bkit/core/workflows/bkit-design.md +81 -38
- package/.bkit/core/workflows/bkit-plan.md +8 -2
- package/.bkit/core/workflows/bkit-ship.md +8 -2
- package/.bkit/shared/.agents/plugins/bkit/hooks.json +13 -3
- package/.bkit/shared/.claude/settings.json +19 -0
- package/.bkit/shared/.codex/hooks.json +21 -0
- package/.bkit/shared/.cursor/hooks.json +6 -1
- package/.bkit/shared/.opencode/opencode.json +1 -1
- package/.bkit/shared/docs/deployments.md +1 -1
- package/.bkit/shared/docs/testing.md +12 -1
- package/.bkit/templates/.github/dependabot.yml +6 -0
- package/.bkit/templates/.github/renovate.json5 +3 -3
- package/.bkit/templates/.github/workflows/bkit-ci.yml +0 -13
- package/.bkit/templates/.github/workflows/bkit-cloud.yml +5 -5
- package/.bkit/templates/.prettierignore +1 -1
- package/.bkit/templates/context/bkit-expo.md +22 -13
- package/.bkit/templates/context/bkit-github.md +20 -6
- package/.bkit/templates/context/bkit-inngest.md +10 -4
- package/.bkit/templates/context/bkit-maestro.md +5 -5
- package/.bkit/templates/context/bkit-playwright.md +3 -3
- package/.bkit/templates/context/bkit-sentry.md +6 -5
- package/.bkit/templates/context/bkit-stripe.md +31 -8
- package/.bkit/templates/scripts/ci/check-accepted-divergences.mjs +65 -19
- package/.bkit/templates/scripts/ci/check-accepted-divergences.test.mjs +34 -0
- package/.bkit/templates/scripts/ci/lanes/resolve-push-base.mjs +33 -12
- package/.bkit/templates/scripts/ci/lanes/resolve-push-base.test.mjs +54 -0
- package/.bkit/templates/scripts/launchd/bkit-launchd-env.sh +76 -6
- package/.bkit/templates/slop-scan.config.json +7 -2
- package/CHANGELOG.md +42 -0
- package/LICENSE.md +21 -161
- package/README.md +58 -28
- package/dist/checks/after/auth.js +28 -0
- package/dist/checks/after/github.js +4 -4
- package/dist/checks/after/index.js +29 -45
- package/dist/checks/after/managed.js +40 -1
- package/dist/checks/before/index.js +5 -4
- package/dist/checks/before/mcp.js +53 -53
- package/dist/checks/status-holes.js +1 -1
- package/dist/checks/tips/catalogue.js +297 -0
- package/dist/checks/tips/detect.js +130 -0
- package/dist/checks/tips/index.js +146 -0
- package/dist/cli.js +47 -9
- package/dist/commands/install/doctor.js +5 -1
- package/dist/commands/install/install.js +27 -7
- package/dist/commands/install/uninstall.js +31 -16
- package/dist/commands/install/upgrade.js +15 -32
- package/dist/commands/launch.js +27 -11
- package/dist/commands/tips.js +10 -0
- package/dist/commands/workflow/runs.js +52 -16
- package/dist/commands/workflow/runtime.js +8 -0
- package/dist/commands/workflow/steps.js +1 -0
- package/dist/commands/workflow/tests.js +541 -4
- package/dist/commands/workflow/workstreams.js +4 -4
- package/dist/install/cloud-env.js +3 -14
- package/dist/install/hosts.js +22 -0
- package/dist/install/managed-block.js +36 -0
- package/dist/install/manifest.js +45 -4
- package/dist/install/modules/antigravity.js +8 -7
- package/dist/install/modules/claude.js +6 -6
- package/dist/install/modules/cloud.js +2 -2
- package/dist/install/modules/codex.js +5 -5
- package/dist/install/modules/core.js +14 -5
- package/dist/install/modules/cursor.js +6 -6
- package/dist/install/modules/opencode.js +4 -4
- package/dist/install/payload-links.js +5 -5
- package/dist/install/placeholders.js +1 -1
- package/dist/install/version-file.js +12 -3
- package/dist/install/write.js +61 -2
- package/dist/shared/package-roots.js +8 -11
- package/package.json +4 -6
- package/.bkit/core/LICENSE.md +0 -149
- package/.bkit/shared/LICENSE.md +0 -22
- package/.bkit/templates/LICENSE.md +0 -22
|
@@ -22,6 +22,7 @@ maxTurns: 100
|
|
|
22
22
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
23
23
|
>
|
|
24
24
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
25
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
25
26
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
26
27
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
27
28
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -21,6 +21,7 @@ maxTurns: 100
|
|
|
21
21
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
22
22
|
>
|
|
23
23
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
24
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
24
25
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
25
26
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
26
27
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -22,6 +22,7 @@ maxTurns: 150
|
|
|
22
22
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
23
23
|
>
|
|
24
24
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
25
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
25
26
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
26
27
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
27
28
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -22,6 +22,7 @@ maxTurns: 100
|
|
|
22
22
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
23
23
|
>
|
|
24
24
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
25
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
25
26
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
26
27
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
27
28
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -19,6 +19,7 @@ maxTurns: 50
|
|
|
19
19
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
20
20
|
>
|
|
21
21
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
22
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
22
23
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
23
24
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
24
25
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -22,6 +22,7 @@ maxTurns: 100
|
|
|
22
22
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
23
23
|
>
|
|
24
24
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
25
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
25
26
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
26
27
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
27
28
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -22,6 +22,7 @@ maxTurns: 150
|
|
|
22
22
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
23
23
|
>
|
|
24
24
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
25
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
25
26
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
26
27
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
27
28
|
> - **Gates:** Verify all gates before next step. Skipped gate = invalid work → close gap.
|
|
@@ -49,7 +50,10 @@ maxTurns: 150
|
|
|
49
50
|
- `Broken` already landed → log `DONE — already landed`.
|
|
50
51
|
- `Broken` not landed → implement against current code or `BLOCKED`.
|
|
51
52
|
7. Update **Create** after each task — append `DONE|BLOCKED` at EOF via Bash `echo {log entry} >> {output}`.
|
|
52
|
-
8. Implement sequentially
|
|
53
|
+
8. Implement sequentially, per task:
|
|
54
|
+
- **If** task `Test first` names tests **and** task not logged `DONE — already landed` → write those tests plus stubs of the code they call; run the supplied red command once per test with the task number, the test position in `Test first`, its file and its name; every red MUST be recorded before the task code is written. **If** refused as `passed` → `BLOCKED`; never undo code to force a red. **If** refused otherwise → fix tests / stubs per the printed reason; re-run. **If** `bkit:test:file` not declared → log `red not enforced` once; continue. **If** could not run → `BLOCKED`. **If** no plan file exists **or** no red command supplied → write the tests first; record nothing.
|
|
55
|
+
- Edit / create source → task tests pass → refactor with tests green → at every gate confirm conditions met → append log → proceed.
|
|
56
|
+
- Honour plan `Reuse Inventory` when present: `EXTEND` row → modify named artifact, never parallel file. Reusable artifact found mid-build → fold in and log, never fork.
|
|
53
57
|
9. Run `pnpm bkit:gate:static` — all local lint / typecheck MUST pass.
|
|
54
58
|
10. Update **Create** — set `Verdict` via `Edit`; mapping:
|
|
55
59
|
- `PASS` = every pending task has `DONE` log entry and local lint / typecheck pass.
|
|
@@ -22,6 +22,7 @@ maxTurns: 150
|
|
|
22
22
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
23
23
|
>
|
|
24
24
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
25
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
25
26
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
26
27
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
27
28
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -22,6 +22,7 @@ maxTurns: 100
|
|
|
22
22
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
23
23
|
>
|
|
24
24
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
25
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
25
26
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
26
27
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
27
28
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -43,9 +44,16 @@ maxTurns: 100
|
|
|
43
44
|
5. Determine `Mode` from input Context (`Single` or `Holistic`).
|
|
44
45
|
6. **If** `Single` → every checklist item and gate maps to real codebase changes. Find missing components, skipped steps, unimplemented edge cases. Cross-reference plan tasks vs all `DONE` log entries.
|
|
45
46
|
7. **If** `Holistic` → same checklist / gate / `DONE` log cross-reference across all sub-plans, plus integration: sub-plan components work together? API contracts match? Shared state consistent? Cross-domain boundaries respected? Run `pnpm bkit:gate:static-unit`.
|
|
46
|
-
8.
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
8. **If** test-first audit report supplied (`Enforced` / `Gaps` header) → map its gaps per task:
|
|
48
|
+
- `not-green` → fixable by gap-remediate.
|
|
49
|
+
- `test-changed` → read its diff; only added tests / formatting → no gap; weakened, removed or rewritten assertions → not fixable.
|
|
50
|
+
- `red-mismatch` → recorded test is the planned one renamed or moved **and** passes now → no gap, nor for that test's `not-green`; else not fixable.
|
|
51
|
+
- `no-red` on a task the plan-currency report classifies `Broken` with work already landed **and** the execute log records `DONE — already landed` → no gap.
|
|
52
|
+
- `no-red`, `no-test-first`, `test-first-malformed`, `red-evidence-missing` → not fixable.
|
|
53
|
+
- `Enforced: false` → reason in `Notes`; no gap.
|
|
54
|
+
9. Per task → assert codebase satisfies `Done when` (file exists, signature matches, test passes, observable behaviour) and has no test-first audit gap; `BLOCKED` log lines, `docs/deferrals.jsonl` rows, and out-of-scope notes never satisfy it. **If** satisfied → tick `[x]`. **If** not satisfied or missing → leave `[ ]`, append log; **If** the gap is not fixable by gap-remediate → set `Verdict` = `FAIL` via `Edit` immediately; do not defer to final pass. **If** no plan file exists → `build-input-*.md` is the plan; tasks = its requested outcomes; outcome as worded is the bar; missing `Done when` alone is not a `FAIL`; never create or tick plan file.
|
|
55
|
+
10. Update **Create** — set `Failures` via `Edit` = count of unresolved gaps.
|
|
56
|
+
11. Update **Create** — set `Verdict` via `Edit`; mapping:
|
|
49
57
|
- `PASS` = no gaps.
|
|
50
58
|
- `FAIL` = gaps not fixable by gap-remediate.
|
|
51
59
|
- `CONCERNS` = gaps addressable by gap-remediate.
|
|
@@ -18,6 +18,7 @@ maxTurns: 50
|
|
|
18
18
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
19
19
|
>
|
|
20
20
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
21
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
21
22
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
22
23
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
23
24
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -18,6 +18,7 @@ maxTurns: 50
|
|
|
18
18
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
19
19
|
>
|
|
20
20
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
21
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
21
22
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
22
23
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
23
24
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -24,6 +24,7 @@ maxTurns: 100
|
|
|
24
24
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
25
25
|
>
|
|
26
26
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
27
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
27
28
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
28
29
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
29
30
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -22,6 +22,7 @@ maxTurns: 150
|
|
|
22
22
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
23
23
|
>
|
|
24
24
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
25
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
25
26
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
26
27
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
27
28
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -24,6 +24,7 @@ maxTurns: 150
|
|
|
24
24
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
25
25
|
>
|
|
26
26
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
27
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
27
28
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
28
29
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
29
30
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -18,6 +18,7 @@ maxTurns: 50
|
|
|
18
18
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
19
19
|
>
|
|
20
20
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
21
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
21
22
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
22
23
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
23
24
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -20,6 +20,7 @@ maxTurns: 100
|
|
|
20
20
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
21
21
|
>
|
|
22
22
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
23
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
23
24
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
24
25
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
25
26
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -20,6 +20,7 @@ maxTurns: 100
|
|
|
20
20
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
21
21
|
>
|
|
22
22
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
23
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
23
24
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
24
25
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
25
26
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -20,6 +20,7 @@ maxTurns: 100
|
|
|
20
20
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
21
21
|
>
|
|
22
22
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
23
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
23
24
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
24
25
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
25
26
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -21,6 +21,7 @@ maxTurns: 100
|
|
|
21
21
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
22
22
|
>
|
|
23
23
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
24
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
24
25
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
25
26
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
26
27
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -40,10 +41,14 @@ maxTurns: 100
|
|
|
40
41
|
3. Read `.agents/docs.md` → load docs for workflow / step / task; skip missing.
|
|
41
42
|
4. Update **Create** — replace each `PENDING` via `Edit` as content becomes available.
|
|
42
43
|
5. Identify themes, complementary ideas, conflicts, related issues. Risk-premortem mitigations are additive — layer onto selected approach, not as separate approach.
|
|
43
|
-
6.
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
6. Weigh input's `Grill decisions` section with human answers against brainstorms — strong pointers, not hard constraints:
|
|
45
|
+
- `Settled` → follow. **If** brainstorm shows answer fails (breaks named contract, rests on disproven assumption, carries cost question did not surface) → depart; add `Decisions` row naming departed `Q{n}` and why, and `Risks & Open Questions` item asking human to confirm departure.
|
|
46
|
+
- `Assumed, not confirmed` → default; override only with reason stated in `Decisions`.
|
|
47
|
+
- `Open` → one `Risks & Open Questions` item each.
|
|
48
|
+
7. Each conflict → pick stronger, justify.
|
|
49
|
+
8. Preserve strongest approaches. Consolidate Decisions.
|
|
50
|
+
9. Prior-art sweep per capability — repo, dependency built-ins, ecosystem practice. Default `EXTEND` + named artifact; `NEW` only when nothing covers capability or extending breaks named contract / callers. Every net-new `Architecture` component traces to a `NEW` verdict.
|
|
51
|
+
10. Append out-of-scope idea rows (if any) to `docs/deferrals.jsonl` in `.bkit/jsonl.md` format; check existing entries first. **If** `reason` scope-declared → `references` must contain design item declaring it out of scope (row is not that declaration). **If** `reason` own-cycle → state what makes it plan-sized.
|
|
47
52
|
|
|
48
53
|
**Output format:**
|
|
49
54
|
|
|
@@ -22,6 +22,7 @@ maxTurns: 100
|
|
|
22
22
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
23
23
|
>
|
|
24
24
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
25
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
25
26
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
26
27
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
27
28
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -24,6 +24,7 @@ maxTurns: 100
|
|
|
24
24
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
25
25
|
>
|
|
26
26
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
27
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
27
28
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
28
29
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
29
30
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -24,6 +24,7 @@ maxTurns: 100
|
|
|
24
24
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
25
25
|
>
|
|
26
26
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
27
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
27
28
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
28
29
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
29
30
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -24,6 +24,7 @@ maxTurns: 100
|
|
|
24
24
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
25
25
|
>
|
|
26
26
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
27
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
27
28
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
28
29
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
29
30
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -18,6 +18,7 @@ maxTurns: 50
|
|
|
18
18
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
19
19
|
>
|
|
20
20
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
21
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
21
22
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
22
23
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
23
24
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -21,6 +21,7 @@ maxTurns: 100
|
|
|
21
21
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
22
22
|
>
|
|
23
23
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
24
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
24
25
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
25
26
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
26
27
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -20,6 +20,7 @@ maxTurns: 50
|
|
|
20
20
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
21
21
|
>
|
|
22
22
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
23
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
23
24
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
24
25
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
25
26
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -21,6 +21,7 @@ maxTurns: 100
|
|
|
21
21
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
22
22
|
>
|
|
23
23
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
24
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
24
25
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
25
26
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
26
27
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -40,13 +41,13 @@ maxTurns: 100
|
|
|
40
41
|
4. Count total tasks across the master plan. Target sub-plan count = `ceil(tasks / 12)`; each sub-plan <= 12 tasks.
|
|
41
42
|
5. Partition tasks into sub-plans by domain (API / DB / web / mobile / infra) and dependency order. Each sub-plan <= 12 tasks. Order tasks so every sub-plan end leaves local gates green: add → switch → delete; signature change and all callers in one sub-plan; each task and its tests in one sub-plan. **If** no order keeps boundary green → merge adjacent sub-plans. **If** merged > 12 tasks → `FAIL`.
|
|
42
43
|
6. Name: `{plan-name}-1.md`, `{plan-name}-2.md`, etc.
|
|
43
|
-
7. Copy all tasks (preserve `Done when`
|
|
44
|
+
7. Copy all tasks (preserve `Done when` and `Test first` entries verbatim) from master into sub-plans. Task-linked rows (`Derived Test Matrix`, `Reuse Inventory`, `Supersession Inventory`, `Documentation Updates`) → sub-plan holding linked task. Copy into every sub-plan: gate checkpoints; `Mandatory Tasks (Testing & Documentation)` and remaining sections scoped to its own tasks.
|
|
44
45
|
8. Each sub-plan self-contained per `docs/templates/bkit-plan.md`, include `**Parent Plan:** {master-plan-path}`.
|
|
45
46
|
9. Bidirectional links: Master → sub-plans and sub-plans → Master. Relative paths.
|
|
46
47
|
10. Self-verify before verdict (max 2 fix iterations); **If** still failing → `FAIL`:
|
|
47
48
|
- Count tasks in original vs sum across sub-plans. **If** mismatch → fix in place, recount.
|
|
48
49
|
- Confirm every task and task-linked row appears in exactly one sub-plan; gate checkpoints and `Mandatory Tasks (Testing & Documentation)` in every sub-plan.
|
|
49
|
-
- Confirm every task's `Done when`
|
|
50
|
+
- Confirm every task's `Done when` and `Test first` entries survived copy verbatim.
|
|
50
51
|
- Confirm green boundaries: each task `Done when` tests in its own sub-plan; signature changes with all callers; no deletion before its replacement.
|
|
51
52
|
- Confirm each sub-plan's task count <= 12.
|
|
52
53
|
- Confirm master is high-level index with correct bidirectional links.
|
|
@@ -21,6 +21,7 @@ maxTurns: 100
|
|
|
21
21
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
22
22
|
>
|
|
23
23
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
24
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
24
25
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
25
26
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
26
27
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -21,6 +21,7 @@ maxTurns: 100
|
|
|
21
21
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
22
22
|
>
|
|
23
23
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
24
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
24
25
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
25
26
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
26
27
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -21,6 +21,7 @@ maxTurns: 100
|
|
|
21
21
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
22
22
|
>
|
|
23
23
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
24
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
24
25
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
25
26
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
26
27
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -21,6 +21,7 @@ maxTurns: 100
|
|
|
21
21
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
22
22
|
>
|
|
23
23
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
24
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
24
25
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
25
26
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
26
27
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -21,6 +21,7 @@ maxTurns: 50
|
|
|
21
21
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
22
22
|
>
|
|
23
23
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
24
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
24
25
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
25
26
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
26
27
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -41,7 +42,7 @@ maxTurns: 50
|
|
|
41
42
|
3. Read `.agents/docs.md` → load docs for workflow / step / task; skip missing.
|
|
42
43
|
4. Update **Create** — replace each `PENDING` via `Edit` as content becomes available.
|
|
43
44
|
5. Verify `docs/templates/bkit-plan.md` — all mandated sections present and populated. Missing / broken → `CRITICAL`.
|
|
44
|
-
6. Verify every `Agent Execution Runbook` task has scope, `Done when`, and verification step.
|
|
45
|
+
6. Verify every `Agent Execution Runbook` task has scope, `Done when`, `Test first`, and verification step. `Test first` breaking template rule including unjustified `n/a` → `CRITICAL`.
|
|
45
46
|
7. Verify every scope item has both build task and verification task.
|
|
46
47
|
8. Verify `Derived Test Matrix` ↔ `Agent Execution Runbook`: rows map 1:1 (bidirectional) to verification tasks. Gaps → `CRITICAL` finding naming the task or row to add.
|
|
47
48
|
9. Identify gaps, edge cases, untested assumptions, missing error handling.
|
|
@@ -21,6 +21,7 @@ maxTurns: 50
|
|
|
21
21
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
22
22
|
>
|
|
23
23
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
24
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
24
25
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
25
26
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
26
27
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -41,7 +42,7 @@ maxTurns: 50
|
|
|
41
42
|
3. Read `.agents/docs.md` → load docs for workflow / step / task; skip missing.
|
|
42
43
|
4. Update **Create** — replace each `PENDING` via `Edit` as content becomes available.
|
|
43
44
|
5. Verify `docs/templates/bkit-plan.md` — all mandated sections present and populated. Missing / broken → `CRITICAL`.
|
|
44
|
-
6. Verify every `Agent Execution Runbook` task has scope, `Done when`, and verification step.
|
|
45
|
+
6. Verify every `Agent Execution Runbook` task has scope, `Done when`, `Test first`, and verification step. `Test first` breaking template rule including unjustified `n/a` → `CRITICAL`.
|
|
45
46
|
7. Verify every scope item has both build task and verification task.
|
|
46
47
|
8. Verify `Derived Test Matrix` ↔ `Agent Execution Runbook`: rows map 1:1 (bidirectional) to verification tasks. Gaps → `CRITICAL` finding naming the task or row to add.
|
|
47
48
|
9. Identify gaps, edge cases, untested assumptions, missing error handling.
|
|
@@ -18,6 +18,7 @@ maxTurns: 50
|
|
|
18
18
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
19
19
|
>
|
|
20
20
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
21
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
21
22
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
22
23
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
23
24
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -21,6 +21,7 @@ maxTurns: 100
|
|
|
21
21
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
22
22
|
>
|
|
23
23
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
24
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
24
25
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
25
26
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
26
27
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -43,7 +44,7 @@ maxTurns: 100
|
|
|
43
44
|
2. Re-read all supplied inputs once at session start; do not trust session memory.
|
|
44
45
|
3. Read `.agents/docs.md` → load docs for workflow / step / task; skip missing.
|
|
45
46
|
4. Update **Create** — apply findings via `Edit` as content becomes available.
|
|
46
|
-
5. Every `Agent Execution Runbook` task's `Done when` MUST survive merge intact. Critique may edit surrounding task text; `Done when` may ONLY tighten testability / codebase-verifiability — NEVER remove or weaken.
|
|
47
|
+
5. Every `Agent Execution Runbook` task's `Done when` and `Test first` MUST survive merge intact. Critique may edit surrounding task text; `Done when` and `Test first` may ONLY tighten testability / codebase-verifiability (`n/a` → named tests included) — NEVER remove or weaken.
|
|
47
48
|
6. Human-confirmation checkboxes MUST survive merge as found — NEVER tick, NEVER clear.
|
|
48
49
|
7. `CRITICAL` items must be applied; no consensus required. **If** conflict across findings → prefer stricter wording.
|
|
49
50
|
8. OPTIONAL items — apply each on merit; no consensus required. **If** conflict with applied `CRITICAL` or scope expansion → skip.
|
|
@@ -22,6 +22,7 @@ maxTurns: 150
|
|
|
22
22
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
23
23
|
>
|
|
24
24
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
25
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
25
26
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
26
27
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
27
28
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -22,6 +22,7 @@ maxTurns: 100
|
|
|
22
22
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
23
23
|
>
|
|
24
24
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
25
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
25
26
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
26
27
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
27
28
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -18,6 +18,7 @@ maxTurns: 50
|
|
|
18
18
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
19
19
|
>
|
|
20
20
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
21
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
21
22
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
22
23
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
23
24
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -22,6 +22,7 @@ maxTurns: 100
|
|
|
22
22
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
23
23
|
>
|
|
24
24
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
25
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
25
26
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
26
27
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
27
28
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -20,6 +20,7 @@ maxTurns: 100
|
|
|
20
20
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
21
21
|
>
|
|
22
22
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
23
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
23
24
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
24
25
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
25
26
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -22,6 +22,7 @@ maxTurns: 100
|
|
|
22
22
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
23
23
|
>
|
|
24
24
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
25
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
25
26
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
26
27
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
27
28
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -22,6 +22,7 @@ maxTurns: 100
|
|
|
22
22
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
23
23
|
>
|
|
24
24
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
25
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
25
26
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
26
27
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
27
28
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -21,6 +21,7 @@ maxTurns: 100
|
|
|
21
21
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
22
22
|
>
|
|
23
23
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
24
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
24
25
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
25
26
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
26
27
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -22,6 +22,7 @@ maxTurns: 100
|
|
|
22
22
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
23
23
|
>
|
|
24
24
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
25
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
25
26
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
26
27
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
27
28
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -22,6 +22,7 @@ maxTurns: 100
|
|
|
22
22
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
23
23
|
>
|
|
24
24
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
25
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
25
26
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
26
27
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
27
28
|
> - **Tools:** Verify every return; do not assume success.
|
|
@@ -34,6 +34,7 @@ maxTurns: 100
|
|
|
34
34
|
> **EXECUTION PROTOCOL:** Strict procedure, do not deviate.
|
|
35
35
|
>
|
|
36
36
|
> - **Rules:** Read `.agents/rules.md` → follow all `Universal Rules`; skip `Orchestrator Rules`.
|
|
37
|
+
> - **Code reads:** Locate first (symbol lookup or `grep -n`), then read only needed line ranges; never re-read unchanged files.
|
|
37
38
|
> - **Order:** Execute Process steps sequentially unless stated otherwise.
|
|
38
39
|
> - **No improv:** No ad-hoc steps, no skipping, no scope beyond this file.
|
|
39
40
|
> - **Tools:** Verify every return; do not assume success.
|