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>] [--brief <text>].
ijfw team is the skill/workflow trigger; ijfw team init is the concrete
command that writes .ijfw/team/, .ijfw/agents/, and Codex agent files.
Programmatic entry: createTeamAssembly(projectRoot, { brief, archetype, teamName }).
When brief is provided and contains explicit domain signal
(book/novel/chapter, marketing/campaign/launch,
research/paper/study, software/app/api, etc.) the brief score
outweighs filesystem-only detection. This is the wire that closes the
"Receive project brief from Discovery stage" flow below.
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: <when to use this agent -- 1-2 lines>
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-23description: 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>] [--brief <text>]`.17`ijfw team` is the skill/workflow trigger; `ijfw team init` is the concrete18command that writes `.ijfw/team/`, `.ijfw/agents/`, and Codex agent files.1920Programmatic entry: `createTeamAssembly(projectRoot, { brief, archetype, teamName })`.21When `brief` is provided and contains explicit domain signal22(`book`/`novel`/`chapter`, `marketing`/`campaign`/`launch`,23`research`/`paper`/`study`, `software`/`app`/`api`, etc.) the brief score24outweighs filesystem-only detection. This is the wire that closes the25"Receive project brief from Discovery stage" flow below.2627---2829## How It Works30311. Receive project brief from Discovery stage (or ask for context)322. Infer one or more project archetypes and artifact types333. Identify the roles needed for creation, review, integration, and verification344. Generate portable agent markdown files with proper frontmatter355. Generate Codex custom-agent TOML when the Codex surface is present366. Generate the team charter and workflow manifest377. Present the proposed team and operating model for approval388. Save approved outputs to `.ijfw/agents/`, `.codex/agents/`, and `.ijfw/team/` as applicable3940---4142## Operating Outputs4344Team Assembly 2.0 produces three coordinated surfaces:4546- `.ijfw/agents/*.md` -- portable human/platform-readable agent definitions47- `.codex/agents/*.toml` -- Codex custom agents generated from the same role contracts when Codex is installed or `ijfw codex sync-agents` is run48- `.ijfw/team/charter.json` -- team roster, role contracts, phase scope, owned artifacts, reviewed artifacts, conflict rules, handoff requirements, verification responsibilities49- `.ijfw/team/workflow.json` -- project work manifest: archetypes, artifacts, owners, dependencies, waves, review graph, verification commands or rubrics5051Keep `.ijfw/agents/*.md` lightweight and role-focused. Put machine-readable52ownership, dependency, review, and coordination details in the charter and53workflow manifest.5455Codex TOML agents are platform-native projections, not a separate source of56truth. Regenerate them with `ijfw codex sync-agents` after changing the team57charter, and check the local Codex install with `ijfw codex doctor`.5859---6061## Project Archetypes6263Infer archetypes from the brief, repository signals, existing files, and user64corrections. Support mixed projects instead of forcing one label.6566Common archetypes:6768- **software** -- modules, APIs, tests, config, docs69- **design** -- screens, flows, tokens, components, prototypes70- **content** -- briefs, articles, landing copy, scripts, social posts71- **book** -- chapters, outline, continuity bible, timeline, notes72- **research** -- questions, corpus, methods, evidence table, synthesis73- **business** -- strategy docs, operating plans, models, risk register74- **education** -- curriculum, lessons, assessments, rubrics75- **operations** -- SOPs, workflows, runbooks, checklists76- **mixed** -- any project-specific combination7778---7980## Domain Templates (starting points -- always customize to the project)8182### Software Development83- **product-lead** (sonnet) -- requirements, user stories, acceptance criteria84- **architect** (opus, high effort) -- system design, security, data model, API design85- **senior-dev** (sonnet) -- complex implementation, patterns, code review86- **dev** (sonnet) -- feature implementation, tests, bug fixes87- **qa** (sonnet) -- test strategy, edge cases, regression testing88- **security** (opus, high effort) -- threat model, auth, data protection, pen testing89- **devops** (haiku) -- CI/CD, deployment, infrastructure, monitoring90- **docs** (haiku) -- documentation, API docs, READMEs, guides9192### Book / Long-Form Writing93- **story-architect** (opus, high effort) -- plot structure, pacing, arcs, tension94- **world-builder** (sonnet) -- settings, environments, atmosphere, sensory detail95- **lore-master** (haiku) -- continuity bible, rules, history, faction tracking96- **prose-stylist** (sonnet) -- voice, tone, sentence craft, genre conventions97- **continuity-editor** (haiku) -- cross-chapter consistency, timeline, character tracking98- **beta-reader** (sonnet) -- fresh-eyes review, plot holes, reader experience99100### Content / Marketing101- **strategist** (opus, high effort) -- campaign strategy, audience, positioning102- **copywriter** (sonnet) -- headlines, body copy, CTAs, tone of voice103- **seo-specialist** (haiku) -- keywords, structure, meta, search intent104- **editor** (sonnet) -- clarity, grammar, consistency, brand voice105- **social-media** (haiku) -- platform adaptation, hooks, engagement106107### Business / Strategy108- **ceo** (opus, high effort) -- vision, strategy, decision-making, priorities109- **cto** (opus, high effort) -- technical strategy, architecture, build-vs-buy110- **analyst** (sonnet) -- research, data analysis, market assessment111- **operations** (sonnet) -- process design, workflows, efficiency112- **finance** (haiku) -- budgets, projections, cost analysis113114### Design / Creative115- **creative-director** (opus, high effort) -- vision, aesthetic direction, brand116- **ux-designer** (sonnet) -- user flows, wireframes, usability, accessibility117- **ui-designer** (sonnet) -- visual design, components, responsive layout118- **researcher** (haiku) -- user research, competitive analysis, testing119120### Any Other Domain121122If the project doesn't match a template above, ask:123"What roles would you need on a team to build this well?"124125Then generate agents from the user's description. Map each role to a model tier:126- Roles requiring deep reasoning, strategy, or high-stakes decisions -> opus127- Roles doing the primary creation/implementation work -> sonnet128- Roles doing reference checks, lookups, or routine tasks -> haiku129130Examples of non-standard teams:131- **Game dev**: game-designer, level-designer, systems-programmer, qa-tester, narrative-writer132- **Scientific research**: principal-investigator, literature-reviewer, data-analyst, methodology-reviewer133- **Music production**: producer, songwriter, mixing-engineer, mastering-engineer134- **Event planning**: event-director, logistics-coordinator, vendor-manager, creative-designer135- **Education**: curriculum-designer, subject-expert, assessment-writer, accessibility-reviewer136137The templates above are starting points. Every team is customized to the specific project.138139---140141## Role Contract Guidance142143Every role should have a contract in `.ijfw/team/charter.json` with:144145- `name`, `role_type`, `model`, and `effort`146- `phase_scope` such as discovery, shape, execute, review, integrate147- `owns` entries for artifact types and path globs or non-file artifact IDs148- `reviews` entries with review criteria149- `handoff` format and required sections150- `coordination` rules including claim requirements and conflict boundaries151- `verification` responsibility: commands for code, rubrics for non-code work152153Example contract shape:154155```json156{157 "name": "ux-researcher",158 "role_type": "research",159 "model": "sonnet",160 "effort": "medium",161 "phase_scope": ["discovery", "shape", "review"],162 "owns": [163 {"artifact_type": "user_flow", "paths": ["design/flows/**"]}164 ],165 "reviews": [166 {"artifact_type": "screen", "criteria": ["usability", "accessibility"]}167 ],168 "handoff": {169 "format": "markdown",170 "required_sections": ["findings", "risks", "recommendations", "changed_artifacts"]171 },172 "coordination": {173 "parallel_safe": true,174 "conflicts_with": ["ui-designer when editing design/tokens/**"],175 "claim_required": true176 }177}178```179180---181182## Workflow Manifest Guidance183184The workflow manifest describes work in domain terms. It is not just a file185list and must not assume code-only verification.186187Each artifact entry should include:188189- stable `id`190- domain `type`191- `paths` where file-backed, or a non-file artifact reference192- `owner`193- `reviewers`194- `depends_on`195- `verification` as commands, checks, rubrics, or acceptance criteria196197Each wave should include:198199- `id`200- `mode`: `parallel`, `sequential`, or `review`201- `artifact_ids`202- dependency rationale when work cannot run in parallel203204Example manifest shape:205206```json207{208 "project_archetypes": ["software", "design"],209 "artifacts": [210 {211 "id": "design-preview-flow",212 "type": "prototype",213 "paths": [".planning/brainstorm/*.html"],214 "owner": "ui-designer",215 "reviewers": ["ux-designer", "accessibility-reviewer"],216 "depends_on": [],217 "verification": ["ijfw design push .planning/brainstorm/*.html"]218 }219 ],220 "waves": [221 {222 "id": "w1",223 "mode": "parallel",224 "artifact_ids": ["schema-foundation", "design-command-docs"]225 }226 ]227}228```229230---231232## Agent File Format233234Each generated agent follows this structure:235236```markdown237---238name: <role-name>239model: <haiku|sonnet|opus>240effort: <low|medium|high>241description: <when to use this agent -- 1-2 lines>242allowed-tools: <relevant tools for this role>243---244245<Role-specific instructions for this project>246247Context from project brief:248<Relevant details from the brief that this agent needs>249250Rules:251<Role-specific rules>252```253254---255256## Codex Custom Agent Format257258When Codex is available, Team Assembly also writes `.codex/agents/*.toml` from259the same role contracts. If `.codex/` is absent, unwritable, or intentionally260out of scope for the project, keep `.ijfw/team/charter.json` as canonical,261write `.ijfw/agents/` markdown role files, and tell the user to run262`ijfw codex sync-agents` later from a writable Codex-enabled checkout. Each263Codex TOML file includes:264265- `name` -- stable role identifier266- `description` -- when to use the agent267- `developer_instructions` -- project-specific role contract, artifact scope,268 blackboard discipline, verification, handoff format, and non-revert rules269270Optional Codex-only model fields are included only when the role explicitly271defines them. Keep the canonical role contract in `.ijfw/team/charter.json`;272use `ijfw codex sync-agents` to refresh TOML files after team edits.273274Codex runtime caveat: some tool-backed sessions expose a generic `spawn_agent`275without named custom-agent invocation. In that case, use the generated TOML as276durable role documentation and paste `ijfw swarm prompt <task-id> --codex` into277the built-in worker or explorer agent. The prompt is designed to carry the full278artifact scope and blackboard contract even without named custom-agent routing.279280---281282## Team Presentation283284After generating, present the team and operating outputs as:285286```287Project team ready:288289 architect (opus) -- system design, security model, API surface290 senior-dev (sonnet) -- auth flow, payment integration, complex features291 dev (sonnet) -- CRUD endpoints, tests, UI components292 qa (sonnet) -- test strategy, edge cases, regression suite293 security (opus) -- threat model, auth audit, data protection294295Agents saved to .ijfw/agents/296Codex agents saved to .codex/agents/ when Codex agent sync is available; otherwise .ijfw/team/charter.json remains canonical297Charter saved to .ijfw/team/charter.json298Workflow saved to .ijfw/team/workflow.json299Codex health check: ijfw codex doctor300Adjust with: "swap qa for a dedicated performance engineer"301```302303Positive framing. Team is "ready" not "generated." Feels like hiring, not configuring.304305---306307## Execution Model308309During workflow Execute stage, tasks are dispatched through the workflow310manifest and charter:311312- Match each task to an owner, artifact IDs, allowed paths or artifact scope, completion criteria, and verification method313- Require blackboard claims before an agent edits or owns an artifact during parallel work314- Use parallel waves only when artifact claims and dependencies do not conflict315- Use sequential waves where dependencies, claims, or integration order require it316- Generate review tasks from the review graph, not as informal suggestions317- Record findings, decisions, blockers, claims, and handoffs in `.ijfw/blackboard/`318- Treat review findings as integration gates when severity or criteria require it319320Review examples:321322- security reviews auth and data-handling artifacts323- editor reviews brand and clarity for content artifacts324- continuity-editor reviews timeline and character artifacts325- methodology-reviewer audits evidence and research methods326- operations reviews SOP failure modes and dry-run readiness327328---329330## Blackboard Coordination331332Team Assembly should prepare agents to coordinate through the project333blackboard when execution begins:334335- `.ijfw/blackboard/tasks.json` tracks task graph and statuses336- `.ijfw/blackboard/claims.json` tracks active artifact ownership337- `.ijfw/blackboard/findings.jsonl` records review notes and issues338- `.ijfw/blackboard/decisions.jsonl` records runtime decisions339- `.ijfw/blackboard/blockers.jsonl` records blocked work340- `.ijfw/blackboard/handoff.md` summarizes active swarm state341342Claims are artifact-aware. A claim can be a file glob, chapter, design token343set, research corpus, strategy model, lesson plan, or any project-specific344artifact. Agents must release or hand off claims when their task completes.345346---347348## Worktree Policy349350Worktrees are optional and only for code-heavy projects or code-heavy portions351of mixed projects.352353Use git worktrees when:354355- multiple software agents need to edit overlapping repository areas in parallel356- the user explicitly requests swarm execution with isolated code edits357- task verification can run independently before integration358359Do not require worktrees for:360361- writing, editing, research, strategy, operations, education, or design-only work362- mixed projects where only non-code artifacts are being changed363- dirty worktrees with unrelated user changes unless the user approves the isolation plan364365For non-code and mixed non-code work, use blackboard claims, artifact-scoped366output paths, and staged review gates instead.367368---369370## Custom Agent Requests371372User can always:373- "Add a performance engineer to the team"374- "I need a lore master who specialises in cyberpunk tech"375- "Swap the junior dev for a frontend specialist"376- "Remove the SEO specialist, I don't need that"377378Modifications update `.ijfw/agents/` immediately. AGENTS.md remains the379canonical cross-platform instruction surface; after team changes, update only380the `IJFW-AGENTS` managed region with the current role names, owned artifacts,381and agent file paths. Preserve all content outside IJFW markers. If the382block-aware AGENTS merger is available, use it; otherwise record a checkpoint383and state exactly which AGENTS region still needs mirroring.384385---386387## Portability388389Agents in `.ijfw/agents/` work with any platform that reads agent markdown.390If `.forge/` directory exists, IJFW also reads agents from there.391`.ijfw/` and `.forge/` are treated as compatible project directories.