@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
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
# Build the "onboarding via claude" demo GIF from a REAL `claude` run.
|
|
3
|
-
#
|
|
4
|
-
# What it shows: invoking claude-kit's scaffold preview *through the `claude` CLI*
|
|
5
|
-
# (`claude -p`), then claude's real output (the --dry-run plan). The capture is a
|
|
6
|
-
# genuine claude session recorded headless with asciinema; we only RE-TIME it for a
|
|
7
|
-
# watchable GIF (claude's ~16s think time is replaced with a short beat, and the
|
|
8
|
-
# burst output is streamed line by line). Content is not faked.
|
|
9
|
-
#
|
|
10
|
-
# Re-capture + rebuild: bash docs/media/build-onboarding.sh
|
|
11
|
-
# Rebuild from a saved capture only: ONB_CAST=/path/to.cast bash docs/media/build-onboarding.sh
|
|
12
|
-
#
|
|
13
|
-
# Requires: claude (authenticated) for capture; agg + jq + awk for rendering.
|
|
14
|
-
set -euo pipefail
|
|
15
|
-
|
|
16
|
-
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
|
17
|
-
MEDIA="$ROOT/docs/media"
|
|
18
|
-
COLS=98; ROWS=38
|
|
19
|
-
CAP="${ONB_CAST:-$MEDIA/.onboarding-capture.cast}"
|
|
20
|
-
SHOWN='claude -p '\''run init.sh --profile automation --name "Acme Bot" --memory on --dry-run and show the output'\'''
|
|
21
|
-
|
|
22
|
-
# 1. Capture a real claude run (skipped if ONB_CAST points at an existing capture).
|
|
23
|
-
if [[ -z "${ONB_CAST:-}" || ! -s "$CAP" ]]; then
|
|
24
|
-
tmp="$(mktemp -d)"
|
|
25
|
-
asciinema rec --overwrite -c "cd '$tmp' && claude -p 'Run exactly this shell command and show me its raw output verbatim, then stop: bash $ROOT/scripts/init.sh --profile automation --name \"Acme Bot\" --repo acme/bot --owner-login acme --memory on --dry-run' --allowedTools Bash" "$CAP"
|
|
26
|
-
fi
|
|
27
|
-
|
|
28
|
-
# 2. Pull claude's real text out of the capture, strip terminal-reset escapes + ``` fences.
|
|
29
|
-
RAW="$(jq -r 'select(type=="array" and .[1]=="o") | .[2]' "$CAP")"
|
|
30
|
-
CLEAN="${RAW%%$'\033'*}"
|
|
31
|
-
CLEAN="$(printf '%s' "$CLEAN" | tr -d '\r' | awk '!/^```$/')"
|
|
32
|
-
|
|
33
|
-
# 3. Emit a re-timed asciicast: typed command -> "working" beat -> streamed output.
|
|
34
|
-
esc() { printf '%s' "$1" | jq -Rs .; }
|
|
35
|
-
bump() { awk "BEGIN{printf \"%.2f\", $1 + $2}"; }
|
|
36
|
-
CAST="$MEDIA/kit-onboarding.cast"; GIF="$MEDIA/kit-onboarding.gif"
|
|
37
|
-
{
|
|
38
|
-
printf '{"version":2,"width":%d,"height":%d,"env":{"TERM":"xterm-256color","SHELL":"/bin/zsh"}}\n' "$COLS" "$ROWS"
|
|
39
|
-
printf '[0.00, "o", %s]\n' "$(esc $'\033[1;36m➜ claude-kit\033[0m ')"
|
|
40
|
-
t=0.40
|
|
41
|
-
for ((i=0; i<${#SHOWN}; i++)); do printf '[%s, "o", %s]\n' "$t" "$(esc "${SHOWN:$i:1}")"; t="$(bump "$t" 0.035)"; done
|
|
42
|
-
printf '[%s, "o", %s]\n' "$t" "$(esc $'\r\n')"; t="$(bump "$t" 0.35)"
|
|
43
|
-
printf '[%s, "o", %s]\n' "$t" "$(esc $'\033[90m✳ Working…\033[0m')"; t="$(bump "$t" 1.20)"
|
|
44
|
-
printf '[%s, "o", %s]\n' "$t" "$(esc $'\r\033[K')"; t="$(bump "$t" 0.20)"
|
|
45
|
-
while IFS= read -r line; do printf '[%s, "o", %s]\n' "$t" "$(esc "$line"$'\r\n')"; t="$(bump "$t" 0.05)"; done <<< "$CLEAN"
|
|
46
|
-
t="$(bump "$t" 0.50)"; printf '[%s, "o", %s]\n' "$t" "$(esc $'\033[1;36m➜ claude-kit\033[0m ')"
|
|
47
|
-
t="$(bump "$t" 1.80)"; printf '[%s, "o", " "]\n' "$t"
|
|
48
|
-
} > "$CAST"
|
|
49
|
-
|
|
50
|
-
agg --cols "$COLS" --rows "$ROWS" --font-size 20 --theme asciinema "$CAST" "$GIF"
|
|
51
|
-
echo "✓ wrote $GIF"
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
{"version":2,"width":98,"height":34,"env":{"TERM":"xterm-256color","SHELL":"/bin/zsh"}}
|
|
2
|
-
[0.00, "o", "\u001b[1;36m➜ claude-kit\u001b[0m "]
|
|
3
|
-
[0.40, "o", "i"]
|
|
4
|
-
[0.44, "o", "n"]
|
|
5
|
-
[0.48, "o", "i"]
|
|
6
|
-
[0.52, "o", "t"]
|
|
7
|
-
[0.56, "o", "."]
|
|
8
|
-
[0.60, "o", "s"]
|
|
9
|
-
[0.64, "o", "h"]
|
|
10
|
-
[0.68, "o", " "]
|
|
11
|
-
[0.72, "o", "-"]
|
|
12
|
-
[0.76, "o", "-"]
|
|
13
|
-
[0.80, "o", "p"]
|
|
14
|
-
[0.84, "o", "r"]
|
|
15
|
-
[0.88, "o", "o"]
|
|
16
|
-
[0.92, "o", "f"]
|
|
17
|
-
[0.96, "o", "i"]
|
|
18
|
-
[1.00, "o", "l"]
|
|
19
|
-
[1.04, "o", "e"]
|
|
20
|
-
[1.08, "o", " "]
|
|
21
|
-
[1.12, "o", "a"]
|
|
22
|
-
[1.16, "o", "u"]
|
|
23
|
-
[1.20, "o", "t"]
|
|
24
|
-
[1.24, "o", "o"]
|
|
25
|
-
[1.28, "o", "m"]
|
|
26
|
-
[1.32, "o", "a"]
|
|
27
|
-
[1.36, "o", "t"]
|
|
28
|
-
[1.40, "o", "i"]
|
|
29
|
-
[1.44, "o", "o"]
|
|
30
|
-
[1.48, "o", "n"]
|
|
31
|
-
[1.52, "o", " "]
|
|
32
|
-
[1.56, "o", "-"]
|
|
33
|
-
[1.60, "o", "-"]
|
|
34
|
-
[1.64, "o", "n"]
|
|
35
|
-
[1.68, "o", "a"]
|
|
36
|
-
[1.72, "o", "m"]
|
|
37
|
-
[1.76, "o", "e"]
|
|
38
|
-
[1.80, "o", " "]
|
|
39
|
-
[1.84, "o", "\""]
|
|
40
|
-
[1.88, "o", "A"]
|
|
41
|
-
[1.92, "o", "c"]
|
|
42
|
-
[1.96, "o", "m"]
|
|
43
|
-
[2.00, "o", "e"]
|
|
44
|
-
[2.04, "o", " "]
|
|
45
|
-
[2.08, "o", "B"]
|
|
46
|
-
[2.12, "o", "o"]
|
|
47
|
-
[2.16, "o", "t"]
|
|
48
|
-
[2.20, "o", "\""]
|
|
49
|
-
[2.24, "o", " "]
|
|
50
|
-
[2.28, "o", "-"]
|
|
51
|
-
[2.32, "o", "-"]
|
|
52
|
-
[2.36, "o", "m"]
|
|
53
|
-
[2.40, "o", "e"]
|
|
54
|
-
[2.44, "o", "m"]
|
|
55
|
-
[2.48, "o", "o"]
|
|
56
|
-
[2.52, "o", "r"]
|
|
57
|
-
[2.56, "o", "y"]
|
|
58
|
-
[2.60, "o", " "]
|
|
59
|
-
[2.64, "o", "o"]
|
|
60
|
-
[2.68, "o", "n"]
|
|
61
|
-
[2.72, "o", " "]
|
|
62
|
-
[2.76, "o", "-"]
|
|
63
|
-
[2.80, "o", "-"]
|
|
64
|
-
[2.84, "o", "d"]
|
|
65
|
-
[2.88, "o", "r"]
|
|
66
|
-
[2.92, "o", "y"]
|
|
67
|
-
[2.96, "o", "-"]
|
|
68
|
-
[3.00, "o", "r"]
|
|
69
|
-
[3.04, "o", "u"]
|
|
70
|
-
[3.08, "o", "n"]
|
|
71
|
-
[3.12, "o", "\r\n"]
|
|
72
|
-
[3.57, "o", "→ DRY RUN — nothing will be written. Plan for /var/folders/9m/bx78tc212xd_08yq3phm8sjr0000gn/T/tmp.tXvyefwZ23/acme-bot:\r\n"]
|
|
73
|
-
[3.63, "o", "\r\n"]
|
|
74
|
-
[3.69, "o", " Profile : automation\r\n"]
|
|
75
|
-
[3.75, "o", " Project : Acme Bot (acme-bot)\r\n"]
|
|
76
|
-
[3.81, "o", " Repo : acme/bot\r\n"]
|
|
77
|
-
[3.87, "o", " Board : off (gh issues only)\r\n"]
|
|
78
|
-
[3.93, "o", " Memory : true Plans: markdown Lang: English\r\n"]
|
|
79
|
-
[3.99, "o", " Spec Kit: false Pre-push gate: false\r\n"]
|
|
80
|
-
[4.05, "o", "\r\n"]
|
|
81
|
-
[4.11, "o", " Would write:\r\n"]
|
|
82
|
-
[4.17, "o", " CLAUDE.md\r\n"]
|
|
83
|
-
[4.23, "o", " .claude/kit.config.json\r\n"]
|
|
84
|
-
[4.29, "o", " .claude/settings.local.json\r\n"]
|
|
85
|
-
[4.35, "o", " .claude/rules/communication-style.md\r\n"]
|
|
86
|
-
[4.41, "o", " .claude/rules/task-management.md\r\n"]
|
|
87
|
-
[4.47, "o", " .claude/rules/plan-output-format.md\r\n"]
|
|
88
|
-
[4.53, "o", " .claude/rules/mempalace.md\r\n"]
|
|
89
|
-
[4.59, "o", " .claude/agents/pm/AGENT.md\r\n"]
|
|
90
|
-
[4.65, "o", " .claude/agents/n8n/AGENT.md\r\n"]
|
|
91
|
-
[4.71, "o", " .claude/agents/generalist/AGENT.md\r\n"]
|
|
92
|
-
[4.77, "o", " .claude/skills/task-new/SKILL.md\r\n"]
|
|
93
|
-
[4.83, "o", " .claude/skills/task-start/SKILL.md\r\n"]
|
|
94
|
-
[4.89, "o", " .claude/skills/task-pr/SKILL.md\r\n"]
|
|
95
|
-
[4.95, "o", " .claude/skills/task-pr-merge/SKILL.md\r\n"]
|
|
96
|
-
[5.01, "o", " .claude/skills/task-sync/SKILL.md\r\n"]
|
|
97
|
-
[5.07, "o", " .claude/skills/task-close/SKILL.md\r\n"]
|
|
98
|
-
[5.13, "o", " .claude/skills/morning-briefing/SKILL.md\r\n"]
|
|
99
|
-
[5.19, "o", " .claude/skills/karpathy-guidelines/SKILL.md\r\n"]
|
|
100
|
-
[5.25, "o", " scripts/ (kit-config.sh, gh-project.sh, setup-labels.sh, setup-milestones.sh, capture-project-ids.sh, task-sync.sh)\r\n"]
|
|
101
|
-
[5.31, "o", " .claude/hooks/mempal_session_start.sh + mempal_save.sh + mempal_precompact.sh (SessionStart / Stop / PreCompact)\r\n"]
|
|
102
|
-
[5.37, "o", "\r\n"]
|
|
103
|
-
[5.43, "o", " Onboarding would offer (opt-in): gh auth · MemPalace (mempalace-mcp) · gws (if you use Google Workspace)\r\n"]
|
|
104
|
-
[5.49, "o", "\r\n"]
|
|
105
|
-
[5.55, "o", "Re-run without --dry-run to write these files.\r\n"]
|
|
106
|
-
[6.11, "o", "\u001b[1;36m➜ claude-kit\u001b[0m "]
|
|
107
|
-
[7.91, "o", " "]
|
|
Binary file
|
package/docs/media/kit-init.cast
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
{"version":2,"width":92,"height":30,"env":{"TERM":"xterm-256color","SHELL":"/bin/zsh"}}
|
|
2
|
-
[0.00, "o", "\u001b[1;36m➜ demo-project\u001b[0m "]
|
|
3
|
-
[0.40, "o", "c"]
|
|
4
|
-
[0.45, "o", "l"]
|
|
5
|
-
[0.50, "o", "a"]
|
|
6
|
-
[0.55, "o", "u"]
|
|
7
|
-
[0.60, "o", "d"]
|
|
8
|
-
[0.65, "o", "e"]
|
|
9
|
-
[0.70, "o", "\r\n"]
|
|
10
|
-
[1.30, "o", "\u001b[2m Claude Code \u001b[0m\r\n"]
|
|
11
|
-
[1.70, "o", "\u001b[1;35m❯\u001b[0m "]
|
|
12
|
-
[1.90, "o", "/"]
|
|
13
|
-
[1.96, "o", "k"]
|
|
14
|
-
[2.02, "o", "i"]
|
|
15
|
-
[2.08, "o", "t"]
|
|
16
|
-
[2.14, "o", "-"]
|
|
17
|
-
[2.20, "o", "i"]
|
|
18
|
-
[2.26, "o", "n"]
|
|
19
|
-
[2.32, "o", "i"]
|
|
20
|
-
[2.38, "o", "t"]
|
|
21
|
-
[2.44, "o", "\r\n\r\n"]
|
|
22
|
-
[2.94, "o", "\u001b[2m answer the prompts (test values):\u001b[0m\r\n"]
|
|
23
|
-
[3.29, "o", " \u001b[32m✔\u001b[0m Profile minimal\r\n"]
|
|
24
|
-
[3.74, "o", " \u001b[32m✔\u001b[0m GitHub repo acme/demo\r\n"]
|
|
25
|
-
[4.19, "o", " \u001b[32m✔\u001b[0m Projects board off\r\n"]
|
|
26
|
-
[4.64, "o", " \u001b[32m✔\u001b[0m MemPalace off\r\n"]
|
|
27
|
-
[5.09, "o", " \u001b[32m✔\u001b[0m Language English\r\n"]
|
|
28
|
-
[5.54, "o", "\r\n"]
|
|
29
|
-
[5.94, "o", "→ Scaffolding minimal profile into /var/folders/9m/bx78tc212xd_08yq3phm8sjr0000gn/T/tmp.wiqZj2XuUD/demo-project\r\n"]
|
|
30
|
-
[6.00, "o", " ✓ .claude/kit.config.json\r\n"]
|
|
31
|
-
[6.06, "o", " ✓ CLAUDE.md\r\n"]
|
|
32
|
-
[6.12, "o", " ✓ .claude/rules/communication-style.md\r\n"]
|
|
33
|
-
[6.18, "o", " ✓ .claude/rules/task-management.md\r\n"]
|
|
34
|
-
[6.24, "o", " ✓ .claude/agents/pm/AGENT.md\r\n"]
|
|
35
|
-
[6.30, "o", " ✓ .claude/agents/generalist/AGENT.md\r\n"]
|
|
36
|
-
[6.36, "o", " ✓ .claude/skills/task-new/SKILL.md\r\n"]
|
|
37
|
-
[6.42, "o", " ✓ .claude/skills/task-start/SKILL.md\r\n"]
|
|
38
|
-
[6.48, "o", " ✓ .claude/skills/task-sync/SKILL.md\r\n"]
|
|
39
|
-
[6.54, "o", " ✓ .claude/skills/task-close/SKILL.md\r\n"]
|
|
40
|
-
[6.60, "o", " ✓ .claude/skills/karpathy-guidelines/SKILL.md\r\n"]
|
|
41
|
-
[6.66, "o", " ✓ scripts/ (libs + setup + task-sync)\r\n"]
|
|
42
|
-
[6.72, "o", " ✓ .claude/settings.local.json\r\n"]
|
|
43
|
-
[6.78, "o", "\r\n"]
|
|
44
|
-
[6.84, "o", "✓ claude-kit scaffolded — profile: minimal\r\n"]
|
|
45
|
-
[6.90, "o", " Project : Demo Project (demo-project)\r\n"]
|
|
46
|
-
[6.96, "o", " Repo : acme/demo\r\n"]
|
|
47
|
-
[7.02, "o", " Board : off (gh issues only)\r\n"]
|
|
48
|
-
[7.08, "o", " Agents : pm generalist \r\n"]
|
|
49
|
-
[7.14, "o", " Memory : false Plans: none Lang: English\r\n"]
|
|
50
|
-
[7.20, "o", " Spec Kit: false Pre-push gate: false Stack skills self-gate by package.json\r\n"]
|
|
51
|
-
[7.26, "o", "\r\n"]
|
|
52
|
-
[7.32, "o", "Next steps:\r\n"]
|
|
53
|
-
[7.38, "o", " 1. Review CLAUDE.md and .claude/kit.config.json\r\n"]
|
|
54
|
-
[7.44, "o", " 2. ./scripts/setup-labels.sh && ./scripts/setup-milestones.sh # seed the repo\r\n"]
|
|
55
|
-
[8.00, "o", "\u001b[1;35m❯\u001b[0m "]
|
|
56
|
-
[9.80, "o", " "]
|
package/docs/media/kit-init.gif
DELETED
|
Binary file
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
{"version":2,"width":98,"height":38,"env":{"TERM":"xterm-256color","SHELL":"/bin/zsh"}}
|
|
2
|
-
[0.00, "o", "\u001b[1;36m➜ claude-kit\u001b[0m "]
|
|
3
|
-
[0.40, "o", "c"]
|
|
4
|
-
[0.44, "o", "l"]
|
|
5
|
-
[0.47, "o", "a"]
|
|
6
|
-
[0.51, "o", "u"]
|
|
7
|
-
[0.55, "o", "d"]
|
|
8
|
-
[0.59, "o", "e"]
|
|
9
|
-
[0.62, "o", " "]
|
|
10
|
-
[0.66, "o", "-"]
|
|
11
|
-
[0.70, "o", "p"]
|
|
12
|
-
[0.73, "o", " "]
|
|
13
|
-
[0.77, "o", "'"]
|
|
14
|
-
[0.81, "o", "r"]
|
|
15
|
-
[0.85, "o", "u"]
|
|
16
|
-
[0.89, "o", "n"]
|
|
17
|
-
[0.93, "o", " "]
|
|
18
|
-
[0.97, "o", "i"]
|
|
19
|
-
[1.00, "o", "n"]
|
|
20
|
-
[1.03, "o", "i"]
|
|
21
|
-
[1.06, "o", "t"]
|
|
22
|
-
[1.09, "o", "."]
|
|
23
|
-
[1.12, "o", "s"]
|
|
24
|
-
[1.16, "o", "h"]
|
|
25
|
-
[1.19, "o", " "]
|
|
26
|
-
[1.22, "o", "-"]
|
|
27
|
-
[1.25, "o", "-"]
|
|
28
|
-
[1.28, "o", "p"]
|
|
29
|
-
[1.31, "o", "r"]
|
|
30
|
-
[1.34, "o", "o"]
|
|
31
|
-
[1.38, "o", "f"]
|
|
32
|
-
[1.41, "o", "i"]
|
|
33
|
-
[1.44, "o", "l"]
|
|
34
|
-
[1.47, "o", "e"]
|
|
35
|
-
[1.50, "o", " "]
|
|
36
|
-
[1.53, "o", "a"]
|
|
37
|
-
[1.56, "o", "u"]
|
|
38
|
-
[1.59, "o", "t"]
|
|
39
|
-
[1.62, "o", "o"]
|
|
40
|
-
[1.66, "o", "m"]
|
|
41
|
-
[1.69, "o", "a"]
|
|
42
|
-
[1.72, "o", "t"]
|
|
43
|
-
[1.75, "o", "i"]
|
|
44
|
-
[1.78, "o", "o"]
|
|
45
|
-
[1.81, "o", "n"]
|
|
46
|
-
[1.84, "o", " "]
|
|
47
|
-
[1.88, "o", "-"]
|
|
48
|
-
[1.91, "o", "-"]
|
|
49
|
-
[1.94, "o", "n"]
|
|
50
|
-
[1.97, "o", "a"]
|
|
51
|
-
[2.00, "o", "m"]
|
|
52
|
-
[2.04, "o", "e"]
|
|
53
|
-
[2.08, "o", " "]
|
|
54
|
-
[2.12, "o", "\""]
|
|
55
|
-
[2.16, "o", "A"]
|
|
56
|
-
[2.20, "o", "c"]
|
|
57
|
-
[2.24, "o", "m"]
|
|
58
|
-
[2.28, "o", "e"]
|
|
59
|
-
[2.31, "o", " "]
|
|
60
|
-
[2.35, "o", "B"]
|
|
61
|
-
[2.39, "o", "o"]
|
|
62
|
-
[2.43, "o", "t"]
|
|
63
|
-
[2.47, "o", "\""]
|
|
64
|
-
[2.51, "o", " "]
|
|
65
|
-
[2.54, "o", "-"]
|
|
66
|
-
[2.58, "o", "-"]
|
|
67
|
-
[2.62, "o", "m"]
|
|
68
|
-
[2.66, "o", "e"]
|
|
69
|
-
[2.70, "o", "m"]
|
|
70
|
-
[2.74, "o", "o"]
|
|
71
|
-
[2.78, "o", "r"]
|
|
72
|
-
[2.81, "o", "y"]
|
|
73
|
-
[2.85, "o", " "]
|
|
74
|
-
[2.89, "o", "o"]
|
|
75
|
-
[2.93, "o", "n"]
|
|
76
|
-
[2.97, "o", " "]
|
|
77
|
-
[3.01, "o", "-"]
|
|
78
|
-
[3.04, "o", "-"]
|
|
79
|
-
[3.08, "o", "d"]
|
|
80
|
-
[3.12, "o", "r"]
|
|
81
|
-
[3.16, "o", "y"]
|
|
82
|
-
[3.20, "o", "-"]
|
|
83
|
-
[3.24, "o", "r"]
|
|
84
|
-
[3.28, "o", "u"]
|
|
85
|
-
[3.31, "o", "n"]
|
|
86
|
-
[3.35, "o", " "]
|
|
87
|
-
[3.39, "o", "a"]
|
|
88
|
-
[3.43, "o", "n"]
|
|
89
|
-
[3.47, "o", "d"]
|
|
90
|
-
[3.51, "o", " "]
|
|
91
|
-
[3.54, "o", "s"]
|
|
92
|
-
[3.58, "o", "h"]
|
|
93
|
-
[3.62, "o", "o"]
|
|
94
|
-
[3.66, "o", "w"]
|
|
95
|
-
[3.70, "o", " "]
|
|
96
|
-
[3.74, "o", "t"]
|
|
97
|
-
[3.78, "o", "h"]
|
|
98
|
-
[3.81, "o", "e"]
|
|
99
|
-
[3.85, "o", " "]
|
|
100
|
-
[3.89, "o", "o"]
|
|
101
|
-
[3.93, "o", "u"]
|
|
102
|
-
[3.97, "o", "t"]
|
|
103
|
-
[4.00, "o", "p"]
|
|
104
|
-
[4.04, "o", "u"]
|
|
105
|
-
[4.08, "o", "t"]
|
|
106
|
-
[4.12, "o", "'"]
|
|
107
|
-
[4.16, "o", "\r\n"]
|
|
108
|
-
[4.51, "o", "\u001b[90m✳ Working…\u001b[0m"]
|
|
109
|
-
[5.71, "o", "\r\u001b[K"]
|
|
110
|
-
[5.91, "o", "Here's the raw output of the command:\r\n"]
|
|
111
|
-
[5.96, "o", "\r\n"]
|
|
112
|
-
[6.01, "o", "→ DRY RUN — nothing will be written. Plan for /var/folders/9m/bx78tc212xd_08yq3phm8sjr0000gn/T/tmp.BDfMtWiTgB:\r\n"]
|
|
113
|
-
[6.06, "o", "\r\n"]
|
|
114
|
-
[6.11, "o", " Profile : automation\r\n"]
|
|
115
|
-
[6.16, "o", " Project : Acme Bot (tmp-bdfmtwitgb)\r\n"]
|
|
116
|
-
[6.21, "o", " Repo : acme/bot\r\n"]
|
|
117
|
-
[6.26, "o", " Board : off (gh issues only)\r\n"]
|
|
118
|
-
[6.31, "o", " Memory : true Plans: markdown Lang: English\r\n"]
|
|
119
|
-
[6.36, "o", " Spec Kit: false Pre-push gate: false\r\n"]
|
|
120
|
-
[6.41, "o", "\r\n"]
|
|
121
|
-
[6.46, "o", " Would write:\r\n"]
|
|
122
|
-
[6.51, "o", " CLAUDE.md\r\n"]
|
|
123
|
-
[6.56, "o", " .claude/kit.config.json\r\n"]
|
|
124
|
-
[6.61, "o", " .claude/settings.local.json\r\n"]
|
|
125
|
-
[6.66, "o", " .claude/rules/communication-style.md\r\n"]
|
|
126
|
-
[6.71, "o", " .claude/rules/task-management.md\r\n"]
|
|
127
|
-
[6.76, "o", " .claude/rules/plan-output-format.md\r\n"]
|
|
128
|
-
[6.81, "o", " .claude/rules/mempalace.md\r\n"]
|
|
129
|
-
[6.86, "o", " .claude/agents/pm/AGENT.md\r\n"]
|
|
130
|
-
[6.91, "o", " .claude/agents/n8n/AGENT.md\r\n"]
|
|
131
|
-
[6.96, "o", " .claude/agents/generalist/AGENT.md\r\n"]
|
|
132
|
-
[7.01, "o", " .claude/skills/task-new/SKILL.md\r\n"]
|
|
133
|
-
[7.06, "o", " .claude/skills/task-start/SKILL.md\r\n"]
|
|
134
|
-
[7.11, "o", " .claude/skills/task-pr/SKILL.md\r\n"]
|
|
135
|
-
[7.16, "o", " .claude/skills/task-pr-merge/SKILL.md\r\n"]
|
|
136
|
-
[7.21, "o", " .claude/skills/task-sync/SKILL.md\r\n"]
|
|
137
|
-
[7.26, "o", " .claude/skills/task-close/SKILL.md\r\n"]
|
|
138
|
-
[7.31, "o", " .claude/skills/morning-briefing/SKILL.md\r\n"]
|
|
139
|
-
[7.36, "o", " .claude\r\n"]
|
|
140
|
-
[7.41, "o", "/skills/karpathy-guidelines/SKILL.md\r\n"]
|
|
141
|
-
[7.46, "o", " scripts/ (kit-config.sh, gh-project.sh, setup-labels.sh, setup-milestones.sh, capture-project-ids.sh, task-sync.sh)\r\n"]
|
|
142
|
-
[7.51, "o", " .claude/hooks/mempal_session_start.sh + mempal_save.sh + mempal_precompact.sh (SessionStart / Stop / PreCompact)\r\n"]
|
|
143
|
-
[7.56, "o", "\r\n"]
|
|
144
|
-
[7.61, "o", " Onboarding would offer (opt-in): gh auth · MemPalace (mempalace-mcp) · gws (if you use Google Workspace)\r\n"]
|
|
145
|
-
[7.66, "o", "\r\n"]
|
|
146
|
-
[7.71, "o", "Re-run without --dry-run to write these files.\r\n"]
|
|
147
|
-
[8.26, "o", "\u001b[1;36m➜ claude-kit\u001b[0m "]
|
|
148
|
-
[10.06, "o", " "]
|
|
Binary file
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
# shellcheck shell=bash
|
|
3
|
-
# gh-project-test.sh — covers the board owner-type resolution adoption needs (#118). A Projects v2
|
|
4
|
-
# board can live under a USER login or an ORGANIZATION login, and each needs a different GraphQL root
|
|
5
|
-
# (user(login:) vs organization(login:)). A user-only query silently returns null for an org board.
|
|
6
|
-
# Covered: _ghp_owner_root resolution, kit-config exporting KIT_PROJECT_OWNER_TYPE, and
|
|
7
|
-
# capture-project-ids.sh selecting the matching root end-to-end (over the forge shim — no network).
|
|
8
|
-
# Run: bash scripts/lib/gh-project-test.sh
|
|
9
|
-
# errors: strict — a test runner: rc 1 on any failed assertion
|
|
10
|
-
set -u
|
|
11
|
-
ROOT="$(cd "$(dirname "$0")/../.." && pwd)"
|
|
12
|
-
LIB="$ROOT/scripts/lib"
|
|
13
|
-
fail=0
|
|
14
|
-
t() { if [ "$2" = "$3" ]; then echo "ok: $1"; else echo "FAIL: $1 -> got '[$2]' want '[$3]'"; fail=1; fi; }
|
|
15
|
-
has() { case "$2" in *"$3"*) echo "ok: $1" ;; *) echo "FAIL: $1 -> '$2' lacks '$3'"; fail=1 ;; esac; }
|
|
16
|
-
command -v jq >/dev/null 2>&1 || { echo "gh-project-test: jq required — skipping"; exit 0; }
|
|
17
|
-
|
|
18
|
-
tmp="$(mktemp -d)"; trap 'rm -rf "$tmp"' EXIT
|
|
19
|
-
|
|
20
|
-
# ── _ghp_owner_root resolves from KIT_PROJECT_OWNER_TYPE ───────────────────────────────────────
|
|
21
|
-
# shellcheck source=/dev/null
|
|
22
|
-
( KIT_PROJECT_OWNER_TYPE=organization; source "$LIB/gh-project.sh"; [ "$(_ghp_owner_root)" = organization ] ) \
|
|
23
|
-
&& echo "ok: owner_root=organization for org type" || { echo "FAIL: org owner_root"; fail=1; }
|
|
24
|
-
( KIT_PROJECT_OWNER_TYPE=org; source "$LIB/gh-project.sh"; [ "$(_ghp_owner_root)" = organization ] ) \
|
|
25
|
-
&& echo "ok: owner_root=organization for 'org' shorthand" || { echo "FAIL: org shorthand"; fail=1; }
|
|
26
|
-
( unset KIT_PROJECT_OWNER_TYPE; KIT_CONFIG=/nonexistent; source "$LIB/gh-project.sh"; [ "$(_ghp_owner_root)" = user ] ) \
|
|
27
|
-
&& echo "ok: owner_root=user by default" || { echo "FAIL: default user owner_root"; fail=1; }
|
|
28
|
-
|
|
29
|
-
# ── kit-config exports KIT_PROJECT_OWNER_TYPE from config ──────────────────────────────────────
|
|
30
|
-
printf '%s' '{"github":{"projectOwnerType":"organization"}}' > "$tmp/org.json"
|
|
31
|
-
got="$(KIT_CONFIG="$tmp/org.json" bash -c "source '$LIB/kit-config.sh'; load_kit_config >/dev/null 2>&1; printf '%s' \"\$KIT_PROJECT_OWNER_TYPE\"")"
|
|
32
|
-
t "kit-config exports owner type from config" "$got" "organization"
|
|
33
|
-
printf '%s' '{"github":{}}' > "$tmp/none.json"
|
|
34
|
-
got="$(KIT_CONFIG="$tmp/none.json" bash -c "source '$LIB/kit-config.sh'; load_kit_config >/dev/null 2>&1; printf '%s' \"\$KIT_PROJECT_OWNER_TYPE\"")"
|
|
35
|
-
t "kit-config defaults owner type to user" "$got" "user"
|
|
36
|
-
|
|
37
|
-
# ── capture-project-ids.sh selects the matching GraphQL root (over the forge shim) ──────────────
|
|
38
|
-
# Isolated scripts dir: a copy of the script + a symlink to the real lib, so $0-relative sourcing +
|
|
39
|
-
# OUT path stay inside tmp. The shim's curl logs every request — a GraphQL call is ONE
|
|
40
|
-
# `POST graphql {"query":…,"variables":{…}}` line — and a fixture reads the query root out of the
|
|
41
|
-
# body and answers JSON under that same root.
|
|
42
|
-
mkdir -p "$tmp/scripts" "$tmp/bin"
|
|
43
|
-
cp "$ROOT/scripts/capture-project-ids.sh" "$tmp/scripts/"
|
|
44
|
-
ln -s "$LIB" "$tmp/scripts/lib"
|
|
45
|
-
# shellcheck source=/dev/null
|
|
46
|
-
. "$LIB/test-forge-shim.sh"; forge_shim_install "$tmp/bin"
|
|
47
|
-
export GH_TOKEN=test-token CCKIT_FORGE=github GH_LOG="$tmp/gh.log"
|
|
48
|
-
cat > "$tmp/root-fixture.sh" <<'SH'
|
|
49
|
-
case "$method $ep" in "POST graphql")
|
|
50
|
-
q="$(printf '%s' "$body" | jq -r '.query // ""')"
|
|
51
|
-
case "$q" in *"organization(login"*) root=organization ;; *) root=user ;; esac
|
|
52
|
-
out="{\"data\":{\"$root\":{\"projectV2\":{\"id\":\"PVT_org123\",\"fields\":{\"nodes\":[
|
|
53
|
-
{\"__typename\":\"ProjectV2SingleSelectField\",\"id\":\"F_status\",\"name\":\"Status\",\"options\":[{\"id\":\"O_todo\",\"name\":\"Todo\"}]},
|
|
54
|
-
{\"__typename\":\"ProjectV2FieldCommon\",\"id\":\"F_plan\",\"name\":\"Plan Link\"}
|
|
55
|
-
]}}}}}" ;;
|
|
56
|
-
esac
|
|
57
|
-
SH
|
|
58
|
-
|
|
59
|
-
run_capture() { # <owner-type>
|
|
60
|
-
printf '%s' "{\"github\":{\"projectsV2\":true,\"owner\":\"acme\",\"projectNumber\":3,\"projectOwnerType\":\"$1\"}}" > "$tmp/cfg.json"
|
|
61
|
-
: > "$GH_LOG"
|
|
62
|
-
GH_FIXTURE="$tmp/root-fixture.sh" KIT_CONFIG="$tmp/cfg.json" PATH="$tmp/bin:$PATH" \
|
|
63
|
-
bash "$tmp/scripts/capture-project-ids.sh" >/dev/null 2>&1
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
run_capture organization
|
|
67
|
-
rc=$?
|
|
68
|
-
t "capture rc 0 (org board)" "$rc" "0"
|
|
69
|
-
has "capture uses organization root for an org board" "$(cat "$GH_LOG")" "organization(login"
|
|
70
|
-
t "capture is one GraphQL POST, no gh subcommand" "$(grep -c '^POST graphql ' "$GH_LOG"):$(grep -c '^GH-SUBCOMMAND' "$GH_LOG")" "1:0"
|
|
71
|
-
has "capture sends the login and the number as variables" "$(cat "$GH_LOG")" '"variables":{"login":"acme","number":3}'
|
|
72
|
-
[ -f "$tmp/scripts/.project-ids.env" ] && has "org capture wrote PROJECT_ID" "$(cat "$tmp/scripts/.project-ids.env")" "PROJECT_ID=PVT_org123" || { echo "FAIL: no env written (org)"; fail=1; }
|
|
73
|
-
has "org capture wrote a field id" "$(cat "$tmp/scripts/.project-ids.env" 2>/dev/null)" "STATUS_FIELD_ID=F_status"
|
|
74
|
-
rm -f "$tmp/scripts/.project-ids.env"
|
|
75
|
-
|
|
76
|
-
run_capture user
|
|
77
|
-
has "capture uses user root for a user board" "$(cat "$GH_LOG")" "user(login"
|
|
78
|
-
|
|
79
|
-
# ── project_issue_status: read an issue's board Status via the cheap issue.projectItems query (#124) ─
|
|
80
|
-
# The issue.projectItems Status query: issue is "In Progress" on project #3 (and Todo on some other).
|
|
81
|
-
# GH_GRAPHQL is what the shim answers to every POST graphql.
|
|
82
|
-
export GH_GRAPHQL='{"data":{"repository":{"issue":{"projectItems":{"nodes":[
|
|
83
|
-
{"project":{"number":7},"fieldValueByName":{"name":"Todo"}},
|
|
84
|
-
{"project":{"number":3},"fieldValueByName":{"name":"In Progress"}}
|
|
85
|
-
]}}}}}'
|
|
86
|
-
: > "$GH_LOG"
|
|
87
|
-
st="$(PATH="$tmp/bin:$PATH" KIT_REPO="acme/app" KIT_PROJECT_NUMBER=3 bash -c "source '$LIB/gh-project.sh'; project_issue_status 42")"
|
|
88
|
-
t "project_issue_status returns the board Status for our project" "$st" "In Progress"
|
|
89
|
-
has "project_issue_status asks for issue 42 of acme/app" "$(cat "$GH_LOG")" '"variables":{"o":"acme","r":"app","n":42}'
|
|
90
|
-
# unresolved repo/number -> non-zero, no guess.
|
|
91
|
-
PATH="$tmp/bin:$PATH" KIT_REPO="" KIT_PROJECT_NUMBER="" bash -c "source '$LIB/gh-project.sh'; project_issue_status 42" >/dev/null 2>&1
|
|
92
|
-
t "project_issue_status fails (rc 1) with unresolved repo/number" "$?" "1"
|
|
93
|
-
# no forge: every board step is skipped with the one notice, rc 0, and nothing is requested (#396)
|
|
94
|
-
: > "$GH_LOG"
|
|
95
|
-
out="$(PATH="$tmp/bin:$PATH" CCKIT_FORGE=none KIT_REPO="acme/app" KIT_PROJECT_NUMBER=3 bash -c "source '$LIB/gh-project.sh'; project_issue_status 42; echo rc=\$?" 2>"$tmp/noforge.err")"
|
|
96
|
-
t "no forge: project_issue_status is a quiet rc 0" "$out" "rc=0"
|
|
97
|
-
has "no forge: the board notice names the cause" "$(cat "$tmp/noforge.err")" "board step skipped (no forge is configured; see forge.provider)"
|
|
98
|
-
t "no forge: no request was made" "$(wc -l < "$GH_LOG" | tr -d ' ')" "0"
|
|
99
|
-
|
|
100
|
-
# ── role_option_id: any board Role option resolves, not a fixed list (#378) ─────────────────────
|
|
101
|
-
# capture-project-ids.sh writes ROLE_OPT_<NAME> for every option the board has; the lookup reads
|
|
102
|
-
# that variable by normalized name. Run under bash AND zsh — these libs are sourced into both, and
|
|
103
|
-
# bash-only ${!var} indirection dies in zsh with "bad substitution".
|
|
104
|
-
for rsh in bash zsh; do
|
|
105
|
-
command -v "$rsh" >/dev/null 2>&1 || continue
|
|
106
|
-
rq() { # <role> -> stdout of role_option_id (stderr to $tmp/rerr)
|
|
107
|
-
ROLE_OPT_BACKEND=x ROLE_OPT_TECH_LEAD=tl ROLE_OPT_DATA_ENG=de KIT_CONFIG=/nonexistent \
|
|
108
|
-
"$rsh" -c "source '$LIB/gh-project.sh'; role_option_id \"\$1\"" _ "$1" 2>"$tmp/rerr"
|
|
109
|
-
}
|
|
110
|
-
t "[$rsh] role_option_id backend" "$(rq backend)" "x"
|
|
111
|
-
t "[$rsh] role_option_id Backend" "$(rq Backend)" "x"
|
|
112
|
-
t "[$rsh] role_option_id Tech Lead" "$(rq 'Tech Lead')" "tl"
|
|
113
|
-
t "[$rsh] role_option_id data-eng" "$(rq data-eng)" "de"
|
|
114
|
-
t "[$rsh] known role is silent" "$(rq backend >/dev/null; cat "$tmp/rerr")" ""
|
|
115
|
-
t "[$rsh] unknown role -> empty stdout" "$(rq astronaut)" ""
|
|
116
|
-
rq astronaut >/dev/null
|
|
117
|
-
has "[$rsh] unknown role warns on stderr" "$(cat "$tmp/rerr")" "ROLE_OPT_ASTRONAUT"
|
|
118
|
-
has "[$rsh] the warning names the role" "$(cat "$tmp/rerr")" "astronaut"
|
|
119
|
-
t "[$rsh] empty role -> empty, no warning" "$(rq ''; cat "$tmp/rerr")" ""
|
|
120
|
-
# A name outside ^[A-Z0-9_]+$ must never reach the variable expansion.
|
|
121
|
-
rm -f "$tmp/pwned"
|
|
122
|
-
for evil in "x\$(touch $tmp/pwned)" "x;touch $tmp/pwned" "x\`touch $tmp/pwned\`" "BACKEND
|
|
123
|
-
\$(touch $tmp/pwned)" 'a}b' 'é'; do
|
|
124
|
-
t "[$rsh] unsafe role name -> empty stdout" "$(rq "$evil")" ""
|
|
125
|
-
rq "$evil" >/dev/null
|
|
126
|
-
has "[$rsh] unsafe role name warns" "$(cat "$tmp/rerr")" "role"
|
|
127
|
-
case "$(cat "$tmp/rerr")" in *"bad substitution"*|*"parse error"*|*"syntax error"*)
|
|
128
|
-
echo "FAIL: [$rsh] unsafe role name reached the shell: $(cat "$tmp/rerr")"; fail=1 ;; esac
|
|
129
|
-
done
|
|
130
|
-
[ -e "$tmp/pwned" ] && { echo "FAIL: [$rsh] role_option_id evaluated its argument"; fail=1; } \
|
|
131
|
-
|| echo "ok: [$rsh] role_option_id evaluates nothing from its argument"
|
|
132
|
-
done
|
|
133
|
-
|
|
134
|
-
[ "$fail" -eq 0 ] && echo "ALL OK (gh-project)" || echo "gh-project: FAILURES"
|
|
135
|
-
exit "$fail"
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# review-lint-baseline.txt — generated by scripts/review-lint.sh --update
|
|
2
|
-
# Pre-existing hits, GRANDFATHERED per file: they may stay, but may never grow, and a
|
|
3
|
-
# file not listed here must have zero hits. Fix a file and re-run --update to tighten.
|
|
4
|
-
#
|
|
5
|
-
# <RULE>\t<path>\t<count> (TAB-separated: a path may contain a space)
|
|
6
|
-
refs-word-splitting scripts/lib/effort-ops-test.sh 1
|
|
7
|
-
fence-missing-language .claude/rules/branch-naming.md 1
|
|
8
|
-
fence-missing-language .claude/rules/effort-model.md 1
|
|
9
|
-
fence-missing-language .claude/skills/karpathy-guidelines/SKILL.md 1
|
|
10
|
-
fence-missing-language CONTRIBUTING.md 1
|
|
11
|
-
fence-missing-language README.md 1
|
|
12
|
-
fence-missing-language skills/kit-autopilot/SKILL.md 2
|
|
13
|
-
fence-missing-language skills/kit-dev/SKILL.md 1
|
|
14
|
-
fence-missing-language skills/kit-next/SKILL.md 3
|
|
15
|
-
fence-missing-language skills/kit-plan-next/SKILL.md 2
|
|
16
|
-
fence-missing-language skills/kit-task-sync/SKILL.md 1
|
|
17
|
-
fence-missing-language skills/kit-ux-audit/references/graph-model.md 2
|
|
18
|
-
fence-missing-language skills/kit-ux-audit/references/heuristics.md 1
|
|
19
|
-
fence-missing-language templates/agents/security.md 1
|
|
20
|
-
fence-missing-language templates/agents/ux.md 1
|
|
21
|
-
fence-missing-language templates/rules/branch-naming.md 1
|
|
22
|
-
fence-missing-language templates/rules/effort-model.md 1
|
|
23
|
-
fence-missing-language templates/rules/plan-next.md 1
|
|
24
|
-
fence-missing-language templates/rules/plan-output-format.md 1
|
|
25
|
-
fence-missing-language templates/skills/copywriting/references/copy-frameworks.md 5
|
|
26
|
-
fence-missing-language templates/skills/feature-build-refine/SKILL.md 2
|
|
27
|
-
fence-missing-language templates/skills/karpathy-guidelines/SKILL.md 1
|
|
28
|
-
fence-missing-language templates/skills/speckit/SKILL.md 2
|
package/scripts/verbs.baseline
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
# verbs.baseline — the top-level verb count scripts/verbs-ratchet.sh holds the line at (#557).
|
|
2
|
-
# The number of `verb` rows in scripts/lib/verbs.tsv may only go down. A rename keeps the old name
|
|
3
|
-
# as an `alias` row, which does not count. When a verb is retired or folded under another, lower
|
|
4
|
-
# this number in the same change; the gate fails until you do.
|
|
5
|
-
46
|