Repository navigation
Conversation
Upstream orchestration structs keep only additive-optional references to the assignment and request schemas; the persona vocabulary, availability, and catalog schemas now live in packages/contracts/src/j5/agentPersona.ts and reach consumers through one appended barrel export. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The Claude system-prompt append and the Codex developer-instructions expression keep their upstream shape and gain one J5 helper call each; the joining logic lives in j5/agents/agentPersonaPrompts.ts. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The seven library RPCs now live in packages/contracts/src/j5/agentPersona.ts as their own RpcGroup, merged into WsRpcGroup with one appended call so the existing environment-scoped WebSocket transport, remote connections, and mobile keep working unchanged. Server handlers and scope declarations move to apps/server/src/j5/agents/agentPersonaRpc.ts and are spread into the upstream handler and scope tables; client atoms and presentation helpers move under packages/client-runtime/src/j5. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
… delegates The orchestrator's thread.create validation, route-lock checks, and the launch service's persona resolution now call small J5-owned helpers in apps/server/src/j5/agents/agentPersonaOrchestration.ts; the runtime policy seam calls one J5 resolver. Behavior and error messages are unchanged. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Source folders and imports now recognize .yaml/.yml files only; JSON files are ignored in folders and rejected on import. Server-written stores and launch snapshots remain JSON, so no persisted state changes. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The launch, runtime policy, projection rebuild, contract, RPC scope, and adapter instruction cases for agent personas now live under apps/server/src/j5/agents and packages/contracts/src/j5, each with a small mirror of the upstream harness it needs. The upstream test files return to their trunk content. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The orchestrator constructs one J5 guard set next to its other services, handing over only its two error constructors and the adapter lookup; the create, route-lock, and model-mismatch sites become single calls. Runtime policy uses a J5 resolver that takes its error constructor the same way. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…wned files Web and mobile now read the persona library through J5 atoms instantiated in src/j5/agents/agentPersonaAtoms.ts, the assignment lock controls move into J5 components that the composers render with one conditional, and the mobile library screen draws its own header row so the shared SettingsSection stays at its upstream shape. FORK.md rows point at the new locations. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The web file picker accepts only YAML, the mobile picker test uses YAML names, and the user, operations, product, and FORK docs describe the YAML-only import and source-folder behavior. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
9630f1e to
bab34c5
Compare
95cfbff to
a56b373
Compare
|
Heads-up: this PR touches Squadron code that is being removed. What changed on
Still to come. The server migration re-keys the ledger from Squadrons to projects, removes For this PR. It reads and writes Squadron ids in about 175 changed lines, mostly in When you next rebase: scope by the thread's or workspace's Posted by an AI agent on Jackson's behalf. |
Development workflows previously resolved personas as individual actions launched. Library edits, removal, disabling, or provider changes could therefore alter a workflow after it had already been accepted.
This adds the deterministic development workflow and binds all seven required roles when the workflow starts. The server reads the external YAML library once, validates each role and its workflow-owned authority, resolves its exact model route, and stores immutable definition snapshots and assignments in the workflow execution record. Later phases, corrections, retries, and review restarts reuse those assignments. Legacy tasks without complete snapshots remain readable but require a fresh task to continue, and unavailable pinned providers produce an actionable block instead of silently rerouting.
The change also removes production persona definitions and prompt fallbacks. New environments start with an empty library; Settings continues to support external folders, imports, editing, disabling, removal, and conflict detection. The eleven previous definitions were exported unchanged to the local
j5-personasfolder and are not part of the repository.Validation:
git diff --checkModel: GPT-6 · Harness: Codex