feat: Add self-contained orchestration templates and guide
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Makes Mosaic Stack self-contained for orchestration - no external dependencies. New files: - docs/claude/orchestrator.md - Platform-specific orchestrator protocol - docs/templates/ - Bootstrap templates for tasks.md, learnings, reports Templates: - orchestrator/tasks.md.template - Task tracking scaffold - orchestrator/orchestrator-learnings.json.template - Variance tracking - orchestrator/orchestrator-learnings.schema.md - JSON schema docs - orchestrator/phase-issue-body.md.template - Gitea issue body - orchestrator/compaction-summary.md.template - 60% checkpoint format - reports/review-report-scaffold.sh - Creates report directory - scratchpad.md.template - Per-task working document Updated CLAUDE.md: - References local docs/claude/orchestrator.md instead of ~/.claude/ - Added Platform Templates section pointing to docs/templates/ This enables deployment without requiring user-level ~/.claude/ configuration. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
51
docs/templates/orchestrator/compaction-summary.md.template
vendored
Normal file
51
docs/templates/orchestrator/compaction-summary.md.template
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
## Compaction Summary
|
||||
|
||||
**Project:** ${PROJECT}
|
||||
**Milestone:** ${MILESTONE}
|
||||
**Time:** ${CURRENT_DATETIME}
|
||||
**Context at compaction:** ${CONTEXT_PERCENT}%
|
||||
|
||||
---
|
||||
|
||||
### Completed Tasks
|
||||
|
||||
| Task | Description | Tokens | Variance |
|
||||
|------|-------------|--------|----------|
|
||||
| ${TASK_1_ID} | ${TASK_1_DESC} | ${TASK_1_USED} | ${TASK_1_VARIANCE} |
|
||||
|
||||
**Phase progress:** ${COMPLETED_COUNT}/${TOTAL_COUNT} tasks
|
||||
|
||||
---
|
||||
|
||||
### Quality Status
|
||||
|
||||
- **Tests:** ${TEST_STATUS}
|
||||
- **Lint:** ${LINT_STATUS}
|
||||
- **Typecheck:** ${TYPECHECK_STATUS}
|
||||
- **Regressions:** ${REGRESSION_COUNT}
|
||||
|
||||
---
|
||||
|
||||
### Learnings Captured
|
||||
|
||||
<!-- Include if variance > 50% on any task -->
|
||||
- ${LEARNING_1}
|
||||
|
||||
---
|
||||
|
||||
### Remaining Tasks
|
||||
|
||||
| Task | Description | Status | Estimate |
|
||||
|------|-------------|--------|----------|
|
||||
| ${NEXT_TASK_ID} | ${NEXT_TASK_DESC} | ready | ${NEXT_TASK_EST} |
|
||||
|
||||
---
|
||||
|
||||
### Resuming With
|
||||
|
||||
**Next task:** ${NEXT_TASK_ID}
|
||||
**Reason:** First unblocked task in queue
|
||||
|
||||
---
|
||||
|
||||
*Context reduced from ${CONTEXT_BEFORE}% to ~25-30%*
|
||||
Reference in New Issue
Block a user