Skip to content

feat(init): create IDP catalog + seed agent frontmatter schemas (#613, #614)#616

Merged
agents-squads[bot] merged 1 commit intodevelopfrom
solve/issue-613-614
Mar 25, 2026
Merged

feat(init): create IDP catalog + seed agent frontmatter schemas (#613, #614)#616
agents-squads[bot] merged 1 commit intodevelopfrom
solve/issue-613-614

Conversation

@agents-squads
Copy link
Contributor

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

Summary

Changes

Issue #613 — IDP catalog on init

  • Added detectProjectInfo() to init.ts — auto-detects name, type, stack from filesystem
  • Stack detection: node/react/next/vue/astro, python, go, ruby, rust
  • Type: product (has package.json/go.mod/requirements.txt) or domain
  • Creates .agents/idp/catalog/<name>.yaml only if .agents/idp/ doesn't already exist
  • New template: templates/seed/idp/catalog/service.yaml.template

Issue #614 — Structured frontmatter

  • All 18 agent templates: added squad, provider, trigger, cooldown, timeout, max_retries frontmatter
  • Body sections standardized: Role, How You Work, Output, Constraints
  • New priorities.md + goals.md created for every squad (with frontmatter)
  • New company.md at .agents/memory/company/company.md (Layer 1 context)
  • SYSTEM.md gains version/scope/authority frontmatter

Testing

  • npm run build passes ✓
  • All 1734 tests pass ✓
  • Manual smoke test: squads init --yes creates idp/catalog/, priorities.md, goals.md ✓
  • squads catalog list shows service immediately after init ✓
  • Existing .agents/idp/ is not overwritten on re-init ✓

Closes #613
Closes #614

…, #614)

## Issue #613: IDP catalog creation
- `squads init` now creates `.agents/idp/catalog/<name>.yaml` with auto-detected service entry
- Service name derived from git remote (last segment) or directory name
- Type auto-detected: product (if package.json/go.mod/requirements.txt) or domain
- Stack detected: node/react/next/vue/astro, python, go, ruby, rust
- Build/test commands inferred from stack
- Branch workflow: pr-to-develop (product) or direct-to-main (domain)
- Existing `.agents/idp/` directory is never overwritten
- `squads catalog list` works immediately after init

## Issue #614: Structured frontmatter schemas
- All 18 agent seed templates updated with full frontmatter: squad, provider, trigger, cooldown, timeout, max_retries
- Agent body sections standardized to: Role, How You Work, Output, Constraints
- priorities.md and goals.md created for each squad (with squad/owner/review_by frontmatter)
- company.md created at .agents/memory/company/company.md (Layer 1 context)
- SYSTEM.md updated with version/scope/authority frontmatter

Closes #613
Closes #614

Co-Authored-By: Claude <noreply@anthropic.com>
@agents-squads agents-squads bot requested a review from kokevidaurre as a code owner March 25, 2026 00:04
@agents-squads agents-squads bot enabled auto-merge (squash) March 25, 2026 00:04
@agents-squads agents-squads bot merged commit 2516dce into develop Mar 25, 2026
11 checks passed
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.

0 participants