Repository navigation
docs(specs): land canonical skill auto-synthesis spec (#887) - #1732
Conversation
SummaryApprove. This is a documentation-only PR — one new design spec ( Verification performed:
No prompt-injection content detected in the diff — the "an implementer must not…" passages are legitimate spec directives aimed at future implementers, not at the reviewer. Issues Found🟢 Line-number pins into sibling prose docs will rot (
Code Strengths
VerdictApprove. No blocking issues. The one 🟢 nit (cross-doc line pins) is a forward-looking maintainability suggestion, not a merge gate. As the PR itself states, this lands the canonical design for maintainer sign-off — the five Open questions are the right things to settle at PR time, and @kovtcharov-amd is already the requested reviewer for that design call. |
Why this matters
PR #606 shipped three of CoALA's four memory tiers (working / episodic / semantic) and left the procedural tier — distilling recurring successful tool sequences into reusable skills — as a follow-up (#887). The issue's own design notes predate #691 locking and the current code, so a contributor building straight from them would rebuild against a stale picture — exactly how #688's spec drifted across four unmerged PRs. This lands one canonical, code-accurate spec at
docs/plans/skill-synthesis.mdx, grounded line-by-line on the merged memory layer and reconciled against the format it emits (#691) and the tool-loader that consumes it (#1451), so design and implementation can't diverge before the first line is written.Linked issue
Refs #887
Changes
procedurestable + additive v2→v3 migration — procedural memory diverges fromknowledgeon every lifecycle axis (empirical track-record vs belief-strength, multi-step body vs one sentence, its own goal-trigger embedding index); sharing the table wouldNULLevery procedure-only column on existing rows and pollute the recall index.recall_skillis an internal method, not a sixth@tool— the planner calls it programmatically at turn start, so the agent gains the capability without enlarging the five-tool memory registry it must reason about.Skill.parse()injects the fixed constants (license,version) and maps tometadata.gaia.tools_required, so synthesized files validate against the format instead of re-inventing it.MAX_RECALL_BODY_CHARS, never auto-exported._run_memory_post_init, config to the existingmemory_settings.json, and retracts the "new tool" / intermediate-frontmatter-on-disk framing the pre-SKILL.md format specification with native Agent UI dashboard support #691 pseudocode implied.Test plan
python -c "import json; json.load(open('docs/docs.json'))"— nav JSON validplans/skill-synthesisregistered under Ecosystem indocs.jsondocs/plans/skill-synthesis.mdx— tables,<Info>/<Note>/<Warning>, the<AccordionGroup>examples, and all internal anchor links resolve