@hanzlaa/rcode 2.1.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/AGENTS.md +120 -0
- package/CLAUDE.md +120 -0
- package/CONTRIBUTING.md +298 -0
- package/README.md +436 -0
- package/cli/config.js +142 -0
- package/cli/context.js +213 -0
- package/cli/dashboard.js +38 -0
- package/cli/digest.js +66 -0
- package/cli/doctor.js +283 -0
- package/cli/github-sync.js +1016 -0
- package/cli/index.js +113 -0
- package/cli/install.js +946 -0
- package/cli/lib/config.cjs +334 -0
- package/cli/lib/fsutil.cjs +76 -0
- package/cli/lib/github.cjs +365 -0
- package/cli/lib/manifest.cjs +240 -0
- package/cli/lib/memory-bank.cjs +348 -0
- package/cli/lib/model-profiles.cjs +169 -0
- package/cli/lib/prompts.cjs +355 -0
- package/cli/postinstall.js +32 -0
- package/cli/set-mode.js +94 -0
- package/cli/set-profile.js +80 -0
- package/cli/show-model.js +82 -0
- package/cli/team.js +35 -0
- package/cli/tiers.js +49 -0
- package/cli/uninstall.js +600 -0
- package/cli/update.js +373 -0
- package/package.json +60 -0
- package/rihal/agents/rihal-advisor-researcher.md +116 -0
- package/rihal/agents/rihal-ahmed.md +66 -0
- package/rihal/agents/rihal-architect.md +79 -0
- package/rihal/agents/rihal-assumptions-analyzer.md +117 -0
- package/rihal/agents/rihal-code-fixer.md +74 -0
- package/rihal/agents/rihal-code-reviewer.md +75 -0
- package/rihal/agents/rihal-codebase-mapper.md +170 -0
- package/rihal/agents/rihal-debugger.md +140 -0
- package/rihal/agents/rihal-deviation-analyzer.md +74 -0
- package/rihal/agents/rihal-docs-auditor.md +77 -0
- package/rihal/agents/rihal-edge-case-hunter.md +75 -0
- package/rihal/agents/rihal-executor.md +113 -0
- package/rihal/agents/rihal-fatima.md +68 -0
- package/rihal/agents/rihal-haitham.md +75 -0
- package/rihal/agents/rihal-hanzla.md +59 -0
- package/rihal/agents/rihal-hussain-pm.md +82 -0
- package/rihal/agents/rihal-integration-checker.md +455 -0
- package/rihal/agents/rihal-khalid.md +59 -0
- package/rihal/agents/rihal-layla.md +57 -0
- package/rihal/agents/rihal-mariam.md +58 -0
- package/rihal/agents/rihal-nasser.md +57 -0
- package/rihal/agents/rihal-noor.md +60 -0
- package/rihal/agents/rihal-nyquist-auditor.md +182 -0
- package/rihal/agents/rihal-omar.md +57 -0
- package/rihal/agents/rihal-phase-researcher.md +84 -0
- package/rihal/agents/rihal-planner.md +176 -0
- package/rihal/agents/rihal-profiler.md +74 -0
- package/rihal/agents/rihal-project-researcher.md +80 -0
- package/rihal/agents/rihal-remediation-planner.md +78 -0
- package/rihal/agents/rihal-research-synthesizer.md +253 -0
- package/rihal/agents/rihal-roadmapper.md +73 -0
- package/rihal/agents/rihal-sadiq.md +72 -0
- package/rihal/agents/rihal-security-adversary.md +82 -0
- package/rihal/agents/rihal-security-auditor.md +78 -0
- package/rihal/agents/rihal-sprint-checker.md +124 -0
- package/rihal/agents/rihal-tech-writer.md +80 -0
- package/rihal/agents/rihal-ui-auditor.md +81 -0
- package/rihal/agents/rihal-ui-designer.md +6 -0
- package/rihal/agents/rihal-ux-designer.md +83 -0
- package/rihal/agents/rihal-verifier.md +124 -0
- package/rihal/agents/rihal-waleed.md +60 -0
- package/rihal/agents/rihal-yousef.md +78 -0
- package/rihal/agents/rihal-zahra.md +62 -0
- package/rihal/agents/rihal-zayd.md +78 -0
- package/rihal/agents/rules/codebase-mapper/detailed-guide.md +615 -0
- package/rihal/agents/rules/debugger/checkpoint-recovery.md +272 -0
- package/rihal/agents/rules/debugger/debug-session-state.md +261 -0
- package/rihal/agents/rules/debugger/hypothesis-templates.md +330 -0
- package/rihal/agents/rules/debugger/investigation-protocol.md +298 -0
- package/rihal/agents/rules/debugger/scientific-method.md +317 -0
- package/rihal/agents/rules/executor/authentication-gates.md +202 -0
- package/rihal/agents/rules/executor/deviation-rules.md +191 -0
- package/rihal/agents/rules/executor/execution-flow.md +116 -0
- package/rihal/agents/rules/executor/self-check.md +241 -0
- package/rihal/agents/rules/executor/stub-detection.md +267 -0
- package/rihal/agents/rules/executor/summary-creation.md +76 -0
- package/rihal/agents/rules/executor/task-commit-protocol.md +283 -0
- package/rihal/agents/rules/executor/tdd-flow.md +294 -0
- package/rihal/agents/rules/phase-researcher/detailed-guide.md +628 -0
- package/rihal/agents/rules/planner/common-patterns.md +373 -0
- package/rihal/agents/rules/planner/dependency-analysis.md +195 -0
- package/rihal/agents/rules/planner/goal-backward-thinking.md +220 -0
- package/rihal/agents/rules/planner/sprint-verification.md +202 -0
- package/rihal/agents/rules/planner/task-templates.md +296 -0
- package/rihal/agents/rules/project-researcher/detailed-guide.md +589 -0
- package/rihal/agents/rules/roadmapper/detailed-guide.md +620 -0
- package/rihal/agents/rules/sprint-checker/dimensions.md +414 -0
- package/rihal/agents/rules/sprint-checker/process.md +377 -0
- package/rihal/agents/rules/verifier/anti-patterns.md +94 -0
- package/rihal/agents/rules/verifier/artifact-verification.md +69 -0
- package/rihal/agents/rules/verifier/behavioral-spot-checks.md +49 -0
- package/rihal/agents/rules/verifier/context-loading.md +84 -0
- package/rihal/agents/rules/verifier/data-flow-trace.md +65 -0
- package/rihal/agents/rules/verifier/gap-output.md +51 -0
- package/rihal/agents/rules/verifier/key-links.md +56 -0
- package/rihal/agents/rules/verifier/requirements-coverage.md +28 -0
- package/rihal/agents/rules/verifier/verification-report.md +131 -0
- package/rihal/bin/lib/code-references.cjs +196 -0
- package/rihal/bin/lib/config.cjs +146 -0
- package/rihal/bin/lib/council-panel.cjs +501 -0
- package/rihal/bin/lib/roadmap.cjs +256 -0
- package/rihal/bin/lib/verify.cjs +118 -0
- package/rihal/bin/rihal-hooks.cjs +204 -0
- package/rihal/bin/rihal-tools.cjs +3554 -0
- package/rihal/brain/README.md +38 -0
- package/rihal/brain/best-practices/no-autonomous-bypass.md +37 -0
- package/rihal/brain/best-practices/research-citation-rule.md +39 -0
- package/rihal/brain/best-practices/state-sync-rule.md +43 -0
- package/rihal/brain/sources.yaml +59 -0
- package/rihal/commands/add-phase.md +18 -0
- package/rihal/commands/add-tests.md +18 -0
- package/rihal/commands/add-todo.md +8 -0
- package/rihal/commands/analyze-dependencies.md +11 -0
- package/rihal/commands/audit-fix.md +14 -0
- package/rihal/commands/audit-milestone.md +12 -0
- package/rihal/commands/audit-uat.md +18 -0
- package/rihal/commands/autonomous.md +19 -0
- package/rihal/commands/brainstorm.md +11 -0
- package/rihal/commands/chain.md +8 -0
- package/rihal/commands/check-implementation-readiness.md +8 -0
- package/rihal/commands/check-todos.md +18 -0
- package/rihal/commands/cleanup.md +18 -0
- package/rihal/commands/code-review-fix.md +14 -0
- package/rihal/commands/code-review.md +14 -0
- package/rihal/commands/complete-milestone.md +12 -0
- package/rihal/commands/config.md +8 -0
- package/rihal/commands/correct-course.md +8 -0
- package/rihal/commands/council.md +25 -0
- package/rihal/commands/create-epics-and-stories.md +8 -0
- package/rihal/commands/create-story.md +8 -0
- package/rihal/commands/dashboard.md +10 -0
- package/rihal/commands/debug.md +8 -0
- package/rihal/commands/decisions.md +10 -0
- package/rihal/commands/dev-story.md +8 -0
- package/rihal/commands/diff.md +10 -0
- package/rihal/commands/discuss-phase-power.md +11 -0
- package/rihal/commands/discuss-phase.md +19 -0
- package/rihal/commands/discuss.md +23 -0
- package/rihal/commands/do.md +22 -0
- package/rihal/commands/docs-update.md +14 -0
- package/rihal/commands/document-project.md +8 -0
- package/rihal/commands/enable-hooks.md +11 -0
- package/rihal/commands/execute-sprint.md +13 -0
- package/rihal/commands/execute.md +19 -0
- package/rihal/commands/explore.md +14 -0
- package/rihal/commands/export-to-github.md +11 -0
- package/rihal/commands/forensics.md +11 -0
- package/rihal/commands/from-template.md +11 -0
- package/rihal/commands/health.md +10 -0
- package/rihal/commands/help.md +8 -0
- package/rihal/commands/import.md +12 -0
- package/rihal/commands/inbox.md +12 -0
- package/rihal/commands/init.md +14 -0
- package/rihal/commands/insert-phase.md +11 -0
- package/rihal/commands/install.md +10 -0
- package/rihal/commands/karpathy-audit.md +12 -0
- package/rihal/commands/list-plans.md +11 -0
- package/rihal/commands/list-workspaces.md +10 -0
- package/rihal/commands/map-codebase.md +14 -0
- package/rihal/commands/milestone-summary.md +11 -0
- package/rihal/commands/new-milestone.md +12 -0
- package/rihal/commands/new-project-research.md +11 -0
- package/rihal/commands/new-project-roadmap.md +11 -0
- package/rihal/commands/new-project.md +13 -0
- package/rihal/commands/new-workspace.md +12 -0
- package/rihal/commands/next.md +19 -0
- package/rihal/commands/note.md +12 -0
- package/rihal/commands/notify-test.md +10 -0
- package/rihal/commands/pause-work.md +8 -0
- package/rihal/commands/plan-milestone-gaps.md +18 -0
- package/rihal/commands/plan.md +19 -0
- package/rihal/commands/plant-seed.md +18 -0
- package/rihal/commands/pr-branch.md +18 -0
- package/rihal/commands/profile-user.md +8 -0
- package/rihal/commands/progress.md +19 -0
- package/rihal/commands/quick.md +14 -0
- package/rihal/commands/remove-phase.md +18 -0
- package/rihal/commands/remove-workspace.md +11 -0
- package/rihal/commands/replay.md +11 -0
- package/rihal/commands/report.md +10 -0
- package/rihal/commands/rerun.md +11 -0
- package/rihal/commands/research-phase.md +18 -0
- package/rihal/commands/resume-work.md +8 -0
- package/rihal/commands/review-adversarial.md +8 -0
- package/rihal/commands/review-edge-case-hunter.md +8 -0
- package/rihal/commands/review.md +18 -0
- package/rihal/commands/scan.md +14 -0
- package/rihal/commands/secure-phase.md +14 -0
- package/rihal/commands/session-report.md +10 -0
- package/rihal/commands/settings.md +8 -0
- package/rihal/commands/ship.md +18 -0
- package/rihal/commands/show.md +10 -0
- package/rihal/commands/sprint-planning.md +20 -0
- package/rihal/commands/sprint-status.md +21 -0
- package/rihal/commands/stats.md +10 -0
- package/rihal/commands/status.md +21 -0
- package/rihal/commands/ui-phase.md +8 -0
- package/rihal/commands/ui-review.md +8 -0
- package/rihal/commands/undo.md +14 -0
- package/rihal/commands/update.md +11 -0
- package/rihal/commands/validate-phase.md +18 -0
- package/rihal/commands/verify-phase.md +18 -0
- package/rihal/commands/verify-work.md +19 -0
- package/rihal/commands/why.md +10 -0
- package/rihal/commands/workstream.md +11 -0
- package/rihal/config/model-profiles.json +226 -0
- package/rihal/config/model-profiles.schema.json +36 -0
- package/rihal/config.yaml +39 -0
- package/rihal/digests/README.md +50 -0
- package/rihal/digests/fatima.md +24 -0
- package/rihal/digests/hussain-pm.md +24 -0
- package/rihal/digests/mariam.md +24 -0
- package/rihal/digests/sadiq.md +24 -0
- package/rihal/digests/waleed.md +24 -0
- package/rihal/modules/core.yaml +101 -0
- package/rihal/modules/discovery.yaml +50 -0
- package/rihal/modules/execution.yaml +66 -0
- package/rihal/references/brain-methods.csv +9 -0
- package/rihal/references/checklist-architect.md +146 -0
- package/rihal/references/checklist-change.md +136 -0
- package/rihal/references/checklist-pm.md +154 -0
- package/rihal/references/checklist-po-master.md +100 -0
- package/rihal/references/checklist-story-dod.md +75 -0
- package/rihal/references/checklist-story-draft.md +53 -0
- package/rihal/references/checkpoints-index.md +53 -0
- package/rihal/references/checkpoints.md +778 -0
- package/rihal/references/codebase-grounding.md +76 -0
- package/rihal/references/command-redirect-format.md +62 -0
- package/rihal/references/commit-conventions.md +125 -0
- package/rihal/references/common-bug-patterns-index.md +44 -0
- package/rihal/references/common-bug-patterns.md +621 -0
- package/rihal/references/context-budget.md +104 -0
- package/rihal/references/continuation-format.md +249 -0
- package/rihal/references/council-protocol.md +91 -0
- package/rihal/references/domain-probes.md +213 -0
- package/rihal/references/elicitation-methods.csv +16 -0
- package/rihal/references/execution-protocol.md +155 -0
- package/rihal/references/gate-prompts.md +212 -0
- package/rihal/references/gates.md +127 -0
- package/rihal/references/git-integration.md +159 -0
- package/rihal/references/git-planning-commit.md +185 -0
- package/rihal/references/karpathy-guidelines.md +79 -0
- package/rihal/references/model-profiles.md +90 -0
- package/rihal/references/no-unauthorized-git-ops.md +73 -0
- package/rihal/references/output-format.md +319 -0
- package/rihal/references/output-realism.md +52 -0
- package/rihal/references/project-types.yaml +270 -0
- package/rihal/references/questioning.md +163 -0
- package/rihal/references/response-style.md +81 -0
- package/rihal/references/state-schema.md +366 -0
- package/rihal/references/tdd.md +263 -0
- package/rihal/references/thinking-models-debug.md +126 -0
- package/rihal/references/thinking-models-planning.md +127 -0
- package/rihal/references/ui-brand.md +254 -0
- package/rihal/references/verification-patterns-index.md +76 -0
- package/rihal/references/verification-patterns.md +612 -0
- package/rihal/references/workstream-flag.md +166 -0
- package/rihal/skills/SKILLS_INDEX.md +114 -0
- package/rihal/skills/_shared/no-autonomous-bypass.md +37 -0
- package/rihal/skills/_shared/research-citation-rule.md +39 -0
- package/rihal/skills/_shared/state-sync-rule.md +43 -0
- package/rihal/skills/actions/1-analysis/research/rihal-domain-research/SKILL.md +31 -0
- package/rihal/skills/actions/1-analysis/research/rihal-domain-research/domain-steps/step-01-init.md +137 -0
- package/rihal/skills/actions/1-analysis/research/rihal-domain-research/domain-steps/step-02-domain-analysis.md +229 -0
- package/rihal/skills/actions/1-analysis/research/rihal-domain-research/domain-steps/step-03-competitive-landscape.md +238 -0
- package/rihal/skills/actions/1-analysis/research/rihal-domain-research/domain-steps/step-04-regulatory-focus.md +206 -0
- package/rihal/skills/actions/1-analysis/research/rihal-domain-research/domain-steps/step-05-technical-trends.md +234 -0
- package/rihal/skills/actions/1-analysis/research/rihal-domain-research/domain-steps/step-06-research-synthesis.md +444 -0
- package/rihal/skills/actions/1-analysis/research/rihal-domain-research/research.template.md +29 -0
- package/rihal/skills/actions/1-analysis/research/rihal-domain-research/workflow.md +49 -0
- package/rihal/skills/actions/1-analysis/research/rihal-market-research/SKILL.md +30 -0
- package/rihal/skills/actions/1-analysis/research/rihal-market-research/research.template.md +29 -0
- package/rihal/skills/actions/1-analysis/research/rihal-market-research/steps/step-01-init.md +184 -0
- package/rihal/skills/actions/1-analysis/research/rihal-market-research/steps/step-02-customer-behavior.md +239 -0
- package/rihal/skills/actions/1-analysis/research/rihal-market-research/steps/step-03-customer-pain-points.md +251 -0
- package/rihal/skills/actions/1-analysis/research/rihal-market-research/steps/step-04-customer-decisions.md +261 -0
- package/rihal/skills/actions/1-analysis/research/rihal-market-research/steps/step-05-competitive-analysis.md +173 -0
- package/rihal/skills/actions/1-analysis/research/rihal-market-research/steps/step-06-research-completion.md +478 -0
- package/rihal/skills/actions/1-analysis/research/rihal-market-research/workflow.md +49 -0
- package/rihal/skills/actions/1-analysis/research/rihal-technical-research/SKILL.md +31 -0
- package/rihal/skills/actions/1-analysis/research/rihal-technical-research/research.template.md +29 -0
- package/rihal/skills/actions/1-analysis/research/rihal-technical-research/technical-steps/step-01-init.md +137 -0
- package/rihal/skills/actions/1-analysis/research/rihal-technical-research/technical-steps/step-02-technical-overview.md +239 -0
- package/rihal/skills/actions/1-analysis/research/rihal-technical-research/technical-steps/step-03-integration-patterns.md +248 -0
- package/rihal/skills/actions/1-analysis/research/rihal-technical-research/technical-steps/step-04-architectural-patterns.md +202 -0
- package/rihal/skills/actions/1-analysis/research/rihal-technical-research/technical-steps/step-05-implementation-research.md +233 -0
- package/rihal/skills/actions/1-analysis/research/rihal-technical-research/technical-steps/step-06-research-synthesis.md +487 -0
- package/rihal/skills/actions/1-analysis/research/rihal-technical-research/workflow.md +50 -0
- package/rihal/skills/actions/1-analysis/rihal-document-project/SKILL.md +30 -0
- package/rihal/skills/actions/1-analysis/rihal-document-project/checklist.md +245 -0
- package/rihal/skills/actions/1-analysis/rihal-document-project/documentation-requirements.csv +12 -0
- package/rihal/skills/actions/1-analysis/rihal-document-project/instructions.md +128 -0
- package/rihal/skills/actions/1-analysis/rihal-document-project/templates/deep-dive-template.md +345 -0
- package/rihal/skills/actions/1-analysis/rihal-document-project/templates/index-template.md +169 -0
- package/rihal/skills/actions/1-analysis/rihal-document-project/templates/project-overview-template.md +103 -0
- package/rihal/skills/actions/1-analysis/rihal-document-project/templates/project-scan-report-schema.json +160 -0
- package/rihal/skills/actions/1-analysis/rihal-document-project/templates/source-tree-template.md +135 -0
- package/rihal/skills/actions/1-analysis/rihal-document-project/workflow.md +27 -0
- package/rihal/skills/actions/1-analysis/rihal-document-project/workflows/deep-dive-instructions.md +299 -0
- package/rihal/skills/actions/1-analysis/rihal-document-project/workflows/deep-dive-workflow.md +34 -0
- package/rihal/skills/actions/1-analysis/rihal-document-project/workflows/full-scan-instructions.md +1107 -0
- package/rihal/skills/actions/1-analysis/rihal-document-project/workflows/full-scan-workflow.md +34 -0
- package/rihal/skills/actions/1-analysis/rihal-prfaq/SKILL.md +120 -0
- package/rihal/skills/actions/1-analysis/rihal-prfaq/agents/artifact-analyzer.md +60 -0
- package/rihal/skills/actions/1-analysis/rihal-prfaq/agents/web-researcher.md +49 -0
- package/rihal/skills/actions/1-analysis/rihal-prfaq/assets/prfaq-template.md +62 -0
- package/rihal/skills/actions/1-analysis/rihal-prfaq/references/customer-faq.md +55 -0
- package/rihal/skills/actions/1-analysis/rihal-prfaq/references/internal-faq.md +51 -0
- package/rihal/skills/actions/1-analysis/rihal-prfaq/references/press-release.md +60 -0
- package/rihal/skills/actions/1-analysis/rihal-prfaq/references/verdict.md +79 -0
- package/rihal/skills/actions/1-analysis/rihal-prfaq/rihal-manifest.json +16 -0
- package/rihal/skills/actions/1-analysis/rihal-product-brief/SKILL.md +112 -0
- package/rihal/skills/actions/1-analysis/rihal-product-brief/agents/artifact-analyzer.md +60 -0
- package/rihal/skills/actions/1-analysis/rihal-product-brief/agents/opportunity-reviewer.md +44 -0
- package/rihal/skills/actions/1-analysis/rihal-product-brief/agents/skeptic-reviewer.md +44 -0
- package/rihal/skills/actions/1-analysis/rihal-product-brief/agents/web-researcher.md +49 -0
- package/rihal/skills/actions/1-analysis/rihal-product-brief/prompts/contextual-discovery.md +57 -0
- package/rihal/skills/actions/1-analysis/rihal-product-brief/prompts/draft-and-review.md +86 -0
- package/rihal/skills/actions/1-analysis/rihal-product-brief/prompts/finalize.md +75 -0
- package/rihal/skills/actions/1-analysis/rihal-product-brief/prompts/guided-elicitation.md +70 -0
- package/rihal/skills/actions/1-analysis/rihal-product-brief/resources/brief-template.md +60 -0
- package/rihal/skills/actions/1-analysis/rihal-product-brief/rihal-manifest.json +17 -0
- package/rihal/skills/actions/2-plan/rihal-create-epics-and-stories/SKILL.md +30 -0
- package/rihal/skills/actions/2-plan/rihal-create-epics-and-stories/steps/step-01-validate-prerequisites.md +255 -0
- package/rihal/skills/actions/2-plan/rihal-create-epics-and-stories/steps/step-02-design-epics.md +212 -0
- package/rihal/skills/actions/2-plan/rihal-create-epics-and-stories/steps/step-03-create-stories.md +255 -0
- package/rihal/skills/actions/2-plan/rihal-create-epics-and-stories/steps/step-04-final-validation.md +131 -0
- package/rihal/skills/actions/2-plan/rihal-create-epics-and-stories/templates/epics-template.md +61 -0
- package/rihal/skills/actions/2-plan/rihal-create-epics-and-stories/workflow.md +54 -0
- package/rihal/skills/actions/2-plan/rihal-create-milestone/SKILL.md +39 -0
- package/rihal/skills/actions/2-plan/rihal-create-milestone/steps/README.md +30 -0
- package/rihal/skills/actions/2-plan/rihal-create-milestone/steps/step-01-init.md +62 -0
- package/rihal/skills/actions/2-plan/rihal-create-milestone/steps/step-02-outcomes.md +64 -0
- package/rihal/skills/actions/2-plan/rihal-create-milestone/steps/step-03-sequencing.md +65 -0
- package/rihal/skills/actions/2-plan/rihal-create-milestone/steps/step-04-windows.md +60 -0
- package/rihal/skills/actions/2-plan/rihal-create-milestone/steps/step-05-kill-criteria.md +59 -0
- package/rihal/skills/actions/2-plan/rihal-create-milestone/steps/step-06-phase-stubs.md +56 -0
- package/rihal/skills/actions/2-plan/rihal-create-milestone/steps/step-07-backlog.md +44 -0
- package/rihal/skills/actions/2-plan/rihal-create-milestone/steps/step-08-write-roadmap.md +58 -0
- package/rihal/skills/actions/2-plan/rihal-create-milestone/steps/step-09-state-sync.md +62 -0
- package/rihal/skills/actions/2-plan/rihal-create-milestone/steps/step-10-complete.md +56 -0
- package/rihal/skills/actions/2-plan/rihal-create-milestone/workflow.md +93 -0
- package/rihal/skills/actions/2-plan/rihal-create-prd/SKILL.md +40 -0
- package/rihal/skills/actions/2-plan/rihal-create-prd/data/domain-complexity.csv +15 -0
- package/rihal/skills/actions/2-plan/rihal-create-prd/data/prd-purpose.md +197 -0
- package/rihal/skills/actions/2-plan/rihal-create-prd/data/project-types.csv +11 -0
- package/rihal/skills/actions/2-plan/rihal-create-prd/steps-c/step-01-init.md +178 -0
- package/rihal/skills/actions/2-plan/rihal-create-prd/steps-c/step-01b-continue.md +161 -0
- package/rihal/skills/actions/2-plan/rihal-create-prd/steps-c/step-02-discovery.md +208 -0
- package/rihal/skills/actions/2-plan/rihal-create-prd/steps-c/step-02b-vision.md +142 -0
- package/rihal/skills/actions/2-plan/rihal-create-prd/steps-c/step-02c-executive-summary.md +158 -0
- package/rihal/skills/actions/2-plan/rihal-create-prd/steps-c/step-03-success.md +214 -0
- package/rihal/skills/actions/2-plan/rihal-create-prd/steps-c/step-04-journeys.md +201 -0
- package/rihal/skills/actions/2-plan/rihal-create-prd/steps-c/step-05-domain.md +194 -0
- package/rihal/skills/actions/2-plan/rihal-create-prd/steps-c/step-06-innovation.md +211 -0
- package/rihal/skills/actions/2-plan/rihal-create-prd/steps-c/step-07-project-type.md +222 -0
- package/rihal/skills/actions/2-plan/rihal-create-prd/steps-c/step-08-scoping.md +216 -0
- package/rihal/skills/actions/2-plan/rihal-create-prd/steps-c/step-09-functional.md +219 -0
- package/rihal/skills/actions/2-plan/rihal-create-prd/steps-c/step-10-nonfunctional.md +230 -0
- package/rihal/skills/actions/2-plan/rihal-create-prd/steps-c/step-11-polish.md +221 -0
- package/rihal/skills/actions/2-plan/rihal-create-prd/steps-c/step-12-complete.md +115 -0
- package/rihal/skills/actions/2-plan/rihal-create-prd/templates/prd-template.md +10 -0
- package/rihal/skills/actions/2-plan/rihal-create-prd/workflow.md +64 -0
- package/rihal/skills/actions/2-plan/rihal-create-story/SKILL.md +31 -0
- package/rihal/skills/actions/2-plan/rihal-create-story/checklist.md +357 -0
- package/rihal/skills/actions/2-plan/rihal-create-story/discover-inputs.md +88 -0
- package/rihal/skills/actions/2-plan/rihal-create-story/template.md +49 -0
- package/rihal/skills/actions/2-plan/rihal-create-story/workflow.md +380 -0
- package/rihal/skills/actions/2-plan/rihal-create-ux-design/SKILL.md +31 -0
- package/rihal/skills/actions/2-plan/rihal-create-ux-design/steps/step-01-init.md +135 -0
- package/rihal/skills/actions/2-plan/rihal-create-ux-design/steps/step-01b-continue.md +127 -0
- package/rihal/skills/actions/2-plan/rihal-create-ux-design/steps/step-02-discovery.md +190 -0
- package/rihal/skills/actions/2-plan/rihal-create-ux-design/steps/step-03-core-experience.md +217 -0
- package/rihal/skills/actions/2-plan/rihal-create-ux-design/steps/step-04-emotional-response.md +220 -0
- package/rihal/skills/actions/2-plan/rihal-create-ux-design/steps/step-05-inspiration.md +235 -0
- package/rihal/skills/actions/2-plan/rihal-create-ux-design/steps/step-06-design-system.md +253 -0
- package/rihal/skills/actions/2-plan/rihal-create-ux-design/steps/step-07-defining-experience.md +255 -0
- package/rihal/skills/actions/2-plan/rihal-create-ux-design/steps/step-08-visual-foundation.md +225 -0
- package/rihal/skills/actions/2-plan/rihal-create-ux-design/steps/step-09-design-directions.md +225 -0
- package/rihal/skills/actions/2-plan/rihal-create-ux-design/steps/step-10-user-journeys.md +242 -0
- package/rihal/skills/actions/2-plan/rihal-create-ux-design/steps/step-11-component-strategy.md +249 -0
- package/rihal/skills/actions/2-plan/rihal-create-ux-design/steps/step-12-ux-patterns.md +238 -0
- package/rihal/skills/actions/2-plan/rihal-create-ux-design/steps/step-13-responsive-accessibility.md +265 -0
- package/rihal/skills/actions/2-plan/rihal-create-ux-design/steps/step-14-complete.md +171 -0
- package/rihal/skills/actions/2-plan/rihal-create-ux-design/ux-design-template.md +13 -0
- package/rihal/skills/actions/2-plan/rihal-create-ux-design/workflow.md +36 -0
- package/rihal/skills/actions/2-plan/rihal-edit-prd/SKILL.md +30 -0
- package/rihal/skills/actions/2-plan/rihal-edit-prd/steps-e/step-e-01-discovery.md +242 -0
- package/rihal/skills/actions/2-plan/rihal-edit-prd/steps-e/step-e-01b-legacy-conversion.md +204 -0
- package/rihal/skills/actions/2-plan/rihal-edit-prd/steps-e/step-e-02-review.md +245 -0
- package/rihal/skills/actions/2-plan/rihal-edit-prd/steps-e/step-e-03-edit.md +250 -0
- package/rihal/skills/actions/2-plan/rihal-edit-prd/steps-e/step-e-04-complete.md +165 -0
- package/rihal/skills/actions/2-plan/rihal-edit-prd/workflow.md +63 -0
- package/rihal/skills/actions/2-plan/rihal-frontend-design/SKILL.md +169 -0
- package/rihal/skills/actions/2-plan/rihal-validate-prd/SKILL.md +29 -0
- package/rihal/skills/actions/2-plan/rihal-validate-prd/data/domain-complexity.csv +15 -0
- package/rihal/skills/actions/2-plan/rihal-validate-prd/data/prd-purpose.md +197 -0
- package/rihal/skills/actions/2-plan/rihal-validate-prd/data/project-types.csv +11 -0
- package/rihal/skills/actions/2-plan/rihal-validate-prd/steps-v/step-v-01-discovery.md +221 -0
- package/rihal/skills/actions/2-plan/rihal-validate-prd/steps-v/step-v-02-format-detection.md +188 -0
- package/rihal/skills/actions/2-plan/rihal-validate-prd/steps-v/step-v-02b-parity-check.md +206 -0
- package/rihal/skills/actions/2-plan/rihal-validate-prd/steps-v/step-v-03-density-validation.md +171 -0
- package/rihal/skills/actions/2-plan/rihal-validate-prd/steps-v/step-v-04-brief-coverage-validation.md +211 -0
- package/rihal/skills/actions/2-plan/rihal-validate-prd/steps-v/step-v-05-measurability-validation.md +225 -0
- package/rihal/skills/actions/2-plan/rihal-validate-prd/steps-v/step-v-06-traceability-validation.md +214 -0
- package/rihal/skills/actions/2-plan/rihal-validate-prd/steps-v/step-v-07-implementation-leakage-validation.md +202 -0
- package/rihal/skills/actions/2-plan/rihal-validate-prd/steps-v/step-v-08-domain-compliance-validation.md +240 -0
- package/rihal/skills/actions/2-plan/rihal-validate-prd/steps-v/step-v-09-project-type-validation.md +260 -0
- package/rihal/skills/actions/2-plan/rihal-validate-prd/steps-v/step-v-10-smart-validation.md +206 -0
- package/rihal/skills/actions/2-plan/rihal-validate-prd/steps-v/step-v-11-holistic-quality-validation.md +261 -0
- package/rihal/skills/actions/2-plan/rihal-validate-prd/steps-v/step-v-12-completeness-validation.md +239 -0
- package/rihal/skills/actions/2-plan/rihal-validate-prd/steps-v/step-v-13-report-complete.md +229 -0
- package/rihal/skills/actions/2-plan/rihal-validate-prd/workflow.md +62 -0
- package/rihal/skills/actions/3-solutioning/rihal-check-implementation-readiness/SKILL.md +30 -0
- package/rihal/skills/actions/3-solutioning/rihal-check-implementation-readiness/steps/step-01-document-discovery.md +179 -0
- package/rihal/skills/actions/3-solutioning/rihal-check-implementation-readiness/steps/step-02-prd-analysis.md +168 -0
- package/rihal/skills/actions/3-solutioning/rihal-check-implementation-readiness/steps/step-03-epic-coverage-validation.md +169 -0
- package/rihal/skills/actions/3-solutioning/rihal-check-implementation-readiness/steps/step-04-ux-alignment.md +129 -0
- package/rihal/skills/actions/3-solutioning/rihal-check-implementation-readiness/steps/step-05-epic-quality-review.md +241 -0
- package/rihal/skills/actions/3-solutioning/rihal-check-implementation-readiness/steps/step-06-final-assessment.md +126 -0
- package/rihal/skills/actions/3-solutioning/rihal-check-implementation-readiness/templates/readiness-report-template.md +4 -0
- package/rihal/skills/actions/3-solutioning/rihal-check-implementation-readiness/workflow.md +49 -0
- package/rihal/skills/actions/3-solutioning/rihal-create-architecture/SKILL.md +32 -0
- package/rihal/skills/actions/3-solutioning/rihal-create-architecture/architecture-decision-template.md +12 -0
- package/rihal/skills/actions/3-solutioning/rihal-create-architecture/data/domain-complexity.csv +13 -0
- package/rihal/skills/actions/3-solutioning/rihal-create-architecture/data/project-types.csv +7 -0
- package/rihal/skills/actions/3-solutioning/rihal-create-architecture/steps/step-01-init.md +153 -0
- package/rihal/skills/actions/3-solutioning/rihal-create-architecture/steps/step-01b-continue.md +173 -0
- package/rihal/skills/actions/3-solutioning/rihal-create-architecture/steps/step-02-context.md +224 -0
- package/rihal/skills/actions/3-solutioning/rihal-create-architecture/steps/step-03-starter.md +329 -0
- package/rihal/skills/actions/3-solutioning/rihal-create-architecture/steps/step-04-decisions.md +318 -0
- package/rihal/skills/actions/3-solutioning/rihal-create-architecture/steps/step-05-patterns.md +359 -0
- package/rihal/skills/actions/3-solutioning/rihal-create-architecture/steps/step-06-structure.md +379 -0
- package/rihal/skills/actions/3-solutioning/rihal-create-architecture/steps/step-07-validation.md +359 -0
- package/rihal/skills/actions/3-solutioning/rihal-create-architecture/steps/step-08-complete.md +76 -0
- package/rihal/skills/actions/3-solutioning/rihal-create-architecture/workflow.md +38 -0
- package/rihal/skills/actions/3-solutioning/rihal-generate-project-context/SKILL.md +31 -0
- package/rihal/skills/actions/3-solutioning/rihal-generate-project-context/project-context-template.md +21 -0
- package/rihal/skills/actions/3-solutioning/rihal-generate-project-context/steps/step-01-discover.md +186 -0
- package/rihal/skills/actions/3-solutioning/rihal-generate-project-context/steps/step-02-generate.md +321 -0
- package/rihal/skills/actions/3-solutioning/rihal-generate-project-context/steps/step-03-complete.md +278 -0
- package/rihal/skills/actions/3-solutioning/rihal-generate-project-context/workflow.md +43 -0
- package/rihal/skills/actions/4-implementation/rihal-checkpoint-preview/SKILL.md +48 -0
- package/rihal/skills/actions/4-implementation/rihal-checkpoint-preview/generate-trail.md +38 -0
- package/rihal/skills/actions/4-implementation/rihal-checkpoint-preview/step-01-orientation.md +105 -0
- package/rihal/skills/actions/4-implementation/rihal-checkpoint-preview/step-02-walkthrough.md +89 -0
- package/rihal/skills/actions/4-implementation/rihal-checkpoint-preview/step-03-detail-pass.md +106 -0
- package/rihal/skills/actions/4-implementation/rihal-checkpoint-preview/step-04-testing.md +74 -0
- package/rihal/skills/actions/4-implementation/rihal-checkpoint-preview/step-05-wrapup.md +24 -0
- package/rihal/skills/actions/4-implementation/rihal-code-review/SKILL.md +31 -0
- package/rihal/skills/actions/4-implementation/rihal-code-review/steps/step-01-gather-context.md +62 -0
- package/rihal/skills/actions/4-implementation/rihal-code-review/steps/step-02-review.md +34 -0
- package/rihal/skills/actions/4-implementation/rihal-code-review/steps/step-03-triage.md +49 -0
- package/rihal/skills/actions/4-implementation/rihal-code-review/steps/step-04-present.md +129 -0
- package/rihal/skills/actions/4-implementation/rihal-code-review/workflow.md +55 -0
- package/rihal/skills/actions/4-implementation/rihal-correct-course/SKILL.md +29 -0
- package/rihal/skills/actions/4-implementation/rihal-correct-course/checklist.md +288 -0
- package/rihal/skills/actions/4-implementation/rihal-correct-course/workflow.md +267 -0
- package/rihal/skills/actions/4-implementation/rihal-dev-story/SKILL.md +36 -0
- package/rihal/skills/actions/4-implementation/rihal-dev-story/checklist.md +80 -0
- package/rihal/skills/actions/4-implementation/rihal-dev-story/workflow.md +450 -0
- package/rihal/skills/actions/4-implementation/rihal-qa-generate-e2e-tests/SKILL.md +31 -0
- package/rihal/skills/actions/4-implementation/rihal-qa-generate-e2e-tests/checklist.md +33 -0
- package/rihal/skills/actions/4-implementation/rihal-qa-generate-e2e-tests/workflow.md +136 -0
- package/rihal/skills/actions/4-implementation/rihal-retrospective/SKILL.md +30 -0
- package/rihal/skills/actions/4-implementation/rihal-retrospective/workflow.md +1479 -0
- package/rihal/skills/actions/4-implementation/rihal-scaffold-project/SKILL.md +77 -0
- package/rihal/skills/actions/4-implementation/rihal-scaffold-project/steps/step-01-target.md +17 -0
- package/rihal/skills/actions/4-implementation/rihal-scaffold-project/steps/step-02-safety.md +35 -0
- package/rihal/skills/actions/4-implementation/rihal-scaffold-project/steps/step-03-clone.md +50 -0
- package/rihal/skills/actions/4-implementation/rihal-scaffold-project/steps/step-04-post-setup.md +44 -0
- package/rihal/skills/actions/4-implementation/rihal-sprint-planning/SKILL.md +35 -0
- package/rihal/skills/actions/4-implementation/rihal-sprint-planning/checklist.md +43 -0
- package/rihal/skills/actions/4-implementation/rihal-sprint-planning/sprint-status-template.yaml +56 -0
- package/rihal/skills/actions/4-implementation/rihal-sprint-planning/workflow.md +284 -0
- package/rihal/skills/actions/4-implementation/rihal-sprint-status/SKILL.md +30 -0
- package/rihal/skills/actions/4-implementation/rihal-sprint-status/workflow.md +261 -0
- package/rihal/skills/agents/ahmed-hassani-director/SKILL.md +121 -0
- package/rihal/skills/agents/fatima-qa/SKILL.md +106 -0
- package/rihal/skills/agents/fatima-qa/skill-manifest.yaml +11 -0
- package/rihal/skills/agents/haitham-frontend/SKILL.md +120 -0
- package/rihal/skills/agents/hanzla-engineer/SKILL.md +109 -0
- package/rihal/skills/agents/hanzla-engineer/skill-manifest.yaml +11 -0
- package/rihal/skills/agents/hussain-pm/SKILL.md +107 -0
- package/rihal/skills/agents/hussain-pm/skill-manifest.yaml +11 -0
- package/rihal/skills/agents/hussain-sm/SKILL.md +104 -0
- package/rihal/skills/agents/hussain-sm/skill-manifest.yaml +11 -0
- package/rihal/skills/agents/layla-designer/SKILL.md +96 -0
- package/rihal/skills/agents/layla-designer/skill-manifest.yaml +11 -0
- package/rihal/skills/agents/majlis-council/SKILL.md +179 -0
- package/rihal/skills/agents/mariam-marketing/SKILL.md +133 -0
- package/rihal/skills/agents/nasser-eng-manager/SKILL.md +125 -0
- package/rihal/skills/agents/noor-writer/SKILL.md +104 -0
- package/rihal/skills/agents/noor-writer/explain-concept.md +20 -0
- package/rihal/skills/agents/noor-writer/mermaid-gen.md +20 -0
- package/rihal/skills/agents/noor-writer/skill-manifest.yaml +11 -0
- package/rihal/skills/agents/noor-writer/validate-doc.md +19 -0
- package/rihal/skills/agents/noor-writer/write-document.md +20 -0
- package/rihal/skills/agents/raees-orchestrator/SKILL.md +154 -0
- package/rihal/skills/agents/sadiq-analyst/SKILL.md +106 -0
- package/rihal/skills/agents/sadiq-analyst/skill-manifest.yaml +11 -0
- package/rihal/skills/agents/waleed-architect/SKILL.md +106 -0
- package/rihal/skills/agents/waleed-architect/skill-manifest.yaml +11 -0
- package/rihal/skills/agents/yousef-backend/SKILL.md +136 -0
- package/rihal/skills/agents/zahra-branding/SKILL.md +141 -0
- package/rihal/skills/agents/zayd-ml/SKILL.md +124 -0
- package/rihal/skills/core/module-help.csv +11 -0
- package/rihal/skills/core/module.yaml +25 -0
- package/rihal/skills/core/rihal-advanced-elicitation/SKILL.md +155 -0
- package/rihal/skills/core/rihal-advanced-elicitation/methods.csv +51 -0
- package/rihal/skills/core/rihal-advanced-elicitation/rihal-advanced-elicitation/SKILL.md +148 -0
- package/rihal/skills/core/rihal-advanced-elicitation/rihal-advanced-elicitation/methods.csv +51 -0
- package/rihal/skills/core/rihal-brainstorming/SKILL.md +82 -0
- package/rihal/skills/core/rihal-brainstorming/brain-methods.csv +62 -0
- package/rihal/skills/core/rihal-brainstorming/steps/step-01-session-setup.md +214 -0
- package/rihal/skills/core/rihal-brainstorming/steps/step-01b-continue.md +124 -0
- package/rihal/skills/core/rihal-brainstorming/steps/step-02a-user-selected.md +229 -0
- package/rihal/skills/core/rihal-brainstorming/steps/step-02b-ai-recommended.md +239 -0
- package/rihal/skills/core/rihal-brainstorming/steps/step-02c-random-selection.md +211 -0
- package/rihal/skills/core/rihal-brainstorming/steps/step-02d-progressive-flow.md +266 -0
- package/rihal/skills/core/rihal-brainstorming/steps/step-03-technique-execution.md +401 -0
- package/rihal/skills/core/rihal-brainstorming/steps/step-04-idea-organization.md +305 -0
- package/rihal/skills/core/rihal-brainstorming/template.md +15 -0
- package/rihal/skills/core/rihal-brainstorming/workflow.md +53 -0
- package/rihal/skills/core/rihal-clone-website/SKILL.md +395 -0
- package/rihal/skills/core/rihal-distillator/SKILL.md +205 -0
- package/rihal/skills/core/rihal-distillator/agents/distillate-compressor.md +116 -0
- package/rihal/skills/core/rihal-distillator/agents/round-trip-reconstructor.md +68 -0
- package/rihal/skills/core/rihal-distillator/resources/compression-rules.md +51 -0
- package/rihal/skills/core/rihal-distillator/resources/distillate-format-reference.md +227 -0
- package/rihal/skills/core/rihal-distillator/resources/splitting-strategy.md +78 -0
- package/rihal/skills/core/rihal-distillator/scripts/analyze_sources.py +300 -0
- package/rihal/skills/core/rihal-distillator/scripts/tests/test_analyze_sources.py +204 -0
- package/rihal/skills/core/rihal-editorial-review-prose/SKILL.md +108 -0
- package/rihal/skills/core/rihal-editorial-review-structure/SKILL.md +193 -0
- package/rihal/skills/core/rihal-help/SKILL.md +91 -0
- package/rihal/skills/core/rihal-index-docs/SKILL.md +80 -0
- package/rihal/skills/core/rihal-init/SKILL.md +119 -0
- package/rihal/skills/core/rihal-init/resources/core-module.yaml +25 -0
- package/rihal/skills/core/rihal-init/scripts/rihal_init.py +593 -0
- package/rihal/skills/core/rihal-init/scripts/tests/test_rihal_init.py +329 -0
- package/rihal/skills/core/rihal-party-mode/SKILL.md +77 -0
- package/rihal/skills/core/rihal-party-mode/steps/step-01-agent-loading.md +138 -0
- package/rihal/skills/core/rihal-party-mode/steps/step-02-discussion-orchestration.md +187 -0
- package/rihal/skills/core/rihal-party-mode/steps/step-03-graceful-exit.md +167 -0
- package/rihal/skills/core/rihal-party-mode/workflow.md +190 -0
- package/rihal/skills/core/rihal-review-adversarial-general/SKILL.md +55 -0
- package/rihal/skills/core/rihal-review-edge-case-hunter/SKILL.md +81 -0
- package/rihal/skills/core/rihal-shard-doc/SKILL.md +119 -0
- package/rihal/skills/core/rihal-shard-doc/rihal-shard-doc/SKILL.md +122 -0
- package/rihal/team.yaml +343 -0
- package/rihal/templates/UI-SPEC.md +127 -0
- package/rihal/templates/documentation-requirements.csv +11 -0
- package/rihal/templates/github/bug-template.md +53 -0
- package/rihal/templates/github/epic-template.md +57 -0
- package/rihal/templates/github/feature-template.md +55 -0
- package/rihal/templates/github/task-template.md +52 -0
- package/rihal/templates/milestone.md +147 -0
- package/rihal/templates/projects/api-backend/PROJECT.md +37 -0
- package/rihal/templates/projects/api-backend/REQUIREMENTS.md +38 -0
- package/rihal/templates/projects/api-backend/ROADMAP.md +92 -0
- package/rihal/templates/projects/api-backend/template.yaml +17 -0
- package/rihal/templates/projects/mobile-app/PROJECT.md +37 -0
- package/rihal/templates/projects/mobile-app/REQUIREMENTS.md +32 -0
- package/rihal/templates/projects/mobile-app/ROADMAP.md +93 -0
- package/rihal/templates/projects/mobile-app/template.yaml +17 -0
- package/rihal/templates/projects/saas-b2b/PROJECT.md +40 -0
- package/rihal/templates/projects/saas-b2b/REQUIREMENTS.md +38 -0
- package/rihal/templates/projects/saas-b2b/ROADMAP.md +95 -0
- package/rihal/templates/projects/saas-b2b/template.yaml +18 -0
- package/rihal/templates/settings-hooks.json +36 -0
- package/rihal/templates/sprint.md +70 -0
- package/rihal/workflows/add-phase.md +112 -0
- package/rihal/workflows/add-tests.md +351 -0
- package/rihal/workflows/add-todo.md +181 -0
- package/rihal/workflows/analyze-dependencies.md +138 -0
- package/rihal/workflows/audit-fix.md +190 -0
- package/rihal/workflows/audit-milestone.md +155 -0
- package/rihal/workflows/audit-uat.md +109 -0
- package/rihal/workflows/autonomous.md +992 -0
- package/rihal/workflows/brainstorm.md +203 -0
- package/rihal/workflows/chain.md +188 -0
- package/rihal/workflows/check-implementation-readiness.md +193 -0
- package/rihal/workflows/check-todos.md +177 -0
- package/rihal/workflows/cleanup.md +152 -0
- package/rihal/workflows/code-review-fix.md +529 -0
- package/rihal/workflows/code-review.md +566 -0
- package/rihal/workflows/complete-milestone.md +836 -0
- package/rihal/workflows/config.md +105 -0
- package/rihal/workflows/correct-course.md +190 -0
- package/rihal/workflows/council.md +565 -0
- package/rihal/workflows/create-epics-and-stories.md +373 -0
- package/rihal/workflows/create-story.md +297 -0
- package/rihal/workflows/dashboard.md +102 -0
- package/rihal/workflows/debug.md +256 -0
- package/rihal/workflows/decisions.md +107 -0
- package/rihal/workflows/dev-story.md +432 -0
- package/rihal/workflows/diff.md +74 -0
- package/rihal/workflows/discuss-phase-power.md +325 -0
- package/rihal/workflows/discuss-phase.md +1201 -0
- package/rihal/workflows/discuss.md +227 -0
- package/rihal/workflows/do.md +175 -0
- package/rihal/workflows/docs-update.md +261 -0
- package/rihal/workflows/document-project.md +180 -0
- package/rihal/workflows/enable-hooks.md +102 -0
- package/rihal/workflows/execute-sprint.md +514 -0
- package/rihal/workflows/execute.md +1478 -0
- package/rihal/workflows/explore.md +171 -0
- package/rihal/workflows/export-to-github.md +174 -0
- package/rihal/workflows/forensics.md +201 -0
- package/rihal/workflows/from-template.md +173 -0
- package/rihal/workflows/health.md +194 -0
- package/rihal/workflows/help.md +318 -0
- package/rihal/workflows/import.md +306 -0
- package/rihal/workflows/inbox.md +418 -0
- package/rihal/workflows/init.md +245 -0
- package/rihal/workflows/insert-phase.md +116 -0
- package/rihal/workflows/install.md +85 -0
- package/rihal/workflows/karpathy-audit.md +409 -0
- package/rihal/workflows/list-plans.md +146 -0
- package/rihal/workflows/list-workspaces.md +115 -0
- package/rihal/workflows/map-codebase.md +449 -0
- package/rihal/workflows/milestone-summary.md +206 -0
- package/rihal/workflows/new-milestone.md +616 -0
- package/rihal/workflows/new-project-research.md +262 -0
- package/rihal/workflows/new-project-roadmap.md +446 -0
- package/rihal/workflows/new-project.md +1503 -0
- package/rihal/workflows/new-workspace.md +167 -0
- package/rihal/workflows/next.md +162 -0
- package/rihal/workflows/note.md +156 -0
- package/rihal/workflows/notify-test.md +113 -0
- package/rihal/workflows/pause-work.md +243 -0
- package/rihal/workflows/plan-milestone-gaps.md +273 -0
- package/rihal/workflows/plan.md +1262 -0
- package/rihal/workflows/plant-seed.md +169 -0
- package/rihal/workflows/pr-branch.md +129 -0
- package/rihal/workflows/profile-user.md +162 -0
- package/rihal/workflows/progress.md +184 -0
- package/rihal/workflows/quick.md +105 -0
- package/rihal/workflows/remove-phase.md +155 -0
- package/rihal/workflows/remove-workspace.md +158 -0
- package/rihal/workflows/replay.md +160 -0
- package/rihal/workflows/rerun.md +77 -0
- package/rihal/workflows/research-phase.md +82 -0
- package/rihal/workflows/resume-work.md +326 -0
- package/rihal/workflows/review-adversarial.md +180 -0
- package/rihal/workflows/review-edge-case-hunter.md +214 -0
- package/rihal/workflows/review.md +281 -0
- package/rihal/workflows/scan.md +135 -0
- package/rihal/workflows/secure-phase.md +196 -0
- package/rihal/workflows/session-report.md +187 -0
- package/rihal/workflows/settings.md +185 -0
- package/rihal/workflows/ship.md +237 -0
- package/rihal/workflows/show.md +63 -0
- package/rihal/workflows/sprint-planning.md +166 -0
- package/rihal/workflows/sprint-status.md +124 -0
- package/rihal/workflows/stats.md +141 -0
- package/rihal/workflows/status.md +116 -0
- package/rihal/workflows/ui-phase.md +148 -0
- package/rihal/workflows/ui-review.md +130 -0
- package/rihal/workflows/undo.md +426 -0
- package/rihal/workflows/update.md +185 -0
- package/rihal/workflows/validate-phase.md +174 -0
- package/rihal/workflows/verify-phase.md +375 -0
- package/rihal/workflows/verify-work.md +717 -0
- package/rihal/workflows/why.md +130 -0
- package/rihal/workflows/workstream.md +197 -0
- package/server/dashboard.js +632 -0
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
# Checklist: Product Manager Pre-Execution Checklist
|
|
2
|
+
|
|
3
|
+
Use this checklist as a **Product Manager or execution lead** deciding whether a story/epic is **ready to execute** (all dependencies gathered, team aligned, blockers cleared).
|
|
4
|
+
|
|
5
|
+
This gate happens RIGHT BEFORE execution (after planning, before dev work starts).
|
|
6
|
+
|
|
7
|
+
## Market & Customer Evidence
|
|
8
|
+
|
|
9
|
+
- [ ] **Market research complete** — Do we know customer need?
|
|
10
|
+
- Mariam (Growth) completed discovery: surveys, competitor analysis, use case documentation
|
|
11
|
+
- Reference: `.planning/research/[feature-name]-market-analysis.md`
|
|
12
|
+
- Output: "10 potential customers need X", "Current gap in market"
|
|
13
|
+
|
|
14
|
+
- [ ] **Customer validation** — Have we talked to actual users?
|
|
15
|
+
- "5 customers asked for this in last 6 months"
|
|
16
|
+
- "Support tickets: 20+ about this issue"
|
|
17
|
+
- NOT: "We think users would like this"
|
|
18
|
+
|
|
19
|
+
- [ ] **Business case documented** — What's the revenue/retention impact?
|
|
20
|
+
- "Estimated $50k ARR impact if we build"
|
|
21
|
+
- "Reduces churn by 5% (12 customers @ $5k each = $60k)"
|
|
22
|
+
- "Unblocks 3 enterprise deals stuck on this feature"
|
|
23
|
+
|
|
24
|
+
## Scope & Story Definition
|
|
25
|
+
|
|
26
|
+
- [ ] **Scope defined** — What's in, what's out?
|
|
27
|
+
- User stories written following checklist-story-draft
|
|
28
|
+
- MoSCoW prioritization applied (Must, Should, Could, Won't)
|
|
29
|
+
- Out-of-scope list prevents creep
|
|
30
|
+
|
|
31
|
+
- [ ] **Acceptance criteria clear** — Can QA verify completion?
|
|
32
|
+
- All stories have 3+ acceptance criteria
|
|
33
|
+
- Each criterion is testable (not vague)
|
|
34
|
+
- Reference: User stories in `.planning/stories/[feature-name].md`
|
|
35
|
+
|
|
36
|
+
- [ ] **Dependencies mapped** — What do we need first?
|
|
37
|
+
- "This feature depends on API endpoint from backend team (eta: 2026-04-15)"
|
|
38
|
+
- "Requires design approval from Layla (scheduled for 2026-04-10)"
|
|
39
|
+
- "Blocks downstream feature: user preferences (can start after this ships)"
|
|
40
|
+
|
|
41
|
+
## Technical Feasibility
|
|
42
|
+
|
|
43
|
+
- [ ] **Waleed (CTO) confirmed feasible** — Is the architecture possible?
|
|
44
|
+
- "Reviewed architecture; can be done with current stack"
|
|
45
|
+
- "No blocking unknowns"
|
|
46
|
+
- Reference: `.planning/technical-feasibility/[feature-name].md`
|
|
47
|
+
|
|
48
|
+
- [ ] **Tech debt considered** — Does this create problems?
|
|
49
|
+
- "Will need refactoring in area X (planned for Q3)"
|
|
50
|
+
- "No new security issues"
|
|
51
|
+
- "Performance impact assessed: <5% overhead"
|
|
52
|
+
|
|
53
|
+
- [ ] **Dependencies available** — Do we have what we need?
|
|
54
|
+
- "All required libraries exist and are maintained"
|
|
55
|
+
- "No new tooling needed" OR "New tools procured and tested"
|
|
56
|
+
- "Environment setup documented"
|
|
57
|
+
|
|
58
|
+
## QA & Quality Gates
|
|
59
|
+
|
|
60
|
+
- [ ] **Fatima (QA Lead) signed off** — Can we test this thoroughly?
|
|
61
|
+
- "Test plan created: 15 manual test cases + 20 automated tests"
|
|
62
|
+
- "Performance regression tests specified"
|
|
63
|
+
- "Security tests identified (if applicable)"
|
|
64
|
+
- Reference: `.planning/qa/[feature-name]-test-plan.md`
|
|
65
|
+
|
|
66
|
+
- [ ] **Release gate defined** — What makes this shippable?
|
|
67
|
+
- "All acceptance criteria passed"
|
|
68
|
+
- "Zero critical bugs, <5 P2 bugs"
|
|
69
|
+
- "Performance benchmarks met (load test: 1k users/sec)"
|
|
70
|
+
- "No console.log left; no TODO comments"
|
|
71
|
+
|
|
72
|
+
- [ ] **Rollback tested** — Can we undo this?
|
|
73
|
+
- "Database migration is reversible"
|
|
74
|
+
- "Feature flag allows instant disable"
|
|
75
|
+
- "Rollback tested; confirmed takes <5 min"
|
|
76
|
+
|
|
77
|
+
## Strategic Alignment
|
|
78
|
+
|
|
79
|
+
- [ ] **Kill criterion from Sadiq (Strategy)** — When would we stop?
|
|
80
|
+
- "If implementation exceeds 3 weeks, defer to Q3"
|
|
81
|
+
- "If performance regression >10%, reconsider approach"
|
|
82
|
+
- "If customer feedback shows demand is lower than expected"
|
|
83
|
+
|
|
84
|
+
- [ ] **Roadmap impact clear** — What else does this affect?
|
|
85
|
+
- "Delays bug fixes by 1 week" OR "Doesn't delay roadmap"
|
|
86
|
+
- "Unblocks 3 other features"
|
|
87
|
+
- "Team capacity confirmed: 2 people, 3 weeks"
|
|
88
|
+
|
|
89
|
+
## Customer Handoff
|
|
90
|
+
|
|
91
|
+
- [ ] **First customer named** — Who gets this first?
|
|
92
|
+
- "Mariam identified 3 beta customers; Mariam (customer) is priority #1"
|
|
93
|
+
- "Rollout plan: beta with 3 customers first, then all users"
|
|
94
|
+
- "Communication plan: send announcement on 2026-05-01"
|
|
95
|
+
|
|
96
|
+
- [ ] **Success metrics defined** — How do we measure impact?
|
|
97
|
+
- "Target: 10+ customers using feature in first month"
|
|
98
|
+
- "Target: <2 support tickets about this feature after launch"
|
|
99
|
+
- "Target: NPS score increase by 2 points in follow-up survey"
|
|
100
|
+
|
|
101
|
+
## Sign-Off Gate
|
|
102
|
+
|
|
103
|
+
This story is **READY TO EXECUTE** when:
|
|
104
|
+
|
|
105
|
+
```markdown
|
|
106
|
+
## Pre-Execution Sign-Off
|
|
107
|
+
|
|
108
|
+
✓ Market research complete (Mariam)
|
|
109
|
+
✓ Scope defined with MoSCoW (Hussain-PM)
|
|
110
|
+
✓ Technical feasibility confirmed (Waleed)
|
|
111
|
+
✓ QA test plan ready (Fatima)
|
|
112
|
+
✓ Strategy/kill criterion from Sadiq
|
|
113
|
+
✓ First customer identified (Mariam)
|
|
114
|
+
|
|
115
|
+
**Status:** Ready to start execution on 2026-04-15
|
|
116
|
+
**Estimated completion:** 2026-05-01
|
|
117
|
+
**Expected impact:** +$50k ARR, 5% churn reduction
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
Story is **NOT READY** if any of:
|
|
121
|
+
- Stakeholder missing (no Mariam research, no Waleed feasibility)
|
|
122
|
+
- Scope fuzzy ("nice to have" or unclear acceptance criteria)
|
|
123
|
+
- No customer identified
|
|
124
|
+
- No rollback plan
|
|
125
|
+
- Kill criterion missing
|
|
126
|
+
|
|
127
|
+
## Template
|
|
128
|
+
|
|
129
|
+
```markdown
|
|
130
|
+
# Pre-Execution Checklist: [Feature Name]
|
|
131
|
+
|
|
132
|
+
## Market & Customer
|
|
133
|
+
- [x] Market research: [Mariam's doc path] — 10 customers need this
|
|
134
|
+
- [x] Customer validation: [Support tickets + survey feedback]
|
|
135
|
+
- [x] Business case: [$50k ARR impact, 5% churn reduction]
|
|
136
|
+
|
|
137
|
+
## Scope
|
|
138
|
+
- [x] Stories written: [Count and link to stories]
|
|
139
|
+
- [x] MoSCoW applied: Must (8), Should (3), Could (2)
|
|
140
|
+
- [x] Dependencies: [Backend API ready by 2026-04-15]
|
|
141
|
+
|
|
142
|
+
## Technical
|
|
143
|
+
- [x] Feasibility: [Waleed approved] — no blocking unknowns
|
|
144
|
+
- [x] Architecture: [No new tech, fits current patterns]
|
|
145
|
+
- [x] QA plan: [Fatima: 15 manual + 20 automated tests]
|
|
146
|
+
|
|
147
|
+
## Strategy
|
|
148
|
+
- [x] Kill criterion: [Stop if >3 weeks or >10% perf regression]
|
|
149
|
+
- [x] Roadmap impact: [Delays bug fixes 1 week]
|
|
150
|
+
- [x] Rollout plan: [Beta with 3 customers, then all users]
|
|
151
|
+
|
|
152
|
+
## Status
|
|
153
|
+
✓ Ready to execute on 2026-04-15
|
|
154
|
+
```
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# Checklist: Product Owner Master Checklist
|
|
2
|
+
|
|
3
|
+
Use this checklist as a **Product Owner (or product lead)** deciding whether to **start work on a story or epic**.
|
|
4
|
+
|
|
5
|
+
This is the gate before planning or execution. If you cannot check all items, the work is not ready to start.
|
|
6
|
+
|
|
7
|
+
## Stakeholder Alignment
|
|
8
|
+
|
|
9
|
+
- [ ] **Who asked?** — Named stakeholder (not "the team", but "Mariam wants X" or "customer complaint #42")
|
|
10
|
+
- If internal: Which team member? What's their role?
|
|
11
|
+
- If external: Which customer? What's their use case?
|
|
12
|
+
- [ ] **Why now?** — Evidence the ask is urgent or has high impact
|
|
13
|
+
- Market research data? Customer churn risk? Competitive pressure? Roadmap dependency?
|
|
14
|
+
- Not: "Someone mentioned it"
|
|
15
|
+
|
|
16
|
+
## Problem & Impact
|
|
17
|
+
|
|
18
|
+
- [ ] **What gets worse if we DON'T build this?** — Be specific
|
|
19
|
+
- Bad: "Users will be unhappy"
|
|
20
|
+
- Good: "We lose 5+ customers per month due to missing export feature. Support tickets about this: 12/month."
|
|
21
|
+
- [ ] **Measurable outcome** — How will we know success?
|
|
22
|
+
- "Reduce support tickets about this feature from 12/month to <2/month"
|
|
23
|
+
- "Increase user retention by 3% in Q2"
|
|
24
|
+
- "Enable 10 new enterprise customers who require SSO"
|
|
25
|
+
|
|
26
|
+
## Scope Boundary
|
|
27
|
+
|
|
28
|
+
- [ ] **Kill criterion defined** — When would we stop building this?
|
|
29
|
+
- "If implementation requires breaking existing API contracts"
|
|
30
|
+
- "If cost exceeds $50k in infrastructure changes"
|
|
31
|
+
- "If we discover >30% of users don't use the feature after 2 weeks"
|
|
32
|
+
- [ ] **Opportunity cost named** — What ELSE are we not doing?
|
|
33
|
+
- "We ship this, we delay bug fixes by 2 weeks"
|
|
34
|
+
- "This takes 3 people for 1 sprint = 1 sprint delay on roadmap"
|
|
35
|
+
|
|
36
|
+
## Decision Criteria
|
|
37
|
+
|
|
38
|
+
- [ ] **Effort estimated** — Do we know roughly how long?
|
|
39
|
+
- Work with CTO/architect: "This is probably a 2-3 week story" or "This needs deeper research first"
|
|
40
|
+
- [ ] **Risk identified** — What could go wrong?
|
|
41
|
+
- "Depends on new vendor library (not battle-tested)"
|
|
42
|
+
- "Requires database schema migration (rollback risk)"
|
|
43
|
+
- "Affects 40% of users; bugs here are high-impact"
|
|
44
|
+
- [ ] **Alternatives considered** — Is building the only option?
|
|
45
|
+
- "Could we fix this with a workaround instead?"
|
|
46
|
+
- "Could we partner/integrate instead of building?"
|
|
47
|
+
- "Could we defer this 1 quarter and see if the ask goes away?"
|
|
48
|
+
|
|
49
|
+
## Readiness Gate
|
|
50
|
+
|
|
51
|
+
✅ **Ready to plan/execute** when:
|
|
52
|
+
- All items checked
|
|
53
|
+
- Stakeholder has approved the kill criterion
|
|
54
|
+
- Team capacity confirmed
|
|
55
|
+
|
|
56
|
+
❌ **Not ready** when:
|
|
57
|
+
- Stakeholder is unclear
|
|
58
|
+
- Problem statement is vague
|
|
59
|
+
- Kill criterion missing (scope will creep)
|
|
60
|
+
- Opportunity cost not discussed with team
|
|
61
|
+
|
|
62
|
+
## Template
|
|
63
|
+
|
|
64
|
+
```markdown
|
|
65
|
+
## Work: [Feature Name]
|
|
66
|
+
|
|
67
|
+
**Stakeholder:** [Name, role, evidence they asked]
|
|
68
|
+
|
|
69
|
+
**Problem:** What gets worse if we don't build this?
|
|
70
|
+
- [Specific, measurable impact]
|
|
71
|
+
- [Data point supporting urgency]
|
|
72
|
+
|
|
73
|
+
**Success Metric:** How will we know this worked?
|
|
74
|
+
- [Measurable outcome]
|
|
75
|
+
|
|
76
|
+
**Kill Criterion:** When would we stop?
|
|
77
|
+
- [Specific condition that stops work]
|
|
78
|
+
|
|
79
|
+
**Opportunity Cost:** What are we NOT doing?
|
|
80
|
+
- [Team capacity impact]
|
|
81
|
+
- [Roadmap delay]
|
|
82
|
+
|
|
83
|
+
**Estimated Effort:** [S | M | L] — [Why this size]
|
|
84
|
+
|
|
85
|
+
**Risks:**
|
|
86
|
+
- [Risk 1]
|
|
87
|
+
- [Risk 2]
|
|
88
|
+
|
|
89
|
+
**Status:** ✓ Ready to plan
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## When to Say "Not Ready"
|
|
93
|
+
|
|
94
|
+
1. **Stakeholder vague:** "Add notifications" without naming who asked or why
|
|
95
|
+
2. **Impact unclear:** "Would be nice to have" with no data
|
|
96
|
+
3. **Kill criterion missing:** Will expand forever
|
|
97
|
+
4. **Opportunity cost unknown:** Team doesn't know what they're delaying
|
|
98
|
+
5. **Risk not discussed:** Building on untested foundation
|
|
99
|
+
|
|
100
|
+
In these cases, ask for a council or discovery session before committing to work.
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# Checklist: Story Definition of Done
|
|
2
|
+
|
|
3
|
+
Use this checklist when **completing a user story** — all acceptance criteria met, code written, tests passing.
|
|
4
|
+
|
|
5
|
+
A story is "Done" only when all these items are checked:
|
|
6
|
+
|
|
7
|
+
## Acceptance Criteria Verification
|
|
8
|
+
|
|
9
|
+
- [ ] **All acceptance criteria met** — Each criterion tested and passing
|
|
10
|
+
- For UI: User can perform the action and see expected result
|
|
11
|
+
- For API: Endpoint returns correct status and response shape
|
|
12
|
+
- For Data: Stored/retrieved data is accurate
|
|
13
|
+
- [ ] **Edge cases handled** — Empty states, errors, boundary conditions work correctly
|
|
14
|
+
- [ ] **No known stubs** — No TODO comments, empty function bodies, or placeholder values left in code
|
|
15
|
+
|
|
16
|
+
## Testing
|
|
17
|
+
|
|
18
|
+
- [ ] **Tests written** — Unit tests for logic, integration tests for workflows
|
|
19
|
+
- [ ] **All tests passing** — No failures, flaky tests fixed
|
|
20
|
+
- [ ] **Coverage adequate** — Critical paths have test coverage (aim for 80%+ on modified code)
|
|
21
|
+
|
|
22
|
+
## Code Quality
|
|
23
|
+
|
|
24
|
+
- [ ] **No lint errors** — Code style follows project conventions (from CLAUDE.md or equivalent)
|
|
25
|
+
- [ ] **No console.log left** — Debug logs removed from production code (tests may have logging)
|
|
26
|
+
- [ ] **Follows project patterns** — Uses existing architecture, naming, folder structure
|
|
27
|
+
- [ ] **Imports correct** — All dependencies exist and are installed
|
|
28
|
+
|
|
29
|
+
## Documentation
|
|
30
|
+
|
|
31
|
+
- [ ] **Code commented** — Complex logic explained; edge cases documented
|
|
32
|
+
- [ ] **API documented** — Endpoints have request/response examples (if API story)
|
|
33
|
+
- [ ] **UI behavior documented** — States and interactions clear for maintainers
|
|
34
|
+
|
|
35
|
+
## Commits
|
|
36
|
+
|
|
37
|
+
- [ ] **Conventional Commits format** — `type(scope): description` (e.g., `feat(auth): add JWT refresh rotation`)
|
|
38
|
+
- [ ] **No AI attribution** — No "Generated with Claude Code", no "Co-Authored-By: Claude"
|
|
39
|
+
- [ ] **Meaningful messages** — Why the change, not just what changed
|
|
40
|
+
- [ ] **One logical change per commit** — Not mixing unrelated work
|
|
41
|
+
|
|
42
|
+
## State & Handoff
|
|
43
|
+
|
|
44
|
+
- [ ] **Story summary written** — Brief recap of what was built (for PR or SUMMARY.md)
|
|
45
|
+
- [ ] **State updated** — If this is part of a plan, SUMMARY.md created
|
|
46
|
+
- [ ] **No blockers recorded** — If blockers exist, they're documented for team
|
|
47
|
+
|
|
48
|
+
## Definition of Done Template
|
|
49
|
+
|
|
50
|
+
```markdown
|
|
51
|
+
## Acceptance Criteria Verification
|
|
52
|
+
- [x] All 5 criteria tested and passing
|
|
53
|
+
- [x] Edge cases: empty posts list, network error, 404 user
|
|
54
|
+
|
|
55
|
+
## Testing
|
|
56
|
+
- [x] 12 new tests written (POST, GET, error cases)
|
|
57
|
+
- [x] All tests passing locally and in CI
|
|
58
|
+
- [x] Coverage: auth module at 87%
|
|
59
|
+
|
|
60
|
+
## Code Quality
|
|
61
|
+
- [x] Zero lint errors
|
|
62
|
+
- [x] Follows existing .../api/routes pattern
|
|
63
|
+
- [x] Using existing jwt library (jose)
|
|
64
|
+
|
|
65
|
+
## Commits
|
|
66
|
+
- [x] feat(auth): add JWT refresh token rotation
|
|
67
|
+
- [x] test(auth): add refresh token tests
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## When NOT All Items Are Checked
|
|
71
|
+
|
|
72
|
+
If any item cannot be checked:
|
|
73
|
+
1. **Add a blocker:** Record why it's blocked (missing dependency, design uncertainty, etc.)
|
|
74
|
+
2. **Split the story:** If too much work remains, move non-critical acceptance criteria to a new story
|
|
75
|
+
3. **Flag for review:** Bring to team (council/standup) before merging
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Checklist: Story Draft
|
|
2
|
+
|
|
3
|
+
Use this checklist when **writing the first draft of a user story** — before it enters the backlog or gets assigned.
|
|
4
|
+
|
|
5
|
+
## Story Structure
|
|
6
|
+
|
|
7
|
+
- [ ] **User persona named** — Not "user", but "Mariam (Marketing Lead)" or "Waleed (CTO)" or "Agent deploying to production"
|
|
8
|
+
- [ ] **Action/outcome specified** — Clear verb: "view", "export", "validate", "retry", not vague "manage" or "handle"
|
|
9
|
+
- [ ] **Acceptance criteria (3+ bullets)** — Each criterion is testable, not subjective
|
|
10
|
+
- Good: "Users can filter by date range using calendar widget, showing only posts from selected dates"
|
|
11
|
+
- Bad: "System should be fast"
|
|
12
|
+
- [ ] **Out-of-scope explicitly listed** — What the story does NOT do (prevents scope creep)
|
|
13
|
+
- [ ] **Effort estimate (S/M/L)** — Story points or t-shirt size for capacity planning
|
|
14
|
+
- S = 1-2 days, M = 3-5 days, L = 1+ weeks
|
|
15
|
+
|
|
16
|
+
## Template
|
|
17
|
+
|
|
18
|
+
```markdown
|
|
19
|
+
# Story: [Action for Persona]
|
|
20
|
+
|
|
21
|
+
**Persona:** [Name, role, context]
|
|
22
|
+
|
|
23
|
+
**Action:** As a [persona], I want to [action] so that [outcome/benefit].
|
|
24
|
+
|
|
25
|
+
## Acceptance Criteria
|
|
26
|
+
|
|
27
|
+
- [ ] [Testable condition 1]
|
|
28
|
+
- [ ] [Testable condition 2]
|
|
29
|
+
- [ ] [Testable condition 3]
|
|
30
|
+
|
|
31
|
+
## Out of Scope
|
|
32
|
+
|
|
33
|
+
- [What this story does NOT do]
|
|
34
|
+
- [What will be in a future story]
|
|
35
|
+
|
|
36
|
+
## Effort
|
|
37
|
+
|
|
38
|
+
**Estimate:** [S | M | L]
|
|
39
|
+
**Rationale:** [why this size]
|
|
40
|
+
|
|
41
|
+
## Notes
|
|
42
|
+
|
|
43
|
+
[Any research, design decisions, or open questions]
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Passing the Draft Check
|
|
47
|
+
|
|
48
|
+
A story is ready to move forward when:
|
|
49
|
+
1. Persona is named and rooted in the actual team
|
|
50
|
+
2. Acceptance criteria are independently verifiable
|
|
51
|
+
3. Out-of-scope list prevents misunderstanding
|
|
52
|
+
4. Estimate is realistic (check with implementer if uncertain)
|
|
53
|
+
5. Story fits in one sprint/phase (if L estimate, consider splitting)
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Checkpoints — Quick Reference
|
|
2
|
+
|
|
3
|
+
Plans execute autonomously. Checkpoints formalize interaction points where human verification or decisions are needed.
|
|
4
|
+
|
|
5
|
+
**Core principle:** the agent automates everything with CLI/API. Checkpoints are for verification and decisions, not manual work.
|
|
6
|
+
|
|
7
|
+
## Golden Rules
|
|
8
|
+
|
|
9
|
+
1. **If the agent can run it, the agent runs it** - Never ask user to execute CLI commands, start servers, or run builds
|
|
10
|
+
2. **The agent sets up the verification environment** - Start dev servers, seed databases, configure env vars
|
|
11
|
+
3. **User only does what requires human judgment** - Visual checks, UX evaluation, "does this feel right?"
|
|
12
|
+
4. **Secrets come from user, automation comes from the agent** - Ask for API keys, then the agent uses them via CLI
|
|
13
|
+
5. **Auto-mode bypasses verification/decision checkpoints** — When `workflow._auto_chain_active` or `workflow.auto_advance` is true in config: human-verify auto-approves, decision auto-selects first option, human-action still stops (auth gates cannot be automated)
|
|
14
|
+
|
|
15
|
+
## Checkpoint Types
|
|
16
|
+
|
|
17
|
+
| Type | Frequency | Use Case |
|
|
18
|
+
|------|-----------|----------|
|
|
19
|
+
| **human-verify** | 90% | Agent completed work, human confirms it's correct (visual checks, testing) |
|
|
20
|
+
| **decision** | 9% | Human must choose between options (tech selection, architecture, design) |
|
|
21
|
+
| **human-action** | 1% | Authentication gates or email verification links |
|
|
22
|
+
|
|
23
|
+
## Most Common Pattern: human-verify
|
|
24
|
+
|
|
25
|
+
```xml
|
|
26
|
+
<task type="checkpoint:human-verify" gate="blocking">
|
|
27
|
+
<what-built>[What the agent automated and deployed]</what-built>
|
|
28
|
+
<how-to-verify>[Exact steps to test - URLs, commands, expected behavior]</how-to-verify>
|
|
29
|
+
<resume-signal>[How to continue - "approved", "yes", or describe issues]</resume-signal>
|
|
30
|
+
</task>
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
**Use for:**
|
|
34
|
+
- Visual UI checks (layout, styling, responsiveness)
|
|
35
|
+
- Interactive flows (click through wizard, test user flows)
|
|
36
|
+
- Functional verification (feature works as expected)
|
|
37
|
+
- Audio/video playback quality
|
|
38
|
+
- Animation smoothness
|
|
39
|
+
- Accessibility testing
|
|
40
|
+
|
|
41
|
+
## Execution Protocol
|
|
42
|
+
|
|
43
|
+
When the agent encounters `type="checkpoint:*"`:
|
|
44
|
+
|
|
45
|
+
1. **Stop immediately** - do not proceed to next task
|
|
46
|
+
2. **Display checkpoint clearly** using checkpoint format
|
|
47
|
+
3. **Wait for user response** - do not hallucinate completion
|
|
48
|
+
4. **Verify if possible** - check files, run tests, whatever is specified
|
|
49
|
+
5. **Resume execution** - continue to next task only after confirmation
|
|
50
|
+
|
|
51
|
+
## Full Details
|
|
52
|
+
|
|
53
|
+
For complete checkpoint examples, auth gate patterns, and decision-making templates, see `/rihal/references/checkpoints.md` (detailed reference with 30+ examples).
|