@jeiemgi/cckit 0.11.0 → 0.13.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/.claude-plugin/plugin.json +4 -2
- package/AGENTS.md +22 -238
- package/README.md +66 -56
- package/SECURITY.md +4 -4
- package/bin/PROMPTS.md +12 -0
- package/bin/cckit +181 -140
- package/cckit.config.json +1 -1
- package/kit/PROMPTS.md +14 -0
- package/{commands → kit/commands}/kit-doctor.md +3 -4
- package/{commands → kit/commands}/kit-export-project.md +1 -1
- package/{commands → kit/commands}/kit-init.md +8 -20
- package/{commands → kit/commands}/kit-routines.md +1 -1
- package/{commands → kit/commands}/kit-update.md +3 -3
- package/kit/completions/cckit.bash +9 -0
- package/{databases → kit/databases}/supabase.json +1 -1
- package/{integrations → kit/integrations}/integration.schema.json +3 -3
- package/kit/interview/global.json +54 -0
- package/kit/interview/project.json +133 -0
- package/kit/modules/qa.json +63 -0
- package/kit/modules/software.json +48 -0
- package/{profiles → kit/profiles}/automation.json +1 -3
- package/{profiles → kit/profiles}/content.json +0 -2
- package/{profiles → kit/profiles}/marketing.json +0 -2
- package/{profiles → kit/profiles}/minimal.json +1 -3
- package/{profiles → kit/profiles}/research.json +1 -3
- package/{profiles → kit/profiles}/software.json +0 -2
- package/kit/routines/catalogue.json +84 -0
- package/{skills → kit/skills}/kit-add/SKILL.md +4 -4
- package/kit/skills/kit-advisor/SKILL.md +75 -0
- package/kit/skills/kit-advisor/references/close.md +53 -0
- package/kit/skills/kit-advisor/references/grill.md +69 -0
- package/kit/skills/kit-advisor/references/orchestrate.md +56 -0
- package/kit/skills/kit-advisor/references/plan.md +64 -0
- package/kit/skills/kit-advisor/references/review.md +47 -0
- package/kit/skills/kit-advisor/references/step-report.md +61 -0
- package/{skills → kit/skills}/kit-annotate/SKILL.md +2 -4
- package/{skills → kit/skills}/kit-autopilot/SKILL.md +7 -7
- package/{skills → kit/skills}/kit-cleanup/SKILL.md +4 -4
- package/{skills → kit/skills}/kit-contribute/SKILL.md +8 -12
- package/{skills → kit/skills}/kit-customize/SKILL.md +5 -8
- package/{skills → kit/skills}/kit-dev/SKILL.md +1 -1
- package/{skills → kit/skills}/kit-digest/SKILL.md +3 -3
- package/{skills → kit/skills}/kit-effort-close/SKILL.md +20 -12
- package/{skills → kit/skills}/kit-effort-new/SKILL.md +17 -14
- package/{skills → kit/skills}/kit-effort-pr/SKILL.md +7 -7
- package/{skills → kit/skills}/kit-effort-start/SKILL.md +3 -3
- package/{skills → kit/skills}/kit-gc/SKILL.md +3 -3
- package/{skills → kit/skills}/kit-next/SKILL.md +7 -7
- package/{skills → kit/skills}/kit-page/SKILL.md +1 -1
- package/{skills → kit/skills}/kit-plan-next/SKILL.md +10 -11
- package/{skills → kit/skills}/kit-status/SKILL.md +6 -6
- package/{skills → kit/skills}/kit-task-close/SKILL.md +5 -5
- package/{skills → kit/skills}/kit-task-new/SKILL.md +5 -5
- package/{skills → kit/skills}/kit-task-pr/SKILL.md +5 -5
- package/{skills → kit/skills}/kit-task-pr-auto/SKILL.md +1 -1
- package/{skills → kit/skills}/kit-task-pr-merge/SKILL.md +10 -10
- package/{skills → kit/skills}/kit-task-start/SKILL.md +1 -1
- package/{skills → kit/skills}/kit-task-sync/SKILL.md +5 -3
- package/{skills → kit/skills}/kit-ux-audit/SKILL.md +16 -35
- package/{skills → kit/skills}/kit-ux-audit/references/graph-model.md +7 -26
- package/{skills → kit/skills}/kit-ux-audit/references/report.md +2 -3
- package/{skills → kit/skills}/routing.yaml +6 -1
- package/kit/statusline/kit-statusline.sh +82 -0
- package/{templates → kit/templates}/agents/analyst.md +0 -11
- package/{templates → kit/templates}/agents/auto-dev.md +0 -13
- package/{templates → kit/templates}/agents/backend.md +0 -11
- package/{templates → kit/templates}/agents/designer.md +0 -11
- package/{templates → kit/templates}/agents/devops.md +0 -11
- package/{templates → kit/templates}/agents/editor.md +0 -11
- package/{templates → kit/templates}/agents/frontend.md +0 -11
- package/{templates → kit/templates}/agents/generalist.md +0 -11
- package/{templates → kit/templates}/agents/local-delegate.md +0 -13
- package/{templates → kit/templates}/agents/n8n.md +0 -11
- package/{templates → kit/templates}/agents/pm.md +0 -11
- package/{templates → kit/templates}/agents/qa.md +0 -11
- package/{templates → kit/templates}/agents/researcher.md +0 -11
- package/{templates → kit/templates}/agents/security.md +0 -11
- package/{templates → kit/templates}/agents/tech-lead.md +0 -11
- package/{templates → kit/templates}/agents/ux.md +3 -14
- package/{templates → kit/templates}/hooks/kit-mail-check.sh.tmpl +1 -1
- package/{templates → kit/templates}/instructions.md.tmpl +4 -21
- package/{templates → kit/templates}/kit.config.json.tmpl +0 -6
- package/{templates → kit/templates}/rules/authoring.md +7 -3
- package/{templates → kit/templates}/rules/branch-naming.md +3 -2
- package/{templates → kit/templates}/rules/delegation-brief.md +4 -0
- package/{templates → kit/templates}/rules/effort-model.md +34 -31
- package/{templates → kit/templates}/rules/gate-and-review.md +1 -1
- package/{templates → kit/templates}/rules/merge-safety.md +12 -9
- package/{templates → kit/templates}/rules/naming-and-ids.md +20 -24
- package/{templates → kit/templates}/rules/plan-next.md +5 -5
- package/{templates → kit/templates}/rules/react-annotate.md +0 -8
- package/{templates → kit/templates}/skills/campaign/SKILL.md +2 -2
- package/kit.config.schema.json +11 -11
- package/lib/PROMPTS.md +14 -0
- package/{scripts/lib → lib/core}/adapter-select-test.sh +7 -7
- package/lib/core/advisor-test.sh +55 -0
- package/{scripts/lib → lib/core}/agent-def-test.sh +1 -1
- package/{scripts/lib → lib/core}/agent-def.sh +2 -2
- package/{scripts/lib → lib/core}/agent-launch-test.sh +3 -3
- package/{scripts/lib → lib/core}/agent-profile-test.sh +2 -2
- package/{scripts/lib → lib/core}/agent-resolve-test.sh +4 -2
- package/{scripts/lib → lib/core}/agent-resolve.sh +5 -4
- package/{scripts → lib/core}/agent-skills-external.txt +3 -3
- package/{scripts → lib/core}/agent-skills-lint-test.sh +17 -17
- package/lib/core/agent-skills-lint.sh +115 -0
- package/{scripts → lib/core}/agent-template-lint-test.sh +7 -7
- package/lib/core/agent-template-lint.sh +58 -0
- package/{scripts/lib → lib/core}/board-view-test.sh +3 -3
- package/lib/core/board-view.sh +97 -0
- package/{scripts/lib → lib/core}/branch-owner-test.sh +3 -3
- package/lib/core/branch-owner.sh +201 -0
- package/lib/core/check.sh +125 -0
- package/{scripts/lib → lib/core}/codex-hooks-test.sh +3 -3
- package/{scripts → lib/core}/commitlint-test.sh +6 -6
- package/lib/core/commitlint.sh +54 -0
- package/{scripts/config-path-test.sh → lib/core/config-path-scan-test.sh} +2 -2
- package/{scripts/lib → lib/core}/config-path-test.sh +3 -3
- package/lib/core/config-path.sh +30 -0
- package/{scripts → lib/core}/content-skills-test.sh +17 -17
- package/{scripts → lib/core}/docs-marketing-words-test.sh +2 -2
- package/{scripts → lib/core}/docs-record-tables-test.sh +2 -2
- package/{scripts/lib → lib/core}/effort-metrics-test.sh +6 -6
- package/lib/core/effort-metrics.sh +591 -0
- package/{scripts/lib → lib/core}/effort-slug-test.sh +8 -4
- package/{scripts/lib → lib/core}/effort-slug.sh +8 -7
- package/lib/core/effort.sh +339 -0
- package/{scripts/lib → lib/core}/errors-header-test.sh +19 -9
- package/lib/core/errors-header.exempt +49 -0
- package/{scripts → lib/core}/exec-targets-test.sh +3 -3
- package/lib/core/feature-map.sh +76 -0
- package/lib/core/force-push-fence-test.sh +44 -0
- package/lib/core/force-push-fence.baseline +1 -0
- package/lib/core/force-push-fence.sh +51 -0
- package/{scripts → lib/core}/forge-fence-test.sh +13 -13
- package/{scripts → lib/core}/forge-fence.sh +14 -14
- package/{scripts → lib/core}/forge-report-test.sh +5 -5
- package/{scripts → lib/core}/forge-report.sh +18 -14
- package/{scripts/lib → lib/core}/git-core-test.sh +7 -7
- package/{scripts/lib → lib/core}/git-remote-test.sh +3 -3
- package/{scripts → lib/core}/guard-raw-git-ops-test.sh +4 -4
- package/{scripts → lib/core}/hook-adapter-test.sh +5 -5
- package/{scripts/lib → lib/core}/hook-refresh-test.sh +5 -5
- package/{scripts → lib/core}/instruction-budget-baseline.txt +2 -2
- package/lib/core/instruction-budget-lint.sh +238 -0
- package/{scripts/lib → lib/core}/integration-install-test.sh +12 -12
- package/lib/core/integration-install.sh +257 -0
- package/{scripts/lib → lib/core}/integrations-test.sh +38 -45
- package/lib/core/integrations.sh +244 -0
- package/{scripts/lib → lib/core}/kinds-test.sh +5 -5
- package/lib/core/kinds.sh +66 -0
- package/{scripts/lib → lib/core}/kit-cli-test.sh +1 -1
- package/{scripts/lib → lib/core}/kit-cli.sh +1 -1
- package/{scripts/lib → lib/core}/kit-config-resolve.sh +2 -2
- package/{scripts/lib → lib/core}/kit-config-test.sh +11 -11
- package/lib/core/kit-config.sh +164 -0
- package/{scripts/lib → lib/core}/kit-engine-test.sh +1 -1
- package/lib/core/kit-events.sh +72 -0
- package/lib/core/kit-local.sh +87 -0
- package/{scripts/lib → lib/core}/kit-manifest.sh +1 -1
- package/{scripts/lib → lib/core}/kit-mode-test.sh +1 -1
- package/{scripts/lib → lib/core}/kit-mode.sh +3 -3
- package/{scripts/lib → lib/core}/kit-operate.sh +1 -1
- package/{scripts/lib → lib/core}/kit-profile-test.sh +1 -1
- package/{scripts/lib → lib/core}/kit-profile.sh +2 -2
- package/{scripts/lib → lib/core}/kit-state-test.sh +1 -1
- package/lib/core/knowledge-lint.sh +106 -0
- package/lib/core/layout-fence-test.sh +35 -0
- package/lib/core/layout-fence.allow +15 -0
- package/lib/core/layout-fence.baseline +4 -0
- package/lib/core/layout-fence.sh +50 -0
- package/{scripts → lib/core}/leak-fence-test.sh +10 -10
- package/{scripts/lib → lib/core}/leak-fence.sh +1 -1
- package/lib/core/loose-issues-test.sh +102 -0
- package/lib/core/loose-issues.baseline +5 -0
- package/lib/core/loose-issues.sh +65 -0
- package/{scripts → lib/core}/marketing-walkthrough-test.sh +7 -7
- package/lib/core/naming-test.sh +112 -0
- package/lib/core/naming-verbs-test.sh +126 -0
- package/lib/core/naming.sh +172 -0
- package/{scripts/lib → lib/core}/orchestration-runtime-test.sh +4 -4
- package/{scripts → lib/core}/portable-test.sh +11 -7
- package/{scripts/lib → lib/core}/pr-evidence-test.sh +5 -5
- package/lib/core/pr-evidence.sh +361 -0
- package/{scripts/lib → lib/core}/qa-lane-test.sh +7 -7
- package/{scripts/lib → lib/core}/qa-lane.sh +4 -4
- package/{scripts/lib → lib/core}/qa-lanes-test.sh +5 -5
- package/lib/core/react-detect.sh +79 -0
- package/{scripts/lib → lib/core}/render-test.sh +1 -1
- package/lib/core/resident-context-test.sh +42 -0
- package/lib/core/resident-context.baseline +1 -0
- package/lib/core/resident-context.sh +56 -0
- package/lib/core/review-lint-baseline.txt +28 -0
- package/lib/core/review-lint.sh +266 -0
- package/{scripts → lib/core}/review-rules.conf +1 -1
- package/{scripts/lib → lib/core}/review-stage-test.sh +2 -2
- package/{scripts/lib → lib/core}/role-identity-test.sh +3 -3
- package/lib/core/role-identity.sh +71 -0
- package/{scripts → lib/core}/rule-recipes-test.sh +5 -5
- package/lib/core/secret-guard.sh +116 -0
- package/{scripts → lib/core}/self-install-test.sh +15 -16
- package/{scripts/lib → lib/core}/session-registry-test.sh +1 -1
- package/lib/core/session-registry.sh +233 -0
- package/{scripts → lib/core}/skill-frontmatter-baseline.txt +1 -1
- package/lib/core/skill-frontmatter-lint.sh +189 -0
- package/lib/core/spec-lint-test.sh +63 -0
- package/lib/core/spec-lint.sh +95 -0
- package/{scripts/lib → lib/core}/stage-receipt-test.sh +136 -4
- package/{scripts/lib → lib/core}/stage-receipt.sh +186 -7
- package/{scripts → lib/core}/terms-check-test.sh +6 -6
- package/lib/core/terms-check.sh +244 -0
- package/{scripts/lib → lib/core}/test-env-test.sh +2 -2
- package/{scripts/lib → lib/core}/test-env.sh +1 -1
- package/{scripts → lib/core}/test-runner-test.sh +11 -11
- package/{scripts → lib/core}/test.sh +12 -12
- package/{scripts → lib/core}/update-path-test.sh +3 -3
- package/{scripts → lib/core}/verbs-gen.sh +9 -9
- package/{scripts → lib/core}/verbs-help-test.sh +4 -4
- package/{scripts → lib/core}/verbs-ratchet-test.sh +24 -19
- package/{scripts → lib/core}/verbs-ratchet.sh +8 -8
- package/{scripts → lib/core}/verbs-test.sh +23 -23
- package/lib/core/verbs.baseline +5 -0
- package/{scripts/lib → lib/core}/verbs.sh +3 -3
- package/{scripts/lib → lib/core}/verbs.tsv +22 -20
- package/{scripts/lib → lib/core}/version-bump-test.sh +29 -8
- package/{scripts/lib → lib/core}/version-bump.sh +15 -2
- package/{scripts/lib → lib/core}/wave-result-test.sh +2 -2
- package/{scripts/lib → lib/core}/wave-result.sh +1 -1
- package/{scripts/lib → lib/core}/worker-brief-test.sh +4 -4
- package/{scripts/lib → lib/core}/worker-brief.sh +1 -1
- package/{scripts/lib → lib/core}/worktree-bootstrap-test.sh +1 -1
- package/{scripts/lib → lib/core}/worktree-issue-test.sh +2 -2
- package/lib/core/worktree-issue.sh +172 -0
- package/{scripts/lib → lib/core}/worktree-ports-test.sh +1 -1
- package/{scripts/lib → lib/core}/worktree-start-test.sh +2 -2
- package/lib/core/worktree-start.sh +790 -0
- package/{scripts/lib → lib/core}/zsh-safety-test.sh +11 -11
- package/{scripts/lib → lib/forge}/forge-github.sh +18 -7
- package/{scripts/lib → lib/forge}/forge-test.sh +4 -4
- package/{scripts/lib → lib/forge}/forge.sh +1 -1
- package/lib/forge/gh-board-add-test.sh +118 -0
- package/lib/forge/gh-log.sh +59 -0
- package/lib/forge/gh-project-test.sh +251 -0
- package/lib/forge/gh-project.sh +379 -0
- package/{scripts/lib → lib/forge}/gh-rest-test.sh +17 -13
- package/{scripts/lib → lib/forge}/gh-rest.sh +190 -16
- package/{scripts/lib → lib/forge}/init-github.sh +18 -8
- package/{scripts/lib → lib/forge}/test-forge-shim.sh +2 -1
- package/lib/verbs/PROMPTS.md +146 -0
- package/lib/verbs/annotate-setup.sh +149 -0
- package/{scripts → lib/verbs}/autopilot-run-test.sh +9 -9
- package/{scripts → lib/verbs}/autopilot-run.sh +9 -9
- package/{scripts → lib/verbs}/autopilot-test.sh +7 -6
- package/{scripts → lib/verbs}/autopilot.sh +7 -7
- package/{scripts/lib → lib/verbs}/captain-test.sh +1 -1
- package/{scripts/lib → lib/verbs}/captain.sh +8 -8
- package/lib/verbs/capture-project-ids.sh +99 -0
- package/{scripts/lib → lib/verbs}/content-kinds-gc-test.sh +7 -7
- package/{scripts/lib → lib/verbs}/contribute-root-test.sh +4 -4
- package/{scripts/lib → lib/verbs}/contribute-root.sh +1 -1
- package/{scripts → lib/verbs}/contribute.sh +8 -8
- package/{scripts → lib/verbs}/copilot-loop-test.sh +12 -12
- package/{scripts/lib → lib/verbs}/copilot-test.sh +15 -14
- package/{scripts/lib → lib/verbs}/copilot.sh +19 -19
- package/{scripts → lib/verbs}/database-supabase-test.sh +6 -6
- package/lib/verbs/effort-close-subs-test.sh +96 -0
- package/{scripts/lib → lib/verbs}/effort-dispatch-test.sh +5 -5
- package/{scripts/lib → lib/verbs}/effort-flows-test.sh +5 -5
- package/{scripts/lib → lib/verbs}/effort-ops-test.sh +111 -22
- package/lib/verbs/effort-ops.sh +1571 -0
- package/{scripts/lib → lib/verbs}/effort-parity-test.sh +47 -41
- package/{scripts/lib → lib/verbs}/effort-plan-test.sh +7 -7
- package/lib/verbs/effort-plan.sh +289 -0
- package/lib/verbs/effort-review-test.sh +107 -0
- package/lib/verbs/effort-review.sh +93 -0
- package/lib/verbs/grill-record-test.sh +49 -0
- package/lib/verbs/grill-record.sh +88 -0
- package/{scripts/lib → lib/verbs}/handoff.sh +3 -3
- package/{scripts → lib/verbs}/init-content-test.sh +14 -14
- package/{scripts/lib → lib/verbs}/init-guide.sh +6 -6
- package/{scripts → lib/verbs}/init-guided-test.sh +9 -9
- package/{scripts → lib/verbs}/init-recipes-test.sh +7 -7
- package/{scripts → lib/verbs}/init-upgrade-test.sh +9 -10
- package/lib/verbs/init.sh +1598 -0
- package/{scripts → lib/verbs}/install-test.sh +5 -5
- package/lib/verbs/install.sh +31 -0
- package/{scripts → lib/verbs}/integrations-check-test.sh +9 -9
- package/lib/verbs/integrations-check.sh +157 -0
- package/{scripts → lib/verbs}/kit-add-test.sh +8 -8
- package/lib/verbs/kit-add.sh +415 -0
- package/{scripts → lib/verbs}/kit-adopt-test.sh +4 -4
- package/{scripts → lib/verbs}/kit-adopt.sh +6 -6
- package/{scripts/lib → lib/verbs}/kit-brief-test.sh +44 -15
- package/{scripts/lib → lib/verbs}/kit-brief.sh +101 -16
- package/lib/verbs/kit-bump-version.sh +79 -0
- package/lib/verbs/kit-digest.sh +126 -0
- package/{scripts → lib/verbs}/kit-doctor-test.sh +57 -32
- package/lib/verbs/kit-doctor.sh +991 -0
- package/{scripts → lib/verbs}/kit-export-project-test.sh +4 -4
- package/lib/verbs/kit-export-project.sh +245 -0
- package/{scripts → lib/verbs}/kit-export-training-test.sh +3 -3
- package/lib/verbs/kit-export-training.sh +175 -0
- package/{scripts/lib → lib/verbs}/kit-gc-test.sh +5 -5
- package/lib/verbs/kit-gc.sh +804 -0
- package/{scripts/lib → lib/verbs}/kit-hotfix.sh +3 -3
- package/{scripts/lib → lib/verbs}/kit-interview-test.sh +2 -2
- package/lib/verbs/kit-interview.sh +319 -0
- package/{scripts/lib → lib/verbs}/kit-lib-test.sh +2 -2
- package/{scripts/lib → lib/verbs}/kit-lib.sh +10 -10
- package/{scripts → lib/verbs}/kit-migrate-test.sh +4 -4
- package/{scripts → lib/verbs}/kit-migrate.sh +5 -5
- package/{scripts/lib → lib/verbs}/kit-msg-test.sh +2 -2
- package/{scripts/lib → lib/verbs}/kit-msg.sh +5 -5
- package/{scripts → lib/verbs}/kit-onboard-test.sh +2 -3
- package/lib/verbs/kit-onboard.sh +69 -0
- package/{scripts → lib/verbs}/kit-promote-test.sh +4 -4
- package/{scripts → lib/verbs}/kit-promote.sh +4 -4
- package/{scripts → lib/verbs}/kit-remove-test.sh +4 -4
- package/{scripts → lib/verbs}/kit-remove.sh +5 -5
- package/lib/verbs/kit-routines.sh +322 -0
- package/lib/verbs/kit-self-update.sh +55 -0
- package/{scripts/lib → lib/verbs}/kit-status-test.sh +2 -2
- package/lib/verbs/kit-status.sh +650 -0
- package/{scripts/lib → lib/verbs}/kit-task-ops-test.sh +25 -2
- package/lib/verbs/kit-task-ops.sh +793 -0
- package/{scripts → lib/verbs}/kit-version-check-test.sh +3 -3
- package/lib/verbs/kit-version-check.sh +121 -0
- package/{scripts → lib/verbs}/kit-wire-test.sh +6 -6
- package/{scripts → lib/verbs}/kit-wire.sh +8 -8
- package/{scripts/lib → lib/verbs}/kto-hotfix-test.sh +3 -3
- package/{scripts/lib → lib/verbs}/kto-task-close-test.sh +2 -2
- package/{scripts/lib → lib/verbs}/kto-task-new-test.sh +20 -2
- package/{scripts/lib → lib/verbs}/kto-task-pr-merge-test.sh +46 -2
- package/{scripts/lib → lib/verbs}/kto-task-pr-test.sh +6 -6
- package/{scripts/lib → lib/verbs}/light-task-run-test.sh +4 -4
- package/{scripts/lib → lib/verbs}/light-task-test.sh +9 -9
- package/{scripts/lib → lib/verbs}/light-task.sh +26 -11
- package/{scripts/lib → lib/verbs}/next-test.sh +3 -3
- package/{scripts/lib → lib/verbs}/next.sh +10 -10
- package/{scripts → lib/verbs}/night-grant-test.sh +4 -4
- package/lib/verbs/night-grant.sh +454 -0
- package/{scripts → lib/verbs}/night-run-test.sh +3 -3
- package/{scripts → lib/verbs}/night-run.mjs +2 -2
- package/{scripts → lib/verbs}/orchestrate-test.sh +5 -5
- package/{scripts → lib/verbs}/orchestrate.sh +15 -15
- package/{scripts/lib → lib/verbs}/plan-machine-test.sh +1 -1
- package/{scripts/lib → lib/verbs}/plan-machine.sh +13 -13
- package/{scripts/lib → lib/verbs}/plan-next-test.sh +1 -1
- package/lib/verbs/plan-next.sh +213 -0
- package/{scripts → lib/verbs}/publish.sh +10 -10
- package/{scripts/lib → lib/verbs}/review-page-test.sh +4 -4
- package/lib/verbs/review-page.sh +375 -0
- package/lib/verbs/setup-labels.sh +96 -0
- package/lib/verbs/setup-milestones.sh +34 -0
- package/{scripts → lib/verbs}/showcase.sh +2 -2
- package/lib/verbs/sprint-test.sh +96 -0
- package/lib/verbs/sprint.sh +216 -0
- package/{scripts → lib/verbs}/status-test.sh +8 -8
- package/{scripts → lib/verbs}/status.sh +16 -16
- package/{scripts → lib/verbs}/task-sync-test.sh +40 -6
- package/lib/verbs/task-sync.sh +462 -0
- package/{scripts/lib → lib/verbs}/upgrade-report-test.sh +4 -4
- package/lib/verbs/ux-a11y-scan.sh +96 -0
- package/lib/verbs/ux-ds-audit.sh +146 -0
- package/lib/verbs/ux-graph-scan.sh +188 -0
- package/{scripts → lib/verbs}/wave-worker.sh +2 -2
- package/lib/verbs/web-install.sh +22 -0
- package/package.json +3 -10
- package/scripts/PROMPTS.md +13 -0
- package/scripts/agent-skills-lint.sh +12 -113
- package/scripts/agent-template-lint.sh +12 -56
- package/scripts/annotate-setup.sh +11 -151
- package/scripts/benchmark/checkpoint-test.sh +1 -1
- package/scripts/benchmark/checkpoint.sh +1 -1
- package/scripts/benchmark/gate.sh +2 -2
- package/scripts/benchmark/lib/bench-common.sh +1 -1
- package/scripts/capture-project-ids.sh +12 -70
- package/scripts/check.sh +12 -106
- package/scripts/force-push-fence.sh +14 -0
- package/scripts/init.sh +13 -1637
- package/scripts/install.sh +12 -29
- package/scripts/instruction-budget-lint.sh +13 -218
- package/scripts/integrations-check.sh +12 -155
- package/scripts/kit-add.sh +12 -413
- package/scripts/kit-bump-version.sh +13 -78
- package/scripts/kit-digest.sh +13 -125
- package/scripts/kit-doctor.sh +13 -971
- package/scripts/kit-export-project.sh +12 -243
- package/scripts/kit-export-training.sh +12 -173
- package/scripts/kit-onboard.sh +12 -67
- package/scripts/kit-routines.sh +12 -320
- package/scripts/kit-self-update.sh +12 -53
- package/scripts/kit-version-check.sh +12 -106
- package/scripts/knowledge-lint.sh +13 -98
- package/scripts/lib/board-view.sh +13 -96
- package/scripts/lib/branch-owner.sh +12 -199
- package/scripts/lib/commitlint.sh +12 -52
- package/scripts/lib/config-path.sh +13 -29
- package/scripts/lib/effort-metrics.sh +12 -589
- package/scripts/lib/effort-ops.sh +13 -1243
- package/scripts/lib/effort-plan.sh +12 -287
- package/scripts/lib/effort.sh +13 -365
- package/scripts/lib/gh-log.sh +14 -59
- package/scripts/lib/gh-project.sh +13 -254
- package/scripts/lib/grill-record.sh +14 -0
- package/scripts/lib/integration-install.sh +12 -255
- package/scripts/lib/integrations.sh +12 -242
- package/scripts/lib/kinds.sh +13 -65
- package/scripts/lib/kit-config.sh +12 -165
- package/scripts/lib/kit-events.sh +13 -71
- package/scripts/lib/kit-gc.sh +12 -802
- package/scripts/lib/kit-interview.sh +11 -316
- package/scripts/lib/kit-local.sh +12 -85
- package/scripts/lib/kit-status.sh +12 -648
- package/scripts/lib/kit-task-ops.sh +13 -738
- package/scripts/lib/naming.sh +14 -0
- package/scripts/lib/plan-next.sh +13 -212
- package/scripts/lib/pr-evidence.sh +12 -359
- package/scripts/lib/react-detect.sh +12 -77
- package/scripts/lib/review-page.sh +11 -372
- package/scripts/lib/role-identity.sh +13 -70
- package/scripts/lib/secret-guard.sh +12 -114
- package/scripts/lib/session-registry.sh +13 -232
- package/scripts/lib/spec-lint.sh +14 -0
- package/scripts/lib/worktree-issue.sh +12 -170
- package/scripts/lib/worktree-start.sh +13 -748
- package/scripts/night-grant.sh +12 -452
- package/scripts/review-lint.sh +13 -258
- package/scripts/setup-labels.sh +11 -82
- package/scripts/setup-milestones.sh +12 -21
- package/scripts/skill-frontmatter-lint.sh +13 -181
- package/scripts/task-sync.sh +13 -370
- package/scripts/terms-check.sh +13 -241
- package/scripts/ux-a11y-scan.sh +13 -95
- package/scripts/ux-ds-audit.sh +12 -144
- package/scripts/ux-graph-scan.sh +12 -186
- package/scripts/web-install.sh +16 -20
- package/docs/kit-annotate/01-explainer.html +0 -225
- package/docs/kit-annotate/02-implementation-plan.html +0 -196
- package/docs/media/.onboarding-capture.cast +0 -5
- package/docs/media/README.md +0 -43
- package/docs/media/build-demo.sh +0 -63
- package/docs/media/build-kit-init.sh +0 -51
- package/docs/media/build-onboarding.sh +0 -51
- package/docs/media/kit-dry-run.cast +0 -107
- package/docs/media/kit-dry-run.gif +0 -0
- package/docs/media/kit-init.cast +0 -56
- package/docs/media/kit-init.gif +0 -0
- package/docs/media/kit-onboarding.cast +0 -148
- package/docs/media/kit-onboarding.gif +0 -0
- package/integrations/mempalace.json +0 -28
- package/scripts/lib/gh-project-test.sh +0 -135
- package/scripts/review-lint-baseline.txt +0 -28
- package/scripts/verbs.baseline +0 -5
- package/templates/hooks/mempal_followup.sh.tmpl +0 -97
- package/templates/hooks/mempal_precompact.sh.tmpl +0 -4
- package/templates/hooks/mempal_save.sh.tmpl +0 -4
- package/templates/hooks/mempal_session_start.sh.tmpl +0 -42
- package/templates/rules/mempalace.md +0 -111
- /package/{commands → kit/commands}/kit-docs.md +0 -0
- /package/{commands → kit/commands}/kit-export-training.md +0 -0
- /package/{databases → kit/databases}/supabase/guide.html +0 -0
- /package/{databases → kit/databases}/supabase/nextjs/lib/supabase/client.ts +0 -0
- /package/{databases → kit/databases}/supabase/nextjs/lib/supabase/server.ts +0 -0
- /package/{githooks → kit/githooks}/pre-commit +0 -0
- /package/{integrations → kit/integrations}/emil-design-eng.json +0 -0
- /package/{integrations → kit/integrations}/graft.json +0 -0
- /package/{integrations → kit/integrations}/impeccable.json +0 -0
- /package/{integrations → kit/integrations}/lavish.json +0 -0
- /package/{integrations → kit/integrations}/mlx-lm.json +0 -0
- /package/{integrations → kit/integrations}/web-design-guidelines.json +0 -0
- /package/{recipes → kit/recipes}/nextjs-shadcn.json +0 -0
- /package/{skills → kit/skills}/kit-docs-writer/SKILL.md +0 -0
- /package/{skills → kit/skills}/kit-onboard/SKILL.md +0 -0
- /package/{skills → kit/skills}/kit-security-sweep/SKILL.md +0 -0
- /package/{skills → kit/skills}/kit-ship/SKILL.md +0 -0
- /package/{skills → kit/skills}/kit-ux-audit/references/a11y.md +0 -0
- /package/{skills → kit/skills}/kit-ux-audit/references/consistency.md +0 -0
- /package/{skills → kit/skills}/kit-ux-audit/references/heuristics.md +0 -0
- /package/{templates → kit/templates}/benchmarks/SCHEMA.md +0 -0
- /package/{templates → kit/templates}/benchmarks/abstain.jsonl +0 -0
- /package/{templates → kit/templates}/benchmarks/adversarial.jsonl +0 -0
- /package/{templates → kit/templates}/benchmarks/benchmark.config.json +0 -0
- /package/{templates → kit/templates}/benchmarks/quality.jsonl +0 -0
- /package/{templates → kit/templates}/benchmarks/retrieval.jsonl +0 -0
- /package/{templates → kit/templates}/codex/hooks.json.tmpl +0 -0
- /package/{templates → kit/templates}/hooks/guard-base-branch-commit.sh.tmpl +0 -0
- /package/{templates → kit/templates}/hooks/guard-raw-git-ops.sh.tmpl +0 -0
- /package/{templates → kit/templates}/hooks/kit-local-status.sh.tmpl +0 -0
- /package/{templates → kit/templates}/hooks/kit_version_check.sh.tmpl +0 -0
- /package/{templates → kit/templates}/hooks/prepush_gate.sh.tmpl +0 -0
- /package/{templates → kit/templates}/hooks/repo-hygiene.sh.tmpl +0 -0
- /package/{templates → kit/templates}/knowledge-INDEX.md.tmpl +0 -0
- /package/{templates → kit/templates}/lib/kit-sigil.sh.tmpl +0 -0
- /package/{templates → kit/templates}/rules/code-retrieval.md +0 -0
- /package/{templates → kit/templates}/rules/communication-style.md +0 -0
- /package/{templates → kit/templates}/rules/design-routing.md +0 -0
- /package/{templates → kit/templates}/rules/issue-lifecycle.md +0 -0
- /package/{templates → kit/templates}/rules/knowledge-base.md +0 -0
- /package/{templates → kit/templates}/rules/plain-language.md +0 -0
- /package/{templates → kit/templates}/rules/plan-output-format.md +0 -0
- /package/{templates → kit/templates}/rules/review-pages.md +0 -0
- /package/{templates → kit/templates}/rules/risk-tiered-review.md +0 -0
- /package/{templates → kit/templates}/rules/shared-checkout.md +0 -0
- /package/{templates → kit/templates}/rules/skill-gaps.md +0 -0
- /package/{templates → kit/templates}/rules/task-management.md +0 -0
- /package/{templates → kit/templates}/settings/settings.json.tmpl +0 -0
- /package/{templates → kit/templates}/settings/settings.local.json.tmpl +0 -0
- /package/{templates → kit/templates}/skills/NAMESPACED +0 -0
- /package/{templates → kit/templates}/skills/brand-voice/SKILL.md +0 -0
- /package/{templates → kit/templates}/skills/brand-voice/references/voice-template.md +0 -0
- /package/{templates → kit/templates}/skills/campaign/references/plan-template.md +0 -0
- /package/{templates → kit/templates}/skills/concrete/SKILL.md +0 -0
- /package/{templates → kit/templates}/skills/copywriting/SKILL.md +0 -0
- /package/{templates → kit/templates}/skills/copywriting/references/copy-frameworks.md +0 -0
- /package/{templates → kit/templates}/skills/copywriting/references/natural-transitions.md +0 -0
- /package/{templates → kit/templates}/skills/feature-build-refine/SKILL.md +0 -0
- /package/{templates → kit/templates}/skills/karpathy-guidelines/SKILL.md +0 -0
- /package/{templates → kit/templates}/skills/morning-briefing/SKILL.md +0 -0
- /package/{templates → kit/templates}/skills/page-design/SKILL.md +0 -0
- /package/{templates → kit/templates}/skills/page-design/add.json +0 -0
- /package/{templates → kit/templates}/skills/page-design/references/design-file-template.md +0 -0
- /package/{templates → kit/templates}/skills/page-design/references/generic-page-patterns.md +0 -0
- /package/{templates → kit/templates}/skills/page-design/references/minimum-rules.md +0 -0
- /package/{templates → kit/templates}/skills/speckit/SKILL.md +0 -0
- /package/{templates → kit/templates}/skills/supabase-patterns/SKILL.md +0 -0
- /package/{scripts/lib → lib/core}/adapter-select.sh +0 -0
- /package/{scripts/lib → lib/core}/agent-launch.sh +0 -0
- /package/{scripts/lib → lib/core}/agent-profile.sh +0 -0
- /package/{scripts/lib → lib/core}/cckit-output.sh +0 -0
- /package/{scripts/lib → lib/core}/codex-hooks.sh +0 -0
- /package/{scripts → lib/core}/forge-fence.baseline +0 -0
- /package/{scripts/lib → lib/core}/git-remote.sh +0 -0
- /package/{scripts/lib → lib/core}/hook-refresh.sh +0 -0
- /package/{scripts → lib/core}/instruction-budget-lint-test.sh +0 -0
- /package/{scripts/lib → lib/core}/kit-state.sh +0 -0
- /package/{scripts/lib → lib/core}/orchestration-runtime.sh +0 -0
- /package/{scripts/lib → lib/core}/project-scan.sh +0 -0
- /package/{scripts/lib → lib/core}/render.sh +0 -0
- /package/{scripts → lib/core}/review-lint-test.sh +0 -0
- /package/{scripts/lib → lib/core}/review-stage.sh +0 -0
- /package/{scripts → lib/core}/skill-frontmatter-lint-test.sh +0 -0
- /package/{scripts/lib → lib/core}/task-source-file.sh +0 -0
- /package/{scripts/lib → lib/core}/task-source.sh +0 -0
- /package/{scripts/lib → lib/core}/toon.sh +0 -0
- /package/{scripts/lib → lib/core}/ui.sh +0 -0
- /package/{scripts/lib → lib/forge}/forge-none.sh +0 -0
- /package/{scripts → lib/verbs}/debug.sh +0 -0
- /package/{scripts → lib/verbs}/night-run.test.mjs +0 -0
- /package/{scripts/lib → lib/verbs}/upgrade-report.sh +0 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": 1,
|
|
3
|
+
"description": "Kit-managed suggested routines. The kit SUGGESTS; the user accepts; nothing is created without opt-in. Each entry maps to one OS cron job (crontab) scoped to the project path.",
|
|
4
|
+
"routines": [
|
|
5
|
+
{
|
|
6
|
+
"id": "briefing",
|
|
7
|
+
"name": "Morning briefing",
|
|
8
|
+
"description": "Runs /morning-briefing at the start of the work day — open issues, board state, next actions.",
|
|
9
|
+
"command": "${KIT_SCRIPTS}/task-sync.sh --briefing",
|
|
10
|
+
"cadence": "daily",
|
|
11
|
+
"cron": "0 8 * * 1-5",
|
|
12
|
+
"tier": "A",
|
|
13
|
+
"cost": "low",
|
|
14
|
+
"requiresModule": null,
|
|
15
|
+
"suggested": true,
|
|
16
|
+
"tags": ["board", "daily", "focus"]
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"id": "board-sweep",
|
|
20
|
+
"name": "Board sweep",
|
|
21
|
+
"description": "Scans for orphan issues (no project card), stale In-Progress, and merged PRs whose issue was not closed. Reports drift.",
|
|
22
|
+
"command": "${KIT_SCRIPTS}/task-sync.sh --sweep",
|
|
23
|
+
"cadence": "daily",
|
|
24
|
+
"cron": "30 8 * * 1-5",
|
|
25
|
+
"tier": "B",
|
|
26
|
+
"cost": "low",
|
|
27
|
+
"requiresModule": "software",
|
|
28
|
+
"suggested": true,
|
|
29
|
+
"tags": ["board", "daily", "hygiene"]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"id": "gc",
|
|
33
|
+
"name": "Repo GC",
|
|
34
|
+
"description": "Prunes merged worktrees and branches (dry-run only — reports what would be cleaned, never auto-deletes).",
|
|
35
|
+
"command": "${KIT_SCRIPTS}/lib/kit-gc.sh --dry-run --report",
|
|
36
|
+
"cadence": "weekly",
|
|
37
|
+
"cron": "0 9 * * 1",
|
|
38
|
+
"tier": "B",
|
|
39
|
+
"cost": "low",
|
|
40
|
+
"requiresModule": "software",
|
|
41
|
+
"suggested": true,
|
|
42
|
+
"tags": ["gc", "weekly", "hygiene"]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"id": "knowledge-lint",
|
|
46
|
+
"name": "Knowledge lint",
|
|
47
|
+
"description": "Validates knowledge/ frontmatter, INDEX completeness, and live references. Reports broken docs.",
|
|
48
|
+
"command": "${KIT_SCRIPTS}/knowledge-lint.sh --report",
|
|
49
|
+
"cadence": "weekly",
|
|
50
|
+
"cron": "0 9 * * 2",
|
|
51
|
+
"tier": "A",
|
|
52
|
+
"cost": "low",
|
|
53
|
+
"requiresModule": null,
|
|
54
|
+
"suggested": false,
|
|
55
|
+
"tags": ["knowledge", "weekly", "lint"]
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"id": "kit-wire-check",
|
|
59
|
+
"name": "Kit wire check",
|
|
60
|
+
"description": "Verifies the kit wiring is up to date (statusline shim, hook permissions, cron entries). Self-heals on drift.",
|
|
61
|
+
"command": "${KIT_SCRIPTS}/kit-wire.sh --check",
|
|
62
|
+
"cadence": "weekly",
|
|
63
|
+
"cron": "0 10 * * 1",
|
|
64
|
+
"tier": "B",
|
|
65
|
+
"cost": "low",
|
|
66
|
+
"requiresModule": null,
|
|
67
|
+
"suggested": false,
|
|
68
|
+
"tags": ["wire", "weekly", "self-heal"]
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"id": "security-sweep",
|
|
72
|
+
"name": "Security sweep",
|
|
73
|
+
"description": "Runs a dependency CVE scan (npm audit / pip-audit / cargo audit) and reports new high/critical findings.",
|
|
74
|
+
"command": "${KIT_SCRIPTS}/lib/kit-gc.sh --security-scan",
|
|
75
|
+
"cadence": "weekly",
|
|
76
|
+
"cron": "0 9 * * 3",
|
|
77
|
+
"tier": "B",
|
|
78
|
+
"cost": "medium",
|
|
79
|
+
"requiresModule": "software",
|
|
80
|
+
"suggested": false,
|
|
81
|
+
"tags": ["security", "weekly", "deps"]
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
}
|
|
@@ -14,15 +14,15 @@ Two kinds of thing can be added, through the same entry:
|
|
|
14
14
|
|
|
15
15
|
| Kind | Described by | What `add` writes |
|
|
16
16
|
| --- | --- | --- |
|
|
17
|
-
| **Integration** — an optional third-party tool | `integrations/<id>.json` | the one config key the descriptor names (`config.key`), in the project config `kit_config_path` resolves, plus each rule the descriptor lists (`rules`) into `.claude/rules/` |
|
|
18
|
-
| **Module** — e.g. `software`, `qa` | `modules/<name>.json` | this directory's `.claude/kit.config.json`: `modules[]` plus the wizard answers |
|
|
17
|
+
| **Integration** — an optional third-party tool | `kit/integrations/<id>.json` | the one config key the descriptor names (`config.key`), in the project config `kit_config_path` resolves, plus each rule the descriptor lists (`rules`) into `.claude/rules/` |
|
|
18
|
+
| **Module** — e.g. `software`, `qa` | `kit/modules/<name>.json` | this directory's `.claude/kit.config.json`: `modules[]` plus the wizard answers |
|
|
19
19
|
|
|
20
20
|
`cckit add <integration>` **installs nothing.** It records the choice; the tool's install is a
|
|
21
21
|
separate step.
|
|
22
22
|
|
|
23
23
|
## Steps
|
|
24
24
|
|
|
25
|
-
1. **List.** `cckit add --
|
|
25
|
+
1. **List.** `cckit add --json` returns
|
|
26
26
|
`{"integrations":[{id,label,summary,key,enabled,applies}],"modules":[{id,label}]}`.
|
|
27
27
|
If the user named nothing, show the list and let them pick. Do not offer an integration whose
|
|
28
28
|
`applies` is `false` — the tool cannot work on this repo — and say which one was left out.
|
|
@@ -57,7 +57,7 @@ separate step.
|
|
|
57
57
|
| --- | --- |
|
|
58
58
|
| An `appliesWhen` condition does not hold: no file with a listed extension (`anyExtension`), or the wrong machine (`platform`) | declined, exit 0, nothing written |
|
|
59
59
|
| No project config found from the directory | exit 1 — run `cckit init` first; `add` does not invent a config for an integration |
|
|
60
|
-
| The descriptor fails `integrations/integration.schema.json` | exit 1, the bad field is named, nothing written |
|
|
60
|
+
| The descriptor fails `kit/integrations/integration.schema.json` | exit 1, the bad field is named, nothing written |
|
|
61
61
|
| The name is neither a module nor an integration | exit 1 |
|
|
62
62
|
|
|
63
63
|
## Rules
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: kit-advisor
|
|
3
|
+
terms: Advisor
|
|
4
|
+
description: >
|
|
5
|
+
Run project management as a mode of the builder: route a request to its stage (grill, plan,
|
|
6
|
+
orchestrate, review, close), run that stage with the cckit verbs, and end every stage with a step
|
|
7
|
+
report and its trail comment.
|
|
8
|
+
when_to_use: >
|
|
9
|
+
"create an effort", "plan an effort", "plan the sprint", "brief the workers", "review the
|
|
10
|
+
effort", "close the sprint". Not for one issue (kit-ship) or a plan already approved (kit-autopilot).
|
|
11
|
+
metadata:
|
|
12
|
+
version: 1.0.0
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# kit-advisor — the stage router
|
|
16
|
+
|
|
17
|
+
The advisor helps the owner decide the work and then keeps it honest. It writes no code: builders
|
|
18
|
+
do, in their own worktrees. Each stage below has one reference file; read only the one you route to.
|
|
19
|
+
|
|
20
|
+
## 1. Route the request
|
|
21
|
+
|
|
22
|
+
| The request | Stage | Reference |
|
|
23
|
+
| --- | --- | --- |
|
|
24
|
+
| a goal with open decisions: "create an effort", "grill me on this" | grill | `references/grill.md` |
|
|
25
|
+
| a grilled goal: "plan the effort", "plan the sprint", "what goes in this week" | plan | `references/plan.md` |
|
|
26
|
+
| a planned effort: "start it", "brief the workers", "run the wave" | orchestrate | `references/orchestrate.md` |
|
|
27
|
+
| landed subs: "review the effort", "is it done", "check the subs" | review | `references/review.md` |
|
|
28
|
+
| a finished sprint or effort: "close the sprint", "retro", "wrap up" | close | `references/close.md` |
|
|
29
|
+
|
|
30
|
+
Pick the earliest stage whose input is missing. A goal with no `## Grilling` record goes to grill,
|
|
31
|
+
even when the request said "plan": a plan built on undecided questions gets planned twice.
|
|
32
|
+
|
|
33
|
+
## 2. Find where the work stands
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
cckit status --board # the open efforts, their subs, what is blocked
|
|
37
|
+
cckit effort sprint name # the current sprint, Monday to Monday
|
|
38
|
+
cckit effort sprint list # the sprints open on the forge, with their counts
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Facts are looked up, never asked: the sprint, the subs, their state and their Specs come from these
|
|
42
|
+
verbs. Only decisions go to the owner.
|
|
43
|
+
|
|
44
|
+
## 3. Run the stage
|
|
45
|
+
|
|
46
|
+
Open its reference and follow it. Every stage uses the verbs it names and nothing else; a step the
|
|
47
|
+
verbs cannot do is a defect in the kit, so report it instead of hand-rolling `git` or `gh` calls.
|
|
48
|
+
|
|
49
|
+
| Stage | Main verbs |
|
|
50
|
+
| --- | --- |
|
|
51
|
+
| grill | `cckit page open` · `cckit effort new --grilling-file F` |
|
|
52
|
+
| plan | `cckit effort sprint open` · `cckit effort new --sprint` · `cckit effort sub --spec` · `cckit effort plan --issues --effort N` |
|
|
53
|
+
| orchestrate | `cckit effort start N` · `cckit brief <sub> --skills S --verbs V` · `cckit effort plan --wave --effort N` |
|
|
54
|
+
| review | `cckit effort review N` |
|
|
55
|
+
| close | `cckit effort sprint close` · `cckit effort close N` |
|
|
56
|
+
|
|
57
|
+
## 4. Report the stage
|
|
58
|
+
|
|
59
|
+
Every stage ends with a step report, in this order and no other:
|
|
60
|
+
|
|
61
|
+
**Status · Done · Waiting for a yes · Numbers · Failing or risky · Open questions · Next step**
|
|
62
|
+
|
|
63
|
+
Write it to `.cckit/reports/<YYYY-MM-DD-HHMM>-<effort>-<stage>.md`, then post its trail comment on
|
|
64
|
+
the effort issue:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
cckit agent receipt <issue> --report .cckit/reports/<file>.md
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
The template and the rules for each section are in `references/step-report.md`.
|
|
71
|
+
|
|
72
|
+
## 5. Stop where the owner decides
|
|
73
|
+
|
|
74
|
+
Stop and ask at: the grill playback, a plan that adds cost, a sprint close, a release. Everything
|
|
75
|
+
mechanical (start, brief, merge on a green gate, close) the advisor runs and reports.
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Stage: close — the sprint review, the retrospective, the effort
|
|
2
|
+
|
|
3
|
+
Input: a reviewed effort, or a sprint whose week is over. Output: the review and retrospective page,
|
|
4
|
+
the milestone closed, the effort merged and closed with its subs.
|
|
5
|
+
|
|
6
|
+
## 1. Close the effort
|
|
7
|
+
|
|
8
|
+
Only after `cckit effort review <N>` exits 0 and the Spec items held (`references/review.md`):
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
cckit effort close <N> # merge the one PR, close the parent and every sub, clean the branch
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
It refuses an effort whose parent has no checkable `## Spec`. A refusal is a fact for the report;
|
|
15
|
+
`--no-spec-check` is the owner's call, never the advisor's.
|
|
16
|
+
|
|
17
|
+
## 2. Close the sprint
|
|
18
|
+
|
|
19
|
+
At the end of the week, with the owner. Draft the review (what the sprint goal promised, what
|
|
20
|
+
shipped) and the retrospective (what to keep, what to change), then preview the page:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
cckit effort sprint close --review-file review.md --retro-file retro.md --dry-run
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
The page lists the sprint goal, the issues done and the issues carried over, from the milestone.
|
|
27
|
+
Show it to the owner as a review page when the session can show one:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
cckit page mode
|
|
31
|
+
cckit page open <sprint.html> --fallback .cckit/reports/<date>-sprint-<YYYY-Www>.md
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Stop there and wait for a yes. The close writes the page and closes the milestone:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
cckit effort sprint close --review-file review.md --retro-file retro.md
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Carried-over issues stay open. Move them to the next sprint with `cckit effort sprint open` and
|
|
41
|
+
their milestone, or drop them from the plan; say which in the report.
|
|
42
|
+
|
|
43
|
+
## 3. Report
|
|
44
|
+
|
|
45
|
+
Write the step report in the order Status · Done · Waiting for a yes · Numbers · Failing or risky ·
|
|
46
|
+
Open questions · Next step (`references/step-report.md`), then post its trail comment:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
cckit agent receipt <N> --report .cckit/reports/<file>.md
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Numbers: issues done and carried over, efforts closed. Waiting for a yes: the sprint close itself,
|
|
53
|
+
and any release, which this stage never runs.
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# Stage: grill — one interview, a playback, a record
|
|
2
|
+
|
|
3
|
+
Input: a goal with open decisions. Output: a confirmed `## Grilling` record that
|
|
4
|
+
`cckit effort new` accepts.
|
|
5
|
+
|
|
6
|
+
## 1. Look the facts up first
|
|
7
|
+
|
|
8
|
+
Read the board, the code and the issues the goal touches. A question whose answer is in the repo
|
|
9
|
+
is never asked. Only decisions go to the owner: scope, trade-offs, order, names, cost.
|
|
10
|
+
|
|
11
|
+
## 2. One interview
|
|
12
|
+
|
|
13
|
+
Put every open question on one page, at once:
|
|
14
|
+
|
|
15
|
+
- one line per question, two or three short choices, the recommendation preselected and marked;
|
|
16
|
+
- an optional free-text field per question, and one at the end for what the interview missed;
|
|
17
|
+
- one submit: the answers come back together.
|
|
18
|
+
|
|
19
|
+
Open it as a review page when this session can show one; `cckit page mode` decides, and terminal
|
|
20
|
+
mode prints the same questions as one numbered message:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
cckit page mode
|
|
24
|
+
cckit page open <interview.html> --fallback <interview.md>
|
|
25
|
+
cckit page poll <interview.html>
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## 3. Play it back
|
|
29
|
+
|
|
30
|
+
Before anything is filed, answer with "what I understood": the decisions numbered, a diagram when
|
|
31
|
+
the plan has moving parts, and your own interpretations marked as yours. The owner confirms or
|
|
32
|
+
corrects. Only a confirmed playback becomes the record. An answer that opens a new question goes
|
|
33
|
+
into a second, smaller interview, never a lone question.
|
|
34
|
+
|
|
35
|
+
## 4. Record it
|
|
36
|
+
|
|
37
|
+
Write the confirmed record to a file in this shape:
|
|
38
|
+
|
|
39
|
+
```markdown
|
|
40
|
+
Grilled: <who>, <YYYY-MM-DD>, <where>.
|
|
41
|
+
1. <decision>
|
|
42
|
+
2. <decision>
|
|
43
|
+
3. <decision>
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
- The first line starts `Grilled:` and names who was grilled; a `YYYY-MM-DD` date is in the record.
|
|
47
|
+
- At least 3 decisions as column-0 `1.` items, or a link to the issue comment that holds them.
|
|
48
|
+
- Nothing to decide: the single line `waived: <reason>`.
|
|
49
|
+
- An unattended run writes `Grilled: <agent> (assumed), <date>` and lists what it assumed.
|
|
50
|
+
|
|
51
|
+
Then file it with the effort (the plan stage does this):
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
cckit effort new --spec-file spec.md --grilling-file grilling.md "<name>"
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
`effort new` lints the record before any forge write (`scripts/lib/grill-record.sh`) and refuses
|
|
58
|
+
one that names nobody, carries no date or holds fewer than 3 decisions.
|
|
59
|
+
|
|
60
|
+
## 5. Report
|
|
61
|
+
|
|
62
|
+
Write the step report in the order Status · Done · Waiting for a yes · Numbers · Failing or risky ·
|
|
63
|
+
Open questions · Next step (`references/step-report.md`), then post its trail comment:
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
cckit agent receipt <issue> --report .cckit/reports/<file>.md
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Waiting for a yes holds the playback until the owner confirms it.
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Stage: orchestrate — start the effort and brief the workers
|
|
2
|
+
|
|
3
|
+
Input: a planned effort (subs filed with Specs, wave order checked). Output: one worktree per
|
|
4
|
+
worker, each started with a brief that names its exact toolset, and the effort branch collecting
|
|
5
|
+
the landed subs.
|
|
6
|
+
|
|
7
|
+
## 1. Start the effort
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
cckit effort start <N> # effort/<N>-<slug> branch + its own worktree, from the base branch
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
The effort branch is the one integration branch. Sequential subs commit on it, one commit per sub.
|
|
14
|
+
Parallel subs each get their own worktree cut from it and merge back in. The WIP limit refuses a
|
|
15
|
+
new effort while too many are open; that refusal is a fact to report, not a reason to `--force`.
|
|
16
|
+
|
|
17
|
+
## 2. Pick the wave
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
cckit effort plan --wave --effort <N> # the subs that can start now, file-disjoint
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Run only the first wave. Subs that touch the same file go in different waves, even when the plan
|
|
24
|
+
had them parallel: two workers on one file is a conflict waiting at merge time.
|
|
25
|
+
|
|
26
|
+
## 3. Brief each worker
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
cckit brief <sub> --skills kit-ship --verbs 'effort start,status,agent receipt'
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
One brief per sub. `--skills` and `--verbs` name the tools the worker may use, and only those: an
|
|
33
|
+
unknown name exits 2 before anything is read, so fix the list instead of dropping the flag. The
|
|
34
|
+
brief carries the worktree, the files the sub owns, the helpers they sit on, the gate and the
|
|
35
|
+
standing gotchas, so the prompt adds the sub's Spec and nothing the brief already says.
|
|
36
|
+
|
|
37
|
+
Each worker works in its own worktree, never in the shared checkout, and ends with its own step
|
|
38
|
+
report and trail comment on its sub.
|
|
39
|
+
|
|
40
|
+
## 4. Collect the wave
|
|
41
|
+
|
|
42
|
+
As each worker reports, read its trail comment, check the sub's commit is on the effort branch,
|
|
43
|
+
and start the next wave from `cckit effort plan --wave --effort <N>`. A worker that stopped on a
|
|
44
|
+
decision goes to the owner; a worker that stopped on a broken verb is a kit defect to file.
|
|
45
|
+
|
|
46
|
+
## 5. Report
|
|
47
|
+
|
|
48
|
+
Write the step report in the order Status · Done · Waiting for a yes · Numbers · Failing or risky ·
|
|
49
|
+
Open questions · Next step (`references/step-report.md`), then post its trail comment:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
cckit agent receipt <N> --report .cckit/reports/<file>.md
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Numbers: workers started, subs landed, waves left. Failing or risky: any sub whose gate is red, and
|
|
56
|
+
any two subs that turned out to share a file.
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# Stage: plan — an effort with Specs, in waves, inside this week's sprint
|
|
2
|
+
|
|
3
|
+
Input: a goal with a confirmed Grilling record. Output: one effort issue whose subs each carry a
|
|
4
|
+
`## Spec`, a wave order in its Scope, and the sprint it lands in named in its body.
|
|
5
|
+
|
|
6
|
+
## 1. The sprint
|
|
7
|
+
|
|
8
|
+
A sprint is one week, Monday to Monday, named after its ISO week. Find it, and open it when the
|
|
9
|
+
forge has no milestone for it yet (re-running is safe):
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
cckit effort sprint name # 2026-W48
|
|
13
|
+
cckit effort sprint open --goal "<the one outcome of the week>"
|
|
14
|
+
cckit effort sprint list # open sprints, open and closed counts
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
An effort planned for next week passes a day of that week: `--sprint=2026-11-30`.
|
|
18
|
+
|
|
19
|
+
## 2. Cut the subs
|
|
20
|
+
|
|
21
|
+
- **Vertical slices.** Every sub is demoable on its own, through every layer it needs.
|
|
22
|
+
- **Expand–contract** for a wide refactor: add beside, move the callers, remove. The effort stays
|
|
23
|
+
mergeable after every sub.
|
|
24
|
+
- **Each sub has a Spec:** what done means, as a checkable list. A sub nobody can check is not cut
|
|
25
|
+
small enough.
|
|
26
|
+
- **Waves.** Subs that touch disjoint files and block nothing run in the same wave; a sub that
|
|
27
|
+
needs another's output goes in a later wave. Sequential subs are one wave each.
|
|
28
|
+
|
|
29
|
+
## 3. File the effort
|
|
30
|
+
|
|
31
|
+
The parent first, with its Spec, the Grilling record and the sprint; then one sub per slice, in
|
|
32
|
+
wave order, each with its own Spec:
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
cckit effort new --spec-file spec.md --grilling-file grilling.md --sprint \
|
|
36
|
+
--scope "Wave 1: <a>, <b> (parallel). Wave 2: <c> (needs <a>)." "<name>"
|
|
37
|
+
cckit effort sub <N> "<sub name>" --spec "<item>; <item>" --body "<one line: what and why>"
|
|
38
|
+
cckit effort chain <a> <c> # a native blocked_by edge per dependency
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
`--sprint` adds a `## Sprint` section naming the week and its bounds, and puts the parent on the
|
|
42
|
+
sprint's milestone. `effort new` refuses a parent without a Spec or with a Grilling record that is
|
|
43
|
+
not one, before anything is written.
|
|
44
|
+
|
|
45
|
+
## 4. Check the wave order
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
cckit effort plan --issues --effort <N> # the subs in dependency order, one wave per line
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
The verb's waves and the Scope must agree. When they do not, the Scope is wrong or an edge is
|
|
52
|
+
missing: fix it before orchestrating.
|
|
53
|
+
|
|
54
|
+
## 5. Report
|
|
55
|
+
|
|
56
|
+
Write the step report in the order Status · Done · Waiting for a yes · Numbers · Failing or risky ·
|
|
57
|
+
Open questions · Next step (`references/step-report.md`), then post its trail comment:
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
cckit agent receipt <N> --report .cckit/reports/<file>.md
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Numbers: subs filed, waves, the sprint's open and closed counts. Waiting for a yes: any sub that
|
|
64
|
+
adds cost, and the plan itself when the owner asked to see it first.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Stage: review — check each sub against its Spec
|
|
2
|
+
|
|
3
|
+
Input: an effort whose subs have landed, or claim to. Output: one verdict per sub, the gaps named,
|
|
4
|
+
and a decision on whether the effort is ready to close.
|
|
5
|
+
|
|
6
|
+
## 1. Read the verdicts
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
cckit effort review <N> # one line per sub: state, Spec, landed, verdict; exits 1 until all are done
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
| Verdict | Means | Do |
|
|
13
|
+
| --- | --- | --- |
|
|
14
|
+
| `done` | closed, and a commit on the effort branch names it | check its Spec items below |
|
|
15
|
+
| `landed, still open` | the commit is there, the issue is not closed | close it once its Spec holds |
|
|
16
|
+
| `closed, not on the branch` | closed on the forge, no commit names it | find the work or reopen the sub |
|
|
17
|
+
| `open` | not built yet | back to orchestrate |
|
|
18
|
+
| `no spec` | nothing to review against | write the Spec with the owner first |
|
|
19
|
+
|
|
20
|
+
## 2. Check each Spec item
|
|
21
|
+
|
|
22
|
+
The verb proves a sub is closed and landed; it cannot prove the Spec holds. For each `done` sub,
|
|
23
|
+
read its `## Spec` and check every item against the branch: run the command an item names, read
|
|
24
|
+
the file it names, count what it counts. An item that cannot be checked is a defect in the Spec,
|
|
25
|
+
not a pass.
|
|
26
|
+
|
|
27
|
+
Then the parent: every item of the effort's own `## Spec` must hold on the effort branch, and the
|
|
28
|
+
gate must be green on its head commit.
|
|
29
|
+
|
|
30
|
+
## 3. Decide
|
|
31
|
+
|
|
32
|
+
- Every sub `done` and every Spec item holds: ready to close.
|
|
33
|
+
- A gap the effort's scope covers: send it back to orchestrate as a fix on the same sub.
|
|
34
|
+
- A gap outside the scope: file it as its own issue and name it in the report. Never widen the
|
|
35
|
+
effort to swallow it.
|
|
36
|
+
|
|
37
|
+
## 4. Report
|
|
38
|
+
|
|
39
|
+
Write the step report in the order Status · Done · Waiting for a yes · Numbers · Failing or risky ·
|
|
40
|
+
Open questions · Next step (`references/step-report.md`), then post its trail comment:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
cckit agent receipt <N> --report .cckit/reports/<file>.md
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Numbers: the `review #N: D of M done` line, Spec items checked and held. Failing or risky: every
|
|
47
|
+
sub not `done`, with its verdict, and every Spec item that did not hold.
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Step report — one order for every stage
|
|
2
|
+
|
|
3
|
+
Every advisor stage ends with one report file and one trail comment.
|
|
4
|
+
|
|
5
|
+
## Where
|
|
6
|
+
|
|
7
|
+
`.cckit/reports/<YYYY-MM-DD-HHMM>-<effort>-<stage>.md`, for example
|
|
8
|
+
`.cckit/reports/2026-11-24-1430-E547-plan.md`. `.cckit/` is local and not committed unless the
|
|
9
|
+
effort asks for its report in the PR.
|
|
10
|
+
|
|
11
|
+
## The order
|
|
12
|
+
|
|
13
|
+
The sections are always these seven, in this order: Status · Done · Waiting for a yes · Numbers ·
|
|
14
|
+
Failing or risky · Open questions · Next step. A section with nothing to say says `none`; it is
|
|
15
|
+
never dropped, because an absent section reads like a passing one.
|
|
16
|
+
|
|
17
|
+
```markdown
|
|
18
|
+
# <effort> · <stage>
|
|
19
|
+
|
|
20
|
+
## Status
|
|
21
|
+
One to three lines: what is true now. The trail comment quotes this section.
|
|
22
|
+
|
|
23
|
+
## Done
|
|
24
|
+
What this stage changed, one row per artifact (issue, commit, page, file).
|
|
25
|
+
|
|
26
|
+
## Waiting for a yes
|
|
27
|
+
The decisions only the owner can make, numbered, each with the recommendation first.
|
|
28
|
+
|
|
29
|
+
## Numbers
|
|
30
|
+
| Measure | Before | After | Command |
|
|
31
|
+
|
|
32
|
+
## Failing or risky
|
|
33
|
+
A red check, a guess, a step not verified.
|
|
34
|
+
|
|
35
|
+
## Open questions
|
|
36
|
+
What the stage could not settle and nobody has been asked yet.
|
|
37
|
+
|
|
38
|
+
## Next step
|
|
39
|
+
The one next action and who takes it.
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## The trail command
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
cckit agent receipt <issue> --report .cckit/reports/<file>.md # post or update
|
|
46
|
+
cckit agent receipt <issue> --report .cckit/reports/<file>.md --dry-run # print, do not post
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
(`cckit receipt` is the old name and still works.) The comment carries the Status head, the
|
|
50
|
+
report's links and the Waiting for a yes items, capped at 1500 characters. It refuses a report that
|
|
51
|
+
holds a word from the private leak list or an absolute home path, so write paths relative to the
|
|
52
|
+
repo.
|
|
53
|
+
|
|
54
|
+
## Rules
|
|
55
|
+
|
|
56
|
+
- Numbers come with the command that produced them. A number without one is a guess; put it under
|
|
57
|
+
Failing or risky.
|
|
58
|
+
- Waiting for a yes lists decisions, not mechanics. Merging a PR whose content was decided is
|
|
59
|
+
mechanics.
|
|
60
|
+
- One report per stage run. A re-run of the same stage rewrites its file, and the trail comment is
|
|
61
|
+
edited in place, not posted twice.
|
|
@@ -18,7 +18,7 @@ vendors none of Agentation's code; it installs it as the project's own dev depen
|
|
|
18
18
|
but the kit wires and maintains the Claude path only — say so if asked about other agents.
|
|
19
19
|
|
|
20
20
|
The kit lives at `${CLAUDE_PLUGIN_ROOT}`; the setup engine is
|
|
21
|
-
`${CLAUDE_PLUGIN_ROOT}/
|
|
21
|
+
`${CLAUDE_PLUGIN_ROOT}/lib/verbs/annotate-setup.sh` (which sources `scripts/lib/react-detect.sh`).
|
|
22
22
|
|
|
23
23
|
## 0. Orient
|
|
24
24
|
|
|
@@ -32,7 +32,7 @@ The kit lives at `${CLAUDE_PLUGIN_ROOT}`; the setup engine is
|
|
|
32
32
|
|
|
33
33
|
1. **Detect + preview.** Run the engine in dry-run from the project root and show the plan:
|
|
34
34
|
```bash
|
|
35
|
-
"${CLAUDE_PLUGIN_ROOT}/
|
|
35
|
+
"${CLAUDE_PLUGIN_ROOT}/lib/verbs/annotate-setup.sh" --dry-run
|
|
36
36
|
```
|
|
37
37
|
If it reports **No React app detected**, stop — this targets React apps. If the framework is
|
|
38
38
|
`react` (unrecognized: CRA/Gatsby/etc.), tell the user you'll install + register but they must wire
|
|
@@ -86,8 +86,6 @@ The kit lives at `${CLAUDE_PLUGIN_ROOT}`; the setup engine is
|
|
|
86
86
|
nearby text) → make the fix per project conventions → `agentation_resolve` with a one-line summary
|
|
87
87
|
(or `agentation_dismiss` with a reason / `agentation_reply` to ask). In hands-free, loop on
|
|
88
88
|
`agentation_watch_annotations` until the user stops.
|
|
89
|
-
5. **On close.** If the project has memory enabled, write a short MemPalace summary to the project wing
|
|
90
|
-
(resolved annotations, files touched, deferred items) before the closing summary.
|
|
91
89
|
|
|
92
90
|
## 3. Status mode
|
|
93
91
|
|
|
@@ -27,7 +27,7 @@ token budget does not enforce that budget. The full table, including what no liv
|
|
|
27
27
|
confirmed, is in the docs site's agent-compatibility page under "Unattended run limits".
|
|
28
28
|
|
|
29
29
|
**Exception — night mode.** The Workflow runtime does enforce a token budget, so an approved plan
|
|
30
|
-
can run unattended through `${CLAUDE_PLUGIN_ROOT}/
|
|
30
|
+
can run unattended through `${CLAUDE_PLUGIN_ROOT}/lib/verbs/night-run.mjs` (see _Mode: night_ below). The CLI still
|
|
31
31
|
refuses `--plan` and `--notify`.
|
|
32
32
|
|
|
33
33
|
One skill, two modes — both delegate work that runs **autonomously to a verifiable stop, under hard
|
|
@@ -39,7 +39,7 @@ scripts; it never reimplements looping or orchestration.
|
|
|
39
39
|
| **objective** | one long objective on the current branch | the built-in `/loop` + caps + a stop-check |
|
|
40
40
|
| **plan** | the planned, file-disjoint set of efforts/flows in parallel | `kit effort plan` + `orchestrate.sh` + `orchestrate-watch.sh` |
|
|
41
41
|
|
|
42
|
-
> Need the plan first? `/kit-plan-next` (`cckit plan
|
|
42
|
+
> Need the plan first? `/kit-plan-next` (`cckit effort plan --next`) proposes what to build next from the
|
|
43
43
|
> kit's current capabilities, then hands a chosen item to `/kit-effort-new` — the effort autopilot
|
|
44
44
|
> later drives. Keep that planner output with the human/orchestrator; never feed it into a monitored
|
|
45
45
|
> agent's context (context-anxiety rule).
|
|
@@ -56,7 +56,7 @@ build a wave → merge its PRs → close subs+parent → gc → launch the next
|
|
|
56
56
|
reason to stop — the plan blessed it. The risk-tiered review tiers
|
|
57
57
|
(`risk-tiered-review.md`) govern **ad-hoc** PRs, **not** execution of an approved plan.
|
|
58
58
|
- **The permission is shipped, not improvised.** `cckit init` scaffolds a **versioned**
|
|
59
|
-
`.claude/settings.json` (from `templates/settings/settings.json.tmpl`) whose explicit
|
|
59
|
+
`.claude/settings.json` (from `kit/templates/settings/settings.json.tmpl`) whose explicit
|
|
60
60
|
`Bash(cckit merge:*)` / `Bash(cckit watch:*)` allow pre-authorizes the wave-merge (a raw
|
|
61
61
|
`gh pr merge` is blocked by the guard hook, #364) — checked in, so it travels to every
|
|
62
62
|
worktree and collaborator (the gitignored `settings.local.json` does not). A captain merge that
|
|
@@ -124,7 +124,7 @@ kit autopilot --plan # read the plan and launch the planned set
|
|
|
124
124
|
|
|
125
125
|
## Mode: night (an approved plan, unattended, through a Workflow)
|
|
126
126
|
|
|
127
|
-
The one mode whose caps a runtime enforces. `${CLAUDE_PLUGIN_ROOT}/
|
|
127
|
+
The one mode whose caps a runtime enforces. `${CLAUDE_PLUGIN_ROOT}/lib/verbs/night-run.mjs` is a
|
|
128
128
|
Workflow script: the Workflow runtime throws once the `+N` budget is spent, and the script holds the
|
|
129
129
|
rest of the caps in code. Both night scripts ship in the plugin, so every path below starts at
|
|
130
130
|
`${CLAUDE_PLUGIN_ROOT}` — a consuming project has no copy of them in its own checkout.
|
|
@@ -152,13 +152,13 @@ Tonight: run the two approved waves. I accept the lockfile floor.
|
|
|
152
152
|
**Launch** — from anywhere inside the project (the kit config is found by `kit_config_path`:
|
|
153
153
|
`$KIT_CONFIG`, else a walk up from the current directory):
|
|
154
154
|
|
|
155
|
-
1. `bash "${CLAUDE_PLUGIN_ROOT}/
|
|
155
|
+
1. `bash "${CLAUDE_PLUGIN_ROOT}/lib/verbs/night-grant.sh" preflight` — exit 1 names the allowlist
|
|
156
156
|
entries an unattended run lacks in the tracked `.claude/settings.json` (merge, push, issue
|
|
157
157
|
comment/edit/close, `gh api`). Stop and tell the owner; it never edits the file.
|
|
158
|
-
2. `bash "${CLAUDE_PLUGIN_ROOT}/
|
|
158
|
+
2. `bash "${CLAUDE_PLUGIN_ROOT}/lib/verbs/night-grant.sh" read <parent>` — prints the engine args
|
|
159
159
|
(line 1) and `budget=+N` (line 2), or refuses: no grant by the owner, a malformed grant, a
|
|
160
160
|
waiver that is not exactly one floor name, a never-waivable waiver, or a WIP limit of 0.
|
|
161
|
-
3. Launch the Workflow script `${CLAUDE_PLUGIN_ROOT}/
|
|
161
|
+
3. Launch the Workflow script `${CLAUDE_PLUGIN_ROOT}/lib/verbs/night-run.mjs` with line 1 as `args`
|
|
162
162
|
and the budget as the `+N` directive. The runtime counts the **whole turn**, the captain's own
|
|
163
163
|
output included, so size `+N` with headroom.
|
|
164
164
|
|
|
@@ -28,12 +28,12 @@ can never disagree about what is safe to delete.
|
|
|
28
28
|
### 1. Show the plan (read-only)
|
|
29
29
|
|
|
30
30
|
```bash
|
|
31
|
-
source "${CLAUDE_PLUGIN_ROOT}/
|
|
32
|
-
KIT_GC_REPO="$KIT_REPO" source "${CLAUDE_PLUGIN_ROOT}/
|
|
31
|
+
source "${CLAUDE_PLUGIN_ROOT}/lib/core/kit-config.sh" && load_kit_config
|
|
32
|
+
KIT_GC_REPO="$KIT_REPO" source "${CLAUDE_PLUGIN_ROOT}/lib/verbs/kit-gc.sh"
|
|
33
33
|
kit_gc_cleanup # plan only — deletes no branch, worktree, remote ref or stash
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
-
Or through the CLI: `cckit cleanup` (add `--
|
|
36
|
+
Or through the CLI: `cckit cleanup` (add `--json` for JSON counts: `safe`, `landed`, `worktrees`,
|
|
37
37
|
`zombie`, `orphan`, `protected`, `stash`, `remote_failed`, `applied`). A LANDED detached worktree
|
|
38
38
|
counts under `worktrees`, an ORPHAN one under `orphan`.
|
|
39
39
|
|
|
@@ -64,7 +64,7 @@ to compare. It requires **exact equality in both directions**: `origin/<b>..<b>`
|
|
|
64
64
|
local ⊆ remote, so a remote-ahead branch would otherwise lose remote-only history. A local delete is
|
|
65
65
|
likewise skipped when the branch is ahead of its remote (`git branch -D` is a force delete). A remote
|
|
66
66
|
delete that fails (protected ref, already gone) is reported, counted on the `remote deletes failed`
|
|
67
|
-
line (`remote_failed` in `--
|
|
67
|
+
line (`remote_failed` in `--json`), and makes the verb exit non-zero — a partial sweep is never
|
|
68
68
|
reported as a complete one. It is never retried blindly.
|
|
69
69
|
|
|
70
70
|
The plan-only path does perform one write: `kit_gc_analyze` refreshes remote-tracking refs
|