feat(init): create IDP catalog + structured agent frontmatter (#613, #614)#615
Closed
agents-squads[bot] wants to merge 3 commits intodevelopfrom
Closed
feat(init): create IDP catalog + structured agent frontmatter (#613, #614)#615agents-squads[bot] wants to merge 3 commits intodevelopfrom
agents-squads[bot] wants to merge 3 commits intodevelopfrom
Conversation
- Missing provider CLIs treated as warning, not error — users can scaffold first and install providers later - Restored `squads list` as alias for `squads status` - Dockerfile builds from local source via npm pack - Added .dockerignore for fast Docker builds All 9 fresh-user Docker test steps pass. Closes #610. Co-Authored-By: Claude <noreply@anthropic.com>
Tests expected 'missing' status for uninstalled providers, but the init fix changed this to 'warning' so users can scaffold first. Co-Authored-By: Claude <noreply@anthropic.com>
…614) Closes #613 — squads init now creates .agents/idp/catalog/<name>.yaml with auto-detected service name (slug from business name) and stack (detected from package.json, requirements.txt, go.mod, Cargo.toml, etc.). Closes #614 — all 20 agent templates now have structured YAML frontmatter with squad, provider ({{PROVIDER}} substituted at init time), and trigger fields in addition to existing role/model. New files created per squad: priorities.md and goals.md (L2/L3 context layers). company.md created at .agents/company.md (L1 context layer). SYSTEM.md template now has frontmatter. Changes: - templates/seed/idp/catalog/service.yaml — IDP service catalog template - templates/seed/company.md — company context (L1) template - templates/seed/memory/squad-priorities.md — per-squad priorities template - templates/seed/memory/squad-goals.md — per-squad goals template - templates/seed/config/SYSTEM.md — added YAML frontmatter - All 20 agent .md templates — added squad, provider, trigger to frontmatter - src/commands/init.ts — stack detection, IDP catalog, company.md, priorities/goals creation per squad squads catalog list works after init; no existing .agents/idp/ is overwritten.
Contributor
|
Superseded by #616 (already merged). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
squads initnow creates.agents/idp/catalog/<name>.yamlwith auto-detected service name and stack (node,python,go,rust,java,ruby,php, orunknown).squads catalog listworks immediately after init. Existing.agents/idp/is never overwritten.squad,provider({{PROVIDER}}substituted at init time), andtriggerin YAML frontmatter. Three new context-layer files seeded per squad:priorities.md(L2),goals.md(L3), andcompany.md(L1) at.agents/company.md.SYSTEM.mdtemplate now has frontmatter.What changed
templates/seed/idp/catalog/service.yamltemplates/seed/company.mdtemplates/seed/memory/squad-priorities.mdtemplates/seed/memory/squad-goals.mdtemplates/seed/config/SYSTEM.md.mdtemplatessquad,provider,triggerto frontmattersrc/commands/init.tsTest plan
squads init --yes --forcein a fresh dir completes without errors.agents/idp/catalog/<name>.yamlexists after initsquads catalog listreturns the seeded service after initsquads initdoes not overwrite existing catalog entries.agents/company.mdexists after init.agents/memory/<squad>/priorities.mdandgoals.mdexist for all 4 core squadssquad,provider,triggerin frontmatternpm run buildpasses🤖 Generated with Claude Code