refactor: replace hardcoded workflow→skill maps with catalog-driven lookup
Skills now declare their workflow in metadata.archie.workflow. Catalog() scans frontmatter only (lazy, Tier 1). SkillForWorkflow() derives the skill directory from the catalog — no hardcoded maps. Removed workflowToSkill map (agent.go) and workflowToSkillDir switch (worker.go). Both daemon and agent use the same catalog-based lookup. Skills renamed to archie-wf-* convention. SKILL.md files updated with workflow metadata field. Progressive disclosure Tier 1: Catalog() returns name+description +workflow. Tier 2: LoadBody() loads full body on activation.
This commit is contained in:
1 parent
d3c843e8f5
commit
2182cc00a5
11 files changed
+312
-38
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,5 +1,5 @@
|
||||
---
|
||||
name: tdd-bugfix
|
||||
name: archie-wf-tdd
|
||||
description: >
|
||||
Fix bugs using test-driven development. Write a failing repro test first, prove
|
||||
it captures the bug, then fix the code without touching the tests. archie-core
|
||||
@@ -9,6 +9,7 @@ metadata:
|
||||
archie:
|
||||
tools: [go, golangci-lint]
|
||||
engine: any
|
||||
workflow: tdd
|
||||
---
|
||||
# TDD Bugfix Workflow
|
||||
|
||||
Reference in new issue
Block a user