agemon 0.1.0 → 6.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +983 -30
- package/assets/skills/architecture/agemon-architecture/LICENSE +21 -0
- package/assets/skills/architecture/agemon-architecture/NOTICE.md +9 -0
- package/assets/skills/architecture/agemon-architecture/SKILL.md +275 -0
- package/assets/skills/code-quality/agemon-clean-code/LICENSE +21 -0
- package/assets/skills/code-quality/agemon-clean-code/NOTICE.md +9 -0
- package/assets/skills/code-quality/agemon-clean-code/SKILL.md +78 -0
- package/assets/skills/code-quality/agemon-house-rules/SKILL.md +103 -0
- package/assets/skills/commit/agemon-commit/SKILL.md +87 -0
- package/assets/skills/design/agemon-design/LICENSE +21 -0
- package/assets/skills/design/agemon-design/NOTICE.md +43 -0
- package/assets/skills/design/agemon-design/SKILL.md +128 -0
- package/assets/skills/design/agemon-design/references/accessibility.md +182 -0
- package/assets/skills/design/agemon-design/references/actions.md +215 -0
- package/assets/skills/design/agemon-design/references/ai-chat.md +158 -0
- package/assets/skills/design/agemon-design/references/brief.md +190 -0
- package/assets/skills/design/agemon-design/references/color.md +216 -0
- package/assets/skills/design/agemon-design/references/components.md +91 -0
- package/assets/skills/design/agemon-design/references/copy.md +300 -0
- package/assets/skills/design/agemon-design/references/core-rules.md +166 -0
- package/assets/skills/design/agemon-design/references/craft-intent.md +162 -0
- package/assets/skills/design/agemon-design/references/dashboard.md +131 -0
- package/assets/skills/design/agemon-design/references/dataviz.md +197 -0
- package/assets/skills/design/agemon-design/references/finish-bar.md +243 -0
- package/assets/skills/design/agemon-design/references/forms.md +192 -0
- package/assets/skills/design/agemon-design/references/heuristics.md +319 -0
- package/assets/skills/design/agemon-design/references/inspiration.md +287 -0
- package/assets/skills/design/agemon-design/references/layout.md +236 -0
- package/assets/skills/design/agemon-design/references/loops.md +155 -0
- package/assets/skills/design/agemon-design/references/metadata.md +98 -0
- package/assets/skills/design/agemon-design/references/modern-css.md +448 -0
- package/assets/skills/design/agemon-design/references/motion.md +434 -0
- package/assets/skills/design/agemon-design/references/personas.md +206 -0
- package/assets/skills/design/agemon-design/references/preset-dashboard.md +109 -0
- package/assets/skills/design/agemon-design/references/preset-editorial.md +94 -0
- package/assets/skills/design/agemon-design/references/preset-minimal.md +93 -0
- package/assets/skills/design/agemon-design/references/principles-catalog.md +299 -0
- package/assets/skills/design/agemon-design/references/recipe-auth.md +88 -0
- package/assets/skills/design/agemon-design/references/recipe-dashboard.md +130 -0
- package/assets/skills/design/agemon-design/references/recipe-landing.md +120 -0
- package/assets/skills/design/agemon-design/references/responsive.md +168 -0
- package/assets/skills/design/agemon-design/references/review.md +340 -0
- package/assets/skills/design/agemon-design/references/routing.md +143 -0
- package/assets/skills/design/agemon-design/references/sound.md +150 -0
- package/assets/skills/design/agemon-design/references/spec.md +123 -0
- package/assets/skills/design/agemon-design/references/stack.md +522 -0
- package/assets/skills/design/agemon-design/references/stage-assets.md +106 -0
- package/assets/skills/design/agemon-design/references/stage-build.md +46 -0
- package/assets/skills/design/agemon-design/references/stage-critique.md +34 -0
- package/assets/skills/design/agemon-design/references/stage-directions.md +44 -0
- package/assets/skills/design/agemon-design/references/stage-intake.md +34 -0
- package/assets/skills/design/agemon-design/references/stage-verify.md +44 -0
- package/assets/skills/design/agemon-design/references/state-design.md +188 -0
- package/assets/skills/design/agemon-design/references/tells-2026-11.md +32 -0
- package/assets/skills/design/agemon-design/references/themes.md +233 -0
- package/assets/skills/design/agemon-design/references/third-party-licenses.md +323 -0
- package/assets/skills/design/agemon-design/references/tokens.md +350 -0
- package/assets/skills/design/agemon-design/references/typography.md +248 -0
- package/assets/skills/design/agemon-design/scripts/audit-page.js +532 -0
- package/assets/skills/design/agemon-design/scripts/check-source.mjs +358 -0
- package/assets/skills/design/agemon-design/scripts/deal.mjs +231 -0
- package/assets/skills/design/agemon-design/scripts/inventory.mjs +676 -0
- package/assets/skills/essentials/web-design-guidelines/LICENSE +21 -0
- package/assets/skills/essentials/web-design-guidelines/NOTICE.md +14 -0
- package/assets/skills/essentials/web-design-guidelines/SKILL.md +18 -0
- package/assets/skills/essentials/web-design-guidelines/references/guidelines.md +184 -0
- package/assets/skills/essentials/writing-guidelines/LICENSE +21 -0
- package/assets/skills/essentials/writing-guidelines/NOTICE.md +14 -0
- package/assets/skills/essentials/writing-guidelines/SKILL.md +18 -0
- package/assets/skills/essentials/writing-guidelines/references/guidelines.md +250 -0
- package/assets/skills/founder/agemon-founder-board/LICENSE +21 -0
- package/assets/skills/founder/agemon-founder-board/NOTICE.md +11 -0
- package/assets/skills/founder/agemon-founder-board/SKILL.md +111 -0
- package/assets/skills/founder/agemon-founder-board/lenses.md +84 -0
- package/assets/skills/founder/agemon-founder-brand/LICENSE +21 -0
- package/assets/skills/founder/agemon-founder-brand/NOTICE.md +12 -0
- package/assets/skills/founder/agemon-founder-brand/SKILL.md +77 -0
- package/assets/skills/founder/agemon-founder-cfo/LICENSE +21 -0
- package/assets/skills/founder/agemon-founder-cfo/NOTICE.md +12 -0
- package/assets/skills/founder/agemon-founder-cfo/SKILL.md +109 -0
- package/assets/skills/founder/agemon-founder-cfo/example.json +27 -0
- package/assets/skills/founder/agemon-founder-cfo/unit_economics.py +270 -0
- package/assets/skills/founder/agemon-founder-competitors/LICENSE +21 -0
- package/assets/skills/founder/agemon-founder-competitors/NOTICE.md +12 -0
- package/assets/skills/founder/agemon-founder-competitors/SKILL.md +84 -0
- package/assets/skills/founder/agemon-founder-consumer/LICENSE +21 -0
- package/assets/skills/founder/agemon-founder-consumer/NOTICE.md +11 -0
- package/assets/skills/founder/agemon-founder-consumer/SKILL.md +126 -0
- package/assets/skills/founder/agemon-founder-consumer/customer.example.json +34 -0
- package/assets/skills/founder/agemon-founder-consumer/panel.py +424 -0
- package/assets/skills/founder/agemon-founder-consumer/pitch.example.md +3 -0
- package/assets/skills/founder/agemon-founder-launch/LICENSE +21 -0
- package/assets/skills/founder/agemon-founder-launch/NOTICE.md +11 -0
- package/assets/skills/founder/agemon-founder-launch/SKILL.md +65 -0
- package/assets/skills/founder/agemon-founder-marketing/LICENSE +21 -0
- package/assets/skills/founder/agemon-founder-marketing/NOTICE.md +11 -0
- package/assets/skills/founder/agemon-founder-marketing/SKILL.md +80 -0
- package/assets/skills/founder/agemon-founder-offer/LICENSE +21 -0
- package/assets/skills/founder/agemon-founder-offer/NOTICE.md +11 -0
- package/assets/skills/founder/agemon-founder-offer/SKILL.md +75 -0
- package/assets/skills/founder/agemon-founder-ops/LICENSE +21 -0
- package/assets/skills/founder/agemon-founder-ops/NOTICE.md +12 -0
- package/assets/skills/founder/agemon-founder-ops/SKILL.md +77 -0
- package/assets/skills/founder/agemon-founder-plan/LICENSE +21 -0
- package/assets/skills/founder/agemon-founder-plan/NOTICE.md +11 -0
- package/assets/skills/founder/agemon-founder-plan/SKILL.md +88 -0
- package/assets/skills/founder/agemon-founder-plan/compile.py +178 -0
- package/assets/skills/founder/agemon-founder-pricing/LICENSE +21 -0
- package/assets/skills/founder/agemon-founder-pricing/NOTICE.md +12 -0
- package/assets/skills/founder/agemon-founder-pricing/SKILL.md +92 -0
- package/assets/skills/founder/agemon-founder-pricing/van_westendorp.py +172 -0
- package/assets/skills/geo-seo/geo/LICENSE +21 -0
- package/assets/skills/geo-seo/geo/NOTICE.md +18 -0
- package/assets/skills/geo-seo/geo/SKILL.md +145 -0
- package/assets/skills/geo-seo/geo-audit/LICENSE +21 -0
- package/assets/skills/geo-seo/geo-audit/NOTICE.md +17 -0
- package/assets/skills/geo-seo/geo-audit/SKILL.md +371 -0
- package/assets/skills/geo-seo/geo-audit/references/ai-visibility.md +233 -0
- package/assets/skills/geo-seo/geo-audit/references/content.md +329 -0
- package/assets/skills/geo-seo/geo-audit/references/platform-analysis.md +294 -0
- package/assets/skills/geo-seo/geo-audit/references/schema.md +383 -0
- package/assets/skills/geo-seo/geo-audit/references/technical.md +368 -0
- package/assets/skills/geo-seo/geo-brand-mentions/LICENSE +21 -0
- package/assets/skills/geo-seo/geo-brand-mentions/NOTICE.md +15 -0
- package/assets/skills/geo-seo/geo-brand-mentions/SKILL.md +459 -0
- package/assets/skills/geo-seo/geo-citability/LICENSE +21 -0
- package/assets/skills/geo-seo/geo-citability/NOTICE.md +14 -0
- package/assets/skills/geo-seo/geo-citability/SKILL.md +320 -0
- package/assets/skills/geo-seo/geo-content/LICENSE +21 -0
- package/assets/skills/geo-seo/geo-content/NOTICE.md +14 -0
- package/assets/skills/geo-seo/geo-content/SKILL.md +352 -0
- package/assets/skills/geo-seo/geo-crawlers/LICENSE +21 -0
- package/assets/skills/geo-seo/geo-crawlers/NOTICE.md +15 -0
- package/assets/skills/geo-seo/geo-crawlers/SKILL.md +388 -0
- package/assets/skills/geo-seo/geo-llmstxt/LICENSE +21 -0
- package/assets/skills/geo-seo/geo-llmstxt/NOTICE.md +14 -0
- package/assets/skills/geo-seo/geo-llmstxt/SKILL.md +433 -0
- package/assets/skills/geo-seo/geo-platform-optimizer/LICENSE +21 -0
- package/assets/skills/geo-seo/geo-platform-optimizer/NOTICE.md +14 -0
- package/assets/skills/geo-seo/geo-platform-optimizer/SKILL.md +282 -0
- package/assets/skills/geo-seo/geo-report/LICENSE +21 -0
- package/assets/skills/geo-seo/geo-report/NOTICE.md +14 -0
- package/assets/skills/geo-seo/geo-report/SKILL.md +406 -0
- package/assets/skills/geo-seo/geo-report-pdf/LICENSE +21 -0
- package/assets/skills/geo-seo/geo-report-pdf/NOTICE.md +20 -0
- package/assets/skills/geo-seo/geo-report-pdf/SKILL.md +153 -0
- package/assets/skills/geo-seo/geo-report-pdf/templates/geo-report-template.html +548 -0
- package/assets/skills/geo-seo/geo-schema/LICENSE +21 -0
- package/assets/skills/geo-seo/geo-schema/NOTICE.md +16 -0
- package/assets/skills/geo-seo/geo-schema/SKILL.md +396 -0
- package/assets/skills/geo-seo/geo-technical/LICENSE +21 -0
- package/assets/skills/geo-seo/geo-technical/NOTICE.md +15 -0
- package/assets/skills/geo-seo/geo-technical/SKILL.md +566 -0
- package/assets/skills/output-style/agemon-adhd/LICENSE +21 -0
- package/assets/skills/output-style/agemon-adhd/NOTICE.md +13 -0
- package/assets/skills/output-style/agemon-adhd/SKILL.md +138 -0
- package/assets/skills/performance/agemon-performance/NOTICE.md +1 -0
- package/assets/skills/performance/agemon-performance/SKILL.md +76 -0
- package/assets/skills/security/agemon-security/LICENSE +21 -0
- package/assets/skills/security/agemon-security/NOTICE.md +8 -0
- package/assets/skills/security/agemon-security/SKILL.md +356 -0
- package/assets/skills/security/agemon-security-audit/AI-AND-LLM.md +83 -0
- package/assets/skills/security/agemon-security-audit/ATTACK-CLASSES.md +130 -0
- package/assets/skills/security/agemon-security-audit/CLIENT-SIDE.md +83 -0
- package/assets/skills/security/agemon-security-audit/CLOUD-AND-DEPLOYMENT.md +86 -0
- package/assets/skills/security/agemon-security-audit/DATA-ISOLATION-AND-LIFECYCLE.md +84 -0
- package/assets/skills/security/agemon-security-audit/DESKTOP-MOBILE-AND-LOCAL-IPC.md +89 -0
- package/assets/skills/security/agemon-security-audit/HUNTING.md +251 -0
- package/assets/skills/security/agemon-security-audit/LICENSE +21 -0
- package/assets/skills/security/agemon-security-audit/MEMORY-SAFETY-AND-BINARY.md +101 -0
- package/assets/skills/security/agemon-security-audit/NOTICE.md +12 -0
- package/assets/skills/security/agemon-security-audit/PROTOCOLS-RPC-AND-MESSAGING.md +81 -0
- package/assets/skills/security/agemon-security-audit/RECONNAISSANCE.md +156 -0
- package/assets/skills/security/agemon-security-audit/RESOURCE-EXHAUSTION-AND-AVAILABILITY.md +78 -0
- package/assets/skills/security/agemon-security-audit/SKILL.md +192 -0
- package/assets/skills/security/agemon-security-audit/SUPPLY-CHAIN-AND-RELEASE.md +73 -0
- package/assets/skills/security/agemon-security-audit/VALIDATION-AND-REPORTING.md +186 -0
- package/assets/skills/security/agemon-security-audit/WEB-PROTOCOL-AND-AUTH.md +105 -0
- package/assets/skills/security/agemon-security-audit/report-schema.json +461 -0
- package/assets/skills/security/agemon-security-audit/validate-coverage-ledger.cjs +872 -0
- package/assets/skills/security/agemon-security-audit/validate-findings.cjs +773 -0
- package/assets/skills/self-review/agemon-review-intake/LICENSE +21 -0
- package/assets/skills/self-review/agemon-review-intake/NOTICE.md +9 -0
- package/assets/skills/self-review/agemon-review-intake/SKILL.md +205 -0
- package/assets/skills/self-review/agemon-review-request/LICENSE +21 -0
- package/assets/skills/self-review/agemon-review-request/NOTICE.md +9 -0
- package/assets/skills/self-review/agemon-review-request/SKILL.md +104 -0
- package/assets/skills/self-review/agemon-review-request/code-reviewer.md +188 -0
- package/assets/skills/self-review/agemon-root-cause/LICENSE +21 -0
- package/assets/skills/self-review/agemon-root-cause/NOTICE.md +10 -0
- package/assets/skills/self-review/agemon-root-cause/SKILL.md +283 -0
- package/assets/skills/self-review/agemon-root-cause/condition-based-waiting-example.ts +158 -0
- package/assets/skills/self-review/agemon-root-cause/condition-based-waiting.md +115 -0
- package/assets/skills/self-review/agemon-root-cause/defense-in-depth.md +122 -0
- package/assets/skills/self-review/agemon-root-cause/find-polluter.sh +72 -0
- package/assets/skills/self-review/agemon-root-cause/root-cause-tracing.md +169 -0
- package/assets/skills/self-review/agemon-root-cause/test-academic.md +14 -0
- package/assets/skills/self-review/agemon-root-cause/test-pressure-1.md +58 -0
- package/assets/skills/self-review/agemon-root-cause/test-pressure-2.md +68 -0
- package/assets/skills/self-review/agemon-root-cause/test-pressure-3.md +69 -0
- package/assets/skills/self-review/agemon-verify-before-done/LICENSE +21 -0
- package/assets/skills/self-review/agemon-verify-before-done/NOTICE.md +9 -0
- package/assets/skills/self-review/agemon-verify-before-done/SKILL.md +120 -0
- package/assets/skills/team-lead/agemon-plan-rfc/SKILL.md +317 -0
- package/assets/skills/team-lead/prd-generator/SKILL.md +437 -0
- package/assets/skills/team-lead/skill-headofit-audit/SKILL.md +72 -0
- package/assets/skills/team-lead/skill-incident-rca/SKILL.md +66 -0
- package/assets/skills/team-lead/skill-meeting-lifecycle/SKILL.md +63 -0
- package/assets/skills/team-lead/skill-obsidian-vault-sync/SKILL.md +69 -0
- package/assets/skills/team-lead/skill-prd-decomposer/SKILL.md +71 -0
- package/assets/skills/team-lead/skill-sec-check/SKILL.md +70 -0
- package/assets/skills/team-lead/skill-task-extractor/SKILL.md +79 -0
- package/assets/skills/team-lead/skill-tech-spike/SKILL.md +57 -0
- package/assets/skills/team-lead/skill-techlead-reviewer/SKILL.md +81 -0
- package/assets/skills/workflow/agemon-brainstorming/LICENSE +21 -0
- package/assets/skills/workflow/agemon-brainstorming/NOTICE.md +14 -0
- package/assets/skills/workflow/agemon-brainstorming/SKILL.md +287 -0
- package/assets/skills/workflow/agemon-brainstorming/builder-check-prompt.md +23 -0
- package/assets/skills/workflow/agemon-dispatching-parallel-agents/LICENSE +21 -0
- package/assets/skills/workflow/agemon-dispatching-parallel-agents/NOTICE.md +13 -0
- package/assets/skills/workflow/agemon-dispatching-parallel-agents/SKILL.md +167 -0
- package/assets/skills/workflow/agemon-executing-plans/LICENSE +21 -0
- package/assets/skills/workflow/agemon-executing-plans/NOTICE.md +15 -0
- package/assets/skills/workflow/agemon-executing-plans/SKILL.md +322 -0
- package/assets/skills/workflow/agemon-executing-plans/scripts/task-done +55 -0
- package/assets/skills/workflow/agemon-executing-plans/scripts/task-start +32 -0
- package/assets/skills/workflow/agemon-finishing-a-development-branch/LICENSE +21 -0
- package/assets/skills/workflow/agemon-finishing-a-development-branch/NOTICE.md +13 -0
- package/assets/skills/workflow/agemon-finishing-a-development-branch/SKILL.md +225 -0
- package/assets/skills/workflow/agemon-subagent-driven-development/LICENSE +21 -0
- package/assets/skills/workflow/agemon-subagent-driven-development/NOTICE.md +15 -0
- package/assets/skills/workflow/agemon-subagent-driven-development/SKILL.md +339 -0
- package/assets/skills/workflow/agemon-subagent-driven-development/code-reviewer.md +198 -0
- package/assets/skills/workflow/agemon-subagent-driven-development/implementer-prompt.md +154 -0
- package/assets/skills/workflow/agemon-subagent-driven-development/re-review-prompt.md +116 -0
- package/assets/skills/workflow/agemon-subagent-driven-development/references/batching.md +11 -0
- package/assets/skills/workflow/agemon-subagent-driven-development/references/cannot-verify.md +10 -0
- package/assets/skills/workflow/agemon-subagent-driven-development/references/final-review.md +49 -0
- package/assets/skills/workflow/agemon-subagent-driven-development/references/fix-loop.md +77 -0
- package/assets/skills/workflow/agemon-subagent-driven-development/references/handling-reports.md +15 -0
- package/assets/skills/workflow/agemon-subagent-driven-development/references/preflight.md +26 -0
- package/assets/skills/workflow/agemon-subagent-driven-development/references/resuming.md +12 -0
- package/assets/skills/workflow/agemon-subagent-driven-development/references/role-scout.md +18 -0
- package/assets/skills/workflow/agemon-subagent-driven-development/references/role-worker.md +19 -0
- package/assets/skills/workflow/agemon-subagent-driven-development/scripts/review-package +64 -0
- package/assets/skills/workflow/agemon-subagent-driven-development/scripts/sdd-repo +54 -0
- package/assets/skills/workflow/agemon-subagent-driven-development/scripts/sdd-workspace +110 -0
- package/assets/skills/workflow/agemon-subagent-driven-development/scripts/task-brief +108 -0
- package/assets/skills/workflow/agemon-subagent-driven-development/task-reviewer-prompt.md +209 -0
- package/assets/skills/workflow/agemon-test-driven-development/LICENSE +21 -0
- package/assets/skills/workflow/agemon-test-driven-development/NOTICE.md +14 -0
- package/assets/skills/workflow/agemon-test-driven-development/SKILL.md +330 -0
- package/assets/skills/workflow/agemon-test-driven-development/writing-good-tests.md +198 -0
- package/assets/skills/workflow/agemon-using-git-worktrees/LICENSE +21 -0
- package/assets/skills/workflow/agemon-using-git-worktrees/NOTICE.md +13 -0
- package/assets/skills/workflow/agemon-using-git-worktrees/SKILL.md +167 -0
- package/assets/skills/workflow/agemon-writing-plans/LICENSE +21 -0
- package/assets/skills/workflow/agemon-writing-plans/NOTICE.md +13 -0
- package/assets/skills/workflow/agemon-writing-plans/SKILL.md +204 -0
- package/assets/tools/code-review-graph-constraints.txt +1418 -0
- package/assets/tools/package-lock.json +111 -0
- package/assets/tools/package.json +6 -0
- package/dist/chunk-ZZBF3GOV.js +3451 -0
- package/dist/chunk-ZZBF3GOV.js.map +1 -0
- package/dist/fake-subprocess-IV4ML77S.js +636 -0
- package/dist/fake-subprocess-IV4ML77S.js.map +1 -0
- package/dist/index.js +23836 -1945
- package/dist/index.js.map +1 -1
- package/package.json +37 -17
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Resolve and ensure the working-tree directory SDD uses for one plan's
|
|
3
|
+
# short-lived artifacts: task briefs, implementer reports, review packages,
|
|
4
|
+
# and the progress ledger. Print the plan directory's absolute path.
|
|
5
|
+
#
|
|
6
|
+
# One directory per plan (.agemon-workflow/sdd/<plan-basename>/) so a follow-up
|
|
7
|
+
# plan in the same working tree can never read or overwrite another plan's
|
|
8
|
+
# artifacts. A stale ledger misread as current progress makes controllers
|
|
9
|
+
# skip whole task sequences — plan-scoping removes that failure structurally.
|
|
10
|
+
#
|
|
11
|
+
# Basename slugs collide when two plans share a filename (docs/alpha/plan.md
|
|
12
|
+
# vs docs/beta/plan.md), so each workspace records its owning plan's path in
|
|
13
|
+
# a plan-path marker (repo-relative in-repo, absolute outside). A workspace
|
|
14
|
+
# owned by a different plan is skipped and the slug disambiguated with the
|
|
15
|
+
# plan's parent-directory name, then a counter. A workspace with no marker
|
|
16
|
+
# predates the marker scheme and is adopted for the current plan so in-flight
|
|
17
|
+
# workspaces keep resolving — which means the first collision on such a
|
|
18
|
+
# legacy workspace adopts instead of detecting; acceptable, marker-less
|
|
19
|
+
# workspaces age out as plans finish.
|
|
20
|
+
#
|
|
21
|
+
# The workspace lives in the working tree (not under .git/) because Claude Code
|
|
22
|
+
# treats .git/ as a protected path and denies agent writes there — which blocks
|
|
23
|
+
# an implementer subagent from writing its report file. A self-ignoring
|
|
24
|
+
# .gitignore at .agemon-workflow/sdd/ keeps every plan's workspace out of
|
|
25
|
+
# `git status` and out of accidental commits without modifying any tracked file.
|
|
26
|
+
#
|
|
27
|
+
# Single source of truth for the workspace location, so task-brief and
|
|
28
|
+
# review-package cannot drift to different directories.
|
|
29
|
+
#
|
|
30
|
+
# The repository is the current directory's (see sdd-repo). -C DIR runs as
|
|
31
|
+
# if started in DIR, the way git -C does: a caller working on another
|
|
32
|
+
# checkout or worktree needs no `cd DIR ;` prefix, a compound that harnesses
|
|
33
|
+
# cannot allowlist because DIR differs on every run (#1799).
|
|
34
|
+
#
|
|
35
|
+
# Usage: sdd-workspace [-C DIR] PLAN_FILE
|
|
36
|
+
set -euo pipefail
|
|
37
|
+
|
|
38
|
+
here=$(cd "$(dirname "$0")" && pwd)
|
|
39
|
+
if [ "${1:-}" = "-C" ]; then
|
|
40
|
+
[ -d "${2:-}" ] || { echo "bad -C directory: ${2:-}" >&2; exit 2; }
|
|
41
|
+
cd "$2"
|
|
42
|
+
shift 2
|
|
43
|
+
fi
|
|
44
|
+
|
|
45
|
+
if [ $# -ne 1 ]; then
|
|
46
|
+
echo "usage: sdd-workspace [-C DIR] PLAN_FILE" >&2
|
|
47
|
+
exit 2
|
|
48
|
+
fi
|
|
49
|
+
|
|
50
|
+
plan=$1
|
|
51
|
+
[ -f "$plan" ] || { echo "no such plan file: $plan" >&2; exit 2; }
|
|
52
|
+
|
|
53
|
+
slug=$(basename "$plan" .md)
|
|
54
|
+
[ -n "$slug" ] && [ "$slug" != "." ] && [ "$slug" != ".." ] \
|
|
55
|
+
|| { echo "cannot derive a workspace name from: $plan" >&2; exit 2; }
|
|
56
|
+
|
|
57
|
+
# Physical path, spelled the way pwd -P spells the plan path below: on Git
|
|
58
|
+
# Bash, rev-parse prints C:/Users/... while pwd prints /c/Users/..., and the
|
|
59
|
+
# repo-relative marker check needs both in the same form. Two steps, so a
|
|
60
|
+
# failing sdd-repo stops the script instead of handing cd an empty path.
|
|
61
|
+
# Invoke via bash rather than direct exec: some extractors (Python zipfile)
|
|
62
|
+
# strip Unix exec bits when unpacking marketplace packages (#2040).
|
|
63
|
+
toplevel=$("${BASH:-bash}" "$here/sdd-repo")
|
|
64
|
+
root=$(CDPATH='' cd -- "$toplevel" && pwd -P)
|
|
65
|
+
base="$root/.agemon-workflow/sdd"
|
|
66
|
+
|
|
67
|
+
# Normalize the plan path (physical directory, so relative/absolute/../
|
|
68
|
+
# spellings of one plan compare equal) and express it as the marker value:
|
|
69
|
+
# repo-relative when the plan lives under the repo root, absolute otherwise.
|
|
70
|
+
plan_dir=$(CDPATH='' cd -- "$(dirname "$plan")" && pwd -P)
|
|
71
|
+
plan_abs="$plan_dir/$(basename "$plan")"
|
|
72
|
+
case "$plan_abs" in
|
|
73
|
+
"$root"/*) plan_id=${plan_abs#"$root"/} ;;
|
|
74
|
+
*) plan_id=$plan_abs ;;
|
|
75
|
+
esac
|
|
76
|
+
|
|
77
|
+
# True when the workspace at $1 is (or becomes) this plan's: an existing
|
|
78
|
+
# marker must name this plan; a missing marker means a new workspace or a
|
|
79
|
+
# pre-marker legacy one, and either way the plan claims it by writing one.
|
|
80
|
+
owns() {
|
|
81
|
+
if [ -e "$1/plan-path" ]; then
|
|
82
|
+
[ "$(cat "$1/plan-path")" = "$plan_id" ]
|
|
83
|
+
else
|
|
84
|
+
mkdir -p "$1"
|
|
85
|
+
printf '%s\n' "$plan_id" > "$1/plan-path"
|
|
86
|
+
fi
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
dir="$base/$slug"
|
|
90
|
+
if ! owns "$dir"; then
|
|
91
|
+
parent=$(basename "$plan_dir")
|
|
92
|
+
dir="$base/$slug-$parent"
|
|
93
|
+
if ! owns "$dir"; then
|
|
94
|
+
n=2
|
|
95
|
+
while ! owns "$base/$slug-$parent-$n"; do n=$((n + 1)); done
|
|
96
|
+
dir="$base/$slug-$parent-$n"
|
|
97
|
+
fi
|
|
98
|
+
fi
|
|
99
|
+
|
|
100
|
+
# Create-only: a repo may commit its own .gitignore here (e.g. to version
|
|
101
|
+
# progress.md ledgers); overwriting it would revert that on every run.
|
|
102
|
+
[ -e "$base/.gitignore" ] || printf '*\n' > "$base/.gitignore"
|
|
103
|
+
|
|
104
|
+
# On Windows (Git Bash, MSYS2, Cygwin) print C:/Users/... rather than
|
|
105
|
+
# /c/Users/... or /tmp/...: the caller may be PowerShell or another native
|
|
106
|
+
# tool, which can't resolve MSYS paths, and bash accepts this form too.
|
|
107
|
+
# Only the printed path changes; the plan-path markers above keep pwd -P's
|
|
108
|
+
# spelling, so existing workspaces still match their plans.
|
|
109
|
+
CDPATH='' cd -- "$dir"
|
|
110
|
+
if command -v cygpath >/dev/null 2>&1; then cygpath -m "$PWD"; else pwd; fi
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Extract one task's full text from an implementation plan into a file the
|
|
3
|
+
# implementer reads in one call, so the task text never has to be pasted
|
|
4
|
+
# through the controller's context.
|
|
5
|
+
#
|
|
6
|
+
# Usage: task-brief [-C DIR] PLAN_FILE TASK_NUMBER [OUTFILE]
|
|
7
|
+
# Default OUTFILE: <repo-root>/.agemon-workflow/sdd/<plan-basename>/task-<N>-brief.md
|
|
8
|
+
# (per plan and per worktree; concurrent runs of the SAME plan in the same
|
|
9
|
+
# working tree share it). -C DIR runs as if started in DIR, as in sdd-workspace.
|
|
10
|
+
set -euo pipefail
|
|
11
|
+
|
|
12
|
+
here=$(cd "$(dirname "$0")" && pwd)
|
|
13
|
+
if [ "${1:-}" = "-C" ]; then
|
|
14
|
+
[ -d "${2:-}" ] || { echo "bad -C directory: ${2:-}" >&2; exit 2; }
|
|
15
|
+
cd "$2"
|
|
16
|
+
shift 2
|
|
17
|
+
fi
|
|
18
|
+
|
|
19
|
+
if [ $# -lt 2 ] || [ $# -gt 3 ]; then
|
|
20
|
+
echo "usage: task-brief [-C DIR] PLAN_FILE TASK_NUMBER [OUTFILE]" >&2
|
|
21
|
+
exit 2
|
|
22
|
+
fi
|
|
23
|
+
|
|
24
|
+
plan=$1
|
|
25
|
+
n=$2
|
|
26
|
+
[ -f "$plan" ] || { echo "no such plan file: $plan" >&2; exit 2; }
|
|
27
|
+
|
|
28
|
+
if [ $# -eq 3 ]; then
|
|
29
|
+
out=$3
|
|
30
|
+
else
|
|
31
|
+
# Invoke via bash rather than direct exec: some extractors (Python zipfile)
|
|
32
|
+
# strip Unix exec bits when unpacking marketplace packages (#2040).
|
|
33
|
+
dir=$("${BASH:-bash}" "$here/sdd-workspace" "$plan")
|
|
34
|
+
out="$dir/task-${n}-brief.md"
|
|
35
|
+
fi
|
|
36
|
+
|
|
37
|
+
# A task heading is `Task` followed by an ID: letters and digits, optionally
|
|
38
|
+
# dot-separated, containing at least one digit (3, 6b, A1, 2.1). The digit
|
|
39
|
+
# keeps headings like "## Task Overview" or "#### Task notes" from becoming
|
|
40
|
+
# task boundaries. The ID is compared to TASK_NUMBER as a whole string, so
|
|
41
|
+
# Task 6 never matches Task 6b, Task 1 never matches Task 1.1, and
|
|
42
|
+
# TASK_NUMBER never reaches awk as a regex (#2459). A deeper Task heading
|
|
43
|
+
# whose ID extends the requested one with a letter or dot is a sub-task and
|
|
44
|
+
# stays in its brief (### Task 7 keeps #### Task 7a), as it always has.
|
|
45
|
+
# Depth alone is not enough: plans drift from "## Task 1" to "### Task 2".
|
|
46
|
+
#
|
|
47
|
+
# The word stays the English literal "Task", whatever language the rest of
|
|
48
|
+
# the plan is in. A plan with no Task headings at all usually translated it
|
|
49
|
+
# ("## Tarea 1"), so list the headings shaped like tasks before the
|
|
50
|
+
# not-found error instead of implying the plan has no task 1 (#2496).
|
|
51
|
+
#
|
|
52
|
+
# A fence that never closes hides every Task heading after it (#2436). When
|
|
53
|
+
# it hides one while the requested task is being captured, that task's end
|
|
54
|
+
# can't be found and the brief would run on through every later task: refuse
|
|
55
|
+
# (exit 4) rather than hand an implementer several tasks as its requirements.
|
|
56
|
+
# When it hides the requested heading itself, say so before the not-found
|
|
57
|
+
# error. A stray fence that hides no Task heading (real plans end with a lone
|
|
58
|
+
# ``` line) leaves the brief complete, so brief it with a warning.
|
|
59
|
+
# The plan path goes through ENVIRON, not -v, which would mangle the
|
|
60
|
+
# backslashes of a Windows path.
|
|
61
|
+
rc=0
|
|
62
|
+
TASK_BRIEF_PLAN="$plan" awk -v n="$n" '
|
|
63
|
+
/^```/ { infence = !infence; if (infence) { fence_line = NR; hidden = 0 } }
|
|
64
|
+
infence && /^#+[ \t]+Task[ \t]/ { hidden = 1 }
|
|
65
|
+
!infence && /^#+[ \t]+Task[ \t]/ {
|
|
66
|
+
id = $0
|
|
67
|
+
sub(/^#+[ \t]+Task[ \t]+/, "", id)
|
|
68
|
+
if (match(id, /^[A-Za-z0-9]+(\.[A-Za-z0-9]+)*/) && substr(id, 1, RLENGTH) ~ /[0-9]/) {
|
|
69
|
+
tasks++
|
|
70
|
+
id = substr(id, 1, RLENGTH)
|
|
71
|
+
match($0, /^#+/)
|
|
72
|
+
subtask = intask && RLENGTH > level && substr(id, 1, length(n)) == n \
|
|
73
|
+
&& substr(id, length(n) + 1, 1) ~ /[A-Za-z.]/
|
|
74
|
+
if (!subtask) {
|
|
75
|
+
intask = (id == n)
|
|
76
|
+
level = RLENGTH
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
!infence && /^#+[ \t]+[^ \t]+[ \t]+[A-Za-z0-9.]*[0-9]/ && shaped < 5 { shaped_heading[++shaped] = $0 }
|
|
81
|
+
intask { print; found = 1 }
|
|
82
|
+
END {
|
|
83
|
+
where = "the code fence opened at line " fence_line " of " ENVIRON["TASK_BRIEF_PLAN"] " never closes"
|
|
84
|
+
if (infence && hidden && (intask || !found)) {
|
|
85
|
+
print "task-brief: " where ", so no Task heading after it can be seen; close that fence in the plan and rerun" | "cat >&2"
|
|
86
|
+
if (intask) exit 4
|
|
87
|
+
} else if (infence && intask) {
|
|
88
|
+
print "task-brief: warning: " where "; it hides no Task heading, so this brief is complete" | "cat >&2"
|
|
89
|
+
}
|
|
90
|
+
# An open fence that hid Task headings already explains why none were
|
|
91
|
+
# seen; the English-word hint would contradict it.
|
|
92
|
+
if (!tasks && shaped && !(infence && hidden)) {
|
|
93
|
+
print "task-brief: no task headings found. Task headings must use the English word \"Task\" (\"### Task 1: ...\"), even when the rest of the plan is in another language. Headings shaped like tasks:" | "cat >&2"
|
|
94
|
+
for (i = 1; i <= shaped; i++) print " " shaped_heading[i] | "cat >&2"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
' "$plan" > "$out" || rc=$?
|
|
98
|
+
if [ "$rc" -ne 0 ]; then
|
|
99
|
+
if [ -f "$out" ]; then rm -f "$out"; fi
|
|
100
|
+
exit "$rc"
|
|
101
|
+
fi
|
|
102
|
+
|
|
103
|
+
if [ ! -s "$out" ]; then
|
|
104
|
+
echo "task ${n} not found in ${plan} (no heading matching 'Task ${n}')" >&2
|
|
105
|
+
exit 3
|
|
106
|
+
fi
|
|
107
|
+
|
|
108
|
+
echo "wrote ${out}: $(wc -l < "$out" | tr -d ' ') lines"
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
# Task Reviewer Prompt Template
|
|
2
|
+
|
|
3
|
+
Use this template when dispatching a task reviewer subagent. The reviewer
|
|
4
|
+
reads the task's diff once and returns two verdicts: spec compliance and
|
|
5
|
+
code quality.
|
|
6
|
+
|
|
7
|
+
**Purpose:** Verify one task's implementation matches its requirements (nothing
|
|
8
|
+
more, nothing less) and is well-built (clean, tested, maintainable)
|
|
9
|
+
|
|
10
|
+
```
|
|
11
|
+
Subagent (general-purpose):
|
|
12
|
+
description: "Review Task N (spec + quality)"
|
|
13
|
+
model: [MODEL — REQUIRED: choose per SKILL.md Model Selection; an omitted
|
|
14
|
+
model silently inherits the session's most expensive one]
|
|
15
|
+
prompt: |
|
|
16
|
+
You are reviewing one task's implementation: first whether it matches its
|
|
17
|
+
requirements, then whether it is well-built. This is a task-scoped gate,
|
|
18
|
+
not a merge review — a broad whole-branch review happens separately after
|
|
19
|
+
all tasks are complete.
|
|
20
|
+
|
|
21
|
+
## What Was Requested
|
|
22
|
+
|
|
23
|
+
Read the task brief: [BRIEF_FILE]
|
|
24
|
+
|
|
25
|
+
Global constraints from the spec/design that bind this task:
|
|
26
|
+
[GLOBAL_CONSTRAINTS]
|
|
27
|
+
|
|
28
|
+
## What the Implementer Claims They Built
|
|
29
|
+
|
|
30
|
+
Read the implementer's report: [REPORT_FILE]
|
|
31
|
+
|
|
32
|
+
## Diff Under Review
|
|
33
|
+
|
|
34
|
+
**Base:** [BASE_SHA]
|
|
35
|
+
**Head:** [HEAD_SHA]
|
|
36
|
+
**Diff file:** [DIFF_FILE]
|
|
37
|
+
|
|
38
|
+
Read the diff file once — it contains the commit list, a stat summary,
|
|
39
|
+
and the full diff with surrounding context, and it is your view of the
|
|
40
|
+
change. The diff's context lines ARE the changed files: do not Read a
|
|
41
|
+
changed file separately unless a hunk you must judge is cut off
|
|
42
|
+
mid-function — and say so in your report. Do not re-run git commands.
|
|
43
|
+
If the diff file is missing, fetch the diff yourself:
|
|
44
|
+
`git diff --stat [BASE_SHA]..[HEAD_SHA]` and `git diff [BASE_SHA]..[HEAD_SHA]`.
|
|
45
|
+
Do not crawl the broader codebase. Inspect code outside the diff only
|
|
46
|
+
to evaluate a concrete risk you can name — one focused check per named
|
|
47
|
+
risk, and name both the risk and what you checked in your report.
|
|
48
|
+
Cross-cutting changes are legitimate named risks: if the diff changes
|
|
49
|
+
lock ordering, a function or API contract, or shared mutable state,
|
|
50
|
+
checking the call sites is the right method.
|
|
51
|
+
|
|
52
|
+
Your review is read-only on this checkout. Do not mutate the working
|
|
53
|
+
tree, the index, HEAD, or branch state in any way.
|
|
54
|
+
|
|
55
|
+
## You Do Not Dispatch Subagents
|
|
56
|
+
|
|
57
|
+
Do all of this review yourself. Never spawn a subagent to review part
|
|
58
|
+
of the diff, and never spawn another reviewer for a second opinion.
|
|
59
|
+
This process already provides every review seat the work gets; a
|
|
60
|
+
reviewer you spawn duplicates one of them at full cost, and its
|
|
61
|
+
verdict counts for nothing. If the diff feels too large for one
|
|
62
|
+
pass, review it in passes yourself and say so in your report.
|
|
63
|
+
|
|
64
|
+
## Do Not Trust the Report
|
|
65
|
+
|
|
66
|
+
Treat the implementer's report as unverified claims about the code. It
|
|
67
|
+
may be incomplete, inaccurate, or optimistic. Verify the claims against
|
|
68
|
+
the diff. Design rationales in the report are claims too: "left it per
|
|
69
|
+
YAGNI," "kept it simple deliberately," or any other justification is the
|
|
70
|
+
implementer grading their own work. Judge the code on its merits — a
|
|
71
|
+
stated rationale never downgrades a finding's severity.
|
|
72
|
+
|
|
73
|
+
## Tests
|
|
74
|
+
|
|
75
|
+
The implementer already ran the tests and reported results with TDD
|
|
76
|
+
evidence for exactly this code. Do not re-run the suite to confirm their
|
|
77
|
+
report. Run a test only when reading the code raises a specific doubt
|
|
78
|
+
that no existing run answers — and then a focused test, never a
|
|
79
|
+
package-wide suite, race detector run, or repeated/high-count loop. If
|
|
80
|
+
heavy validation seems warranted, recommend it in your report instead of
|
|
81
|
+
running it. If you cannot run commands in this environment, name the
|
|
82
|
+
test you would run.
|
|
83
|
+
|
|
84
|
+
Warnings or other noise in the implementer's reported test output are
|
|
85
|
+
findings — test output should be pristine.
|
|
86
|
+
|
|
87
|
+
Evidence you cannot see is not evidence that doesn't exist. If the
|
|
88
|
+
report or its test evidence looks truncated, or you cannot locate the
|
|
89
|
+
results it claims, re-read the file at its stated path — and if it is
|
|
90
|
+
genuinely missing or garbled, report that as a gap for the controller.
|
|
91
|
+
Re-running the suite to regenerate what you failed to read is not
|
|
92
|
+
verification; illegibility of the evidence is not invalidation of it.
|
|
93
|
+
|
|
94
|
+
## Part 1: Spec Compliance
|
|
95
|
+
|
|
96
|
+
Compare the diff against What Was Requested:
|
|
97
|
+
|
|
98
|
+
- **Missing:** requirements they skipped, missed, or claimed without
|
|
99
|
+
implementing
|
|
100
|
+
- **Extra:** features that weren't requested, over-engineering, unneeded
|
|
101
|
+
"nice to haves"
|
|
102
|
+
- **Misunderstood:** right feature built the wrong way, wrong problem
|
|
103
|
+
solved
|
|
104
|
+
|
|
105
|
+
If the brief lists several files each with its own change (a batched
|
|
106
|
+
dispatch), check the diff against that list file by file: every listed
|
|
107
|
+
file must have its corresponding hunk. A listed file the diff never
|
|
108
|
+
touches is a Missing finding, no matter how clean the rest of the
|
|
109
|
+
batch looks.
|
|
110
|
+
|
|
111
|
+
If a requirement cannot be verified from this diff alone (it lives in
|
|
112
|
+
unchanged code or spans tasks), report it as a ⚠️ item instead of
|
|
113
|
+
broadening your search.
|
|
114
|
+
|
|
115
|
+
## Part 2: Code Quality
|
|
116
|
+
|
|
117
|
+
**Code quality:**
|
|
118
|
+
- Clean separation of concerns?
|
|
119
|
+
- Proper error handling?
|
|
120
|
+
- DRY without premature abstraction?
|
|
121
|
+
- Edge cases handled?
|
|
122
|
+
|
|
123
|
+
**Tests:**
|
|
124
|
+
- Do the new and changed tests verify real behavior, not mocks?
|
|
125
|
+
- Are the task's edge cases covered?
|
|
126
|
+
|
|
127
|
+
**Structure:**
|
|
128
|
+
- Does each file have one clear responsibility with a well-defined interface?
|
|
129
|
+
- Are units decomposed so they can be understood and tested independently?
|
|
130
|
+
- Is the implementation following the file structure from the plan?
|
|
131
|
+
- Did this change create new files that are already large, or
|
|
132
|
+
significantly grow existing files? (Don't flag pre-existing file
|
|
133
|
+
sizes — focus on what this change contributed.)
|
|
134
|
+
|
|
135
|
+
Your report should point at evidence: file:line references for every
|
|
136
|
+
finding and for any check you would otherwise answer with a bare
|
|
137
|
+
"yes." A tight report that cites lines gives the controller everything
|
|
138
|
+
it needs.
|
|
139
|
+
|
|
140
|
+
Your final message is the report itself: begin directly with the
|
|
141
|
+
spec-compliance verdict. Every line is a verdict, a finding with
|
|
142
|
+
file:line, or a check you ran — no preamble, no process narration,
|
|
143
|
+
no closing summary.
|
|
144
|
+
|
|
145
|
+
## Calibration
|
|
146
|
+
|
|
147
|
+
Categorize issues by actual severity. Not everything is Critical.
|
|
148
|
+
Important means this task cannot be trusted until it is fixed: incorrect
|
|
149
|
+
or fragile behavior, a missed requirement, or maintainability damage you
|
|
150
|
+
would block a merge over — verbatim duplication of a logic block,
|
|
151
|
+
swallowed errors, tests that assert nothing. "Coverage could be broader"
|
|
152
|
+
and polish suggestions are Minor.
|
|
153
|
+
If the plan or brief explicitly mandates something this rubric calls a
|
|
154
|
+
defect (a test that asserts nothing, verbatim duplication of a logic
|
|
155
|
+
block), that IS a finding — report it as Important, labeled
|
|
156
|
+
plan-mandated. The plan's authorship does not grade its own work; the
|
|
157
|
+
human decides.
|
|
158
|
+
Acknowledge what was done well before listing issues — accurate praise
|
|
159
|
+
helps the implementer trust the rest of the feedback.
|
|
160
|
+
|
|
161
|
+
## Output Format
|
|
162
|
+
|
|
163
|
+
### Spec Compliance
|
|
164
|
+
|
|
165
|
+
- ✅ Spec compliant | ❌ Issues found: [what's missing/extra/misunderstood,
|
|
166
|
+
with file:line references]
|
|
167
|
+
- ⚠️ Cannot verify from diff: [requirements you could not verify from the
|
|
168
|
+
diff alone, and what the controller should check — report alongside the
|
|
169
|
+
✅/❌ verdict for everything you could verify]
|
|
170
|
+
|
|
171
|
+
### Strengths
|
|
172
|
+
[What's well done? Be specific.]
|
|
173
|
+
|
|
174
|
+
### Issues
|
|
175
|
+
|
|
176
|
+
#### Critical (Must Fix)
|
|
177
|
+
#### Important (Should Fix)
|
|
178
|
+
#### Minor (Nice to Have)
|
|
179
|
+
|
|
180
|
+
For each issue: file:line, what's wrong, why it matters, how to fix
|
|
181
|
+
(if not obvious).
|
|
182
|
+
|
|
183
|
+
### Assessment
|
|
184
|
+
|
|
185
|
+
**Task quality:** [Approved | Needs fixes]
|
|
186
|
+
|
|
187
|
+
**Reasoning:** [1-2 sentence technical assessment]
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
**Placeholders:**
|
|
191
|
+
- `[MODEL]` — REQUIRED: reviewer model per SKILL.md Model Selection
|
|
192
|
+
- `[BRIEF_FILE]` — REQUIRED: the task brief file (`bash scripts/task-brief PLAN N`,
|
|
193
|
+
run by its absolute path, from the working tree you're executing in,
|
|
194
|
+
prints the path; same file the implementer worked from)
|
|
195
|
+
- `[GLOBAL_CONSTRAINTS]` — the binding requirements copied verbatim from
|
|
196
|
+
the plan's Global Constraints section or the spec: exact values, formats,
|
|
197
|
+
and stated relationships between components (not process rules — those
|
|
198
|
+
are already in this template)
|
|
199
|
+
- `[REPORT_FILE]` — REQUIRED: the file the implementer wrote its detailed
|
|
200
|
+
report to
|
|
201
|
+
- `[BASE_SHA]` — commit before this task
|
|
202
|
+
- `[HEAD_SHA]` — current commit
|
|
203
|
+
- `[DIFF_FILE]` — REQUIRED: the path the controller wrote the review
|
|
204
|
+
package to (`bash scripts/review-package PLAN_FILE BASE HEAD`, run by its
|
|
205
|
+
absolute path, from the working tree you're executing in, prints the unique
|
|
206
|
+
path it wrote; the package never enters the controller's context)
|
|
207
|
+
|
|
208
|
+
**Reviewer returns:** Spec Compliance verdict (✅/❌/⚠️), Strengths, Issues
|
|
209
|
+
(Critical/Important/Minor), Task quality verdict
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Jesse Vincent
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Vendored skill
|
|
2
|
+
|
|
3
|
+
- Source: https://github.com/obra/superpowers
|
|
4
|
+
- Path in source: skills/test-driven-development
|
|
5
|
+
- Commit: 22f0b463e7a5e579904dd6211a520321035526f7
|
|
6
|
+
- Retrieved: 2026-11-05
|
|
7
|
+
- License: MIT — see `LICENSE` in this directory.
|
|
8
|
+
|
|
9
|
+
## agemon modifications
|
|
10
|
+
|
|
11
|
+
- Renamed from `test-driven-development` to `agemon-test-driven-development`, and updated references to upstream's other skills to their agemon names (`systematic-debugging` is `agemon-root-cause`, `verification-before-completion` is `agemon-verify-before-done`, both in the `self-review` group).
|
|
12
|
+
- Moved working files from `.superpowers/` to `.agemon-workflow/` and documents from `docs/superpowers/` to `docs/`.
|
|
13
|
+
- One of several skills cherry-picked from the superpowers framework; its `using-superpowers` bootstrap and session hook are not vendored, so nothing forces these skills to load.
|
|
14
|
+
- Removed a reference to upstream's `writing-skills` skill, which is not vendored.
|