IJFW Team Assembly
Assembles a project-specific operating team. Team Assembly is
project-agnostic: it works for software, books, content, design, research,
business strategy, education, operations, and mixed projects.
Do not treat every team as a code-generation swarm. Generate the agents plus
the operating contracts that let those agents coordinate around artifacts,
claims, reviews, and handoffs.
CLI entry point: ijfw team init [--archetype <type>] [--name <team-name>].
ijfw team is the skill/workflow trigger; ijfw team init is the concrete
command that writes .ijfw/team/, .ijfw/agents/, and Codex agent files.
How It Works
- Receive project brief from Discovery stage (or ask for context)
- Infer one or more project archetypes and artifact types
- Identify the roles needed for creation, review, integration, and verification
- Generate portable agent markdown files with proper frontmatter
- Generate Codex custom-agent TOML when the Codex surface is present
- Generate the team charter and workflow manifest
- Present the proposed team and operating model for approval
- Save approved outputs to
.ijfw/agents/, .codex/agents/, and .ijfw/team/ as applicable
Operating Outputs
Team Assembly 2.0 produces three coordinated surfaces:
.ijfw/agents/*.md -- portable human/platform-readable agent definitions
.codex/agents/*.toml -- Codex custom agents generated from the same role contracts when Codex is installed or ijfw codex sync-agents is run
.ijfw/team/charter.json -- team roster, role contracts, phase scope, owned artifacts, reviewed artifacts, conflict rules, handoff requirements, verification responsibilities
.ijfw/team/workflow.json -- project work manifest: archetypes, artifacts, owners, dependencies, waves, review graph, verification commands or rubrics
Keep .ijfw/agents/*.md lightweight and role-focused. Put machine-readable
ownership, dependency, review, and coordination details in the charter and
workflow manifest.
Codex TOML agents are platform-native projections, not a separate source of
truth. Regenerate them with ijfw codex sync-agents after changing the team
charter, and check the local Codex install with ijfw codex doctor.
Project Archetypes
Infer archetypes from the brief, repository signals, existing files, and user
corrections. Support mixed projects instead of forcing one label.
Common archetypes:
- software -- modules, APIs, tests, config, docs
- design -- screens, flows, tokens, components, prototypes
- content -- briefs, articles, landing copy, scripts, social posts
- book -- chapters, outline, continuity bible, timeline, notes
- research -- questions, corpus, methods, evidence table, synthesis
- business -- strategy docs, operating plans, models, risk register
- education -- curriculum, lessons, assessments, rubrics
- operations -- SOPs, workflows, runbooks, checklists
- mixed -- any project-specific combination
Domain Templates (starting points -- always customize to the project)
Software Development
- product-lead (sonnet) -- requirements, user stories, acceptance criteria
- architect (opus, high effort) -- system design, security, data model, API design
- senior-dev (sonnet) -- complex implementation, patterns, code review
- dev (sonnet) -- feature implementation, tests, bug fixes
- qa (sonnet) -- test strategy, edge cases, regression testing
- security (opus, high effort) -- threat model, auth, data protection, pen testing
- devops (haiku) -- CI/CD, deployment, infrastructure, monitoring
- docs (haiku) -- documentation, API docs, READMEs, guides
Book / Long-Form Writing
- story-architect (opus, high effort) -- plot structure, pacing, arcs, tension
- world-builder (sonnet) -- settings, environments, atmosphere, sensory detail
- lore-master (haiku) -- continuity bible, rules, history, faction tracking
- prose-stylist (sonnet) -- voice, tone, sentence craft, genre conventions
- continuity-editor (haiku) -- cross-chapter consistency, timeline, character tracking
- beta-reader (sonnet) -- fresh-eyes review, plot holes, reader experience
Content / Marketing
- strategist (opus, high effort) -- campaign strategy, audience, positioning
- copywriter (sonnet) -- headlines, body copy, CTAs, tone of voice
- seo-specialist (haiku) -- keywords, structure, meta, search intent
- editor (sonnet) -- clarity, grammar, consistency, brand voice
- social-media (haiku) -- platform adaptation, hooks, engagement
Business / Strategy
- ceo (opus, high effort) -- vision, strategy, decision-making, priorities
- cto (opus, high effort) -- technical strategy, architecture, build-vs-buy
- analyst (sonnet) -- research, data analysis, market assessment
- operations (sonnet) -- process design, workflows, efficiency
- finance (haiku) -- budgets, projections, cost analysis
Design / Creative
- creative-director (opus, high effort) -- vision, aesthetic direction, brand
- ux-designer (sonnet) -- user flows, wireframes, usability, accessibility
- ui-designer (sonnet) -- visual design, components, responsive layout
- researcher (haiku) -- user research, competitive analysis, testing
Any Other Domain
If the project doesn't match a template above, ask:
"What roles would you need on a team to build this well?"
Then generate agents from the user's description. Map each role to a model tier:
- Roles requiring deep reasoning, strategy, or high-stakes decisions -> opus
- Roles doing the primary creation/implementation work -> sonnet
- Roles doing reference checks, lookups, or routine tasks -> haiku
Examples of non-standard teams:
- Game dev: game-designer, level-designer, systems-programmer, qa-tester, narrative-writer
- Scientific research: principal-investigator, literature-reviewer, data-analyst, methodology-reviewer
- Music production: producer, songwriter, mixing-engineer, mastering-engineer
- Event planning: event-director, logistics-coordinator, vendor-manager, creative-designer
- Education: curriculum-designer, subject-expert, assessment-writer, accessibility-reviewer
The templates above are starting points. Every team is customized to the specific project.
Role Contract Guidance
Every role should have a contract in .ijfw/team/charter.json with:
name, role_type, model, and effort
phase_scope such as discovery, shape, execute, review, integrate
owns entries for artifact types and path globs or non-file artifact IDs
reviews entries with review criteria
handoff format and required sections
coordination rules including claim requirements and conflict boundaries
verification responsibility: commands for code, rubrics for non-code work
Example contract shape:
{
"name": "ux-researcher",
"role_type": "research",
"model": "sonnet",
"effort": "medium",
"phase_scope": ["discovery", "shape", "review"],
"owns": [
{"artifact_type": "user_flow", "paths": ["design/flows/**"]}
],
"reviews": [
{"artifact_type": "screen", "criteria": ["usability", "accessibility"]}
],
"handoff": {
"format": "markdown",
"required_sections": ["findings", "risks", "recommendations", "changed_artifacts"]
},
"coordination": {
"parallel_safe": true,
"conflicts_with": ["ui-designer when editing design/tokens/**"],
"claim_required": true
}
}
Workflow Manifest Guidance
The workflow manifest describes work in domain terms. It is not just a file
list and must not assume code-only verification.
Each artifact entry should include:
- stable
id
- domain
type
paths where file-backed, or a non-file artifact reference
owner
reviewers
depends_on
verification as commands, checks, rubrics, or acceptance criteria
Each wave should include:
id
mode: parallel, sequential, or review
artifact_ids
- dependency rationale when work cannot run in parallel
Example manifest shape:
{
"project_archetypes": ["software", "design"],
"artifacts": [
{
"id": "design-preview-flow",
"type": "prototype",
"paths": [".planning/brainstorm/*.html"],
"owner": "ui-designer",
"reviewers": ["ux-designer", "accessibility-reviewer"],
"depends_on": [],
"verification": ["ijfw design push .planning/brainstorm/*.html"]
}
],
"waves": [
{
"id": "w1",
"mode": "parallel",
"artifact_ids": ["schema-foundation", "design-command-docs"]
}
]
}
Agent File Format
Each generated agent follows this structure:
---
name: <role-name>
model: <haiku|sonnet|opus>
effort: <low|medium|high>
description: "Use when the user says: 'set up a team', 'create agents for', 'team for this project', 'who should work on this', or after Discovery in a project setup flow."
allowed-tools: <relevant tools for this role>
---
<Role-specific instructions for this project>
Context from project brief:
<Relevant details from the brief that this agent needs>
Rules:
<Role-specific rules>
Codex Custom Agent Format
When Codex is available, Team Assembly also writes .codex/agents/*.toml from
the same role contracts. If .codex/ is absent, unwritable, or intentionally
out of scope for the project, keep .ijfw/team/charter.json as canonical,
write .ijfw/agents/ markdown role files, and tell the user to run
ijfw codex sync-agents later from a writable Codex-enabled checkout. Each
Codex TOML file includes:
name -- stable role identifier
description -- when to use the agent
developer_instructions -- project-specific role contract, artifact scope,
blackboard discipline, verification, handoff format, and non-revert rules
Optional Codex-only model fields are included only when the role explicitly
defines them. Keep the canonical role contract in .ijfw/team/charter.json;
use ijfw codex sync-agents to refresh TOML files after team edits.
Codex runtime caveat: some tool-backed sessions expose a generic spawn_agent
without named custom-agent invocation. In that case, use the generated TOML as
durable role documentation and paste ijfw swarm prompt <task-id> --codex into
the built-in worker or explorer agent. The prompt is designed to carry the full
artifact scope and blackboard contract even without named custom-agent routing.
Team Presentation
After generating, present the team and operating outputs as:
Project team ready:
architect (opus) -- system design, security model, API surface
senior-dev (sonnet) -- auth flow, payment integration, complex features
dev (sonnet) -- CRUD endpoints, tests, UI components
qa (sonnet) -- test strategy, edge cases, regression suite
security (opus) -- threat model, auth audit, data protection
Agents saved to .ijfw/agents/
Codex agents saved to .codex/agents/ when Codex agent sync is available; otherwise .ijfw/team/charter.json remains canonical
Charter saved to .ijfw/team/charter.json
Workflow saved to .ijfw/team/workflow.json
Codex health check: ijfw codex doctor
Adjust with: "swap qa for a dedicated performance engineer"
Positive framing. Team is "ready" not "generated." Feels like hiring, not configuring.
Execution Model
During workflow Execute stage, tasks are dispatched through the workflow
manifest and charter:
- Match each task to an owner, artifact IDs, allowed paths or artifact scope, completion criteria, and verification method
- Require blackboard claims before an agent edits or owns an artifact during parallel work
- Use parallel waves only when artifact claims and dependencies do not conflict
- Use sequential waves where dependencies, claims, or integration order require it
- Generate review tasks from the review graph, not as informal suggestions
- Record findings, decisions, blockers, claims, and handoffs in
.ijfw/blackboard/
- Treat review findings as integration gates when severity or criteria require it
Review examples:
- security reviews auth and data-handling artifacts
- editor reviews brand and clarity for content artifacts
- continuity-editor reviews timeline and character artifacts
- methodology-reviewer audits evidence and research methods
- operations reviews SOP failure modes and dry-run readiness
Blackboard Coordination
Team Assembly should prepare agents to coordinate through the project
blackboard when execution begins:
.ijfw/blackboard/tasks.json tracks task graph and statuses
.ijfw/blackboard/claims.json tracks active artifact ownership
.ijfw/blackboard/findings.jsonl records review notes and issues
.ijfw/blackboard/decisions.jsonl records runtime decisions
.ijfw/blackboard/blockers.jsonl records blocked work
.ijfw/blackboard/handoff.md summarizes active swarm state
Claims are artifact-aware. A claim can be a file glob, chapter, design token
set, research corpus, strategy model, lesson plan, or any project-specific
artifact. Agents must release or hand off claims when their task completes.
Worktree Policy
Worktrees are optional and only for code-heavy projects or code-heavy portions
of mixed projects.
Use git worktrees when:
- multiple software agents need to edit overlapping repository areas in parallel
- the user explicitly requests swarm execution with isolated code edits
- task verification can run independently before integration
Do not require worktrees for:
- writing, editing, research, strategy, operations, education, or design-only work
- mixed projects where only non-code artifacts are being changed
- dirty worktrees with unrelated user changes unless the user approves the isolation plan
For non-code and mixed non-code work, use blackboard claims, artifact-scoped
output paths, and staged review gates instead.
Custom Agent Requests
User can always:
- "Add a performance engineer to the team"
- "I need a lore master who specialises in cyberpunk tech"
- "Swap the junior dev for a frontend specialist"
- "Remove the SEO specialist, I don't need that"
Modifications update .ijfw/agents/ immediately. AGENTS.md remains the
canonical cross-platform instruction surface; after team changes, update only
the IJFW-AGENTS managed region with the current role names, owned artifacts,
and agent file paths. Preserve all content outside IJFW markers. If the
block-aware AGENTS merger is available, use it; otherwise record a checkpoint
and state exactly which AGENTS region still needs mirroring.
Portability
Agents in .ijfw/agents/ work with any platform that reads agent markdown.
If .forge/ directory exists, IJFW also reads agents from there.
.ijfw/ and .forge/ are treated as compatible project directories.
1---2name: ijfw-team-33description: Use when the user says: 'set up a team', 'create agents for', 'team for this project', 'who should work on this', or after Discovery in a project setup flow.4---56# IJFW Team Assembly78Assembles a project-specific operating team. Team Assembly is9project-agnostic: it works for software, books, content, design, research,10business strategy, education, operations, and mixed projects.1112Do not treat every team as a code-generation swarm. Generate the agents plus13the operating contracts that let those agents coordinate around artifacts,14claims, reviews, and handoffs.1516CLI entry point: `ijfw team init [--archetype <type>] [--name <team-name>]`.17`ijfw team` is the skill/workflow trigger; `ijfw team init` is the concrete18command that writes `.ijfw/team/`, `.ijfw/agents/`, and Codex agent files.1920---2122## How It Works23241. Receive project brief from Discovery stage (or ask for context)252. Infer one or more project archetypes and artifact types263. Identify the roles needed for creation, review, integration, and verification274. Generate portable agent markdown files with proper frontmatter285. Generate Codex custom-agent TOML when the Codex surface is present296. Generate the team charter and workflow manifest307. Present the proposed team and operating model for approval318. Save approved outputs to `.ijfw/agents/`, `.codex/agents/`, and `.ijfw/team/` as applicable3233---3435## Operating Outputs3637Team Assembly 2.0 produces three coordinated surfaces:3839- `.ijfw/agents/*.md` -- portable human/platform-readable agent definitions40- `.codex/agents/*.toml` -- Codex custom agents generated from the same role contracts when Codex is installed or `ijfw codex sync-agents` is run41- `.ijfw/team/charter.json` -- team roster, role contracts, phase scope, owned artifacts, reviewed artifacts, conflict rules, handoff requirements, verification responsibilities42- `.ijfw/team/workflow.json` -- project work manifest: archetypes, artifacts, owners, dependencies, waves, review graph, verification commands or rubrics4344Keep `.ijfw/agents/*.md` lightweight and role-focused. Put machine-readable45ownership, dependency, review, and coordination details in the charter and46workflow manifest.4748Codex TOML agents are platform-native projections, not a separate source of49truth. Regenerate them with `ijfw codex sync-agents` after changing the team50charter, and check the local Codex install with `ijfw codex doctor`.5152---5354## Project Archetypes5556Infer archetypes from the brief, repository signals, existing files, and user57corrections. Support mixed projects instead of forcing one label.5859Common archetypes:6061- **software** -- modules, APIs, tests, config, docs62- **design** -- screens, flows, tokens, components, prototypes63- **content** -- briefs, articles, landing copy, scripts, social posts64- **book** -- chapters, outline, continuity bible, timeline, notes65- **research** -- questions, corpus, methods, evidence table, synthesis66- **business** -- strategy docs, operating plans, models, risk register67- **education** -- curriculum, lessons, assessments, rubrics68- **operations** -- SOPs, workflows, runbooks, checklists69- **mixed** -- any project-specific combination7071---7273## Domain Templates (starting points -- always customize to the project)7475### Software Development76- **product-lead** (sonnet) -- requirements, user stories, acceptance criteria77- **architect** (opus, high effort) -- system design, security, data model, API design78- **senior-dev** (sonnet) -- complex implementation, patterns, code review79- **dev** (sonnet) -- feature implementation, tests, bug fixes80- **qa** (sonnet) -- test strategy, edge cases, regression testing81- **security** (opus, high effort) -- threat model, auth, data protection, pen testing82- **devops** (haiku) -- CI/CD, deployment, infrastructure, monitoring83- **docs** (haiku) -- documentation, API docs, READMEs, guides8485### Book / Long-Form Writing86- **story-architect** (opus, high effort) -- plot structure, pacing, arcs, tension87- **world-builder** (sonnet) -- settings, environments, atmosphere, sensory detail88- **lore-master** (haiku) -- continuity bible, rules, history, faction tracking89- **prose-stylist** (sonnet) -- voice, tone, sentence craft, genre conventions90- **continuity-editor** (haiku) -- cross-chapter consistency, timeline, character tracking91- **beta-reader** (sonnet) -- fresh-eyes review, plot holes, reader experience9293### Content / Marketing94- **strategist** (opus, high effort) -- campaign strategy, audience, positioning95- **copywriter** (sonnet) -- headlines, body copy, CTAs, tone of voice96- **seo-specialist** (haiku) -- keywords, structure, meta, search intent97- **editor** (sonnet) -- clarity, grammar, consistency, brand voice98- **social-media** (haiku) -- platform adaptation, hooks, engagement99100### Business / Strategy101- **ceo** (opus, high effort) -- vision, strategy, decision-making, priorities102- **cto** (opus, high effort) -- technical strategy, architecture, build-vs-buy103- **analyst** (sonnet) -- research, data analysis, market assessment104- **operations** (sonnet) -- process design, workflows, efficiency105- **finance** (haiku) -- budgets, projections, cost analysis106107### Design / Creative108- **creative-director** (opus, high effort) -- vision, aesthetic direction, brand109- **ux-designer** (sonnet) -- user flows, wireframes, usability, accessibility110- **ui-designer** (sonnet) -- visual design, components, responsive layout111- **researcher** (haiku) -- user research, competitive analysis, testing112113### Any Other Domain114115If the project doesn't match a template above, ask:116"What roles would you need on a team to build this well?"117118Then generate agents from the user's description. Map each role to a model tier:119- Roles requiring deep reasoning, strategy, or high-stakes decisions -> opus120- Roles doing the primary creation/implementation work -> sonnet121- Roles doing reference checks, lookups, or routine tasks -> haiku122123Examples of non-standard teams:124- **Game dev**: game-designer, level-designer, systems-programmer, qa-tester, narrative-writer125- **Scientific research**: principal-investigator, literature-reviewer, data-analyst, methodology-reviewer126- **Music production**: producer, songwriter, mixing-engineer, mastering-engineer127- **Event planning**: event-director, logistics-coordinator, vendor-manager, creative-designer128- **Education**: curriculum-designer, subject-expert, assessment-writer, accessibility-reviewer129130The templates above are starting points. Every team is customized to the specific project.131132---133134## Role Contract Guidance135136Every role should have a contract in `.ijfw/team/charter.json` with:137138- `name`, `role_type`, `model`, and `effort`139- `phase_scope` such as discovery, shape, execute, review, integrate140- `owns` entries for artifact types and path globs or non-file artifact IDs141- `reviews` entries with review criteria142- `handoff` format and required sections143- `coordination` rules including claim requirements and conflict boundaries144- `verification` responsibility: commands for code, rubrics for non-code work145146Example contract shape:147148```json149{150 "name": "ux-researcher",151 "role_type": "research",152 "model": "sonnet",153 "effort": "medium",154 "phase_scope": ["discovery", "shape", "review"],155 "owns": [156 {"artifact_type": "user_flow", "paths": ["design/flows/**"]}157 ],158 "reviews": [159 {"artifact_type": "screen", "criteria": ["usability", "accessibility"]}160 ],161 "handoff": {162 "format": "markdown",163 "required_sections": ["findings", "risks", "recommendations", "changed_artifacts"]164 },165 "coordination": {166 "parallel_safe": true,167 "conflicts_with": ["ui-designer when editing design/tokens/**"],168 "claim_required": true169 }170}171```172173---174175## Workflow Manifest Guidance176177The workflow manifest describes work in domain terms. It is not just a file178list and must not assume code-only verification.179180Each artifact entry should include:181182- stable `id`183- domain `type`184- `paths` where file-backed, or a non-file artifact reference185- `owner`186- `reviewers`187- `depends_on`188- `verification` as commands, checks, rubrics, or acceptance criteria189190Each wave should include:191192- `id`193- `mode`: `parallel`, `sequential`, or `review`194- `artifact_ids`195- dependency rationale when work cannot run in parallel196197Example manifest shape:198199```json200{201 "project_archetypes": ["software", "design"],202 "artifacts": [203 {204 "id": "design-preview-flow",205 "type": "prototype",206 "paths": [".planning/brainstorm/*.html"],207 "owner": "ui-designer",208 "reviewers": ["ux-designer", "accessibility-reviewer"],209 "depends_on": [],210 "verification": ["ijfw design push .planning/brainstorm/*.html"]211 }212 ],213 "waves": [214 {215 "id": "w1",216 "mode": "parallel",217 "artifact_ids": ["schema-foundation", "design-command-docs"]218 }219 ]220}221```222223---224225## Agent File Format226227Each generated agent follows this structure:228229```markdown230---231name: <role-name>232model: <haiku|sonnet|opus>233effort: <low|medium|high>234description: "Use when the user says: 'set up a team', 'create agents for', 'team for this project', 'who should work on this', or after Discovery in a project setup flow."235allowed-tools: <relevant tools for this role>236---237238<Role-specific instructions for this project>239240Context from project brief:241<Relevant details from the brief that this agent needs>242243Rules:244<Role-specific rules>245```246247---248249## Codex Custom Agent Format250251When Codex is available, Team Assembly also writes `.codex/agents/*.toml` from252the same role contracts. If `.codex/` is absent, unwritable, or intentionally253out of scope for the project, keep `.ijfw/team/charter.json` as canonical,254write `.ijfw/agents/` markdown role files, and tell the user to run255`ijfw codex sync-agents` later from a writable Codex-enabled checkout. Each256Codex TOML file includes:257258- `name` -- stable role identifier259- `description` -- when to use the agent260- `developer_instructions` -- project-specific role contract, artifact scope,261 blackboard discipline, verification, handoff format, and non-revert rules262263Optional Codex-only model fields are included only when the role explicitly264defines them. Keep the canonical role contract in `.ijfw/team/charter.json`;265use `ijfw codex sync-agents` to refresh TOML files after team edits.266267Codex runtime caveat: some tool-backed sessions expose a generic `spawn_agent`268without named custom-agent invocation. In that case, use the generated TOML as269durable role documentation and paste `ijfw swarm prompt <task-id> --codex` into270the built-in worker or explorer agent. The prompt is designed to carry the full271artifact scope and blackboard contract even without named custom-agent routing.272273---274275## Team Presentation276277After generating, present the team and operating outputs as:278279```280Project team ready:281282 architect (opus) -- system design, security model, API surface283 senior-dev (sonnet) -- auth flow, payment integration, complex features284 dev (sonnet) -- CRUD endpoints, tests, UI components285 qa (sonnet) -- test strategy, edge cases, regression suite286 security (opus) -- threat model, auth audit, data protection287288Agents saved to .ijfw/agents/289Codex agents saved to .codex/agents/ when Codex agent sync is available; otherwise .ijfw/team/charter.json remains canonical290Charter saved to .ijfw/team/charter.json291Workflow saved to .ijfw/team/workflow.json292Codex health check: ijfw codex doctor293Adjust with: "swap qa for a dedicated performance engineer"294```295296Positive framing. Team is "ready" not "generated." Feels like hiring, not configuring.297298---299300## Execution Model301302During workflow Execute stage, tasks are dispatched through the workflow303manifest and charter:304305- Match each task to an owner, artifact IDs, allowed paths or artifact scope, completion criteria, and verification method306- Require blackboard claims before an agent edits or owns an artifact during parallel work307- Use parallel waves only when artifact claims and dependencies do not conflict308- Use sequential waves where dependencies, claims, or integration order require it309- Generate review tasks from the review graph, not as informal suggestions310- Record findings, decisions, blockers, claims, and handoffs in `.ijfw/blackboard/`311- Treat review findings as integration gates when severity or criteria require it312313Review examples:314315- security reviews auth and data-handling artifacts316- editor reviews brand and clarity for content artifacts317- continuity-editor reviews timeline and character artifacts318- methodology-reviewer audits evidence and research methods319- operations reviews SOP failure modes and dry-run readiness320321---322323## Blackboard Coordination324325Team Assembly should prepare agents to coordinate through the project326blackboard when execution begins:327328- `.ijfw/blackboard/tasks.json` tracks task graph and statuses329- `.ijfw/blackboard/claims.json` tracks active artifact ownership330- `.ijfw/blackboard/findings.jsonl` records review notes and issues331- `.ijfw/blackboard/decisions.jsonl` records runtime decisions332- `.ijfw/blackboard/blockers.jsonl` records blocked work333- `.ijfw/blackboard/handoff.md` summarizes active swarm state334335Claims are artifact-aware. A claim can be a file glob, chapter, design token336set, research corpus, strategy model, lesson plan, or any project-specific337artifact. Agents must release or hand off claims when their task completes.338339---340341## Worktree Policy342343Worktrees are optional and only for code-heavy projects or code-heavy portions344of mixed projects.345346Use git worktrees when:347348- multiple software agents need to edit overlapping repository areas in parallel349- the user explicitly requests swarm execution with isolated code edits350- task verification can run independently before integration351352Do not require worktrees for:353354- writing, editing, research, strategy, operations, education, or design-only work355- mixed projects where only non-code artifacts are being changed356- dirty worktrees with unrelated user changes unless the user approves the isolation plan357358For non-code and mixed non-code work, use blackboard claims, artifact-scoped359output paths, and staged review gates instead.360361---362363## Custom Agent Requests364365User can always:366- "Add a performance engineer to the team"367- "I need a lore master who specialises in cyberpunk tech"368- "Swap the junior dev for a frontend specialist"369- "Remove the SEO specialist, I don't need that"370371Modifications update `.ijfw/agents/` immediately. AGENTS.md remains the372canonical cross-platform instruction surface; after team changes, update only373the `IJFW-AGENTS` managed region with the current role names, owned artifacts,374and agent file paths. Preserve all content outside IJFW markers. If the375block-aware AGENTS merger is available, use it; otherwise record a checkpoint376and state exactly which AGENTS region still needs mirroring.377378---379380## Portability381382Agents in `.ijfw/agents/` work with any platform that reads agent markdown.383If `.forge/` directory exists, IJFW also reads agents from there.384`.ijfw/` and `.forge/` are treated as compatible project directories.