@jeiemgi/cckit 0.8.0 → 0.10.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 +1 -1
- package/AGENTS.md +169 -21
- package/README.md +505 -35
- package/SECURITY.md +5 -0
- package/bin/cckit +189 -20
- package/cckit.config.json +1 -1
- package/commands/kit-doctor.md +13 -5
- package/commands/kit-export-project.md +0 -2
- package/commands/kit-export-training.md +6 -9
- package/commands/kit-init.md +43 -13
- package/commands/kit-routines.md +1 -1
- package/commands/kit-update.md +11 -6
- package/databases/supabase/guide.html +106 -0
- package/databases/supabase/nextjs/lib/supabase/client.ts +9 -0
- package/databases/supabase/nextjs/lib/supabase/server.ts +29 -0
- package/databases/supabase.json +70 -0
- package/integrations/emil-design-eng.json +41 -0
- package/integrations/graft.json +81 -0
- package/integrations/impeccable.json +42 -0
- package/integrations/integration.schema.json +215 -0
- package/integrations/lavish.json +43 -0
- package/integrations/mempalace.json +28 -0
- package/integrations/mlx-lm.json +32 -0
- package/integrations/web-design-guidelines.json +42 -0
- package/kit.config.schema.json +183 -5
- package/package.json +4 -1
- package/profiles/automation.json +7 -1
- package/profiles/content.json +10 -2
- package/profiles/marketing.json +57 -0
- package/profiles/minimal.json +7 -1
- package/profiles/research.json +7 -1
- package/profiles/software.json +7 -1
- package/recipes/nextjs-shadcn.json +49 -0
- package/scripts/agent-skills-external.txt +45 -0
- package/scripts/agent-skills-lint-test.sh +131 -0
- package/scripts/agent-skills-lint.sh +115 -0
- package/scripts/agent-template-lint-test.sh +42 -0
- package/scripts/agent-template-lint.sh +58 -0
- package/scripts/annotate-setup.sh +1 -1
- package/scripts/autopilot-run-test.sh +338 -0
- package/scripts/autopilot-run.sh +448 -0
- package/scripts/autopilot-test.sh +8 -0
- package/scripts/autopilot.sh +10 -1
- package/scripts/benchmark/benchmark-test.sh +85 -0
- package/scripts/benchmark/checkpoint-test.sh +314 -0
- package/scripts/benchmark/checkpoint.sh +408 -0
- package/scripts/benchmark/lib/model.sh +31 -6
- package/scripts/benchmark/report.sh +17 -2
- package/scripts/benchmark/run-quality.sh +36 -10
- package/scripts/benchmark/verb-timings-test.sh +124 -0
- package/scripts/benchmark/verb-timings.sh +149 -0
- package/scripts/check.sh +29 -19
- package/scripts/content-skills-test.sh +144 -0
- package/scripts/copilot-loop-test.sh +25 -0
- package/scripts/database-supabase-test.sh +121 -0
- package/scripts/docs-marketing-words-test.sh +73 -0
- package/scripts/docs-record-tables-test.sh +72 -0
- package/scripts/guard-raw-git-ops-test.sh +8 -0
- package/scripts/hook-adapter-test.sh +193 -0
- package/scripts/init-content-test.sh +225 -0
- package/scripts/init-guided-test.sh +474 -0
- package/scripts/init-recipes-test.sh +104 -0
- package/scripts/init-upgrade-test.sh +341 -2
- package/scripts/init.sh +746 -95
- package/scripts/instruction-budget-baseline.txt +8 -0
- package/scripts/instruction-budget-lint-test.sh +166 -0
- package/scripts/instruction-budget-lint.sh +219 -0
- package/scripts/integrations-check-test.sh +200 -0
- package/scripts/integrations-check.sh +157 -0
- package/scripts/kit-add-test.sh +214 -0
- package/scripts/kit-add.sh +305 -5
- package/scripts/kit-adopt-test.sh +16 -0
- package/scripts/kit-adopt.sh +3 -2
- package/scripts/kit-digest.sh +2 -2
- package/scripts/kit-doctor-test.sh +293 -0
- package/scripts/kit-doctor.sh +272 -140
- package/scripts/kit-export-project-test.sh +3 -3
- package/scripts/kit-remove-test.sh +19 -0
- package/scripts/kit-routines.sh +2 -2
- package/scripts/kit-self-update.sh +1 -1
- package/scripts/kit-version-check-test.sh +4 -0
- package/scripts/kit-version-check.sh +4 -2
- package/scripts/knowledge-lint.sh +4 -4
- package/scripts/leak-fence-test.sh +89 -0
- package/scripts/lib/adapter-select-test.sh +136 -0
- package/scripts/lib/adapter-select.sh +158 -0
- package/scripts/lib/agent-def-test.sh +69 -0
- package/scripts/lib/agent-def.sh +106 -0
- package/scripts/lib/agent-launch-test.sh +212 -0
- package/scripts/lib/agent-launch.sh +335 -0
- package/scripts/lib/board-view-test.sh +11 -0
- package/scripts/lib/board-view.sh +42 -26
- package/scripts/lib/branch-owner-test.sh +26 -0
- package/scripts/lib/branch-owner.sh +16 -9
- package/scripts/lib/captain-test.sh +105 -0
- package/scripts/lib/captain.sh +87 -8
- package/scripts/lib/codex-hooks-test.sh +100 -0
- package/scripts/lib/codex-hooks.sh +69 -0
- package/scripts/lib/commitlint.sh +1 -1
- package/scripts/lib/content-kinds-gc-test.sh +88 -0
- package/scripts/lib/copilot-test.sh +70 -4
- package/scripts/lib/copilot.sh +66 -14
- package/scripts/lib/effort-dispatch-test.sh +3 -3
- package/scripts/lib/effort-metrics-test.sh +178 -1
- package/scripts/lib/effort-metrics.sh +188 -35
- package/scripts/lib/effort-ops-test.sh +217 -7
- package/scripts/lib/effort-ops.sh +281 -49
- package/scripts/lib/effort-parity-test.sh +49 -13
- package/scripts/lib/effort-plan-test.sh +337 -0
- package/scripts/lib/effort-plan.sh +200 -23
- package/scripts/lib/effort-slug.sh +16 -2
- package/scripts/lib/effort.sh +67 -12
- package/scripts/lib/errors-header-test.sh +1 -1
- package/scripts/lib/gh-project-test.sh +35 -1
- package/scripts/lib/gh-project.sh +37 -16
- package/scripts/lib/gh-rest-test.sh +330 -0
- package/scripts/lib/gh-rest.sh +304 -0
- package/scripts/lib/hook-refresh.sh +1 -1
- package/scripts/lib/init-github.sh +412 -0
- package/scripts/lib/init-guide.sh +630 -0
- package/scripts/lib/integration-install-test.sh +343 -0
- package/scripts/lib/integration-install.sh +257 -0
- package/scripts/lib/integrations-test.sh +366 -0
- package/scripts/lib/integrations.sh +244 -0
- package/scripts/lib/kinds-test.sh +125 -0
- package/scripts/lib/kinds.sh +66 -0
- package/scripts/lib/kit-brief-test.sh +22 -3
- package/scripts/lib/kit-brief.sh +45 -5
- package/scripts/lib/kit-config-resolve.sh +2 -2
- package/scripts/lib/kit-config-test.sh +64 -1
- package/scripts/lib/kit-config.sh +37 -1
- package/scripts/lib/kit-events.sh +7 -0
- package/scripts/lib/kit-gc-test.sh +173 -1
- package/scripts/lib/kit-gc.sh +244 -37
- package/scripts/lib/kit-hotfix.sh +216 -0
- package/scripts/lib/kit-interview-test.sh +93 -0
- package/scripts/lib/kit-interview.sh +117 -8
- package/scripts/lib/kit-lib-test.sh +1 -1
- package/scripts/lib/kit-lib.sh +3 -3
- package/scripts/lib/kit-local.sh +2 -2
- package/scripts/lib/kit-manifest.sh +33 -1
- package/scripts/lib/kit-profile-test.sh +3 -3
- package/scripts/lib/kit-status-test.sh +112 -4
- package/scripts/lib/kit-status.sh +246 -16
- package/scripts/lib/kit-task-ops-test.sh +37 -0
- package/scripts/lib/kit-task-ops.sh +362 -89
- package/scripts/lib/kto-hotfix-test.sh +232 -0
- package/scripts/lib/kto-task-close-test.sh +83 -0
- package/scripts/lib/kto-task-new-test.sh +95 -0
- package/scripts/lib/kto-task-pr-merge-test.sh +97 -6
- package/scripts/lib/kto-task-pr-test.sh +70 -0
- package/scripts/lib/leak-fence.sh +89 -0
- package/scripts/lib/light-task-run-test.sh +255 -0
- package/scripts/lib/light-task-test.sh +309 -0
- package/scripts/lib/light-task.sh +706 -0
- package/scripts/lib/next-test.sh +99 -0
- package/scripts/lib/next.sh +9 -3
- package/scripts/lib/orchestration-runtime-test.sh +72 -0
- package/scripts/lib/orchestration-runtime.sh +57 -5
- package/scripts/lib/plan-machine-test.sh +15 -2
- package/scripts/lib/plan-machine.sh +20 -7
- package/scripts/lib/plan-next-test.sh +1 -1
- package/scripts/lib/plan-next.sh +4 -4
- package/scripts/lib/pr-evidence-test.sh +3 -3
- package/scripts/lib/pr-evidence.sh +1 -1
- package/scripts/lib/qa-lane-test.sh +626 -0
- package/scripts/lib/qa-lane.sh +1357 -0
- package/scripts/lib/qa-lanes-test.sh +175 -0
- package/scripts/lib/react-detect.sh +1 -1
- package/scripts/lib/render-test.sh +1 -1
- package/scripts/lib/review-page-test.sh +318 -0
- package/scripts/lib/review-page.sh +369 -0
- package/scripts/lib/review-stage-test.sh +62 -11
- package/scripts/lib/review-stage.sh +42 -60
- package/scripts/lib/role-identity-test.sh +65 -0
- package/scripts/lib/role-identity.sh +25 -2
- package/scripts/lib/secret-guard.sh +3 -3
- package/scripts/lib/session-registry-test.sh +111 -0
- package/scripts/lib/session-registry.sh +233 -0
- package/scripts/lib/stage-receipt-test.sh +14 -1
- package/scripts/lib/stage-receipt.sh +13 -8
- package/scripts/lib/task-source-file.sh +309 -0
- package/scripts/lib/task-source.sh +130 -0
- package/scripts/lib/test-env-test.sh +3 -3
- package/scripts/lib/test-env.sh +7 -4
- package/scripts/lib/upgrade-report-test.sh +120 -0
- package/scripts/lib/upgrade-report.sh +138 -0
- package/scripts/lib/version-bump.sh +3 -3
- package/scripts/lib/wave-result-test.sh +80 -0
- package/scripts/lib/wave-result.sh +127 -0
- package/scripts/lib/worker-brief-test.sh +5 -0
- package/scripts/lib/worker-brief.sh +2 -2
- package/scripts/lib/worktree-issue-test.sh +30 -1
- package/scripts/lib/worktree-issue.sh +93 -9
- package/scripts/lib/worktree-ports-test.sh +57 -4
- package/scripts/lib/worktree-start-test.sh +197 -0
- package/scripts/lib/worktree-start.sh +169 -32
- package/scripts/lib/zsh-safety-test.sh +19 -3
- package/scripts/marketing-walkthrough-test.sh +152 -0
- package/scripts/night-grant-test.sh +37 -0
- package/scripts/night-grant.sh +448 -0
- package/scripts/night-run-test.sh +8 -0
- package/scripts/night-run.mjs +275 -0
- package/scripts/night-run.test.mjs +324 -0
- package/scripts/orchestrate-test.sh +190 -0
- package/scripts/orchestrate.sh +79 -8
- package/scripts/portable-test.sh +11 -2
- package/scripts/publish.sh +28 -3
- package/scripts/review-lint-test.sh +7 -7
- package/scripts/review-lint.sh +2 -2
- package/scripts/review-rules.conf +8 -0
- package/scripts/rule-recipes-test.sh +96 -0
- package/scripts/self-install-test.sh +39 -9
- package/scripts/setup-labels.sh +18 -1
- package/scripts/setup-milestones.sh +1 -1
- package/scripts/showcase.sh +1 -1
- package/scripts/skill-frontmatter-lint-test.sh +4 -4
- package/scripts/skill-frontmatter-lint.sh +1 -1
- package/scripts/status-test.sh +113 -2
- package/scripts/status.sh +16 -3
- package/scripts/task-sync-test.sh +154 -0
- package/scripts/task-sync.sh +243 -32
- package/scripts/test-runner-test.sh +158 -0
- package/scripts/test.sh +131 -23
- package/scripts/update-path-test.sh +279 -0
- package/scripts/ux-ds-audit.sh +1 -1
- package/scripts/ux-graph-scan.sh +6 -6
- package/scripts/wave-worker.sh +54 -0
- package/skills/kit-add/SKILL.md +77 -0
- package/skills/kit-autopilot/SKILL.md +123 -12
- package/skills/kit-cleanup/SKILL.md +5 -2
- package/skills/kit-contribute/SKILL.md +4 -4
- package/skills/kit-docs-writer/SKILL.md +16 -6
- package/skills/kit-effort-close/SKILL.md +17 -8
- package/skills/kit-effort-new/SKILL.md +15 -9
- package/skills/kit-effort-pr/SKILL.md +15 -7
- package/skills/kit-effort-start/SKILL.md +5 -2
- package/skills/kit-gc/SKILL.md +5 -2
- package/skills/kit-next/SKILL.md +5 -1
- package/skills/kit-onboard/SKILL.md +3 -3
- package/skills/kit-page/SKILL.md +93 -0
- package/skills/kit-plan-next/SKILL.md +8 -4
- package/skills/kit-security-sweep/SKILL.md +1 -3
- package/skills/kit-ship/SKILL.md +2 -3
- package/skills/kit-status/SKILL.md +35 -4
- package/skills/kit-task-new/SKILL.md +3 -3
- package/skills/kit-task-pr/SKILL.md +7 -2
- package/skills/kit-task-pr-merge/SKILL.md +7 -2
- package/skills/kit-task-start/SKILL.md +7 -7
- package/skills/kit-task-sync/SKILL.md +19 -3
- package/skills/kit-ux-audit/SKILL.md +3 -2
- package/templates/agents/auto-dev.md +5 -4
- package/templates/agents/backend.md +1 -1
- package/templates/agents/designer.md +2 -0
- package/templates/agents/devops.md +1 -1
- package/templates/agents/editor.md +9 -1
- package/templates/agents/frontend.md +1 -1
- package/templates/agents/local-delegate.md +1 -1
- package/templates/agents/pm.md +5 -5
- package/templates/agents/tech-lead.md +1 -1
- package/templates/benchmarks/SCHEMA.md +9 -3
- package/templates/codex/hooks.json.tmpl +89 -0
- package/templates/hooks/guard-base-branch-commit.sh.tmpl +13 -7
- package/templates/hooks/guard-raw-git-ops.sh.tmpl +27 -14
- package/templates/hooks/mempal_followup.sh.tmpl +2 -2
- package/templates/hooks/mempal_session_start.sh.tmpl +1 -1
- package/templates/hooks/prepush_gate.sh.tmpl +4 -2
- package/templates/hooks/repo-hygiene.sh.tmpl +3 -2
- package/templates/instructions.md.tmpl +174 -0
- package/templates/kit.config.json.tmpl +3 -3
- package/templates/knowledge-INDEX.md.tmpl +1 -1
- package/templates/lib/kit-sigil.sh.tmpl +1 -1
- package/templates/rules/authoring.md +106 -0
- package/templates/rules/branch-naming.md +40 -4
- package/templates/rules/code-retrieval.md +63 -0
- package/templates/rules/delegation-brief.md +0 -3
- package/templates/rules/design-routing.md +3 -3
- package/templates/rules/effort-model.md +14 -10
- package/templates/rules/gate-and-review.md +94 -0
- package/templates/rules/issue-lifecycle.md +88 -0
- package/templates/rules/knowledge-base.md +1 -1
- package/templates/rules/mempalace.md +1 -1
- package/templates/rules/merge-safety.md +108 -0
- package/templates/rules/naming-and-ids.md +23 -17
- package/templates/rules/plain-language.md +59 -0
- package/templates/rules/plan-next.md +9 -11
- package/templates/rules/react-annotate.md +6 -0
- package/templates/rules/review-pages.md +49 -0
- package/templates/rules/risk-tiered-review.md +13 -4
- package/templates/rules/shared-checkout.md +106 -0
- package/templates/rules/skill-gaps.md +2 -7
- package/templates/rules/task-management.md +13 -1
- package/templates/skills/brand-voice/SKILL.md +91 -0
- package/templates/skills/brand-voice/references/voice-template.md +61 -0
- package/templates/skills/campaign/SKILL.md +123 -0
- package/templates/skills/campaign/references/plan-template.md +55 -0
- package/templates/skills/concrete/SKILL.md +2 -2
- package/templates/skills/copywriting/SKILL.md +8 -1
- package/templates/skills/feature-build-refine/SKILL.md +2 -4
- package/templates/skills/morning-briefing/SKILL.md +2 -2
- package/templates/skills/page-design/SKILL.md +145 -0
- package/templates/skills/page-design/add.json +5 -0
- package/templates/skills/page-design/references/design-file-template.md +40 -0
- package/templates/skills/page-design/references/generic-page-patterns.md +43 -0
- package/templates/skills/page-design/references/minimum-rules.md +42 -0
- package/templates/skills/speckit/SKILL.md +4 -5
- package/templates/skills/supabase-patterns/SKILL.md +1 -1
- package/commands/kit-add.md +0 -42
- package/templates/CLAUDE.md.tmpl +0 -106
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://cckit.dev/integration.schema.json",
|
|
4
|
+
"title": "cckit integration descriptor",
|
|
5
|
+
"description": "One optional third-party tool cckit can offer, install and verify. One file per tool: integrations/<id>.json. Checked by integration_validate (scripts/lib/integrations.sh), which implements exactly these keywords: type, required, properties, additionalProperties:false, items, minItems, minLength, pattern, enum. A keyword outside that list is NOT enforced — extend the validator before using one here.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": ["id", "label", "summary", "config", "detect", "install", "verify", "docs", "attribution"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"id": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$",
|
|
13
|
+
"description": "The handle typed after `cckit add`. Must equal the file name without `.json`."
|
|
14
|
+
},
|
|
15
|
+
"label": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"minLength": 1,
|
|
18
|
+
"description": "Human name shown in lists and prompts."
|
|
19
|
+
},
|
|
20
|
+
"summary": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"minLength": 1,
|
|
23
|
+
"description": "One line: what the tool does for the project."
|
|
24
|
+
},
|
|
25
|
+
"why": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "Optional: what it costs and what it replaces."
|
|
28
|
+
},
|
|
29
|
+
"config": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"additionalProperties": false,
|
|
32
|
+
"required": ["key"],
|
|
33
|
+
"description": "The project-config key that turns the integration on. Naming rule: the key names a CAPABILITY, never the vendor — `<capability>.provider` whose value names the tool (the `deploy.target` / `ci.provider` precedent in modules/software.json), or `<capability>.enabled` for a boolean switch that already exists (`memory.enabled`, `local.enabled`). A key containing the descriptor's own id is refused. Every key used here needs a property in kit.config.schema.json.",
|
|
34
|
+
"properties": {
|
|
35
|
+
"key": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"pattern": "^[A-Za-z][A-Za-z0-9]*(\\.[A-Za-z][A-Za-z0-9]*)+$",
|
|
38
|
+
"description": "Dotted path into the project config, e.g. `codeGraph.provider`."
|
|
39
|
+
},
|
|
40
|
+
"value": {
|
|
41
|
+
"description": "The value at `key` that means ON. Omitted = boolean true."
|
|
42
|
+
},
|
|
43
|
+
"default": {
|
|
44
|
+
"type": "boolean",
|
|
45
|
+
"description": "true = the integration is ON in a project whose config does not hold `key` at all; only an explicit other value turns it off (`false` for a boolean key, `\"none\"` for a named one). Omitted or false = off until `cckit add <id>` writes the key. A default-on tool must have a fallback: `cckit doctor` reports it missing without failing, because the project never asked for it."
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"appliesWhen": {
|
|
50
|
+
"type": "object",
|
|
51
|
+
"additionalProperties": false,
|
|
52
|
+
"description": "Where the tool can work. Omitted = any repo on any machine. Two kinds of condition, and every one present must hold: `anyExtension` judges the repo, `platform` judges the machine. An integration that does not apply is not offered and not installed.",
|
|
53
|
+
"properties": {
|
|
54
|
+
"anyExtension": {
|
|
55
|
+
"type": "array",
|
|
56
|
+
"minItems": 1,
|
|
57
|
+
"items": { "type": "string", "pattern": "^\\.[A-Za-z0-9_+-]+$" },
|
|
58
|
+
"description": "Applies when at least one file in the repo ends in one of these extensions. Case-sensitive, leading dot. The repo's files are git's tracked + unignored list inside a work tree, otherwise every file outside .git/ and node_modules/."
|
|
59
|
+
},
|
|
60
|
+
"platform": {
|
|
61
|
+
"type": "object",
|
|
62
|
+
"additionalProperties": false,
|
|
63
|
+
"description": "The machine the tool needs. Each field present is compared to `uname` output verbatim.",
|
|
64
|
+
"properties": {
|
|
65
|
+
"os": { "type": "string", "enum": ["Darwin", "Linux"], "description": "`uname -s`." },
|
|
66
|
+
"arch": { "type": "string", "enum": ["arm64", "aarch64", "x86_64"], "description": "`uname -m`. Apple silicon reports arm64; 64-bit ARM Linux reports aarch64." }
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"note": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"description": "Where the list was verified, and what happens to a file outside it."
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"detect": {
|
|
76
|
+
"type": "object",
|
|
77
|
+
"additionalProperties": false,
|
|
78
|
+
"required": ["run"],
|
|
79
|
+
"description": "How to tell the tool is already installed.",
|
|
80
|
+
"properties": {
|
|
81
|
+
"run": { "type": "string", "minLength": 1, "description": "Command that exits 0 when the tool is present." },
|
|
82
|
+
"bin": { "type": "string", "minLength": 1, "description": "The tool's binary name, when it is not the first word of `run` (a `command -v <bin>` probe, for a tool whose own flags are slow to answer)." }
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"install": {
|
|
86
|
+
"type": "array",
|
|
87
|
+
"minItems": 1,
|
|
88
|
+
"description": "Install candidates, tried IN THIS ORDER; the first that works wins.",
|
|
89
|
+
"items": {
|
|
90
|
+
"type": "object",
|
|
91
|
+
"additionalProperties": false,
|
|
92
|
+
"required": ["manager", "run"],
|
|
93
|
+
"properties": {
|
|
94
|
+
"manager": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"enum": ["brew", "pipx", "uv", "npm", "pnpm", "npx", "curl"],
|
|
97
|
+
"description": "The tool that must be on the machine for this candidate to be tried."
|
|
98
|
+
},
|
|
99
|
+
"run": { "type": "string", "minLength": 1, "description": "The install command." },
|
|
100
|
+
"resident": { "type": "boolean", "description": "false when the candidate leaves no binary behind (npx). Default true." },
|
|
101
|
+
"bootstrap": {
|
|
102
|
+
"type": "object",
|
|
103
|
+
"additionalProperties": false,
|
|
104
|
+
"required": ["manager", "run"],
|
|
105
|
+
"description": "How to get this candidate's `manager` when the machine has none of the descriptor's managers. Run only then: a machine that already holds any listed manager is never bootstrapped.",
|
|
106
|
+
"properties": {
|
|
107
|
+
"manager": { "type": "string", "enum": ["brew", "pipx", "uv", "npm", "pnpm", "npx", "curl"], "description": "The tool that must be on the machine for the bootstrap to be tried." },
|
|
108
|
+
"run": { "type": "string", "minLength": 1, "description": "The command that installs the candidate's manager." }
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"note": { "type": "string" }
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"wire": {
|
|
116
|
+
"type": "object",
|
|
117
|
+
"additionalProperties": false,
|
|
118
|
+
"required": ["run"],
|
|
119
|
+
"description": "Optional per-repo step after install, for a tool that writes into the project.",
|
|
120
|
+
"properties": {
|
|
121
|
+
"run": { "type": "string", "minLength": 1, "description": "The wire command, without the declined flags." },
|
|
122
|
+
"dryRun": { "type": "string", "description": "A form of the command that prints what it would write." },
|
|
123
|
+
"writes": { "type": "array", "items": { "type": "string" }, "description": "Paths the wire step creates or edits." },
|
|
124
|
+
"declined": {
|
|
125
|
+
"type": "object",
|
|
126
|
+
"description": "Flags cckit passes to turn a tool feature OFF, each mapped to the reason. Keys are the flags, values the reasons."
|
|
127
|
+
},
|
|
128
|
+
"kept": {
|
|
129
|
+
"type": "object",
|
|
130
|
+
"description": "Tool features cckit leaves ON although it could decline them, each mapped to the evidence for that decision. Keys name the feature, values the test that was run. Never reaches the command line."
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"build": {
|
|
135
|
+
"type": "object",
|
|
136
|
+
"additionalProperties": false,
|
|
137
|
+
"required": ["run"],
|
|
138
|
+
"description": "Optional step that produces the tool's own data (an index, a graph).",
|
|
139
|
+
"properties": {
|
|
140
|
+
"run": { "type": "string", "minLength": 1 },
|
|
141
|
+
"cost": { "type": "string", "description": "What the step spends: time, network, API calls." },
|
|
142
|
+
"deep": {
|
|
143
|
+
"type": "object",
|
|
144
|
+
"additionalProperties": false,
|
|
145
|
+
"required": ["run"],
|
|
146
|
+
"description": "A costlier variant of the build. cckit runs it only when `auto` is true.",
|
|
147
|
+
"properties": {
|
|
148
|
+
"run": { "type": "string", "minLength": 1 },
|
|
149
|
+
"cost": { "type": "string" },
|
|
150
|
+
"auto": { "type": "boolean", "description": "Default false: recorded for the user, never run by cckit." }
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"verify": {
|
|
156
|
+
"type": "object",
|
|
157
|
+
"additionalProperties": false,
|
|
158
|
+
"required": ["run"],
|
|
159
|
+
"description": "How to tell the installed tool works.",
|
|
160
|
+
"properties": {
|
|
161
|
+
"run": { "type": "string", "minLength": 1, "description": "Command that exits 0 when the tool is healthy." },
|
|
162
|
+
"failsOn": { "type": "string", "description": "What a non-zero exit means." },
|
|
163
|
+
"json": { "type": "string", "description": "A form of the command with machine-readable output." }
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"rules": {
|
|
167
|
+
"type": "array",
|
|
168
|
+
"items": { "type": "string", "pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$" },
|
|
169
|
+
"description": "Optional: rule templates (templates/rules/<name>.md) that `cckit add <id>` writes into the project's .claude/rules/ when the integration is switched on. A rule file already in the project is kept, never overwritten."
|
|
170
|
+
},
|
|
171
|
+
"afterInstall": {
|
|
172
|
+
"type": "string",
|
|
173
|
+
"minLength": 1,
|
|
174
|
+
"description": "Optional: the one step cckit leaves to the user after a successful install, shown once in the install report."
|
|
175
|
+
},
|
|
176
|
+
"alsoWrites": {
|
|
177
|
+
"type": "array",
|
|
178
|
+
"minItems": 1,
|
|
179
|
+
"items": { "type": "string", "minLength": 1 },
|
|
180
|
+
"description": "Optional: paths the installer was seen to write besides the one `detect` checks, relative to the project. `cckit doctor` names them on the row of a successful install, so files nobody asked for are not found later in `git status`. List only what a real install showed."
|
|
181
|
+
},
|
|
182
|
+
"uninstall": {
|
|
183
|
+
"type": "string",
|
|
184
|
+
"description": "Optional command that removes what install + wire added."
|
|
185
|
+
},
|
|
186
|
+
"recheck": {
|
|
187
|
+
"type": "object",
|
|
188
|
+
"additionalProperties": false,
|
|
189
|
+
"description": "Optional: what the scheduled recipe check should watch.",
|
|
190
|
+
"properties": {
|
|
191
|
+
"cadence": { "type": "string", "enum": ["monthly"] },
|
|
192
|
+
"drifts": { "type": "array", "items": { "type": "string" }, "description": "The parts of the recipe that go stale: package names, flag names, lists." }
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"docs": {
|
|
196
|
+
"type": "string",
|
|
197
|
+
"pattern": "^https://",
|
|
198
|
+
"description": "The tool's own documentation."
|
|
199
|
+
},
|
|
200
|
+
"attribution": {
|
|
201
|
+
"type": "object",
|
|
202
|
+
"additionalProperties": false,
|
|
203
|
+
"required": ["author", "homepage", "affiliated", "notice"],
|
|
204
|
+
"description": "Credit for a tool cckit did not write. Held as fields so the next integration cannot ship without them.",
|
|
205
|
+
"properties": {
|
|
206
|
+
"author": { "type": "string", "minLength": 1 },
|
|
207
|
+
"license": { "type": "string" },
|
|
208
|
+
"homepage": { "type": "string", "pattern": "^https://" },
|
|
209
|
+
"affiliated": { "type": "boolean", "description": "false when cckit has no relationship with the author." },
|
|
210
|
+
"notice": { "type": "string", "minLength": 1, "description": "The sentence shown to the user: who makes the tool and whether cckit is affiliated." },
|
|
211
|
+
"telemetry": { "type": "string", "description": "What the tool reports home, and what cckit does about it." }
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "lavish",
|
|
3
|
+
"label": "Lavish",
|
|
4
|
+
"summary": "Review pages: a plan, a decision with options or a grilling round opens as an HTML page the reader annotates and answers, instead of long terminal prose.",
|
|
5
|
+
"why": "Runs through npx: nothing stays installed and no API key is read. The page is served from a local server on this machine. A session with no browser prints to the terminal instead.",
|
|
6
|
+
"config": { "key": "reviewPages.enabled", "default": true },
|
|
7
|
+
"detect": { "run": "command -v lavish-axi || command -v npx", "bin": "npx" },
|
|
8
|
+
"install": [
|
|
9
|
+
{
|
|
10
|
+
"manager": "npm",
|
|
11
|
+
"run": "npm install -g lavish-axi",
|
|
12
|
+
"note": "Only reached when neither `lavish-axi` nor `npx` is on PATH. With npx present nothing is installed: `npx -y lavish-axi` fetches the package on first use."
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"manager": "brew",
|
|
16
|
+
"run": "brew install node",
|
|
17
|
+
"note": "npx ships with Node."
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"verify": {
|
|
21
|
+
"run": "npx -y lavish-axi --help",
|
|
22
|
+
"failsOn": "npx is missing, the registry is unreachable, or the lavish-axi package no longer answers --help."
|
|
23
|
+
},
|
|
24
|
+
"rules": ["review-pages"],
|
|
25
|
+
"afterInstall": "nothing to wire: `cckit page open <html-file>` opens a page",
|
|
26
|
+
"uninstall": "npm uninstall -g lavish-axi",
|
|
27
|
+
"recheck": {
|
|
28
|
+
"cadence": "monthly",
|
|
29
|
+
"drifts": [
|
|
30
|
+
"the package name lavish-axi on npm",
|
|
31
|
+
"the subcommands cckit passes through (poll, reply, end)",
|
|
32
|
+
"that `lavish-axi <html-file>` opens a session and `--help` exits 0"
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
"docs": "https://github.com/kunchenguid/lavish-axi#readme",
|
|
36
|
+
"attribution": {
|
|
37
|
+
"author": "Kun Chen (kunchenguid)",
|
|
38
|
+
"license": "MIT",
|
|
39
|
+
"homepage": "https://github.com/kunchenguid/lavish-axi",
|
|
40
|
+
"affiliated": false,
|
|
41
|
+
"notice": "Lavish (lavish-axi) is open-source software by Kun Chen, run from its public npm package under its own MIT license. cckit is not affiliated with its author and vendors none of its code."
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "mempalace",
|
|
3
|
+
"label": "mempalace CLI",
|
|
4
|
+
"summary": "Persistent project memory: sessions wake up with context and file their work back, scoped to one wing per project.",
|
|
5
|
+
"why": "Local, no API key. The four memory hooks (SessionStart, Stop, PreCompact, SessionEnd) are silent no-ops without this CLI.",
|
|
6
|
+
"config": { "key": "memory.enabled" },
|
|
7
|
+
"detect": { "run": "mempalace --version" },
|
|
8
|
+
"install": [
|
|
9
|
+
{
|
|
10
|
+
"manager": "pipx",
|
|
11
|
+
"run": "pipx install mempalace",
|
|
12
|
+
"bootstrap": { "manager": "brew", "run": "brew install pipx" },
|
|
13
|
+
"note": "Isolated tool venv. Never plain pip: Homebrew's Python is externally managed (PEP 668)."
|
|
14
|
+
},
|
|
15
|
+
{ "manager": "uv", "run": "uv tool install mempalace" }
|
|
16
|
+
],
|
|
17
|
+
"afterInstall": "run 'mempalace mcp' to wire the MCP server",
|
|
18
|
+
"verify": { "run": "mempalace --version", "failsOn": "The CLI is missing or its venv is broken." },
|
|
19
|
+
"uninstall": "pipx uninstall mempalace || uv tool uninstall mempalace",
|
|
20
|
+
"recheck": { "cadence": "monthly", "drifts": ["the package name mempalace on PyPI", "the --version flag"] },
|
|
21
|
+
"docs": "https://github.com/MemPalace/mempalace#readme",
|
|
22
|
+
"attribution": {
|
|
23
|
+
"author": "MemPalace",
|
|
24
|
+
"homepage": "https://github.com/MemPalace/mempalace",
|
|
25
|
+
"affiliated": false,
|
|
26
|
+
"notice": "MemPalace is independent open-source software by the MemPalace project. cckit is not a maintainer of it and has no affiliation with or endorsement from its authors."
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "mlx-lm",
|
|
3
|
+
"label": "mlx-lm",
|
|
4
|
+
"summary": "Local model runtime: natural-language chores (digest, summarize, classify) run on this Mac through mlx_lm.server instead of a paid API.",
|
|
5
|
+
"why": "Apple silicon only. The first server start downloads the configured model (about 4.5 GB for the default).",
|
|
6
|
+
"config": { "key": "local.enabled" },
|
|
7
|
+
"appliesWhen": {
|
|
8
|
+
"platform": { "os": "Darwin", "arch": "arm64" },
|
|
9
|
+
"note": "MLX runs on Apple silicon only. On any other machine the local layer stays dormant and every caller falls back."
|
|
10
|
+
},
|
|
11
|
+
"detect": { "run": "command -v mlx_lm.server", "bin": "mlx_lm.server" },
|
|
12
|
+
"install": [
|
|
13
|
+
{
|
|
14
|
+
"manager": "uv",
|
|
15
|
+
"run": "uv tool install mlx-lm",
|
|
16
|
+
"bootstrap": { "manager": "brew", "run": "brew install uv" },
|
|
17
|
+
"note": "Isolated tool venv. Never plain pip: Homebrew's Python is externally managed (PEP 668)."
|
|
18
|
+
},
|
|
19
|
+
{ "manager": "pipx", "run": "pipx install mlx-lm" }
|
|
20
|
+
],
|
|
21
|
+
"verify": { "run": "mlx_lm.server --help", "failsOn": "The runtime is missing, or MLX cannot load on this machine." },
|
|
22
|
+
"uninstall": "uv tool uninstall mlx-lm || pipx uninstall mlx-lm",
|
|
23
|
+
"recheck": { "cadence": "monthly", "drifts": ["the package name mlx-lm on PyPI", "the mlx_lm.server entry point"] },
|
|
24
|
+
"docs": "https://github.com/ml-explore/mlx-lm#readme",
|
|
25
|
+
"attribution": {
|
|
26
|
+
"author": "Apple (ml-explore)",
|
|
27
|
+
"license": "MIT",
|
|
28
|
+
"homepage": "https://github.com/ml-explore/mlx-lm",
|
|
29
|
+
"affiliated": false,
|
|
30
|
+
"notice": "mlx-lm is open-source software from Apple's ml-explore project. cckit is not affiliated with Apple."
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "web-design-guidelines",
|
|
3
|
+
"label": "web-design-guidelines",
|
|
4
|
+
"summary": "An audit of a finished page's code against the Web Interface Guidelines: accessibility, focus, reduced motion. The third skill `page-design` applies, and the one whose findings win a disagreement.",
|
|
5
|
+
"why": "No API key and no paid product. The skill holds no rules: it fetches them from GitHub on every run, so it does not work offline and the rules can change between two runs. With no network `page-design` reports the audit as not run. Installing runs the third-party `skills` CLI through npx, which needs Node.js 22.20 or later.",
|
|
6
|
+
"config": { "key": "designAudit.provider", "value": "web-design-guidelines" },
|
|
7
|
+
"detect": {
|
|
8
|
+
"run": "test -f .claude/skills/web-design-guidelines/SKILL.md || test -f \"$HOME/.claude/skills/web-design-guidelines/SKILL.md\"",
|
|
9
|
+
"bin": "npx"
|
|
10
|
+
},
|
|
11
|
+
"install": [
|
|
12
|
+
{
|
|
13
|
+
"manager": "npx",
|
|
14
|
+
"run": "npx -y skills@latest add vercel-labs/agent-skills --skill web-design-guidelines -a claude-code -y",
|
|
15
|
+
"note": "`npx skills add vercel-labs/agent-skills --skill web-design-guidelines -a claude-code` is the example in the `skills` CLI README; `-y` (skip prompts) is from its docs/commands.md (both read 2026-11-13). One run is on record, on 2026-11-13, through `cckit doctor --fix` in a Next.js project: the skill landed in .claude/skills/web-design-guidelines and skills-lock.json was written; whether .agents/skills/ got a copy was not recorded. Per the CLI's docs it installs into the current project (`-g` would make it global): a copy under .agents/skills/, a link at .claude/skills/web-design-guidelines, and an entry in skills-lock.json."
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"verify": {
|
|
19
|
+
"run": "test -f .claude/skills/web-design-guidelines/SKILL.md || test -f \"$HOME/.claude/skills/web-design-guidelines/SKILL.md\"",
|
|
20
|
+
"failsOn": "The skill file is in neither this project nor ~/.claude/skills. A file check only: it does not prove the rules can be fetched."
|
|
21
|
+
},
|
|
22
|
+
"afterInstall": "reload the agent session so it lists the skill, and commit .claude/skills/web-design-guidelines, skills-lock.json and .agents/skills/web-design-guidelines when it exists",
|
|
23
|
+
"alsoWrites": ["skills-lock.json"],
|
|
24
|
+
"uninstall": "npx -y skills@latest remove web-design-guidelines -a claude-code -y",
|
|
25
|
+
"recheck": {
|
|
26
|
+
"cadence": "monthly",
|
|
27
|
+
"drifts": [
|
|
28
|
+
"the package name skills on npm and its `add` options --skill, -a, -y",
|
|
29
|
+
"the skill folder name web-design-guidelines in vercel-labs/agent-skills",
|
|
30
|
+
"the rules URL the skill fetches: raw.githubusercontent.com/vercel-labs/web-interface-guidelines/main/command.md"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"docs": "https://github.com/vercel-labs/agent-skills#readme",
|
|
34
|
+
"attribution": {
|
|
35
|
+
"author": "Vercel (vercel-labs)",
|
|
36
|
+
"license": "MIT, as stated in the README",
|
|
37
|
+
"homepage": "https://github.com/vercel-labs/agent-skills",
|
|
38
|
+
"affiliated": false,
|
|
39
|
+
"notice": "web-design-guidelines is a skill by Vercel, installed from the public repository vercel-labs/agent-skills. That repository's README states MIT and it holds no LICENSE file (checked 2026-11-13); the rules the skill fetches come from vercel-labs/web-interface-guidelines, which has an MIT LICENSE file. cckit is not affiliated with Vercel and vendors none of its content.",
|
|
40
|
+
"telemetry": "The skill fetches its rules from raw.githubusercontent.com on every run. Nothing else is stated by the vendor."
|
|
41
|
+
}
|
|
42
|
+
}
|
package/kit.config.schema.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://github.com/
|
|
3
|
+
"$id": "https://github.com/jeiemgi/cckit/kit.config.schema.json",
|
|
4
4
|
"title": "claude-kit project config (v2)",
|
|
5
5
|
"description": "Identity layer of a kit project. Resolved in cascade workspace -> project -> island by scripts/lib/kit-config-resolve.sh; the nearest layer wins. The $schema reference in kit.config.json points here so editors validate + autocomplete.",
|
|
6
6
|
"type": "object",
|
|
@@ -11,6 +11,13 @@
|
|
|
11
11
|
"type": "string",
|
|
12
12
|
"description": "Kit version that last wrote/wired this config. Drives self-heal: when it differs from the installed plugin, kit-wire re-converges."
|
|
13
13
|
},
|
|
14
|
+
"adapters": {
|
|
15
|
+
"type": "array",
|
|
16
|
+
"description": "Agent adapters this project installs, written by `cckit init --adapter <claude|codex|both>`. Absent means [\"claude\"]. `cckit init --upgrade` keeps the stored selection; `--upgrade --adapter <name>` adds one and never removes one.",
|
|
17
|
+
"items": { "enum": ["claude", "codex"] },
|
|
18
|
+
"minItems": 1,
|
|
19
|
+
"uniqueItems": true
|
|
20
|
+
},
|
|
14
21
|
"mode": {
|
|
15
22
|
"type": "string",
|
|
16
23
|
"enum": ["draft", "guided", "enforced"],
|
|
@@ -37,7 +44,7 @@
|
|
|
37
44
|
"slug": { "type": "string" },
|
|
38
45
|
"owner": { "type": "string" },
|
|
39
46
|
"language": { "type": "string", "description": "Comms language, e.g. en, es, mixed." },
|
|
40
|
-
"path": { "type": "string" }
|
|
47
|
+
"path": { "type": "string", "description": "Deprecated: no longer written by cckit init. It held an absolute machine path and nothing reads it; delete it from a config that still has it." }
|
|
41
48
|
}
|
|
42
49
|
},
|
|
43
50
|
"profile": { "type": "string", "description": "Active role profile (minimal, software, content, research, automation, ...)." },
|
|
@@ -45,9 +52,48 @@
|
|
|
45
52
|
"modules": {
|
|
46
53
|
"type": "array",
|
|
47
54
|
"items": { "type": "string" },
|
|
48
|
-
"description": "Stackable modules added on top of the profile (e.g. \"software\"). Empty/absent = base project."
|
|
55
|
+
"description": "Stackable modules added on top of the profile (e.g. \"software\", \"qa\"). Empty/absent = base project."
|
|
49
56
|
},
|
|
50
57
|
"roles": { "type": "array", "items": { "type": "string" } },
|
|
58
|
+
"qa": {
|
|
59
|
+
"type": "object",
|
|
60
|
+
"additionalProperties": true,
|
|
61
|
+
"description": "How THIS project's review stack boots, written by `kit-add.sh qa` from the QA interview (modules/qa.json). cckit records the answers; it does not boot the project by guessing and does not write a boot script. Credentials appear by env var NAME only — a value is refused at interview time and never stored.",
|
|
62
|
+
"required": ["command"],
|
|
63
|
+
"properties": {
|
|
64
|
+
"command": { "type": "string", "description": "The command that boots the whole review stack (every service a reviewer needs), run from the worktree root, e.g. \"pnpm dev:stack\"." },
|
|
65
|
+
"ports": {
|
|
66
|
+
"type": "array",
|
|
67
|
+
"description": "The port env vars the stack command honours, one entry per service. A lane sets each `env` to a port derived from its `base`, so two lanes never share a port. Every base must sit inside ONE `worktree.devPortStride`-wide window, the same invariant as `worktree.devPorts`.",
|
|
68
|
+
"items": {
|
|
69
|
+
"type": "object",
|
|
70
|
+
"required": ["env", "base"],
|
|
71
|
+
"properties": {
|
|
72
|
+
"env": { "type": "string", "pattern": "^[A-Za-z_][A-Za-z0-9_]*$", "description": "Env var NAME the stack command reads its port from (e.g. WEB_PORT)." },
|
|
73
|
+
"base": { "type": "integer", "description": "Base port for this service. The interview derives 3000 + position when the answer names no port." }
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"readiness": {
|
|
78
|
+
"type": "array",
|
|
79
|
+
"description": "Readiness probes, one per service that must answer before the stack counts as usable (e.g. web AND API).",
|
|
80
|
+
"items": {
|
|
81
|
+
"type": "object",
|
|
82
|
+
"required": ["env", "path"],
|
|
83
|
+
"properties": {
|
|
84
|
+
"env": { "type": "string", "pattern": "^[A-Za-z_][A-Za-z0-9_]*$", "description": "Which service to probe, named by its port env var from `qa.ports`." },
|
|
85
|
+
"path": { "type": "string", "description": "Path requested on that port (e.g. \"/\" or \"/health\")." }
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"route": { "type": "string", "default": "/", "description": "Route a reviewer lands on when the work declares none (e.g. \"/dashboard\")." },
|
|
90
|
+
"credentialEnv": {
|
|
91
|
+
"type": "array",
|
|
92
|
+
"items": { "type": "string", "pattern": "^[A-Za-z_][A-Za-z0-9_]*$" },
|
|
93
|
+
"description": "NAMES of the env vars that hold the test account's credentials (e.g. [\"QA_EMAIL\", \"QA_PASSWORD\"]). Names only: the values stay in the reviewer's environment."
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
},
|
|
51
97
|
"github": {
|
|
52
98
|
"type": "object",
|
|
53
99
|
"additionalProperties": true,
|
|
@@ -64,11 +110,59 @@
|
|
|
64
110
|
}
|
|
65
111
|
},
|
|
66
112
|
"milestones": { "type": "array", "items": { "type": "string" } },
|
|
113
|
+
"tasks": {
|
|
114
|
+
"type": "object",
|
|
115
|
+
"additionalProperties": true,
|
|
116
|
+
"description": "Light tasks (`cckit task`): work tracked in the project and not in GitHub issues.",
|
|
117
|
+
"properties": {
|
|
118
|
+
"source": {
|
|
119
|
+
"type": "string",
|
|
120
|
+
"pattern": "^[a-z0-9_]+$",
|
|
121
|
+
"default": "file",
|
|
122
|
+
"description": "The task source `cckit task` and `cckit gc` read. `file` (default, the one source shipped): one tracked file per task under `tasks.dir`. Another name loads `scripts/lib/task-source-<name>.sh`, which must define `task_<name>_list`, `_get`, `_create`, `_on_start`, `_on_finish` and `_state`. KIT_TASKS_SOURCE overrides it per invocation."
|
|
123
|
+
},
|
|
124
|
+
"default": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"enum": ["issues", "light"],
|
|
127
|
+
"default": "issues",
|
|
128
|
+
"description": "Which task list is this project's default. issues (default): GitHub issues, through `cckit new` / `cckit start` / `cckit pr`. light: the `cckit task` list. With light, a bare `cckit next` prints what `cckit task next` prints, and the campaign skill records a campaign's pieces as light tasks instead of sub-issues. Both lists stay usable whatever the value. `cckit task default` prints it. The marketing profile sets light."
|
|
129
|
+
},
|
|
130
|
+
"check": {
|
|
131
|
+
"type": "string",
|
|
132
|
+
"description": "The gate `cckit task run <id>` runs after the agent's round when no `--check` flag is given: a shell command run in the task's worktree. Exit 0 lets the pull request open; any other exit stops the run with exit 6 and opens none. Absent: no gate. The nextjs-shadcn recipe writes `pnpm build && pnpm lint`."
|
|
133
|
+
},
|
|
134
|
+
"design": {
|
|
135
|
+
"type": "boolean",
|
|
136
|
+
"default": false,
|
|
137
|
+
"description": "true = every task of this project builds or changes a page. `cckit task run` then tells the agent to use the `page-design` skill, records the skills the run loaded from the agent CLI's event output, and the pull request it opens lists them and asks the reviewer to open the page. `cckit init` installs the `page-design` skill where this is true. Absent or false: only a task whose kind is `page` (`cckit task new --kind page`) is a page task. The nextjs-shadcn recipe writes true."
|
|
138
|
+
},
|
|
139
|
+
"dir": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"default": "tasks",
|
|
142
|
+
"description": "The tracked directory the `file` source keeps one `<id>.md` per task in, relative to the project root. An absolute path, or one that climbs out of the project, is ignored with a warning. KIT_TASKS_DIR overrides it per invocation."
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"plainLanguage": {
|
|
147
|
+
"type": "object",
|
|
148
|
+
"additionalProperties": true,
|
|
149
|
+
"properties": {
|
|
150
|
+
"enabled": { "type": "boolean", "default": false, "description": "Plain language mode. `cckit init` installs the `plain-language` rule while this is true: the agent says draft, review and approve, and names worktree, branch and pull request only when asked. `cckit task` words its progress lines the same way (its `--llm` output and its stdout are unchanged). The marketing profile turns it on; `cckit init --plain-language on|off` sets it for any profile. On `--upgrade` the stored value wins over the profile default." }
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"kinds": {
|
|
154
|
+
"type": "object",
|
|
155
|
+
"additionalProperties": true,
|
|
156
|
+
"properties": {
|
|
157
|
+
"content": { "type": "boolean", "default": false, "description": "When true, `scripts/setup-labels.sh` (and the label step of `cckit init`) provisions the content kind labels `kind:post`, `kind:campaign`, `kind:brand` and `kind:research`. The content and marketing profiles set it. The kinds are accepted by `--kind` with or without this key: a content kind starts on a branch prefix from the closed set (post and brand: `task/`, campaign: `plan/`, research: `spike/`) and titles its PR `docs:`." }
|
|
158
|
+
}
|
|
159
|
+
},
|
|
67
160
|
"pr": {
|
|
68
161
|
"type": "object",
|
|
69
162
|
"additionalProperties": true,
|
|
70
163
|
"properties": {
|
|
71
|
-
"titleStyle": { "type": "string", "enum": ["conventional", "issue-title"], "default": "conventional", "description": "How `cckit pr` titles a single-issue PR. conventional (default): a Conventional Commits subject derived from the kind label, which release-please and a commitlint gate read. issue-title: the issue title, verbatim." },
|
|
164
|
+
"titleStyle": { "type": "string", "enum": ["conventional", "issue-title"], "default": "conventional", "description": "How `cckit pr` titles a single-issue PR. conventional (default): a Conventional Commits subject derived from the kind label, which release-please and a commitlint gate read. issue-title: the issue title, verbatim. `cckit effort pr` follows the same key: conventional gives `type(scope): name [#N]` and refuses a title that fails commitlint; issue-title gives `[Role] [#N] name`, unchecked." },
|
|
165
|
+
"bodyStyle": { "type": "string", "enum": ["code", "content"], "default": "code", "description": "The wording of the PR body `cckit pr`, `cckit effort pr` and `cckit task finish` generate. code (default): a Verification checklist that names the diff. content: a Review checklist for a draft (read it through, facts and links checked, voice matches the brand guide, only the files for this piece changed). `Closes #N`, the summary and the role signature are the same in both. The content and marketing profiles set content." },
|
|
72
166
|
"orchestratorSection": { "type": "boolean", "default": false, "description": "When true, `cckit pr` opens the PR body with a two-line `## For the orchestrator` section: the issue number and what to review." }
|
|
73
167
|
}
|
|
74
168
|
},
|
|
@@ -77,10 +171,34 @@
|
|
|
77
171
|
"additionalProperties": true,
|
|
78
172
|
"properties": {
|
|
79
173
|
"flows": { "type": "array", "items": { "type": "string" }, "description": "Controlled flow vocabulary for effort titles — the values accepted by the leading [Flow] title tag and `--flow` (also the flow:<flow> labels). Replaces the built-in default (Core UI API Docs Infra Auth Data Web App); an explicit EFFORT_FLOWS env var still wins per invocation." },
|
|
174
|
+
"preCloseHook": { "type": "string", "description": "Optional path to an executable `cckit effort close` runs BEFORE the snapshot and the merge, invoked as `<hook> <effort-number> <sub-number>…` with cwd = the effort worktree (wave-style close: the checkout the close was run from). A relative path resolves against the main checkout. A non-zero exit refuses the close with nothing written; so does a configured hook that is missing or not executable. `KIT_FORCE=1` skips the hook and says so. An explicit KIT_EFFORT_PRE_CLOSE_HOOK env var wins per invocation. No-op when unset; the kit ships no default." },
|
|
80
175
|
"knowledgeIngestHook": { "type": "string", "description": "Optional path to an executable run after `cckit effort close`, invoked as `<hook> <effort-number> <trace-dir>` to fold the closed effort's work record into a knowledge base. No-op when unset or not executable; the kit ships no default." },
|
|
176
|
+
"planSource": { "type": "string", "description": "Optional path to an executable `cckit effort plan` calls for the open-effort rows instead of querying GitHub, invoked as `<source> <owner/repo>` from the project root (a relative path resolves against that root). It prints one `number<TAB>flow<TAB>ctx<TAB>title[<TAB>blockers]` line per open effort, `blockers` being a comma-separated list of issue numbers, and may print a `# age: <text>` line saying how old its data is. The plan prints which source it used, with that age. A source that is not executable, exits non-zero or prints no rows falls back to GitHub, and the plan says so. Unset: GitHub is read. An explicit EFFORT_PLAN_SOURCE env var wins per invocation." },
|
|
81
177
|
"wipLimit": { "type": "integer", "minimum": 0, "description": "How many efforts may be in progress at once before `cckit effort start` refuses a NEW effort (default 2). In progress = an `effort/<N>-<slug>` branch exists as a local head or on origin (read with `git ls-remote`, not the cached refs/remotes; EFFORT_WIP_REMOTE=0 or an unreachable origin counts the cached refs instead). Refusal happens before anything is written; `--force` (or KIT_FORCE=1) starts anyway. 0 refuses every ordinary start of a NEW effort but not a forced one, and not a re-start of an effort already in progress (that adds no WIP, so it is never gated); a non-integer value is ignored with a warning and the default is used. An explicit EFFORT_WIP_LIMIT env var wins per invocation. Does not affect `cckit start <issue>`." }
|
|
82
178
|
}
|
|
83
179
|
},
|
|
180
|
+
"model": {
|
|
181
|
+
"type": "object",
|
|
182
|
+
"additionalProperties": true,
|
|
183
|
+
"description": "Which environment variables the hosted effort-metrics judge reads. Names only, never values — no URL or token belongs in this file. Every key is optional; unset, the built-in name is used. A value that is not a shell identifier (letters, digits, underscore, not starting with a digit) is ignored with a warning and the built-in name is used.",
|
|
184
|
+
"properties": {
|
|
185
|
+
"urlEnv": { "type": "string", "pattern": "^[A-Za-z_][A-Za-z0-9_]*$", "default": "CCKIT_MODEL_URL", "description": "Env var holding the OpenAI-compatible base URL; the judge POSTs to `<value>/chat/completions`. Empty or unset at run time: the hosted judge is skipped and the local model (if enabled) is tried." },
|
|
186
|
+
"modelEnv": { "type": "string", "pattern": "^[A-Za-z_][A-Za-z0-9_]*$", "default": "CCKIT_MODEL", "description": "Env var holding the model name sent in the request and recorded as the record's judge model id. Empty or unset at run time: the literal `default` is sent." },
|
|
187
|
+
"tokenEnv": { "type": "string", "pattern": "^[A-Za-z_][A-Za-z0-9_]*$", "default": "CCKIT_MODEL_TOKEN", "description": "Env var holding the bearer token. Empty or unset at run time: no Authorization header is sent." }
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"night": {
|
|
191
|
+
"type": "object",
|
|
192
|
+
"additionalProperties": true,
|
|
193
|
+
"description": "Night mode (`kit-autopilot` § Mode: night): what `scripts/night-grant.sh` adds to the owner's night grant before it launches `scripts/night-run.mjs`. Every key is optional; without the object a night run uses the base floors, the delegation brief's gate, and accepts a grant only from `github.owner` or a commenter GitHub reports as OWNER.",
|
|
194
|
+
"properties": {
|
|
195
|
+
"floors": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Extra always-human floors, name -> what a diff must touch to trip it. Added to the base floors (lockfile, auth, security-code, security-prose, workflows, cost, secret). A tripped floor parks the effort unless that night's grant waives it by its exact name." },
|
|
196
|
+
"neverWaivable": { "type": "array", "items": { "type": "string" }, "description": "Floor names no grant may waive, added to the base list (workflows, cost, secret). A grant that waives one is refused when it is read; the engine refuses it again at merge time." },
|
|
197
|
+
"gate": { "type": "string", "description": "The gate command executors and verifiers run, and the command the final check runs on the base branch once every wave merged. Unset: the gate commands in the project's delegation brief." },
|
|
198
|
+
"grantors": { "type": "array", "items": { "type": "string" }, "description": "GitHub logins allowed to write the night grant, besides `github.owner` and any commenter whose author_association is OWNER. Compared case-insensitively. Needed on an organization repo, where no commenter is OWNER and `github.owner` is the org. A grant comment from any other author is ignored." },
|
|
199
|
+
"refuseLabels": { "type": "array", "items": { "type": "string" }, "description": "Labels that hold an effort out of a night run: preflight refuses an effort carrying any of them. Default: none. The kit applies no such label itself." }
|
|
200
|
+
}
|
|
201
|
+
},
|
|
84
202
|
"agents": {
|
|
85
203
|
"type": "object",
|
|
86
204
|
"additionalProperties": true,
|
|
@@ -117,7 +235,14 @@
|
|
|
117
235
|
"additionalProperties": true,
|
|
118
236
|
"properties": {
|
|
119
237
|
"floors": { "type": "boolean", "description": "Auto-merge policy floors (default true). When on, `cckit watch --merge` never auto-merges a PR touching .github/workflows/**, lockfile/graph files, or security-sensitive paths, and always honors a `hold` label + draft state. Set false to disable (or KIT_CAPTAIN_FLOORS=0)." },
|
|
120
|
-
"protectedGlobs": { "type": "array", "items": { "type": "string" }, "description": "Extra path globs the captain must not auto-merge (added to the built-in floors). Also settable via KIT_CAPTAIN_EXTRA_GLOBS." }
|
|
238
|
+
"protectedGlobs": { "type": "array", "items": { "type": "string" }, "description": "Extra path globs the captain must not auto-merge (added to the built-in floors). Also settable via KIT_CAPTAIN_EXTRA_GLOBS." },
|
|
239
|
+
"requireQa": {
|
|
240
|
+
"oneOf": [
|
|
241
|
+
{ "type": "boolean" },
|
|
242
|
+
{ "type": "array", "items": { "type": "string" } }
|
|
243
|
+
],
|
|
244
|
+
"description": "Hold a PR for a human QA pass (default false). true: `cckit watch --merge` reads every would-be merge with no `cckit qa verdict pass` recorded against its current head as QA_MISSING (action verify). A list of label names: only PRs carrying one of them, e.g. [\"flow:ui\"]. A recorded QA fail on the current head blocks regardless (QA_FAILING). Env: KIT_CAPTAIN_REQUIRE_QA=1|0, KIT_CAPTAIN_QA_LABELS (space-separated); either one set means the key is not read."
|
|
245
|
+
}
|
|
121
246
|
}
|
|
122
247
|
}
|
|
123
248
|
}
|
|
@@ -140,6 +265,59 @@
|
|
|
140
265
|
"claudeProjectSlug": { "type": "string" }
|
|
141
266
|
}
|
|
142
267
|
},
|
|
268
|
+
"local": {
|
|
269
|
+
"type": "object",
|
|
270
|
+
"additionalProperties": true,
|
|
271
|
+
"description": "Local model layer: natural-language chores run on this machine through mlx_lm.server. Off when absent. `enabled` is the config key of the integration descriptor integrations/mlx-lm.json.",
|
|
272
|
+
"properties": {
|
|
273
|
+
"enabled": { "type": "boolean", "description": "true = `cckit doctor` installs the runtime (with consent) and starts the server." },
|
|
274
|
+
"port": { "type": "integer", "description": "Port mlx_lm.server listens on. Default 8080." },
|
|
275
|
+
"model": { "type": "string", "description": "Model the server loads. Default mlx-community/Qwen3-8B-4bit." },
|
|
276
|
+
"dismissed": { "type": "string", "description": "kitVersion at which the \"local layer down\" session notice was dismissed (`cckit doctor --dismiss-local`)." }
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
"codeGraph": {
|
|
280
|
+
"type": "object",
|
|
281
|
+
"additionalProperties": true,
|
|
282
|
+
"description": "Code-graph retrieval: agents query an index of the code instead of grepping the tree. Off when absent. Turned on by an integration descriptor (integrations/<id>.json) whose `config.key` is `codeGraph.provider`.",
|
|
283
|
+
"properties": {
|
|
284
|
+
"provider": { "type": "string", "description": "Which integration provides the code graph, as the descriptor's `config.value` names it. Absent or \"none\" = no code graph; every path that would use one skips." }
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
"designDirection": {
|
|
288
|
+
"type": "object",
|
|
289
|
+
"additionalProperties": true,
|
|
290
|
+
"description": "Design direction for a page: the visual idea, type, layout and colour, and the rules against a generic generated look. Off when absent. Turned on by an integration descriptor whose `config.key` is `designDirection.provider` (integrations/impeccable.json). The `page-design` skill reads the installed skill, not this key.",
|
|
291
|
+
"properties": {
|
|
292
|
+
"provider": { "type": "string", "description": "Which integration provides design direction, as the descriptor's `config.value` names it. Absent or \"none\" = `cckit doctor` installs nothing for it." }
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
"designMotion": {
|
|
296
|
+
"type": "object",
|
|
297
|
+
"additionalProperties": true,
|
|
298
|
+
"description": "Interaction and motion craft on a chosen design. Off when absent. Turned on by an integration descriptor whose `config.key` is `designMotion.provider` (integrations/emil-design-eng.json).",
|
|
299
|
+
"properties": {
|
|
300
|
+
"provider": { "type": "string", "description": "Which integration provides the motion rules. Absent or \"none\" = `cckit doctor` installs nothing for it." }
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
"designAudit": {
|
|
304
|
+
"type": "object",
|
|
305
|
+
"additionalProperties": true,
|
|
306
|
+
"description": "The audit of a finished page's code: accessibility, focus, reduced motion. Off when absent. Turned on by an integration descriptor whose `config.key` is `designAudit.provider` (integrations/web-design-guidelines.json).",
|
|
307
|
+
"properties": {
|
|
308
|
+
"provider": { "type": "string", "description": "Which integration provides the audit. Absent or \"none\" = `cckit doctor` installs nothing for it." }
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"reviewPages": {
|
|
312
|
+
"type": "object",
|
|
313
|
+
"additionalProperties": true,
|
|
314
|
+
"description": "Review pages: a plan, a decision with options or a grilling round opens as an HTML page the reader annotates and answers (`cckit page`). ON when absent. `enabled` is the config key of the integration descriptor integrations/lavish.json, which is on by default.",
|
|
315
|
+
"properties": {
|
|
316
|
+
"enabled": { "type": "boolean", "description": "false = plans, decisions and grills print to the terminal; `cckit page open` never starts the page tool. Absent or true = a page opens in a session that has a browser." },
|
|
317
|
+
"answers": { "type": "string", "enum": ["issue", "file"], "description": "Where `cckit page answer` writes. Absent = a comment on the issue when `github.repo` is set and `--issue` is given, else a file. `issue` requires `--issue`; `file` always writes a file." },
|
|
318
|
+
"answersDir": { "type": "string", "description": "Directory, relative to the repo root, for answers written as files. Default `docs/answers`. A path that leaves the repo is refused." }
|
|
319
|
+
}
|
|
320
|
+
},
|
|
143
321
|
"routines": {
|
|
144
322
|
"type": "array",
|
|
145
323
|
"description": "Opt-in scheduled routines accepted by the user (briefing, board sweep, gc, ...). The kit SUGGESTS; the user accepts; nothing is created without opt-in.",
|