@delorenj/pjangler 1.2.25 → 1.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 +12 -3
- package/dist/index.js +8649 -5528
- package/dist/mcp-server.js +8174 -5456
- package/package.json +8 -4
- package/templates/commonproject/copier.yml +6 -6
- package/templates/commonproject/template/.agents/hooks/README.md +10 -10
- package/templates/commonproject/template/.agents/hooks/hooks.master.json +1 -1
- package/templates/commonproject/template/.agents/hooks/sync.py +4 -4
- package/templates/commonproject/template/.agents/local.example.json +1 -1
- package/templates/commonproject/template/.agents/skills.json +2 -1
- package/templates/commonproject/template/.env.op +6 -2
- package/templates/commonproject/template/.github/workflows/code-review.yml.jinja +48 -0
- package/templates/commonproject/template/.mise/scripts/hindsight-setup.sh +1 -1
- package/templates/commonproject/template/.mise/scripts/materialize-env.sh +28 -0
- package/templates/commonproject/template/.mise/scripts/provision-packs.py +565 -0
- package/templates/commonproject/template/.mise/scripts/sync-skills.py +1411 -132
- package/templates/commonproject/template/mise.toml.jinja +19 -16
- package/templates/hermes-agent/copier.yml +28 -4
- package/templates/hermes-agent/template/.gitignore.jinja +1 -0
- package/templates/hermes-agent/template/.runtime-scaffold/README.md +11 -10
- package/templates/hermes-agent/template/.scripts/01-config.sh +4 -4
- package/templates/hermes-agent/template/.scripts/10-hermes-profile.sh +7 -12
- package/templates/hermes-agent/template/.scripts/20-runtime-repo.sh +90 -28
- package/templates/hermes-agent/template/.scripts/30-telegram.sh +18 -4
- package/templates/hermes-agent/template/.scripts/70-systemd.sh +79 -12
- package/templates/hermes-agent/template/.scripts/80-registry.sh +13 -3
- package/templates/hermes-agent/template/.scripts/_lib.sh +12 -5
- package/templates/hermes-agent/template/.scripts/config.example.toml +7 -4
- package/templates/hermes-agent/template/.scripts/credential-launch.sh +81 -0
- package/templates/hermes-agent/template/.scripts/heartbeat.sh +2 -1
- package/templates/hermes-agent/template/.scripts/lib/ticket-provider.sh +15 -7
- package/templates/hermes-agent/template/.scripts/providers/linear.sh +41 -1
- package/templates/hermes-agent/template/.scripts/providers/plane.sh +117 -21
- package/templates/hermes-agent/template/.scripts/providers/trello.sh +34 -1
- package/templates/hermes-agent/template/.scripts/reporter-watchdog.py +242 -0
- package/templates/hermes-agent/template/.scripts/secret-scan.py +134 -0
- package/templates/hermes-agent/template/.scripts/sentinel.prompt.md.jinja +3 -2
- package/templates/hermes-agent/template/SOUL.md.jinja +34 -12
- package/templates/hermes-agent/template/hermes.jinja +36 -7
- package/templates/hermes-agent/template/role.yaml.jinja +16 -5
- package/templates/commonproject/.augment/commands/bmad/agents/bmb-agent-builder.md +0 -14
- package/templates/commonproject/.augment/commands/bmad/agents/bmb-module-builder.md +0 -14
- package/templates/commonproject/.augment/commands/bmad/agents/bmb-workflow-builder.md +0 -14
- package/templates/commonproject/.augment/commands/bmad/agents/bmm-analyst.md +0 -14
- package/templates/commonproject/.augment/commands/bmad/agents/bmm-architect.md +0 -14
- package/templates/commonproject/.augment/commands/bmad/agents/bmm-dev.md +0 -14
- package/templates/commonproject/.augment/commands/bmad/agents/bmm-pm.md +0 -14
- package/templates/commonproject/.augment/commands/bmad/agents/bmm-quick-flow-solo-dev.md +0 -14
- package/templates/commonproject/.augment/commands/bmad/agents/bmm-sm.md +0 -14
- package/templates/commonproject/.augment/commands/bmad/agents/bmm-tea.md +0 -14
- package/templates/commonproject/.augment/commands/bmad/agents/bmm-tech-writer.md +0 -14
- package/templates/commonproject/.augment/commands/bmad/agents/bmm-ux-designer.md +0 -14
- package/templates/commonproject/.augment/commands/bmad/agents/cis-brainstorming-coach.md +0 -14
- package/templates/commonproject/.augment/commands/bmad/agents/cis-creative-problem-solver.md +0 -14
- package/templates/commonproject/.augment/commands/bmad/agents/cis-design-thinking-coach.md +0 -14
- package/templates/commonproject/.augment/commands/bmad/agents/cis-innovation-strategist.md +0 -14
- package/templates/commonproject/.augment/commands/bmad/agents/cis-presentation-master.md +0 -14
- package/templates/commonproject/.augment/commands/bmad/agents/cis-storyteller.md +0 -14
- package/templates/commonproject/.augment/commands/bmad/agents/core-bmad-master.md +0 -14
- package/templates/commonproject/.augment/commands/bmad/tasks/core-index-docs.md +0 -74
- package/templates/commonproject/.augment/commands/bmad/tasks/core-shard-doc.md +0 -118
- package/templates/commonproject/.augment/commands/bmad/workflows/bmb-agent.md +0 -5
- package/templates/commonproject/.augment/commands/bmad/workflows/bmb-module.md +0 -5
- package/templates/commonproject/.augment/commands/bmad/workflows/bmb-workflow.md +0 -5
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-check-implementation-readiness.md +0 -5
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-code-review.md +0 -13
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-correct-course.md +0 -13
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-create-architecture.md +0 -5
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-create-epics-and-stories.md +0 -5
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-create-excalidraw-dataflow.md +0 -13
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-create-excalidraw-diagram.md +0 -13
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-create-excalidraw-flowchart.md +0 -13
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-create-excalidraw-wireframe.md +0 -13
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-create-product-brief.md +0 -5
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-create-story.md +0 -13
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-create-ux-design.md +0 -5
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-dev-story.md +0 -13
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-document-project.md +0 -13
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-generate-project-context.md +0 -5
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-prd.md +0 -5
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-quick-dev.md +0 -5
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-quick-spec.md +0 -5
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-research.md +0 -5
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-retrospective.md +0 -13
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-sprint-planning.md +0 -13
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-sprint-status.md +0 -13
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-testarch-atdd.md +0 -13
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-testarch-automate.md +0 -13
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-testarch-ci.md +0 -13
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-testarch-framework.md +0 -13
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-testarch-nfr.md +0 -13
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-testarch-test-design.md +0 -13
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-testarch-test-review.md +0 -13
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-testarch-trace.md +0 -13
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-workflow-init.md +0 -13
- package/templates/commonproject/.augment/commands/bmad/workflows/bmm-workflow-status.md +0 -13
- package/templates/commonproject/.augment/commands/bmad/workflows/cis-design-thinking.md +0 -13
- package/templates/commonproject/.augment/commands/bmad/workflows/cis-innovation-strategy.md +0 -13
- package/templates/commonproject/.augment/commands/bmad/workflows/cis-problem-solving.md +0 -13
- package/templates/commonproject/.augment/commands/bmad/workflows/cis-storytelling.md +0 -13
- package/templates/commonproject/.augment/commands/bmad/workflows/core-brainstorming.md +0 -5
- package/templates/commonproject/.augment/commands/bmad/workflows/core-party-mode.md +0 -5
- package/templates/commonproject/.augment/commands/bmad/workflows/custom-ticket-lifecycle.md +0 -5
- package/templates/commonproject/.copier-answers.yml +0 -4
- package/templates/commonproject/.gemini/commands/bmad-agent-bmb-agent-builder.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-agent-bmb-module-builder.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-agent-bmb-workflow-builder.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-agent-bmm-analyst.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-agent-bmm-architect.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-agent-bmm-dev.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-agent-bmm-pm.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-agent-bmm-quick-flow-solo-dev.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-agent-bmm-sm.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-agent-bmm-tea.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-agent-bmm-tech-writer.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-agent-bmm-ux-designer.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-agent-cis-brainstorming-coach.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-agent-cis-creative-problem-solver.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-agent-cis-design-thinking-coach.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-agent-cis-innovation-strategist.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-agent-cis-presentation-master.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-agent-cis-storyteller.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-agent-core-bmad-master.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-task-core-index-docs.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-task-core-review-adversarial-general.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-task-core-shard-doc.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-task-core-workflow.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmb-agent.toml +0 -4
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmb-module.toml +0 -4
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmb-workflow.toml +0 -4
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-check-implementation-readiness.toml +0 -4
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-code-review.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-correct-course.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-create-architecture.toml +0 -4
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-create-epics-and-stories.toml +0 -4
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-create-excalidraw-dataflow.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-create-excalidraw-diagram.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-create-excalidraw-flowchart.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-create-excalidraw-wireframe.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-create-product-brief.toml +0 -4
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-create-story.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-create-ux-design.toml +0 -4
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-dev-story.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-document-project.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-generate-project-context.toml +0 -4
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-prd.toml +0 -4
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-quick-dev.toml +0 -4
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-quick-spec.toml +0 -4
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-research.toml +0 -4
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-retrospective.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-sprint-planning.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-sprint-status.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-testarch-atdd.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-testarch-automate.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-testarch-ci.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-testarch-framework.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-testarch-nfr.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-testarch-test-design.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-testarch-test-review.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-testarch-trace.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-workflow-init.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-workflow-status.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-workflow-cis-design-thinking.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-workflow-cis-innovation-strategy.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-workflow-cis-problem-solving.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-workflow-cis-storytelling.toml +0 -12
- package/templates/commonproject/.gemini/commands/bmad-workflow-core-brainstorming.toml +0 -4
- package/templates/commonproject/.gemini/commands/bmad-workflow-core-party-mode.toml +0 -4
- package/templates/commonproject/.gemini/commands/bmad-workflow-custom-ticket-lifecycle.toml +0 -4
- package/templates/commonproject/.github/agents/bmd-custom-bmb-agent-builder.agent.md +0 -17
- package/templates/commonproject/.github/agents/bmd-custom-bmb-module-builder.agent.md +0 -17
- package/templates/commonproject/.github/agents/bmd-custom-bmb-workflow-builder.agent.md +0 -17
- package/templates/commonproject/.github/agents/bmd-custom-bmm-analyst.agent.md +0 -17
- package/templates/commonproject/.github/agents/bmd-custom-bmm-architect.agent.md +0 -17
- package/templates/commonproject/.github/agents/bmd-custom-bmm-dev.agent.md +0 -17
- package/templates/commonproject/.github/agents/bmd-custom-bmm-pm.agent.md +0 -17
- package/templates/commonproject/.github/agents/bmd-custom-bmm-quick-flow-solo-dev.agent.md +0 -17
- package/templates/commonproject/.github/agents/bmd-custom-bmm-sm.agent.md +0 -17
- package/templates/commonproject/.github/agents/bmd-custom-bmm-tea.agent.md +0 -17
- package/templates/commonproject/.github/agents/bmd-custom-bmm-tech-writer.agent.md +0 -17
- package/templates/commonproject/.github/agents/bmd-custom-bmm-ux-designer.agent.md +0 -17
- package/templates/commonproject/.github/agents/bmd-custom-cis-brainstorming-coach.agent.md +0 -17
- package/templates/commonproject/.github/agents/bmd-custom-cis-creative-problem-solver.agent.md +0 -17
- package/templates/commonproject/.github/agents/bmd-custom-cis-design-thinking-coach.agent.md +0 -17
- package/templates/commonproject/.github/agents/bmd-custom-cis-innovation-strategist.agent.md +0 -17
- package/templates/commonproject/.github/agents/bmd-custom-cis-presentation-master.agent.md +0 -17
- package/templates/commonproject/.github/agents/bmd-custom-cis-storyteller.agent.md +0 -17
- package/templates/commonproject/.github/agents/bmd-custom-core-bmad-master.agent.md +0 -17
- package/templates/commonproject/.mcp.json +0 -12
- package/templates/commonproject/.mise/scripts/claude +0 -13
- package/templates/commonproject/.mise/scripts/create-plane-project.sh +0 -149
- package/templates/commonproject/.mise/scripts/init-project.sh +0 -314
- package/templates/commonproject/.mise/scripts/link-agentfiles.sh +0 -9
- package/templates/commonproject/.opencode/agent/bmad-agent-bmb-agent-builder.md +0 -14
- package/templates/commonproject/.opencode/agent/bmad-agent-bmb-module-builder.md +0 -14
- package/templates/commonproject/.opencode/agent/bmad-agent-bmb-workflow-builder.md +0 -14
- package/templates/commonproject/.opencode/agent/bmad-agent-bmm-analyst.md +0 -14
- package/templates/commonproject/.opencode/agent/bmad-agent-bmm-architect.md +0 -14
- package/templates/commonproject/.opencode/agent/bmad-agent-bmm-dev.md +0 -14
- package/templates/commonproject/.opencode/agent/bmad-agent-bmm-pm.md +0 -14
- package/templates/commonproject/.opencode/agent/bmad-agent-bmm-quick-flow-solo-dev.md +0 -14
- package/templates/commonproject/.opencode/agent/bmad-agent-bmm-sm.md +0 -14
- package/templates/commonproject/.opencode/agent/bmad-agent-bmm-tea.md +0 -14
- package/templates/commonproject/.opencode/agent/bmad-agent-bmm-tech-writer.md +0 -14
- package/templates/commonproject/.opencode/agent/bmad-agent-bmm-ux-designer.md +0 -14
- package/templates/commonproject/.opencode/agent/bmad-agent-cis-brainstorming-coach.md +0 -14
- package/templates/commonproject/.opencode/agent/bmad-agent-cis-creative-problem-solver.md +0 -14
- package/templates/commonproject/.opencode/agent/bmad-agent-cis-design-thinking-coach.md +0 -14
- package/templates/commonproject/.opencode/agent/bmad-agent-cis-innovation-strategist.md +0 -14
- package/templates/commonproject/.opencode/agent/bmad-agent-cis-presentation-master.md +0 -14
- package/templates/commonproject/.opencode/agent/bmad-agent-cis-storyteller.md +0 -14
- package/templates/commonproject/.opencode/agent/bmad-agent-core-bmad-master.md +0 -14
- package/templates/commonproject/.opencode/command/bmad-bmb-agent.md +0 -5
- package/templates/commonproject/.opencode/command/bmad-bmb-module.md +0 -5
- package/templates/commonproject/.opencode/command/bmad-bmb-workflow.md +0 -5
- package/templates/commonproject/.opencode/command/bmad-bmm-check-implementation-readiness.md +0 -5
- package/templates/commonproject/.opencode/command/bmad-bmm-code-review.md +0 -13
- package/templates/commonproject/.opencode/command/bmad-bmm-correct-course.md +0 -13
- package/templates/commonproject/.opencode/command/bmad-bmm-create-architecture.md +0 -5
- package/templates/commonproject/.opencode/command/bmad-bmm-create-epics-and-stories.md +0 -5
- package/templates/commonproject/.opencode/command/bmad-bmm-create-excalidraw-dataflow.md +0 -13
- package/templates/commonproject/.opencode/command/bmad-bmm-create-excalidraw-diagram.md +0 -13
- package/templates/commonproject/.opencode/command/bmad-bmm-create-excalidraw-flowchart.md +0 -13
- package/templates/commonproject/.opencode/command/bmad-bmm-create-excalidraw-wireframe.md +0 -13
- package/templates/commonproject/.opencode/command/bmad-bmm-create-product-brief.md +0 -5
- package/templates/commonproject/.opencode/command/bmad-bmm-create-story.md +0 -13
- package/templates/commonproject/.opencode/command/bmad-bmm-create-ux-design.md +0 -5
- package/templates/commonproject/.opencode/command/bmad-bmm-dev-story.md +0 -13
- package/templates/commonproject/.opencode/command/bmad-bmm-document-project.md +0 -13
- package/templates/commonproject/.opencode/command/bmad-bmm-generate-project-context.md +0 -5
- package/templates/commonproject/.opencode/command/bmad-bmm-prd.md +0 -5
- package/templates/commonproject/.opencode/command/bmad-bmm-quick-dev.md +0 -5
- package/templates/commonproject/.opencode/command/bmad-bmm-quick-spec.md +0 -5
- package/templates/commonproject/.opencode/command/bmad-bmm-research.md +0 -5
- package/templates/commonproject/.opencode/command/bmad-bmm-retrospective.md +0 -13
- package/templates/commonproject/.opencode/command/bmad-bmm-sprint-planning.md +0 -13
- package/templates/commonproject/.opencode/command/bmad-bmm-sprint-status.md +0 -13
- package/templates/commonproject/.opencode/command/bmad-bmm-testarch-atdd.md +0 -13
- package/templates/commonproject/.opencode/command/bmad-bmm-testarch-automate.md +0 -13
- package/templates/commonproject/.opencode/command/bmad-bmm-testarch-ci.md +0 -13
- package/templates/commonproject/.opencode/command/bmad-bmm-testarch-framework.md +0 -13
- package/templates/commonproject/.opencode/command/bmad-bmm-testarch-nfr.md +0 -13
- package/templates/commonproject/.opencode/command/bmad-bmm-testarch-test-design.md +0 -13
- package/templates/commonproject/.opencode/command/bmad-bmm-testarch-test-review.md +0 -13
- package/templates/commonproject/.opencode/command/bmad-bmm-testarch-trace.md +0 -13
- package/templates/commonproject/.opencode/command/bmad-bmm-workflow-init.md +0 -13
- package/templates/commonproject/.opencode/command/bmad-bmm-workflow-status.md +0 -13
- package/templates/commonproject/.opencode/command/bmad-cis-design-thinking.md +0 -13
- package/templates/commonproject/.opencode/command/bmad-cis-innovation-strategy.md +0 -13
- package/templates/commonproject/.opencode/command/bmad-cis-problem-solving.md +0 -13
- package/templates/commonproject/.opencode/command/bmad-cis-storytelling.md +0 -13
- package/templates/commonproject/.opencode/command/bmad-core-brainstorming.md +0 -5
- package/templates/commonproject/.opencode/command/bmad-core-party-mode.md +0 -5
- package/templates/commonproject/.opencode/command/bmad-custom-ticket-lifecycle.md +0 -5
- package/templates/commonproject/.opencode/command/bmad-task-core-index-docs.md +0 -9
- package/templates/commonproject/.opencode/command/bmad-task-core-shard-doc.md +0 -9
- package/templates/commonproject/.plane.json +0 -6
- package/templates/commonproject/.scripts/test-template.sh +0 -63
- package/templates/commonproject/AGENTS.md +0 -86
- package/templates/commonproject/README.md +0 -172
- package/templates/commonproject/_bmad/_config/agent-manifest.csv +0 -20
- package/templates/commonproject/_bmad/_config/agents/bmb-agent-builder.customize.yaml +0 -41
- package/templates/commonproject/_bmad/_config/agents/bmb-module-builder.customize.yaml +0 -41
- package/templates/commonproject/_bmad/_config/agents/bmb-workflow-builder.customize.yaml +0 -41
- package/templates/commonproject/_bmad/_config/agents/bmm-analyst.customize.yaml +0 -41
- package/templates/commonproject/_bmad/_config/agents/bmm-architect.customize.yaml +0 -41
- package/templates/commonproject/_bmad/_config/agents/bmm-dev.customize.yaml +0 -41
- package/templates/commonproject/_bmad/_config/agents/bmm-pm.customize.yaml +0 -41
- package/templates/commonproject/_bmad/_config/agents/bmm-quick-flow-solo-dev.customize.yaml +0 -41
- package/templates/commonproject/_bmad/_config/agents/bmm-sm.customize.yaml +0 -41
- package/templates/commonproject/_bmad/_config/agents/bmm-tea.customize.yaml +0 -41
- package/templates/commonproject/_bmad/_config/agents/bmm-tech-writer.customize.yaml +0 -41
- package/templates/commonproject/_bmad/_config/agents/bmm-ux-designer.customize.yaml +0 -41
- package/templates/commonproject/_bmad/_config/agents/cis-brainstorming-coach.customize.yaml +0 -41
- package/templates/commonproject/_bmad/_config/agents/cis-creative-problem-solver.customize.yaml +0 -41
- package/templates/commonproject/_bmad/_config/agents/cis-design-thinking-coach.customize.yaml +0 -41
- package/templates/commonproject/_bmad/_config/agents/cis-innovation-strategist.customize.yaml +0 -41
- package/templates/commonproject/_bmad/_config/agents/cis-presentation-master.customize.yaml +0 -41
- package/templates/commonproject/_bmad/_config/agents/cis-storyteller.customize.yaml +0 -41
- package/templates/commonproject/_bmad/_config/agents/core-bmad-master.customize.yaml +0 -41
- package/templates/commonproject/_bmad/_config/custom/cache-manifest.yaml +0 -4
- package/templates/commonproject/_bmad/_config/custom/custom/module.yaml +0 -8
- package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/data/ac-sufficiency-rubric.md +0 -33
- package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/data/audit-comment-template.md +0 -54
- package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/data/event-schemas.md +0 -58
- package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-c/step-01-init.md +0 -173
- package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-c/step-02-triage.md +0 -159
- package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-c/step-03-refine.md +0 -149
- package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-c/step-04-implement.md +0 -147
- package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-c/step-05-review.md +0 -146
- package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-c/step-06-qa.md +0 -199
- package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-c/step-07-complete.md +0 -141
- package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-e/step-01-assess.md +0 -102
- package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-e/step-02-apply.md +0 -85
- package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-v/step-01-validate.md +0 -154
- package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/workflow-plan-ticket-lifecycle.md +0 -346
- package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/workflow.md +0 -84
- package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/workflow.yaml +0 -39
- package/templates/commonproject/_bmad/_config/files-manifest.csv +0 -483
- package/templates/commonproject/_bmad/_config/ides/claude-code.yaml +0 -6
- package/templates/commonproject/_bmad/_config/ides/codex.yaml +0 -5
- package/templates/commonproject/_bmad/_config/manifest.yaml +0 -18
- package/templates/commonproject/_bmad/_config/task-manifest.csv +0 -5
- package/templates/commonproject/_bmad/_config/tool-manifest.csv +0 -1
- package/templates/commonproject/_bmad/_config/workflow-manifest.csv +0 -43
- package/templates/commonproject/_bmad/_memory/config.yaml +0 -11
- package/templates/commonproject/_bmad/_memory/storyteller-sidecar/stories-told.md +0 -7
- package/templates/commonproject/_bmad/_memory/storyteller-sidecar/story-preferences.md +0 -7
- package/templates/commonproject/_bmad/bmb/README.md +0 -25
- package/templates/commonproject/_bmad/bmb/agents/agent-builder.md +0 -64
- package/templates/commonproject/_bmad/bmb/agents/module-builder.md +0 -65
- package/templates/commonproject/_bmad/bmb/agents/workflow-builder.md +0 -66
- package/templates/commonproject/_bmad/bmb/config.yaml +0 -12
- package/templates/commonproject/_bmad/bmb/workflows/agent/data/agent-compilation.md +0 -273
- package/templates/commonproject/_bmad/bmb/workflows/agent/data/agent-menu-patterns.md +0 -233
- package/templates/commonproject/_bmad/bmb/workflows/agent/data/agent-metadata.md +0 -208
- package/templates/commonproject/_bmad/bmb/workflows/agent/data/brainstorm-context.md +0 -146
- package/templates/commonproject/_bmad/bmb/workflows/agent/data/communication-presets.csv +0 -61
- package/templates/commonproject/_bmad/bmb/workflows/agent/data/critical-actions.md +0 -120
- package/templates/commonproject/_bmad/bmb/workflows/agent/data/expert-agent-architecture.md +0 -236
- package/templates/commonproject/_bmad/bmb/workflows/agent/data/expert-agent-validation.md +0 -174
- package/templates/commonproject/_bmad/bmb/workflows/agent/data/module-agent-validation.md +0 -126
- package/templates/commonproject/_bmad/bmb/workflows/agent/data/persona-properties.md +0 -266
- package/templates/commonproject/_bmad/bmb/workflows/agent/data/principles-crafting.md +0 -292
- package/templates/commonproject/_bmad/bmb/workflows/agent/data/reference/module-examples/architect.md +0 -68
- package/templates/commonproject/_bmad/bmb/workflows/agent/data/simple-agent-architecture.md +0 -204
- package/templates/commonproject/_bmad/bmb/workflows/agent/data/simple-agent-validation.md +0 -133
- package/templates/commonproject/_bmad/bmb/workflows/agent/data/understanding-agent-types.md +0 -222
- package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-01-brainstorm.md +0 -128
- package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-02-discovery.md +0 -170
- package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-03-type-metadata.md +0 -296
- package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-04-persona.md +0 -212
- package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-05-commands-menu.md +0 -178
- package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-06-activation.md +0 -279
- package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-07a-build-simple.md +0 -187
- package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-07b-build-expert.md +0 -201
- package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-07c-build-module.md +0 -258
- package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-08-celebrate.md +0 -249
- package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-01-load-existing.md +0 -221
- package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-02-discover-edits.md +0 -193
- package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-03-placeholder.md +0 -1
- package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-04-type-metadata.md +0 -124
- package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-05-persona.md +0 -134
- package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-06-commands-menu.md +0 -122
- package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-07-activation.md +0 -125
- package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-08a-edit-simple.md +0 -137
- package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-08b-edit-expert.md +0 -119
- package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-08c-edit-module.md +0 -123
- package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-09-celebrate.md +0 -155
- package/templates/commonproject/_bmad/bmb/workflows/agent/steps-v/v-01-load-review.md +0 -136
- package/templates/commonproject/_bmad/bmb/workflows/agent/steps-v/v-02a-validate-metadata.md +0 -116
- package/templates/commonproject/_bmad/bmb/workflows/agent/steps-v/v-02b-validate-persona.md +0 -124
- package/templates/commonproject/_bmad/bmb/workflows/agent/steps-v/v-02c-validate-menu.md +0 -145
- package/templates/commonproject/_bmad/bmb/workflows/agent/steps-v/v-02d-validate-structure.md +0 -136
- package/templates/commonproject/_bmad/bmb/workflows/agent/steps-v/v-02e-validate-sidecar.md +0 -136
- package/templates/commonproject/_bmad/bmb/workflows/agent/steps-v/v-03-summary.md +0 -104
- package/templates/commonproject/_bmad/bmb/workflows/agent/templates/agent-plan.template.md +0 -5
- package/templates/commonproject/_bmad/bmb/workflows/agent/templates/expert-agent-template/expert-agent.template.md +0 -77
- package/templates/commonproject/_bmad/bmb/workflows/agent/templates/simple-agent.template.md +0 -72
- package/templates/commonproject/_bmad/bmb/workflows/agent/workflow.md +0 -123
- package/templates/commonproject/_bmad/bmb/workflows/module/data/agent-architecture.md +0 -179
- package/templates/commonproject/_bmad/bmb/workflows/module/data/agent-spec-template.md +0 -79
- package/templates/commonproject/_bmad/bmb/workflows/module/data/module-installer-standards.md +0 -348
- package/templates/commonproject/_bmad/bmb/workflows/module/data/module-standards.md +0 -280
- package/templates/commonproject/_bmad/bmb/workflows/module/data/module-yaml-conventions.md +0 -392
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-01-welcome.md +0 -147
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-02-spark.md +0 -140
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-03-module-type.md +0 -148
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-04-vision.md +0 -82
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-05-identity.md +0 -96
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-06-users.md +0 -85
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-07-value.md +0 -75
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-08-agents.md +0 -96
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-09-workflows.md +0 -82
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-10-tools.md +0 -90
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-11-scenarios.md +0 -83
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-12-creative.md +0 -94
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-13-review.md +0 -104
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-14-finalize.md +0 -117
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-c/step-01-load-brief.md +0 -178
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-c/step-01b-continue.md +0 -83
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-c/step-02-structure.md +0 -109
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-c/step-03-config.md +0 -118
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-c/step-04-installer.md +0 -160
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-c/step-05-agents.md +0 -167
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-c/step-06-workflows.md +0 -183
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-c/step-07-docs.md +0 -402
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-c/step-08-complete.md +0 -123
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-e/step-01-load-target.md +0 -81
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-e/step-02-select-edit.md +0 -77
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-e/step-03-apply-edit.md +0 -77
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-e/step-04-review.md +0 -80
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-e/step-05-confirm.md +0 -75
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-v/step-01-load-target.md +0 -96
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-v/step-02-file-structure.md +0 -94
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-v/step-03-module-yaml.md +0 -99
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-v/step-04-agent-specs.md +0 -152
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-v/step-05-workflow-specs.md +0 -152
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-v/step-06-documentation.md +0 -143
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-v/step-07-installation.md +0 -113
- package/templates/commonproject/_bmad/bmb/workflows/module/steps-v/step-08-report.md +0 -197
- package/templates/commonproject/_bmad/bmb/workflows/module/templates/brief-template.md +0 -154
- package/templates/commonproject/_bmad/bmb/workflows/module/templates/workflow-spec-template.md +0 -96
- package/templates/commonproject/_bmad/bmb/workflows/module/workflow.md +0 -100
- package/templates/commonproject/_bmad/bmb/workflows/workflow/data/architecture.md +0 -152
- package/templates/commonproject/_bmad/bmb/workflows/workflow/data/common-workflow-tools.csv +0 -19
- package/templates/commonproject/_bmad/bmb/workflows/workflow/data/csv-data-file-standards.md +0 -81
- package/templates/commonproject/_bmad/bmb/workflows/workflow/data/frontmatter-standards.md +0 -225
- package/templates/commonproject/_bmad/bmb/workflows/workflow/data/input-discovery-standards.md +0 -269
- package/templates/commonproject/_bmad/bmb/workflows/workflow/data/intent-vs-prescriptive-spectrum.md +0 -50
- package/templates/commonproject/_bmad/bmb/workflows/workflow/data/menu-handling-standards.md +0 -167
- package/templates/commonproject/_bmad/bmb/workflows/workflow/data/output-format-standards.md +0 -188
- package/templates/commonproject/_bmad/bmb/workflows/workflow/data/step-file-rules.md +0 -235
- package/templates/commonproject/_bmad/bmb/workflows/workflow/data/step-type-patterns.md +0 -311
- package/templates/commonproject/_bmad/bmb/workflows/workflow/data/subprocess-optimization-patterns.md +0 -386
- package/templates/commonproject/_bmad/bmb/workflows/workflow/data/trimodal-workflow-structure.md +0 -209
- package/templates/commonproject/_bmad/bmb/workflows/workflow/data/workflow-chaining-standards.md +0 -271
- package/templates/commonproject/_bmad/bmb/workflows/workflow/data/workflow-examples.md +0 -276
- package/templates/commonproject/_bmad/bmb/workflows/workflow/data/workflow-type-criteria.md +0 -172
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-00-conversion.md +0 -262
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-01-discovery.md +0 -194
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-01b-continuation.md +0 -3
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-02-classification.md +0 -269
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-03-requirements.md +0 -282
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-04-tools.md +0 -281
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-05-plan-review.md +0 -242
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-06-design.md +0 -329
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-07-foundation.md +0 -238
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-08-build-step-01.md +0 -377
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-09-build-next-step.md +0 -350
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-10-confirmation.md +0 -320
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-11-completion.md +0 -191
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-e/step-e-01-assess-workflow.md +0 -237
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-e/step-e-02-discover-edits.md +0 -248
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-e/step-e-03-fix-validation.md +0 -252
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-e/step-e-04-direct-edit.md +0 -275
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-e/step-e-05-apply-edit.md +0 -154
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-e/step-e-06-validate-after.md +0 -190
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-e/step-e-07-complete.md +0 -206
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-01-validate-max-mode.md +0 -109
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-01-validate.md +0 -221
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-01b-structure.md +0 -152
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-02-frontmatter-validation.md +0 -199
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-02b-path-violations.md +0 -265
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-03-menu-validation.md +0 -164
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-04-step-type-validation.md +0 -211
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-05-output-format-validation.md +0 -200
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-06-validation-design-check.md +0 -195
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-07-instruction-style-check.md +0 -209
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-08-collaborative-experience-check.md +0 -199
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-08b-subprocess-optimization.md +0 -179
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-09-cohesive-review.md +0 -186
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-10-report-complete.md +0 -154
- package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-11-plan-validation.md +0 -237
- package/templates/commonproject/_bmad/bmb/workflows/workflow/templates/minimal-output-template.md +0 -11
- package/templates/commonproject/_bmad/bmb/workflows/workflow/templates/step-01-init-continuable-template.md +0 -241
- package/templates/commonproject/_bmad/bmb/workflows/workflow/templates/step-1b-template.md +0 -223
- package/templates/commonproject/_bmad/bmb/workflows/workflow/templates/step-template.md +0 -290
- package/templates/commonproject/_bmad/bmb/workflows/workflow/templates/workflow-template.md +0 -102
- package/templates/commonproject/_bmad/bmb/workflows/workflow/workflow.md +0 -109
- package/templates/commonproject/_bmad/bmm/agents/analyst.md +0 -82
- package/templates/commonproject/_bmad/bmm/agents/architect.md +0 -74
- package/templates/commonproject/_bmad/bmm/agents/dev.md +0 -76
- package/templates/commonproject/_bmad/bmm/agents/pm.md +0 -78
- package/templates/commonproject/_bmad/bmm/agents/quick-flow-solo-dev.md +0 -74
- package/templates/commonproject/_bmad/bmm/agents/sm.md +0 -77
- package/templates/commonproject/_bmad/bmm/agents/tea.md +0 -77
- package/templates/commonproject/_bmad/bmm/agents/tech-writer.md +0 -78
- package/templates/commonproject/_bmad/bmm/agents/ux-designer.md +0 -74
- package/templates/commonproject/_bmad/bmm/config.yaml +0 -18
- package/templates/commonproject/_bmad/bmm/data/README.md +0 -29
- package/templates/commonproject/_bmad/bmm/data/documentation-standards.md +0 -262
- package/templates/commonproject/_bmad/bmm/data/project-context-template.md +0 -40
- package/templates/commonproject/_bmad/bmm/teams/default-party.csv +0 -21
- package/templates/commonproject/_bmad/bmm/teams/team-fullstack.yaml +0 -12
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/api-request.md +0 -442
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/api-testing-patterns.md +0 -843
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/auth-session.md +0 -552
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/burn-in.md +0 -273
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/ci-burn-in.md +0 -675
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/component-tdd.md +0 -486
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/contract-testing.md +0 -957
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/data-factories.md +0 -500
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/email-auth.md +0 -721
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/error-handling.md +0 -725
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/feature-flags.md +0 -750
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/file-utils.md +0 -463
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/fixture-architecture.md +0 -401
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/fixtures-composition.md +0 -382
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/intercept-network-call.md +0 -430
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/log.md +0 -429
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/network-error-monitor.md +0 -405
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/network-first.md +0 -486
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/network-recorder.md +0 -527
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/nfr-criteria.md +0 -670
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/overview.md +0 -286
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/playwright-config.md +0 -730
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/probability-impact.md +0 -601
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/recurse.md +0 -421
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/risk-governance.md +0 -615
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/selective-testing.md +0 -732
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/selector-resilience.md +0 -527
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/test-healing-patterns.md +0 -644
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/test-levels-framework.md +0 -473
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/test-priorities-matrix.md +0 -373
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/test-quality.md +0 -664
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/timing-debugging.md +0 -372
- package/templates/commonproject/_bmad/bmm/testarch/knowledge/visual-debugging.md +0 -524
- package/templates/commonproject/_bmad/bmm/testarch/tea-index.csv +0 -34
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/create-product-brief/product-brief.template.md +0 -10
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-01-init.md +0 -177
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-01b-continue.md +0 -161
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-02-vision.md +0 -199
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-03-users.md +0 -202
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-04-metrics.md +0 -205
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-05-scope.md +0 -219
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-06-complete.md +0 -194
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/create-product-brief/workflow.md +0 -58
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +0 -137
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +0 -229
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +0 -238
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +0 -206
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +0 -234
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +0 -443
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +0 -182
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +0 -237
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +0 -200
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +0 -249
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +0 -259
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +0 -177
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +0 -475
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/research.template.md +0 -29
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +0 -137
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +0 -239
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +0 -248
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +0 -202
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +0 -239
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +0 -486
- package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/workflow.md +0 -173
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +0 -135
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +0 -127
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +0 -190
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +0 -216
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +0 -219
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +0 -234
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +0 -252
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +0 -254
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +0 -224
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +0 -224
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +0 -241
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +0 -248
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +0 -237
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +0 -264
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +0 -228
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +0 -13
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +0 -43
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/data/domain-complexity.csv +0 -13
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/data/prd-purpose.md +0 -197
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/data/project-types.csv +0 -11
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-01-init.md +0 -191
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-01b-continue.md +0 -153
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-02-discovery.md +0 -224
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-03-success.md +0 -226
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-04-journeys.md +0 -213
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-05-domain.md +0 -207
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-06-innovation.md +0 -226
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-07-project-type.md +0 -237
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-08-scoping.md +0 -228
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-09-functional.md +0 -231
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-10-nonfunctional.md +0 -242
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-11-polish.md +0 -217
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-12-complete.md +0 -180
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-e/step-e-01-discovery.md +0 -247
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-e/step-e-01b-legacy-conversion.md +0 -208
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-e/step-e-02-review.md +0 -249
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-e/step-e-03-edit.md +0 -253
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-e/step-e-04-complete.md +0 -168
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-01-discovery.md +0 -218
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-02-format-detection.md +0 -191
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-02b-parity-check.md +0 -209
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-03-density-validation.md +0 -174
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-04-brief-coverage-validation.md +0 -214
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-05-measurability-validation.md +0 -228
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-06-traceability-validation.md +0 -217
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-07-implementation-leakage-validation.md +0 -205
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-08-domain-compliance-validation.md +0 -243
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-09-project-type-validation.md +0 -263
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-10-smart-validation.md +0 -209
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-11-holistic-quality-validation.md +0 -264
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-12-completeness-validation.md +0 -242
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-13-report-complete.md +0 -232
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/templates/prd-template.md +0 -10
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/validation-report-prd-workflow.md +0 -433
- package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/workflow.md +0 -150
- package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-01-document-discovery.md +0 -190
- package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-02-prd-analysis.md +0 -178
- package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-03-epic-coverage-validation.md +0 -179
- package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-04-ux-alignment.md +0 -139
- package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-05-epic-quality-review.md +0 -252
- package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-06-final-assessment.md +0 -133
- package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/templates/readiness-report-template.md +0 -4
- package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/workflow.md +0 -55
- package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/architecture-decision-template.md +0 -12
- package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/data/domain-complexity.csv +0 -11
- package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/data/project-types.csv +0 -7
- package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-01-init.md +0 -153
- package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-01b-continue.md +0 -164
- package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-02-context.md +0 -224
- package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-03-starter.md +0 -331
- package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-04-decisions.md +0 -318
- package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-05-patterns.md +0 -359
- package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-06-structure.md +0 -379
- package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-07-validation.md +0 -359
- package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-08-complete.md +0 -352
- package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/workflow.md +0 -50
- package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +0 -259
- package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +0 -233
- package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +0 -272
- package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +0 -145
- package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +0 -57
- package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +0 -59
- package/templates/commonproject/_bmad/bmm/workflows/4-implementation/code-review/checklist.md +0 -23
- package/templates/commonproject/_bmad/bmm/workflows/4-implementation/code-review/instructions.xml +0 -227
- package/templates/commonproject/_bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +0 -50
- package/templates/commonproject/_bmad/bmm/workflows/4-implementation/correct-course/checklist.md +0 -279
- package/templates/commonproject/_bmad/bmm/workflows/4-implementation/correct-course/instructions.md +0 -206
- package/templates/commonproject/_bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +0 -58
- package/templates/commonproject/_bmad/bmm/workflows/4-implementation/create-story/checklist.md +0 -358
- package/templates/commonproject/_bmad/bmm/workflows/4-implementation/create-story/instructions.xml +0 -345
- package/templates/commonproject/_bmad/bmm/workflows/4-implementation/create-story/template.md +0 -49
- package/templates/commonproject/_bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +0 -59
- package/templates/commonproject/_bmad/bmm/workflows/4-implementation/dev-story/checklist.md +0 -80
- package/templates/commonproject/_bmad/bmm/workflows/4-implementation/dev-story/instructions.xml +0 -410
- package/templates/commonproject/_bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +0 -25
- package/templates/commonproject/_bmad/bmm/workflows/4-implementation/retrospective/instructions.md +0 -1443
- package/templates/commonproject/_bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +0 -57
- package/templates/commonproject/_bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +0 -33
- package/templates/commonproject/_bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +0 -225
- package/templates/commonproject/_bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +0 -55
- package/templates/commonproject/_bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +0 -52
- package/templates/commonproject/_bmad/bmm/workflows/4-implementation/sprint-status/instructions.md +0 -229
- package/templates/commonproject/_bmad/bmm/workflows/4-implementation/sprint-status/workflow.yaml +0 -35
- package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-01-mode-detection.md +0 -156
- package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-02-context-gathering.md +0 -120
- package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-03-execute.md +0 -113
- package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-04-self-check.md +0 -113
- package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-05-adversarial-review.md +0 -106
- package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-06-resolve-findings.md +0 -140
- package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/workflow.md +0 -52
- package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-01-understand.md +0 -189
- package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-02-investigate.md +0 -144
- package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-03-generate.md +0 -128
- package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-04-review.md +0 -173
- package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/tech-spec-template.md +0 -74
- package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/workflow.md +0 -79
- package/templates/commonproject/_bmad/bmm/workflows/document-project/checklist.md +0 -245
- package/templates/commonproject/_bmad/bmm/workflows/document-project/documentation-requirements.csv +0 -12
- package/templates/commonproject/_bmad/bmm/workflows/document-project/instructions.md +0 -221
- package/templates/commonproject/_bmad/bmm/workflows/document-project/templates/deep-dive-template.md +0 -345
- package/templates/commonproject/_bmad/bmm/workflows/document-project/templates/index-template.md +0 -169
- package/templates/commonproject/_bmad/bmm/workflows/document-project/templates/project-overview-template.md +0 -103
- package/templates/commonproject/_bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +0 -160
- package/templates/commonproject/_bmad/bmm/workflows/document-project/templates/source-tree-template.md +0 -135
- package/templates/commonproject/_bmad/bmm/workflows/document-project/workflow.yaml +0 -28
- package/templates/commonproject/_bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +0 -298
- package/templates/commonproject/_bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +0 -31
- package/templates/commonproject/_bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +0 -1106
- package/templates/commonproject/_bmad/bmm/workflows/document-project/workflows/full-scan.yaml +0 -31
- package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/_shared/excalidraw-library.json +0 -90
- package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/_shared/excalidraw-templates.yaml +0 -127
- package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-dataflow/checklist.md +0 -39
- package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-dataflow/instructions.md +0 -130
- package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-dataflow/workflow.yaml +0 -26
- package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-diagram/checklist.md +0 -43
- package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-diagram/instructions.md +0 -141
- package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-diagram/workflow.yaml +0 -26
- package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-flowchart/checklist.md +0 -49
- package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-flowchart/instructions.md +0 -241
- package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-flowchart/workflow.yaml +0 -26
- package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-wireframe/checklist.md +0 -38
- package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-wireframe/instructions.md +0 -133
- package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-wireframe/workflow.yaml +0 -26
- package/templates/commonproject/_bmad/bmm/workflows/generate-project-context/project-context-template.md +0 -21
- package/templates/commonproject/_bmad/bmm/workflows/generate-project-context/steps/step-01-discover.md +0 -184
- package/templates/commonproject/_bmad/bmm/workflows/generate-project-context/steps/step-02-generate.md +0 -318
- package/templates/commonproject/_bmad/bmm/workflows/generate-project-context/steps/step-03-complete.md +0 -278
- package/templates/commonproject/_bmad/bmm/workflows/generate-project-context/workflow.md +0 -49
- package/templates/commonproject/_bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +0 -364
- package/templates/commonproject/_bmad/bmm/workflows/testarch/atdd/checklist.md +0 -374
- package/templates/commonproject/_bmad/bmm/workflows/testarch/atdd/instructions.md +0 -806
- package/templates/commonproject/_bmad/bmm/workflows/testarch/atdd/workflow.yaml +0 -45
- package/templates/commonproject/_bmad/bmm/workflows/testarch/automate/checklist.md +0 -582
- package/templates/commonproject/_bmad/bmm/workflows/testarch/automate/instructions.md +0 -1324
- package/templates/commonproject/_bmad/bmm/workflows/testarch/automate/workflow.yaml +0 -52
- package/templates/commonproject/_bmad/bmm/workflows/testarch/ci/checklist.md +0 -248
- package/templates/commonproject/_bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +0 -198
- package/templates/commonproject/_bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +0 -149
- package/templates/commonproject/_bmad/bmm/workflows/testarch/ci/instructions.md +0 -536
- package/templates/commonproject/_bmad/bmm/workflows/testarch/ci/workflow.yaml +0 -45
- package/templates/commonproject/_bmad/bmm/workflows/testarch/framework/checklist.md +0 -321
- package/templates/commonproject/_bmad/bmm/workflows/testarch/framework/instructions.md +0 -481
- package/templates/commonproject/_bmad/bmm/workflows/testarch/framework/workflow.yaml +0 -47
- package/templates/commonproject/_bmad/bmm/workflows/testarch/nfr-assess/checklist.md +0 -407
- package/templates/commonproject/_bmad/bmm/workflows/testarch/nfr-assess/instructions.md +0 -722
- package/templates/commonproject/_bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +0 -445
- package/templates/commonproject/_bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +0 -47
- package/templates/commonproject/_bmad/bmm/workflows/testarch/test-design/checklist.md +0 -235
- package/templates/commonproject/_bmad/bmm/workflows/testarch/test-design/instructions.md +0 -788
- package/templates/commonproject/_bmad/bmm/workflows/testarch/test-design/test-design-template.md +0 -294
- package/templates/commonproject/_bmad/bmm/workflows/testarch/test-design/workflow.yaml +0 -54
- package/templates/commonproject/_bmad/bmm/workflows/testarch/test-review/checklist.md +0 -472
- package/templates/commonproject/_bmad/bmm/workflows/testarch/test-review/instructions.md +0 -628
- package/templates/commonproject/_bmad/bmm/workflows/testarch/test-review/test-review-template.md +0 -390
- package/templates/commonproject/_bmad/bmm/workflows/testarch/test-review/workflow.yaml +0 -46
- package/templates/commonproject/_bmad/bmm/workflows/testarch/trace/checklist.md +0 -655
- package/templates/commonproject/_bmad/bmm/workflows/testarch/trace/instructions.md +0 -1047
- package/templates/commonproject/_bmad/bmm/workflows/testarch/trace/trace-template.md +0 -675
- package/templates/commonproject/_bmad/bmm/workflows/testarch/trace/workflow.yaml +0 -55
- package/templates/commonproject/_bmad/bmm/workflows/workflow-status/init/instructions.md +0 -346
- package/templates/commonproject/_bmad/bmm/workflows/workflow-status/init/workflow.yaml +0 -29
- package/templates/commonproject/_bmad/bmm/workflows/workflow-status/instructions.md +0 -395
- package/templates/commonproject/_bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +0 -103
- package/templates/commonproject/_bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +0 -100
- package/templates/commonproject/_bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml +0 -103
- package/templates/commonproject/_bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml +0 -100
- package/templates/commonproject/_bmad/bmm/workflows/workflow-status/project-levels.yaml +0 -59
- package/templates/commonproject/_bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +0 -24
- package/templates/commonproject/_bmad/bmm/workflows/workflow-status/workflow.yaml +0 -30
- package/templates/commonproject/_bmad/cis/agents/brainstorming-coach.md +0 -66
- package/templates/commonproject/_bmad/cis/agents/creative-problem-solver.md +0 -66
- package/templates/commonproject/_bmad/cis/agents/design-thinking-coach.md +0 -66
- package/templates/commonproject/_bmad/cis/agents/innovation-strategist.md +0 -66
- package/templates/commonproject/_bmad/cis/agents/presentation-master.md +0 -72
- package/templates/commonproject/_bmad/cis/agents/storyteller/storyteller.md +0 -63
- package/templates/commonproject/_bmad/cis/config.yaml +0 -11
- package/templates/commonproject/_bmad/cis/teams/creative-squad.yaml +0 -7
- package/templates/commonproject/_bmad/cis/teams/default-party.csv +0 -12
- package/templates/commonproject/_bmad/cis/workflows/README.md +0 -139
- package/templates/commonproject/_bmad/cis/workflows/design-thinking/README.md +0 -56
- package/templates/commonproject/_bmad/cis/workflows/design-thinking/design-methods.csv +0 -31
- package/templates/commonproject/_bmad/cis/workflows/design-thinking/instructions.md +0 -202
- package/templates/commonproject/_bmad/cis/workflows/design-thinking/template.md +0 -111
- package/templates/commonproject/_bmad/cis/workflows/design-thinking/workflow.yaml +0 -27
- package/templates/commonproject/_bmad/cis/workflows/innovation-strategy/README.md +0 -56
- package/templates/commonproject/_bmad/cis/workflows/innovation-strategy/innovation-frameworks.csv +0 -31
- package/templates/commonproject/_bmad/cis/workflows/innovation-strategy/instructions.md +0 -276
- package/templates/commonproject/_bmad/cis/workflows/innovation-strategy/template.md +0 -189
- package/templates/commonproject/_bmad/cis/workflows/innovation-strategy/workflow.yaml +0 -27
- package/templates/commonproject/_bmad/cis/workflows/problem-solving/README.md +0 -56
- package/templates/commonproject/_bmad/cis/workflows/problem-solving/instructions.md +0 -252
- package/templates/commonproject/_bmad/cis/workflows/problem-solving/solving-methods.csv +0 -31
- package/templates/commonproject/_bmad/cis/workflows/problem-solving/template.md +0 -165
- package/templates/commonproject/_bmad/cis/workflows/problem-solving/workflow.yaml +0 -27
- package/templates/commonproject/_bmad/cis/workflows/storytelling/README.md +0 -58
- package/templates/commonproject/_bmad/cis/workflows/storytelling/instructions.md +0 -293
- package/templates/commonproject/_bmad/cis/workflows/storytelling/story-types.csv +0 -26
- package/templates/commonproject/_bmad/cis/workflows/storytelling/template.md +0 -113
- package/templates/commonproject/_bmad/cis/workflows/storytelling/workflow.yaml +0 -27
- package/templates/commonproject/_bmad/core/agents/bmad-master.md +0 -63
- package/templates/commonproject/_bmad/core/config.yaml +0 -9
- package/templates/commonproject/_bmad/core/resources/excalidraw/README.md +0 -160
- package/templates/commonproject/_bmad/core/resources/excalidraw/excalidraw-helpers.md +0 -127
- package/templates/commonproject/_bmad/core/resources/excalidraw/library-loader.md +0 -50
- package/templates/commonproject/_bmad/core/resources/excalidraw/validate-json-instructions.md +0 -79
- package/templates/commonproject/_bmad/core/tasks/index-docs.xml +0 -65
- package/templates/commonproject/_bmad/core/tasks/review-adversarial-general.xml +0 -41
- package/templates/commonproject/_bmad/core/tasks/shard-doc.xml +0 -109
- package/templates/commonproject/_bmad/core/tasks/workflow.xml +0 -235
- package/templates/commonproject/_bmad/core/workflows/advanced-elicitation/methods.csv +0 -51
- package/templates/commonproject/_bmad/core/workflows/advanced-elicitation/workflow.xml +0 -117
- package/templates/commonproject/_bmad/core/workflows/brainstorming/brain-methods.csv +0 -62
- package/templates/commonproject/_bmad/core/workflows/brainstorming/steps/step-01-session-setup.md +0 -197
- package/templates/commonproject/_bmad/core/workflows/brainstorming/steps/step-01b-continue.md +0 -122
- package/templates/commonproject/_bmad/core/workflows/brainstorming/steps/step-02a-user-selected.md +0 -225
- package/templates/commonproject/_bmad/core/workflows/brainstorming/steps/step-02b-ai-recommended.md +0 -237
- package/templates/commonproject/_bmad/core/workflows/brainstorming/steps/step-02c-random-selection.md +0 -209
- package/templates/commonproject/_bmad/core/workflows/brainstorming/steps/step-02d-progressive-flow.md +0 -264
- package/templates/commonproject/_bmad/core/workflows/brainstorming/steps/step-03-technique-execution.md +0 -399
- package/templates/commonproject/_bmad/core/workflows/brainstorming/steps/step-04-idea-organization.md +0 -303
- package/templates/commonproject/_bmad/core/workflows/brainstorming/template.md +0 -15
- package/templates/commonproject/_bmad/core/workflows/brainstorming/workflow.md +0 -58
- package/templates/commonproject/_bmad/core/workflows/party-mode/steps/step-01-agent-loading.md +0 -139
- package/templates/commonproject/_bmad/core/workflows/party-mode/steps/step-02-discussion-orchestration.md +0 -204
- package/templates/commonproject/_bmad/core/workflows/party-mode/steps/step-03-graceful-exit.md +0 -159
- package/templates/commonproject/_bmad/core/workflows/party-mode/workflow.md +0 -206
- package/templates/commonproject/_bmad/custom/config.yaml +0 -11
- package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/data/ac-sufficiency-rubric.md +0 -33
- package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/data/audit-comment-template.md +0 -54
- package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/data/event-schemas.md +0 -58
- package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-c/step-01-init.md +0 -173
- package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-c/step-02-triage.md +0 -159
- package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-c/step-03-refine.md +0 -149
- package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-c/step-04-implement.md +0 -147
- package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-c/step-05-review.md +0 -146
- package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-c/step-06-qa.md +0 -199
- package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-c/step-07-complete.md +0 -141
- package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-e/step-01-assess.md +0 -102
- package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-e/step-02-apply.md +0 -85
- package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-v/step-01-validate.md +0 -154
- package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/workflow-plan-ticket-lifecycle.md +0 -346
- package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/workflow.md +0 -84
- package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/workflow.yaml +0 -39
- package/templates/commonproject/mise.toml +0 -38
- package/templates/commonproject/template/.mise/scripts/provision-bmad-skills.py +0 -480
- package/templates/commonproject/tests/test_provision_bmad_skills.py +0 -203
- package/templates/commonproject/tests/test_sync_skills_topology.py +0 -120
- package/templates/hermes-agent/README.md +0 -192
- package/templates/hermes-agent/config.example.toml +0 -1
- package/templates/hermes-agent/docs/architecture.md +0 -135
- package/templates/hermes-agent/docs/fleet-control-plane/README.md +0 -35
- package/templates/hermes-agent/docs/fleet-control-plane/architecture.md +0 -258
- package/templates/hermes-agent/docs/fleet-control-plane/epics-and-stories.md +0 -280
- package/templates/hermes-agent/docs/fleet-control-plane/implementation-readiness-report-2026-06-27.md +0 -118
- package/templates/hermes-agent/docs/fleet-control-plane/prd.md +0 -140
- package/templates/hermes-agent/docs/operations.md +0 -335
- package/templates/hermes-agent/docs/runbooks/runtime-checkpoint-repair.md +0 -31
- package/templates/hermes-agent/docs/sentinel/README.md +0 -119
- package/templates/hermes-agent/docs/sentinel/architecture.md +0 -202
- package/templates/hermes-agent/docs/sentinel/development.md +0 -274
- package/templates/hermes-agent/docs/sentinel/providers.md +0 -203
- package/templates/hermes-agent/docs/sentinel.md +0 -18
- package/templates/hermes-agent/install-local.sh +0 -253
- package/templates/hermes-agent/runtime-scaffold/.gitattributes +0 -10
- package/templates/hermes-agent/runtime-scaffold/README.md +0 -55
- package/templates/hermes-agent/runtime-scaffold/decisions/.gitkeep +0 -2
- package/templates/hermes-agent/runtime-scaffold/logs/.gitkeep +0 -1
- package/templates/hermes-agent/runtime-scaffold/memories/MEMORY.md +0 -47
- package/templates/hermes-agent/runtime-scaffold/memories/USER.md +0 -51
- package/templates/hermes-agent/scripts/backfill-fleet-sot.sh +0 -270
- package/templates/hermes-agent/scripts/degit-runtime.sh +0 -192
- package/templates/hermes-agent/scripts/fleet-prune-debris.sh +0 -128
- package/templates/hermes-agent/scripts/fleet-sync.sh +0 -526
- package/templates/hermes-agent/scripts/hermes-runtime-templatize.py +0 -321
- package/templates/hermes-agent/scripts/migrate-profile-scoped-chat-secrets.py +0 -136
- package/templates/hermes-agent/scripts/migrate-unify.sh +0 -252
- package/templates/hermes-agent/scripts/momo-unify-agent.py +0 -224
- package/templates/hermes-agent/scripts/repair-runtime-checkpoint.sh +0 -10
- package/templates/hermes-agent/scripts/retrofit-70-envfile.sh +0 -129
- package/templates/hermes-agent/scripts/unify-pm.sh +0 -148
- package/templates/hermes-agent/tests/test_bloodbank_consumer_contract.py +0 -437
- package/templates/hermes-agent/tests/test_fleet_upgrade_contract.py +0 -176
- package/templates/hermes-agent/tests/test_launcher_chat_secret_isolation.py +0 -85
- package/templates/hermes-agent/tests/test_local_runtime_provisioning.py +0 -130
- package/templates/hermes-agent/tests/test_operator_docs_local_runtime_contract.py +0 -132
- package/templates/hermes-agent/tests/test_profile_env_detach_contract.py +0 -14
- package/templates/hermes-agent/tests/test_profile_scoped_chat_secrets.py +0 -89
- package/templates/hermes-agent/tests/test_repository_privacy_contract.py +0 -32
- package/templates/hermes-agent/tests/test_slack_provisioning.py +0 -344
- package/templates/hermes-agent/tests/test_telegram_provisioning.py +0 -475
|
@@ -1,252 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
set -euo pipefail
|
|
3
|
-
|
|
4
|
-
# migrate-unify — one-time fleet migration to the unified single-PM model.
|
|
5
|
-
#
|
|
6
|
-
# Decommissions the legacy `scrum-master` agents, collapsing each repo from a
|
|
7
|
-
# PM + scrum-master pair down to a single PM. The PM keeps running untouched;
|
|
8
|
-
# its checkpoint→heartbeat refresh is a separate uniform pass (and with
|
|
9
|
-
# reconcile disabled by default the PM heartbeat is checkpoint-only, so removing
|
|
10
|
-
# the scrum-master is behavior-complete for the collapse).
|
|
11
|
-
#
|
|
12
|
-
# Drives ENTIRELY off the registry's role=scrum-master entries
|
|
13
|
-
# (role_dir / project_path / runtime_repo) — NEVER name-derived paths, because
|
|
14
|
-
# keepy-money lives at ~/code/tiller, zshyzsh at ~/.config/zshyzsh, and
|
|
15
|
-
# delocontainers at ~/docker.
|
|
16
|
-
#
|
|
17
|
-
# Safety model:
|
|
18
|
-
# * DRY-RUN by default — prints exactly what it WOULD do, touches nothing.
|
|
19
|
-
# * --apply performs the REVERSIBLE local teardown:
|
|
20
|
-
# - stop + disable + remove the scrum-master's systemd --user units
|
|
21
|
-
# - `git submodule deinit` + `git rm` the scrum-master role dir + clean
|
|
22
|
-
# .gitmodules / .git/modules (STAGED only — never commits or pushes)
|
|
23
|
-
# - remove the ~/.hermes/profiles/<sm-id> symlink
|
|
24
|
-
# - drop the scrum-master entry from the fleet registry (.bak first)
|
|
25
|
-
# * The IRREVERSIBLE `gh repo delete` of each scrum-master runtime repo is held
|
|
26
|
-
# behind BOTH --decommission-sm-remotes AND --yes-i-mean-it, and runs only
|
|
27
|
-
# after all local teardown has succeeded.
|
|
28
|
-
#
|
|
29
|
-
# It never commits or pushes any project repo — staged submodule removals are
|
|
30
|
-
# left for you to review and commit (some live in sensitive repos: ~/docker,
|
|
31
|
-
# ~/.config/zshyzsh).
|
|
32
|
-
#
|
|
33
|
-
# Usage:
|
|
34
|
-
# migrate-unify.sh # dry-run report (all scrum-masters)
|
|
35
|
-
# migrate-unify.sh --apply # reversible local teardown
|
|
36
|
-
# migrate-unify.sh --apply --decommission-sm-remotes --yes-i-mean-it
|
|
37
|
-
# # + delete the runtime repos on GitHub
|
|
38
|
-
# migrate-unify.sh --agent pjangler-scrum-master [--apply ...] # one only
|
|
39
|
-
|
|
40
|
-
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
41
|
-
|
|
42
|
-
HERMES_TEMPLATE_CONFIG="${HERMES_TEMPLATE_CONFIG:-${XDG_CONFIG_HOME:-$HOME/.config}/hermes-agent-template/config.toml}"
|
|
43
|
-
cfg() { # cfg <dotted.key> <default>
|
|
44
|
-
local key="$1" def="$2"
|
|
45
|
-
{ [[ -f "$HERMES_TEMPLATE_CONFIG" ]] && command -v python3 >/dev/null 2>&1; } || { printf '%s' "$def"; return 0; }
|
|
46
|
-
python3 - "$HERMES_TEMPLATE_CONFIG" "$key" "$def" <<'PYEOF' || printf '%s' "$def"
|
|
47
|
-
import sys, os
|
|
48
|
-
try:
|
|
49
|
-
import tomllib
|
|
50
|
-
except ModuleNotFoundError:
|
|
51
|
-
print(sys.argv[3], end=""); sys.exit(0)
|
|
52
|
-
try:
|
|
53
|
-
cur = tomllib.load(open(sys.argv[1], "rb"))
|
|
54
|
-
except Exception:
|
|
55
|
-
print(sys.argv[3], end=""); sys.exit(0)
|
|
56
|
-
for p in sys.argv[2].split("."):
|
|
57
|
-
if isinstance(cur, dict) and p in cur:
|
|
58
|
-
cur = cur[p]
|
|
59
|
-
else:
|
|
60
|
-
print(sys.argv[3], end=""); sys.exit(0)
|
|
61
|
-
print(os.path.expanduser(str(cur)), end="")
|
|
62
|
-
PYEOF
|
|
63
|
-
return 0
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
FLEET_ENV="${HERMES_FLEET_ENV:-$(cfg fleet.fleet_env "$HOME/.hermes/fleet.env")}"
|
|
67
|
-
[[ -f "$FLEET_ENV" ]] && { # shellcheck disable=SC1090
|
|
68
|
-
source "$FLEET_ENV"; }
|
|
69
|
-
REGISTRY_FILE="${HERMES_FLEET_REGISTRY_FILE:-$(cfg fleet.registry_file "$HOME/.hermes/agents-registry.yaml")}"
|
|
70
|
-
PROFILES_DIR="${HERMES_FLEET_HOME:-$HOME/.hermes}/profiles"
|
|
71
|
-
SYS_DIR="$HOME/.config/systemd/user"
|
|
72
|
-
|
|
73
|
-
APPLY=0
|
|
74
|
-
DELETE_REMOTES=0
|
|
75
|
-
CONFIRM=0
|
|
76
|
-
declare -a ONLY_AGENTS=()
|
|
77
|
-
while [[ $# -gt 0 ]]; do
|
|
78
|
-
case "$1" in
|
|
79
|
-
--apply) APPLY=1 ;;
|
|
80
|
-
--decommission-sm-remotes) DELETE_REMOTES=1 ;;
|
|
81
|
-
--yes-i-mean-it) CONFIRM=1 ;;
|
|
82
|
-
--all) : ;; # accepted for symmetry; default is already all scrum-masters
|
|
83
|
-
--agent) shift; ONLY_AGENTS+=("$1") ;;
|
|
84
|
-
-h|--help) sed -n '3,55p' "$0"; exit 0 ;;
|
|
85
|
-
*) echo "migrate-unify: unknown flag $1" >&2; exit 2 ;;
|
|
86
|
-
esac
|
|
87
|
-
shift
|
|
88
|
-
done
|
|
89
|
-
|
|
90
|
-
[[ -f "$REGISTRY_FILE" ]] || { echo "migrate-unify: registry not found: $REGISTRY_FILE" >&2; exit 2; }
|
|
91
|
-
command -v python3 >/dev/null || { echo "migrate-unify: python3 required" >&2; exit 2; }
|
|
92
|
-
|
|
93
|
-
MODE="DRY-RUN"; [[ $APPLY -eq 1 ]] && MODE="APPLY"
|
|
94
|
-
echo "migrate-unify — mode: $MODE registry: $REGISTRY_FILE"
|
|
95
|
-
echo "================================================================"
|
|
96
|
-
|
|
97
|
-
# Emit scrum-master rows (pjangler first), TSV: agent_id, repo, role_dir, project_path, runtime_repo, profile_name
|
|
98
|
-
read_sm() {
|
|
99
|
-
python3 - "$REGISTRY_FILE" <<'PYEOF'
|
|
100
|
-
import sys, yaml
|
|
101
|
-
data = yaml.safe_load(open(sys.argv[1], encoding="utf-8")) or {}
|
|
102
|
-
rows = []
|
|
103
|
-
for aid, a in (data.get("agents") or {}).items():
|
|
104
|
-
if not isinstance(a, dict) or a.get("role") != "scrum-master":
|
|
105
|
-
continue
|
|
106
|
-
rows.append((aid, str(a.get("repo") or ""), str(a.get("role_dir") or ""),
|
|
107
|
-
str(a.get("project_path") or ""), str(a.get("runtime_repo") or ""),
|
|
108
|
-
str(a.get("profile_name") or aid)))
|
|
109
|
-
# pjangler first (the reference repo / canary), then alphabetical.
|
|
110
|
-
rows.sort(key=lambda r: (r[1] != "pjangler", r[0]))
|
|
111
|
-
for r in rows:
|
|
112
|
-
print("\t".join(r))
|
|
113
|
-
PYEOF
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
wanted() {
|
|
117
|
-
[[ ${#ONLY_AGENTS[@]} -eq 0 ]] && return 0
|
|
118
|
-
local a; for a in "${ONLY_AGENTS[@]}"; do [[ "$a" == "$1" ]] && return 0; done; return 1
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
run() { # run <human-description> -- <cmd...> (prints always; executes only on --apply)
|
|
122
|
-
local desc="$1"; shift
|
|
123
|
-
[[ "${1:-}" == "--" ]] && shift
|
|
124
|
-
if [[ $APPLY -eq 1 ]]; then
|
|
125
|
-
printf ' [do] %s\n' "$desc"
|
|
126
|
-
local rc=0
|
|
127
|
-
"$@" >/dev/null 2>&1 || rc=$?
|
|
128
|
-
if [[ $rc -ne 0 ]]; then printf ' (non-fatal: returned %s)\n' "$rc"; fi
|
|
129
|
-
else
|
|
130
|
-
printf ' [dry] %s\n' "$desc"
|
|
131
|
-
fi
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
declare -a REMOVE_IDS=() # registry ids to drop (batched)
|
|
135
|
-
declare -a DELETE_REPOS=() # runtime repos to delete (gated, last)
|
|
136
|
-
declare -a STAGED_REPOS=() # project repos left with staged submodule removals
|
|
137
|
-
PROCESSED=0
|
|
138
|
-
|
|
139
|
-
while IFS=$'\t' read -r sm_id repo role_dir project_path runtime_repo profile_name; do
|
|
140
|
-
wanted "$sm_id" || continue
|
|
141
|
-
PROCESSED=$((PROCESSED + 1))
|
|
142
|
-
echo
|
|
143
|
-
echo ">>> $sm_id (repo=$repo)"
|
|
144
|
-
echo " role_dir : $role_dir"
|
|
145
|
-
echo " project_path : $project_path"
|
|
146
|
-
echo " runtime_repo : $runtime_repo"
|
|
147
|
-
|
|
148
|
-
# 1. systemd --user units: stop + disable + remove every hermes-<sm_id>-* unit.
|
|
149
|
-
shopt -s nullglob
|
|
150
|
-
units=("$SYS_DIR/hermes-${sm_id}-"*)
|
|
151
|
-
shopt -u nullglob
|
|
152
|
-
if [[ ${#units[@]} -eq 0 ]]; then
|
|
153
|
-
echo " units : (none found on disk)"
|
|
154
|
-
else
|
|
155
|
-
for uf in "${units[@]}"; do
|
|
156
|
-
u="$(basename "$uf")"
|
|
157
|
-
run "stop+disable $u" -- systemctl --user disable --now "$u"
|
|
158
|
-
run "rm unit file $u" -- rm -f "$uf"
|
|
159
|
-
done
|
|
160
|
-
if [[ $APPLY -eq 1 ]]; then
|
|
161
|
-
systemctl --user daemon-reload 2>/dev/null || true
|
|
162
|
-
systemctl --user reset-failed 2>/dev/null || true
|
|
163
|
-
fi
|
|
164
|
-
fi
|
|
165
|
-
|
|
166
|
-
# 2. scrum-master runtime submodule + role dir (STAGED removal, never committed).
|
|
167
|
-
if [[ -n "$project_path" && ( -d "$project_path/.git" || -f "$project_path/.git" ) ]]; then
|
|
168
|
-
sm_rel="agents/hermes/scrum-master"
|
|
169
|
-
if [[ -e "$project_path/$sm_rel" ]]; then
|
|
170
|
-
run "git submodule deinit -f $sm_rel/runtime" -- git -C "$project_path" submodule deinit -f "$sm_rel/runtime"
|
|
171
|
-
run "git rm -rf $sm_rel (staged)" -- git -C "$project_path" rm -rf "$sm_rel"
|
|
172
|
-
run "rm .git/modules/$sm_rel residue" -- rm -rf "$project_path/.git/modules/$sm_rel"
|
|
173
|
-
run "scrub .gitmodules section" -- git -C "$project_path" config -f "$project_path/.gitmodules" --remove-section "submodule.$sm_rel/runtime"
|
|
174
|
-
if [[ $APPLY -eq 1 ]]; then STAGED_REPOS+=("$project_path"); fi
|
|
175
|
-
else
|
|
176
|
-
echo " role dir : already absent at $project_path/$sm_rel"
|
|
177
|
-
fi
|
|
178
|
-
else
|
|
179
|
-
echo " submodule : project_path is not a git repo, skipping submodule teardown: $project_path"
|
|
180
|
-
fi
|
|
181
|
-
|
|
182
|
-
# 3. profile symlink ~/.hermes/profiles/<sm_id>.
|
|
183
|
-
link="$PROFILES_DIR/$profile_name"
|
|
184
|
-
if [[ -L "$link" ]]; then
|
|
185
|
-
run "rm profile symlink $link" -- rm -f "$link"
|
|
186
|
-
elif [[ -e "$link" ]]; then
|
|
187
|
-
echo " profile : $link is a real dir, NOT a symlink — left untouched (MANUAL)"
|
|
188
|
-
else
|
|
189
|
-
echo " profile : no symlink at $link"
|
|
190
|
-
fi
|
|
191
|
-
|
|
192
|
-
# 4. registry entry (batched; rewritten once at the end with a .bak).
|
|
193
|
-
REMOVE_IDS+=("$sm_id")
|
|
194
|
-
echo " registry : will drop agents.$sm_id"
|
|
195
|
-
|
|
196
|
-
# 5. runtime repo delete (gated, deferred to the very end).
|
|
197
|
-
[[ -n "$runtime_repo" ]] && DELETE_REPOS+=("$runtime_repo")
|
|
198
|
-
done < <(read_sm)
|
|
199
|
-
|
|
200
|
-
if [[ $PROCESSED -eq 0 ]]; then
|
|
201
|
-
echo; echo "migrate-unify: no scrum-master agents matched. Nothing to do."
|
|
202
|
-
exit 0
|
|
203
|
-
fi
|
|
204
|
-
|
|
205
|
-
# --- Registry rewrite (batched) ---
|
|
206
|
-
echo
|
|
207
|
-
if [[ ${#REMOVE_IDS[@]} -gt 0 ]]; then
|
|
208
|
-
if [[ $APPLY -eq 1 ]]; then
|
|
209
|
-
python3 - "$REGISTRY_FILE" "${REMOVE_IDS[@]}" <<'PYEOF'
|
|
210
|
-
import sys, shutil, datetime, yaml
|
|
211
|
-
path = sys.argv[1]; ids = sys.argv[2:]
|
|
212
|
-
shutil.copy(path, path + ".bak-" + datetime.datetime.now().strftime("%Y%m%d%H%M%S"))
|
|
213
|
-
data = yaml.safe_load(open(path, encoding="utf-8")) or {}
|
|
214
|
-
agents = data.get("agents") or {}
|
|
215
|
-
removed = [i for i in ids if agents.pop(i, None) is not None]
|
|
216
|
-
data["agents"] = agents
|
|
217
|
-
with open(path, "w", encoding="utf-8") as f:
|
|
218
|
-
f.write(yaml.safe_dump(data, sort_keys=False))
|
|
219
|
-
print(" registry: removed " + ", ".join(removed) + " (backup written)")
|
|
220
|
-
PYEOF
|
|
221
|
-
else
|
|
222
|
-
echo " [dry] would drop registry entries: ${REMOVE_IDS[*]} (after .bak)"
|
|
223
|
-
fi
|
|
224
|
-
fi
|
|
225
|
-
|
|
226
|
-
# --- Irreversible remote deletes (double-gated, last) ---
|
|
227
|
-
echo
|
|
228
|
-
echo "Runtime repos to delete on GitHub:"
|
|
229
|
-
printf ' %s\n' "${DELETE_REPOS[@]}"
|
|
230
|
-
if [[ ${#DELETE_REPOS[@]} -gt 0 ]]; then
|
|
231
|
-
if [[ $APPLY -eq 1 && $DELETE_REMOTES -eq 1 && $CONFIRM -eq 1 ]]; then
|
|
232
|
-
if command -v gh >/dev/null 2>&1; then
|
|
233
|
-
for r in "${DELETE_REPOS[@]}"; do
|
|
234
|
-
printf ' [do] gh repo delete %s --yes\n' "$r"
|
|
235
|
-
gh repo delete "$r" --yes 2>&1 | tail -1 || echo " (delete failed or already gone: $r)"
|
|
236
|
-
done
|
|
237
|
-
else
|
|
238
|
-
echo " gh not on PATH — cannot delete remotes."
|
|
239
|
-
fi
|
|
240
|
-
else
|
|
241
|
-
echo " [HELD] add --apply --decommission-sm-remotes --yes-i-mean-it to delete these (IRREVERSIBLE)."
|
|
242
|
-
fi
|
|
243
|
-
fi
|
|
244
|
-
|
|
245
|
-
echo
|
|
246
|
-
echo "================================================================"
|
|
247
|
-
echo "migrate-unify: processed $PROCESSED scrum-master agent(s) in $MODE mode."
|
|
248
|
-
if [[ $APPLY -eq 1 && ${#STAGED_REPOS[@]} -gt 0 ]]; then
|
|
249
|
-
echo
|
|
250
|
-
echo "Review + commit the staged scrum-master removals in these repos (NOT auto-committed):"
|
|
251
|
-
printf '%s\n' "${STAGED_REPOS[@]}" | sort -u | sed 's/^/ git -C /; s/$/ status/'
|
|
252
|
-
fi
|
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env python3
|
|
2
|
-
"""momo-unify-agent — apply the Momo/Hermes unification to a DEPLOYED agent.
|
|
3
|
-
|
|
4
|
-
Per role dir (agents/hermes/<role>) it:
|
|
5
|
-
1. renders SOUL.md from momo/spec/momo-agent.spec.yaml × the agent's role.yaml
|
|
6
|
-
identity (charter, tone, prime directives + WIP lease, memory hygiene, doctrine),
|
|
7
|
-
2. honcho-neutralizes runtime/config.yaml (memory.provider='', disabled_toolsets
|
|
8
|
-
+= memory) so memory is the shared Hindsight bank only,
|
|
9
|
-
3. installs the shared WIP=1 lease: copies .scripts/momo-wip-lock.py and wires
|
|
10
|
-
.scripts/heartbeat.sh (if present) to acquire/release it around the reconcile pass.
|
|
11
|
-
|
|
12
|
-
Idempotent; dry-run by default (--apply mutates). This is the existing-fleet
|
|
13
|
-
counterpart to the copier template (future agents get the same via provisioning).
|
|
14
|
-
Needs PyYAML — run with ~/.hermes/hermes-agent/.venv/bin/python.
|
|
15
|
-
|
|
16
|
-
Usage: momo-unify-agent.py --role-dir <agents/hermes/pm> [--apply] [--spec P]
|
|
17
|
-
"""
|
|
18
|
-
from __future__ import annotations
|
|
19
|
-
import argparse, sys
|
|
20
|
-
from pathlib import Path
|
|
21
|
-
try:
|
|
22
|
-
import yaml
|
|
23
|
-
except ImportError:
|
|
24
|
-
sys.exit("needs PyYAML — run with ~/.hermes/hermes-agent/.venv/bin/python")
|
|
25
|
-
|
|
26
|
-
SPEC_DEFAULT = Path("~/code/33GOD/momo/spec/momo-agent.spec.yaml").expanduser()
|
|
27
|
-
LOCK_SRC = Path("~/code/33GOD/momo/skill/scripts/momo-wip-lock.py").expanduser()
|
|
28
|
-
|
|
29
|
-
SOUL_TMPL = """# {display_name}
|
|
30
|
-
|
|
31
|
-
You are **{display_name}** — the Momo PM/EM orchestrator for the `{repo}`
|
|
32
|
-
repository, running as its autonomous **Hermes carrier**. You are the autonomous
|
|
33
|
-
twin of the human-drivable Momo; you share ONE board and ONE Hindsight bank with
|
|
34
|
-
it, so stay attributable and never split-brain the state.
|
|
35
|
-
|
|
36
|
-
<!-- Rendered from momo/spec/momo-agent.spec.yaml (role: {role}) × this repo's identity.
|
|
37
|
-
Regenerate via momo-unify-agent.py / the Hermes adapter, not by hand. -->
|
|
38
|
-
|
|
39
|
-
## Identity
|
|
40
|
-
|
|
41
|
-
| | |
|
|
42
|
-
| --- | --- |
|
|
43
|
-
| Agent ID | `{agent_id}` |
|
|
44
|
-
| Repo | `{repo}` |
|
|
45
|
-
| Role | `{role}` |
|
|
46
|
-
| Telegram | {telegram} |
|
|
47
|
-
| Purpose | {purpose} |
|
|
48
|
-
|
|
49
|
-
## Scope
|
|
50
|
-
|
|
51
|
-
You operate only within the working directory of `{repo}`. Your HERMES_HOME is the
|
|
52
|
-
local runtime at `./runtime/`; Hermes loads its `config.yaml` directly.
|
|
53
|
-
|
|
54
|
-
## Tone
|
|
55
|
-
|
|
56
|
-
{tone}
|
|
57
|
-
|
|
58
|
-
## Role-specific behavior
|
|
59
|
-
|
|
60
|
-
{charter}
|
|
61
|
-
|
|
62
|
-
Prime directives (non-negotiable):
|
|
63
|
-
|
|
64
|
-
- **Never mutate code.** Every code change flows through a delegated worker.
|
|
65
|
-
- **WIP = 1**, shared with the human-drivable Momo via the driver lease
|
|
66
|
-
(`.scripts/momo-wip-lock.py` → `runtime/wip-driver.lock`) — acquire before driving,
|
|
67
|
-
back off if Momo holds it fresh; never double-drive one board.
|
|
68
|
-
- **Reviewer ≠ implementer** — independent adversarial review is the normal path.
|
|
69
|
-
- **Evidence over status** — a board column is a claim; repo evidence is proof.
|
|
70
|
-
- **Everything is an event** — record consequential calls as Bloodbank decision events.
|
|
71
|
-
- **Anti-stall** — never park a pass on operator sign-off.
|
|
72
|
-
|
|
73
|
-
Default execution: {default_execution}.
|
|
74
|
-
|
|
75
|
-
## Memory hygiene
|
|
76
|
-
|
|
77
|
-
Your durable memory is the shared **Hindsight bank `{repo}`** — one bank per PROJECT,
|
|
78
|
-
shared with the human-drivable Momo twin. Honcho and the per-agent `runtime/memories/`
|
|
79
|
-
store are **neutralized**: do not rely on `MEMORY.md`/`USER.md`. Retain with
|
|
80
|
-
`hindsight memory retain {repo} "…" --context <cat>`; recall with
|
|
81
|
-
`hindsight memory recall {repo} "…"`.
|
|
82
|
-
|
|
83
|
-
## Doctrine
|
|
84
|
-
|
|
85
|
-
Decide on the operator's behalf using **`~/code/33GOD/momo/PILLARS.md`** (canonical,
|
|
86
|
-
priority-ordered). This soul **references** that file; it does not copy it. Cite the
|
|
87
|
-
pillar(s) that drove a consequential call in its decision event.
|
|
88
|
-
"""
|
|
89
|
-
|
|
90
|
-
LEASE_BLOCK = '''# Coexistence WIP=1 lease (momo E2/S2.3): don't full-drive if the human-drivable
|
|
91
|
-
# Momo holds it. A crashed holder's lease expires (ttl) so the board is never wedged.
|
|
92
|
-
WIP_LOCK="$RUNTIME/wip-driver.lock"
|
|
93
|
-
if ! python3 "$ROLE_DIR/.scripts/momo-wip-lock.py" acquire "$WIP_LOCK" "hermes:$AGENT_ID" --ttl 3600 >/dev/null 2>&1; then
|
|
94
|
-
printf '[heartbeat] WIP lease held by Momo — skipping full reconcile pass this tick\\n'
|
|
95
|
-
maybe_checkpoint
|
|
96
|
-
exit 0
|
|
97
|
-
fi
|
|
98
|
-
trap 'python3 "$ROLE_DIR/.scripts/momo-wip-lock.py" release "$WIP_LOCK" "hermes:$AGENT_ID" >/dev/null 2>&1 || true' EXIT
|
|
99
|
-
|
|
100
|
-
'''
|
|
101
|
-
|
|
102
|
-
SPAWN_ANCHOR = 'prompt="$(<"$PROMPT_FILE")"'
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
def load_role(role_dir: Path):
|
|
106
|
-
"""role.yaml at the role dir, else inside runtime/."""
|
|
107
|
-
for p in (role_dir / "role.yaml", role_dir / "runtime" / "role.yaml"):
|
|
108
|
-
if p.is_file():
|
|
109
|
-
return yaml.safe_load(p.read_text()) or {}
|
|
110
|
-
return None
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
def identity(r: dict, spec: dict) -> dict:
|
|
114
|
-
repo = r.get("repo", "?"); role = r.get("role", "pm")
|
|
115
|
-
agent_id = r.get("agent_id", f"{repo}-{role}")
|
|
116
|
-
disp = r.get("display_name") or f"{repo.title()} {role.upper() if len(role) <= 3 else role.title()}"
|
|
117
|
-
tel = (r.get("telegram") or {}).get("bot_username", "") if isinstance(r.get("telegram"), dict) else ""
|
|
118
|
-
tone_key = r.get("soul_tone") or spec["personality"]["default_tone"]
|
|
119
|
-
rs = spec["roles"].get(role, spec["roles"]["pm"])
|
|
120
|
-
return {
|
|
121
|
-
"repo": repo, "role": role, "agent_id": agent_id, "display_name": disp,
|
|
122
|
-
"telegram": f"@{tel}" if tel else "—",
|
|
123
|
-
"purpose": rs["purpose_template"].format(repo=repo),
|
|
124
|
-
"tone": spec["personality"]["tones"].get(tone_key, spec["personality"]["tones"]["direct"]),
|
|
125
|
-
"charter": rs.get("charter", "").strip(),
|
|
126
|
-
"default_execution": rs.get("default_execution", "subagent-driven-development (WIP=1, spec + quality gates)"),
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
def neutralize_config(cfg: Path, apply: bool) -> str:
|
|
131
|
-
if not cfg.exists():
|
|
132
|
-
return "no config.yaml (skip honcho)"
|
|
133
|
-
base = yaml.safe_load(cfg.read_text()) or {}
|
|
134
|
-
already = (isinstance(base.get("memory"), dict) and base["memory"].get("provider") == ""
|
|
135
|
-
and "memory" in (base.get("agent", {}) or {}).get("disabled_toolsets", []))
|
|
136
|
-
if already:
|
|
137
|
-
return "honcho: already neutralized"
|
|
138
|
-
overlay = {"memory": {"provider": "", "memory_enabled": False, "user_profile_enabled": False},
|
|
139
|
-
"agent": {"disabled_toolsets": ["memory"]}}
|
|
140
|
-
|
|
141
|
-
def merge(b, o):
|
|
142
|
-
for k, v in o.items():
|
|
143
|
-
if isinstance(b.get(k), dict) and isinstance(v, dict):
|
|
144
|
-
merge(b[k], v)
|
|
145
|
-
else:
|
|
146
|
-
b[k] = v
|
|
147
|
-
merge(base, overlay)
|
|
148
|
-
if apply:
|
|
149
|
-
cfg.with_suffix(cfg.suffix + ".pre-unify.bak").write_text(cfg.read_text()) if not cfg.with_suffix(cfg.suffix + ".pre-unify.bak").exists() else None
|
|
150
|
-
yaml.safe_dump(base, cfg.open("w"), sort_keys=False)
|
|
151
|
-
return "honcho: neutralized"
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
def install_lease(role_dir: Path, apply: bool) -> str:
|
|
155
|
-
scripts = role_dir / ".scripts"
|
|
156
|
-
msgs = []
|
|
157
|
-
if not scripts.is_dir():
|
|
158
|
-
return "no .scripts (skip lease)"
|
|
159
|
-
dst = scripts / "momo-wip-lock.py"
|
|
160
|
-
if not dst.exists() or dst.read_bytes() != LOCK_SRC.read_bytes():
|
|
161
|
-
if apply:
|
|
162
|
-
dst.write_bytes(LOCK_SRC.read_bytes()); dst.chmod(0o755)
|
|
163
|
-
msgs.append("lock helper installed")
|
|
164
|
-
else:
|
|
165
|
-
msgs.append("lock helper present")
|
|
166
|
-
hb = scripts / "heartbeat.sh"
|
|
167
|
-
if not hb.is_file():
|
|
168
|
-
msgs.append("no heartbeat.sh (reactive agent — lease unused)")
|
|
169
|
-
return "; ".join(msgs)
|
|
170
|
-
txt = hb.read_text()
|
|
171
|
-
if "momo-wip-lock.py" in txt:
|
|
172
|
-
msgs.append("heartbeat already lease-wired")
|
|
173
|
-
elif SPAWN_ANCHOR in txt:
|
|
174
|
-
if apply:
|
|
175
|
-
hb.write_text(txt.replace(SPAWN_ANCHOR, LEASE_BLOCK + SPAWN_ANCHOR, 1))
|
|
176
|
-
msgs.append("heartbeat lease-wired")
|
|
177
|
-
else:
|
|
178
|
-
msgs.append("WARN: heartbeat spawn anchor not found — wire manually")
|
|
179
|
-
return "; ".join(msgs)
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
def unify(role_dir: Path, spec: dict, apply: bool, repo_override: str | None = None) -> None:
|
|
183
|
-
r = load_role(role_dir)
|
|
184
|
-
if r is None:
|
|
185
|
-
if not repo_override:
|
|
186
|
-
print(f" SKIP: no role.yaml at {role_dir} (bare-layout agent — pass --repo to unify it)"); return
|
|
187
|
-
r = {"repo": repo_override, "role": "pm", "agent_id": f"{repo_override}-pm"}
|
|
188
|
-
print(f" (synthesized identity for bare agent: {r['agent_id']})")
|
|
189
|
-
idt = identity(r, spec)
|
|
190
|
-
render = SOUL_TMPL.format(**idt)
|
|
191
|
-
# Write BOTH the role-dir source AND the LIVE runtime/SOUL.md that hermes
|
|
192
|
-
# actually loads (HERMES_HOME=runtime). Provisioning copies source->runtime,
|
|
193
|
-
# but for an already-deployed agent we must update the live copy directly.
|
|
194
|
-
for label, sp in (("src ", role_dir / "SOUL.md"),
|
|
195
|
-
("live", role_dir / "runtime" / "SOUL.md")):
|
|
196
|
-
if not sp.parent.exists():
|
|
197
|
-
continue
|
|
198
|
-
cur = sp.read_text() if sp.is_file() else ""
|
|
199
|
-
if cur.strip() == render.strip():
|
|
200
|
-
print(f" SOUL[{label}]: already unified ({idt['agent_id']})")
|
|
201
|
-
else:
|
|
202
|
-
if apply:
|
|
203
|
-
sp.write_text(render)
|
|
204
|
-
print(f" SOUL[{label}]: {'written' if apply else 'would write'} ({idt['agent_id']})")
|
|
205
|
-
print(" " + neutralize_config(role_dir / "runtime" / "config.yaml", apply))
|
|
206
|
-
print(" " + install_lease(role_dir, apply))
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
def main() -> int:
|
|
210
|
-
ap = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
|
|
211
|
-
ap.add_argument("--role-dir", required=True)
|
|
212
|
-
ap.add_argument("--spec", default=str(SPEC_DEFAULT))
|
|
213
|
-
ap.add_argument("--repo", default=None, help="synthesize identity for a bare agent with no role.yaml")
|
|
214
|
-
ap.add_argument("--apply", action="store_true")
|
|
215
|
-
a = ap.parse_args()
|
|
216
|
-
spec = yaml.safe_load(Path(a.spec).read_text())
|
|
217
|
-
role_dir = Path(a.role_dir).expanduser().resolve()
|
|
218
|
-
print(f"== unify ({'APPLY' if a.apply else 'dry-run'}) :: {role_dir}")
|
|
219
|
-
unify(role_dir, spec, a.apply, a.repo)
|
|
220
|
-
return 0
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
if __name__ == "__main__":
|
|
224
|
-
raise SystemExit(main())
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
# Retained only so older automation fails with a clear compatibility message.
|
|
3
|
-
# The former checkpoint repair belongs to a retired persistence design.
|
|
4
|
-
set -euo pipefail
|
|
5
|
-
|
|
6
|
-
printf '%s\n' \
|
|
7
|
-
'ERROR: repair-runtime-checkpoint.sh is retired and intentionally non-operational.' \
|
|
8
|
-
'Current Hermes runtimes are ignored local state; this command changed nothing.' \
|
|
9
|
-
'See docs/operations.md for backup, restore, and retention policy.' >&2
|
|
10
|
-
exit 64
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
# Retrofit existing fleet systemd unit files to load runtime/.env.
|
|
3
|
-
#
|
|
4
|
-
# Companion to the fix in commit 3b7d2e5 (template/.scripts/70-systemd.sh).
|
|
5
|
-
# Future agents pick the fix up automatically via pjangler; existing agents
|
|
6
|
-
# already have unit files installed at ~/.config/systemd/user/ that won't
|
|
7
|
-
# change until we rewrite them in place.
|
|
8
|
-
#
|
|
9
|
-
# What this does:
|
|
10
|
-
# - Finds every hermes-<agent>-{gateway,consumer}.service unit
|
|
11
|
-
# - Inserts `EnvironmentFile=-<runtime>/.env` after `Environment=HERMES_HOME=...`
|
|
12
|
-
# if not already present
|
|
13
|
-
# - daemon-reloads once
|
|
14
|
-
# - restarts each unit it modified (skippable with --no-restart)
|
|
15
|
-
#
|
|
16
|
-
# Idempotent: re-running is a no-op if the directive is already present.
|
|
17
|
-
# Dry-run by default; pass --apply to actually write/restart.
|
|
18
|
-
#
|
|
19
|
-
# Usage:
|
|
20
|
-
# scripts/retrofit-70-envfile.sh # dry-run: show what would change
|
|
21
|
-
# scripts/retrofit-70-envfile.sh --apply # write + daemon-reload + restart
|
|
22
|
-
# scripts/retrofit-70-envfile.sh --apply --no-restart
|
|
23
|
-
#
|
|
24
|
-
set -euo pipefail
|
|
25
|
-
|
|
26
|
-
APPLY=0
|
|
27
|
-
RESTART=1
|
|
28
|
-
for arg in "$@"; do
|
|
29
|
-
case "$arg" in
|
|
30
|
-
--apply) APPLY=1 ;;
|
|
31
|
-
--no-restart) RESTART=0 ;;
|
|
32
|
-
-h|--help)
|
|
33
|
-
sed -n '2,/^set -euo/p' "$0" | sed 's/^# \{0,1\}//;/^set -euo/d'
|
|
34
|
-
exit 0
|
|
35
|
-
;;
|
|
36
|
-
*) echo "unknown arg: $arg" >&2; exit 2 ;;
|
|
37
|
-
esac
|
|
38
|
-
done
|
|
39
|
-
|
|
40
|
-
SYS_DIR="$HOME/.config/systemd/user"
|
|
41
|
-
DIRECTIVE_PREFIX="EnvironmentFile=-"
|
|
42
|
-
|
|
43
|
-
shopt -s nullglob
|
|
44
|
-
UNITS=( "$SYS_DIR"/hermes-*-gateway.service "$SYS_DIR"/hermes-*-consumer.service )
|
|
45
|
-
shopt -u nullglob
|
|
46
|
-
|
|
47
|
-
if [[ ${#UNITS[@]} -eq 0 ]]; then
|
|
48
|
-
echo "no hermes-*-{gateway,consumer}.service units found under $SYS_DIR"
|
|
49
|
-
exit 0
|
|
50
|
-
fi
|
|
51
|
-
|
|
52
|
-
mode="DRY-RUN"; [[ "$APPLY" == "1" ]] && mode="APPLY"
|
|
53
|
-
echo "[$mode] scanning ${#UNITS[@]} unit(s) under $SYS_DIR"
|
|
54
|
-
|
|
55
|
-
MODIFIED=()
|
|
56
|
-
SKIPPED_OK=()
|
|
57
|
-
SKIPPED_BAD=()
|
|
58
|
-
|
|
59
|
-
for unit in "${UNITS[@]}"; do
|
|
60
|
-
base="$(basename "$unit")"
|
|
61
|
-
|
|
62
|
-
# Parse the runtime path from the Environment=HERMES_HOME= line.
|
|
63
|
-
runtime="$(grep -E '^Environment=HERMES_HOME=' "$unit" | head -1 | cut -d= -f3-)"
|
|
64
|
-
if [[ -z "$runtime" ]]; then
|
|
65
|
-
echo " SKIP $base — no Environment=HERMES_HOME= line; not a template-generated unit"
|
|
66
|
-
SKIPPED_BAD+=( "$base" )
|
|
67
|
-
continue
|
|
68
|
-
fi
|
|
69
|
-
|
|
70
|
-
expected="${DIRECTIVE_PREFIX}${runtime}/.env"
|
|
71
|
-
|
|
72
|
-
if grep -qxF "$expected" "$unit"; then
|
|
73
|
-
echo " OK $base — already has $expected"
|
|
74
|
-
SKIPPED_OK+=( "$base" )
|
|
75
|
-
continue
|
|
76
|
-
fi
|
|
77
|
-
|
|
78
|
-
echo " PATCH $base"
|
|
79
|
-
echo " + $expected"
|
|
80
|
-
|
|
81
|
-
if [[ "$APPLY" == "1" ]]; then
|
|
82
|
-
# Insert the directive on the line AFTER the Environment=HERMES_HOME= line.
|
|
83
|
-
# Use a tmp file + atomic replace to avoid half-written units.
|
|
84
|
-
tmp="$(mktemp "$unit.XXXXXX")"
|
|
85
|
-
awk -v ins="$expected" '
|
|
86
|
-
{ print }
|
|
87
|
-
/^Environment=HERMES_HOME=/ && !done { print ins; done=1 }
|
|
88
|
-
' "$unit" > "$tmp"
|
|
89
|
-
chmod --reference="$unit" "$tmp"
|
|
90
|
-
mv "$tmp" "$unit"
|
|
91
|
-
fi
|
|
92
|
-
MODIFIED+=( "$base" )
|
|
93
|
-
done
|
|
94
|
-
|
|
95
|
-
echo
|
|
96
|
-
echo "summary:"
|
|
97
|
-
echo " ${#MODIFIED[@]} patched, ${#SKIPPED_OK[@]} already correct, ${#SKIPPED_BAD[@]} skipped (non-template)"
|
|
98
|
-
|
|
99
|
-
if [[ "$APPLY" != "1" ]]; then
|
|
100
|
-
echo
|
|
101
|
-
echo "dry-run only. re-run with --apply to write the changes."
|
|
102
|
-
exit 0
|
|
103
|
-
fi
|
|
104
|
-
|
|
105
|
-
if [[ ${#MODIFIED[@]} -eq 0 ]]; then
|
|
106
|
-
echo "nothing to reload."
|
|
107
|
-
exit 0
|
|
108
|
-
fi
|
|
109
|
-
|
|
110
|
-
echo
|
|
111
|
-
echo "systemctl --user daemon-reload"
|
|
112
|
-
systemctl --user daemon-reload
|
|
113
|
-
|
|
114
|
-
if [[ "$RESTART" != "1" ]]; then
|
|
115
|
-
echo "skipping restarts (--no-restart). reload only."
|
|
116
|
-
exit 0
|
|
117
|
-
fi
|
|
118
|
-
|
|
119
|
-
echo
|
|
120
|
-
echo "restarting ${#MODIFIED[@]} modified unit(s)..."
|
|
121
|
-
for unit in "${MODIFIED[@]}"; do
|
|
122
|
-
echo " systemctl --user restart $unit"
|
|
123
|
-
if ! systemctl --user restart "$unit"; then
|
|
124
|
-
echo " WARN: restart failed for $unit (status below)" >&2
|
|
125
|
-
systemctl --user --no-pager status "$unit" | head -10 >&2 || true
|
|
126
|
-
fi
|
|
127
|
-
done
|
|
128
|
-
|
|
129
|
-
echo "done."
|