Skip to content

feat(init): create IDP catalog + structured agent frontmatter (#613, #614)#615

Closed
agents-squads[bot] wants to merge 3 commits intodevelopfrom
solve/issue-613-614-v2
Closed

feat(init): create IDP catalog + structured agent frontmatter (#613, #614)#615
agents-squads[bot] wants to merge 3 commits intodevelopfrom
solve/issue-613-614-v2

Conversation

@agents-squads
Copy link
Contributor

@agents-squads agents-squads bot commented Mar 25, 2026

Summary

What changed

File Change
templates/seed/idp/catalog/service.yaml New IDP service catalog template
templates/seed/company.md New company context (L1) template
templates/seed/memory/squad-priorities.md New per-squad priorities template
templates/seed/memory/squad-goals.md New per-squad goals template
templates/seed/config/SYSTEM.md Added YAML frontmatter
20 agent .md templates Added squad, provider, trigger to frontmatter
src/commands/init.ts Stack detection, IDP catalog, company.md, priorities/goals wiring

Test plan

  • squads init --yes --force in a fresh dir completes without errors
  • .agents/idp/catalog/<name>.yaml exists after init
  • squads catalog list returns the seeded service after init
  • Re-running squads init does not overwrite existing catalog entries
  • .agents/company.md exists after init
  • .agents/memory/<squad>/priorities.md and goals.md exist for all 4 core squads
  • Agent files have squad, provider, trigger in frontmatter
  • npm run build passes

🤖 Generated with Claude Code

Jorge Vidaurre and others added 3 commits March 24, 2026 20:29
- 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.
@kokevidaurre
Copy link
Contributor

Superseded by #616 (already merged).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant