-
released this
2026-06-01 20:23:07 +00:00 | 0 commits to main since this releaseCIAgent v0.11.0 — Multi-Session & Persona Specialization
Features
Multi-Session Support (SESSION-01..05)
- AgentSession: Independent execution context with project isolation, git file locking, and state persistence
- SessionManager: Creates, tracks, and coordinates concurrent sessions with
max_concurrent_sessionsenforcement - Git file locking:
.ciagent/<slug>/.session-lockprevents concurrent write conflicts - Session state persistence:
.ciagent/<slug>/.session-<id>.jsonfor crash recovery ciagent sessionsCLI:list,status,cancel,cleanupsubcommands--session <id>flag: Resume a specific session onciagent run---ci--- session:field: Session ID tracking in commit metadatasessionsconfig section:max_concurrent_sessions,session_timeout_ms,session_isolation
Execute-Phase Persona Specialization (PERSONA-01..11)
- ExecutePersona type: Name, domain, frameworks, constraints, territory patterns
- PersonaLoader: Reads persona configs from
.config/opencode/agents/ci-*.mdwith frontmatter parsing - TaskDecomposer: Splits plans into data/backend/frontend task groups based on file patterns and domain keywords
- Lead developer persona: Plan decomposition, conflict resolution, tie-breaking between data↔backend and backend↔frontend
- Data engineer persona: Schema-first, Drizzle ORM, PostgreSQL — territorial over migrations, schema, db, models, SQL files
- Backend engineer persona: API-first, Fastify/Hono, strict typing — territorial over api, routes, services, middleware, auth
- Frontend engineer persona: Component-first, React/Next.js, server components — territorial over components, pages, hooks, styles, tsx, css
- Territory enforcement:
warnmode (log territory conflicts) andstrictmode (block them) personasconfig section:enabled,territory_enforcement,personas[]
CLI & Config (CLI-01..04)
ciagent sessionscommand with list, status, cancel, cleanup subcommands--session <id>flag onciagent runfor session resume- Orchestrator delegates multi-project execution to
SessionManagerwhensessionsconfig is present - Parallel session execution respecting
max_concurrent_sessions
Requirements Covered
- SESSION-01 through SESSION-05: Session infrastructure
- PERSONA-01 through PERSONA-11: Persona system and executor integration
- CLI-01 through CLI-04: CLI commands and orchestrator integration
- INTEG-01 through INTEG-05: Tests and documentation
Technical Details
- 641 tests passing (47 new)
- 20 files changed, 2398 insertions
- New source files:
agent-session.ts,session-manager.ts,persona-loader.ts,task-decomposer.ts,persona.ts,session.ts - New test files:
persona-system.test.ts(26 tests),session-manager.test.ts(21 tests) - New persona files:
ci-lead-developer.md,ci-data-engineer.md,ci-backend-engineer.md,ci-frontend-engineer.md
Migration Notes
config.jsonnow supportssessionsandpersonassections — both optional with sensible defaults---ci---commit blocks now support an optionalsession:field- Existing
runForAllProjects()behavior preserved — SessionManager used only whensessionsconfig is present
Downloads