feat(init): create IDP catalog + seed agent frontmatter schemas (#613, #614)#616
Merged
agents-squads[bot] merged 1 commit intodevelopfrom Mar 25, 2026
Merged
feat(init): create IDP catalog + seed agent frontmatter schemas (#613, #614)#616agents-squads[bot] merged 1 commit intodevelopfrom
agents-squads[bot] merged 1 commit intodevelopfrom
Conversation
…, #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>
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 entry sosquads catalog listworks out of the boxsquad,provider,trigger,cooldown,timeout,max_retries) and standard body sections (Role,How You Work,Output,Constraints)Changes
Issue #613 — IDP catalog on init
detectProjectInfo()toinit.ts— auto-detects name, type, stack from filesystemproduct(has package.json/go.mod/requirements.txt) ordomain.agents/idp/catalog/<name>.yamlonly if.agents/idp/doesn't already existtemplates/seed/idp/catalog/service.yaml.templateIssue #614 — Structured frontmatter
squad,provider,trigger,cooldown,timeout,max_retriesfrontmatterRole,How You Work,Output,Constraintspriorities.md+goals.mdcreated for every squad (with frontmatter)company.mdat.agents/memory/company/company.md(Layer 1 context)SYSTEM.mdgainsversion/scope/authorityfrontmatterTesting
npm run buildpasses ✓squads init --yescreatesidp/catalog/, priorities.md, goals.md ✓squads catalog listshows service immediately after init ✓.agents/idp/is not overwritten on re-init ✓Closes #613
Closes #614