phase-learning-extraction
Use when completed work should produce reusable decisions, lessons, surprises, and patterns for future phases
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when completed work should produce reusable decisions, lessons, surprises, and patterns for future phases
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Use when Codex is asked to colonize, plan, build, continue, swarm, or seal an Aether colony and must mirror wrapper orchestration safely
Use when Codex is asked to initialize or set up an Aether colony and should refine intent before running init
Use when Codex is asked to run Aether Oracle or discuss flows and should refine scope before research or clarification
Use when acceptance criteria need unit, integration, or end-to-end tests generated from implementation context
Use when delivered functionality needs acceptance-criteria verification before a phase advances
Use when a phase involves LLMs, AI agents, RAG, ML inference, or prompt/tool integration design
| source | shipped |
| name | phase-learning-extraction |
| description | Use when completed work should produce reusable decisions, lessons, surprises, and patterns for future phases |
| type | colony |
| domains | ["knowledge-management","retrospective","continuous-improvement"] |
| agent_roles | ["keeper","chronicler"] |
| workflow_triggers | ["continue","seal"] |
| task_keywords | ["learning","lessons","retrospective","pattern","decision"] |
| priority | normal |
| version | 1.0 |
Extract structured decisions, lessons, patterns, and surprises from completed phase artifacts. Produces a LEARNINGS.md file that feeds the colony's knowledge base for future phases and milestones.
aether continue runs successfully)Read phase artifacts in order:
.aether/phases/{N}/PLAN.md -- original plan and intent.aether/phases/{N}/IMPLEMENTATION.md -- what was actually built.aether/phases/{N}/TEST_RESULTS.md -- test outcomes (if exists).aether/phases/{N}/REVIEW.md -- code review findings (if exists).aether/data/phase-manifest.json -- commit references and timingExtract four categories:
Decisions -- Explicit choices made during implementation
{decision} | {rationale} | {alternatives considered}Lessons -- Things that went wrong or could be improved
{lesson} | {context} | {action for next time}Patterns -- Reusable approaches that worked well
{pattern} | {where used} | {when to reuse}Surprises -- Unexpected outcomes, good or bad
{surprise} | {impact} | {mitigation if negative}Write .aether/phases/{N}/LEARNINGS.md:
# Learnings -- Phase {N}: {name}
## Decisions ({count})
| Decision | Rationale | Alternatives |
|----------|-----------|--------------|
| {decision} | {why} | {what else was considered} |
## Lessons ({count})
| Lesson | Context | Next Time |
|--------|---------|-----------|
| {lesson} | {situation} | {improvement} |
## Patterns ({count})
| Pattern | Used In | Reuse When |
|---------|---------|------------|
| {pattern} | {files/areas} | {conditions} |
## Surprises ({count})
| Surprise | Impact | Resolution |
|----------|--------|------------|
| {surprise} | {effect} | {how handled} |
Append summary entries to .aether/data/colony-knowledge.jsonl for cross-phase querying
.aether/milestones/{N}/LEARNINGS.md with aggregated insights plus a "Milestone Themes" section highlighting the top 3-5 cross-cutting themesExtracted learnings from Phase 3 (Dashboard UI):
7 decisions | 3 lessons | 4 patterns | 2 surprises
Written to .aether/phases/3/LEARNINGS.md
Colony knowledge base updated (47 total entries)
# Extract from completed phase
> learning-extractor --phase 3
# Extract from entire milestone
> learning-extractor --milestone 1
# Review specific category
> learning-extractor --phase 5 --category lessons