[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-115303":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":14,"stars30d":14,"stars90d":14,"forks30d":14,"starsTrendScore":14,"compositeScore":15,"rankGlobal":9,"rankLanguage":9,"license":16,"archived":17,"fork":17,"defaultBranch":18,"hasWiki":19,"hasPages":17,"topics":20,"createdAt":9,"pushedAt":29,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":14,"starSnapshotCount":14,"syncStatus":33,"lastSyncTime":34,"discoverSource":35},115303,"cto-agent-team","StochasticResult\u002Fcto-agent-team","StochasticResult","A CTO, product manager, and engineer team skill for coding agents on Codex, Google Antigravity, and Claude Code, with task routing, shared handoffs, resource leases, and completion follow-up.",null,"Python",86,6,1,0,42.54,"MIT License",false,"main",true,[21,22,23,24,25,26,27,28],"agent-skills","agent-team","antigravity","claude-code","codex","multi-agent","task-orchestration","workflow-automation","2026-11-23 17:58:45","2026-11-16 16:08:31","[English](README.md#start) | [简体中文](README.zh-CN.md#start)\n\n\u003Ca id=\"start\">\u003C\u002Fa>\n\n# CTO Agent Team\n\n[![Tests](https:\u002F\u002Fgithub.com\u002FStochasticResult\u002Fcto-agent-team\u002Factions\u002Fworkflows\u002Ftests.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002FStochasticResult\u002Fcto-agent-team\u002Factions\u002Fworkflows\u002Ftests.yml)\n[![Release](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002FStochasticResult\u002Fcto-agent-team?display_name=tag)](https:\u002F\u002Fgithub.com\u002FStochasticResult\u002Fcto-agent-team\u002Freleases)\n[![License: MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-MIT-blue.svg)](LICENSE)\n[![Python 3.11+](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPython-3.11%2B-3776AB.svg)](https:\u002F\u002Fwww.python.org\u002Fdownloads\u002F)\n\nA reusable CTO team skill for coding-agent hosts: one CTO, five product managers, and fifty engineers, with working integrations for OpenAI Codex, Google Antigravity, and Claude Code.\nThe skill started in Codex, and the repository was named `codex-cto-agent-team` until 2026-11-16; GitHub redirects the old address. The organization, handoffs, private state, and guard helpers do not depend on one host. Each host has its own adapter guide.\nThe CTO gives work to the team and makes cross-team decisions. Product managers (PMs) divide tasks and review results. Engineers return outputs and evidence.\nUse it across projects with private task records, explicit permissions, advisory resource leases, and one writer for each shared resource.\n\n[Install](#install) · [Reproducible demo](#reproducible-demo) · [Use](#use) · [Host compatibility and limits](#host-compatibility-and-limits) · [Adoption and maintenance evidence](#adoption-and-maintenance-evidence) · [Model routes](#model-routes) · [Private state](#private-state) · [License](#license)\n\n## Organization\n\n```mermaid\nflowchart TD\n    CTO[\"CTO · Intake, coordination, final delivery\"]\n    CTO --> PM01[\"PM01 · Product and interaction\"]\n    CTO --> PM02[\"PM02 · Services and data\"]\n    CTO --> PM03[\"PM03 · Systems and devices\"]\n    CTO --> PM04[\"PM04 · Automation and integration\"]\n    CTO --> PM05[\"PM05 · Quality and release\"]\n    PM01 --> CS01[\"CS0101–CS0110 · 10 engineer roles\"]\n    PM02 --> CS02[\"CS0201–CS0210 · 10 engineer roles\"]\n    PM03 --> CS03[\"CS0301–CS0310 · 10 engineer roles\"]\n    PM04 --> CS04[\"CS0401–CS0410 · 10 engineer roles\"]\n    PM05 --> CS05[\"CS0501–CS0510 · 10 engineer roles\"]\n```\n\nThe full roster has 56 roles, including the current CTO chat. A role definition does not make a chat.\nA created chat, a READY reply, and active computation are different states. Chat count does not establish simultaneous computing capacity or permanent availability.\nUse only roles that help the current task. Engineer specialties guide assignment and permit suitable work outside a title.\n\n## Install\n\nUse a host that can load the skill or accept its instructions manually. The local helpers require Python 3.11 or later and only the standard library.\nInstall the same folder in each host that you use:\n\n| Host | Personal skill location | Guide |\n| --- | --- | --- |\n| OpenAI Codex | `~\u002F.agents\u002Fskills\u002Fcto-agent-team` or `~\u002F.codex\u002Fskills\u002Fcto-agent-team` | [host-adapters.md](skills\u002Fcto-agent-team\u002Freferences\u002Fhost-adapters.md) |\n| Google Antigravity | The skill directory that `~\u002F.gemini\u002Fconfig\u002Fskills.json` registers under `entries` (it can be the Codex directory) | [antigravity-workflow.md](skills\u002Fcto-agent-team\u002Freferences\u002Fantigravity-workflow.md) |\n| Claude Code | `~\u002F.claude\u002Fskills\u002Fcto-agent-team` | [claude-code-workflow.md](skills\u002Fcto-agent-team\u002Freferences\u002Fclaude-code-workflow.md) |\n| Cursor, generic, or cloud | See the host matrix | [host-adapters.md](skills\u002Fcto-agent-team\u002Freferences\u002Fhost-adapters.md) |\n\nCursor and generic integrations have documented guidance, not live client validation or universal native adapters.\nChat creation, task messages, and monitoring require supported tools and account capacity. This skill does not add those capabilities.\n\n1. Get this repository.\n2. Make a copy of the complete `skills\u002Fcto-agent-team` folder in your personal skill directory.\n3. Keep its `scripts`, `references`, `assets`, and `agents` folders.\n4. Confirm that your host lists `cto-agent-team`. If it is absent, restart the host.\n\nPowerShell example for a personal installation in the Codex location. For Claude Code, set `$skillTarget` to `.claude\u002Fskills\u002Fcto-agent-team`:\n\n```powershell\ngit clone https:\u002F\u002Fgithub.com\u002FStochasticResult\u002Fcto-agent-team.git\nSet-Location cto-agent-team\n$skillSource = Join-Path (Get-Location) 'skills\u002Fcto-agent-team'\n$skillTarget = Join-Path $env:USERPROFILE '.agents\u002Fskills\u002Fcto-agent-team'\nif (Test-Path -LiteralPath $skillTarget) { throw 'The target exists. Review it before updating.' }\nNew-Item -ItemType Directory -Path (Split-Path -Parent $skillTarget) -Force | Out-Null\nCopy-Item -LiteralPath $skillSource -Destination $skillTarget -Recurse\n```\n\nFor a project installation, use `.agents\u002Fskills\u002Fcto-agent-team` in that project.\nTo share a single skill installation across both Codex and Google Antigravity, register your personal skill directory (`~\u002F.codex\u002Fskills` or `~\u002F.agents\u002Fskills`) in `~\u002F.gemini\u002Fconfig\u002Fskills.json` under `entries`; see [antigravity-workflow.md](skills\u002Fcto-agent-team\u002Freferences\u002Fantigravity-workflow.md).\nSee the [Codex skill documentation](https:\u002F\u002Flearn.chatgpt.com\u002Fdocs\u002Fbuild-skills) and the [Claude Code skill documentation](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fskills).\nThird-party skills are separate dependencies. Installing this repository does not install them or prove that any chat has read them.\n\n## Reproducible demo\n\nRun the offline end-to-end walkthrough in [examples\u002Fend_to_end_demo\u002Frun_demo.py](examples\u002Fend_to_end_demo\u002Frun_demo.py) using only Python 3.11+ standard library modules (no API keys, network access, or live host threads required):\n\n```sh\npython examples\u002Fend_to_end_demo\u002Frun_demo.py --verify\n```\n\nThe demo runs inside a temporary private directory outside the repository and executes all five stages of a real task lifecycle (`CTO Intake -> PM02 Dispatch -> CS0201 Lease\u002FPatch\u002FTest -> PM02 SHA-256 Acceptance -> CTO Delivery`) while keeping capability layers strictly separated:\n\n- **Executed deterministically by bundled scripts:** `team_state.py` (`init`, `register`, `validate`), `model_route.py` (`demo_routing_input.json`), `agent_guard.py` (`acquire`, competing writer `CS0202` blocked with exit code `2`, `run` watchdog running `unittest`, and `release`), atomic JSON event creation, SHA-256 digest checks, and `shared\u002FSTATUS.md` output.\n- **Simulated for offline replay:** CTO \u002F PM02 \u002F CS0201 narrative handoff prose, deterministic synthetic `uuid5` thread IDs, and fixture catalog inputs (`dispatch_ready: false`).\n- **Provided by a host runtime in live use:** Creating actual sub-sessions or subagents (`create_thread`, `invoke_subagent`), LLM inference, account quotas, browser UI verification, and completion wakeups.\n\nSee [examples\u002Fend_to_end_demo\u002FREADME.md](examples\u002Fend_to_end_demo\u002FREADME.md) for the complete stage diagram and sample output.\n\n## Use\n\nOpen a CTO chat in the target project. Select the skill or use `$cto-agent-team` in your request.\nFor a plan, use:\n\n> Use $cto-agent-team to plan the work for `\u003CGOAL>`. Give the task owners and acceptance criteria. Do not make chats.\n\nFor a full organization of independent chats, use:\n\n> Use $cto-agent-team for `\u003CPROJECT>`. Use the current chat as CTO. Make five PM chats and ten engineer chats per PM.\n> Use suitable existing chats. I permit creation of missing chats. I permit CTO-to-PM and PM-to-engineer task messages for this project.\n> Keep private state in `\u003CPRIVATE_STATE_DIR>`. Use the available tools and account capacity. Give actual creation and READY results.\n\nReplace the placeholders before use. Skill selection alone does not authorize chat creation or task messages.\nFor a general request to use agents, follow existing authorization and tool support, or prepare a plan.\nFor independent chats, discover the current host tools and verify the target project before authorized creation.\n[Host adapters](skills\u002Fcto-agent-team\u002Freferences\u002Fhost-adapters.md#execution-operations) contain specific tool names and parameter boundaries.\nExamine unknown creation results before another attempt. Reuse real chat identifiers from supported tools.\n\nEach task must identify its target, permissions, outputs, acceptance criteria, and writable resources.\nOrganizational delegation does not grant permission for every device, publication, external message, or purchase.\nRead the target project's `AGENTS.md`. Make sure that the device identity, connection, and task permission are correct.\n\nPMs read engineer results in shared private events. One designated clerk writes the shared summary.\nThe CTO reads that summary and necessary exact source references. Canonical tasks remain authoritative.\nUse messages only for necessary authorized dispatch, continuation, or recovery, with task and document pointers.\nActive recipients read at safe boundaries. Do not send routine progress or result relay messages.\nSee [workflow.md](skills\u002Fcto-agent-team\u002Freferences\u002Fworkflow.md) for complete handoffs and result collection.\n\n## Model routes\n\nSeparate task requirements, host capabilities, model evidence, user policy, native parameters, and actual execution.\nThe following table is the explicit `compatibility-6.1` profile. It is not a default for every host or an availability claim:\n\n| Route | Work | Model | Reasoning |\n| --- | --- | --- | --- |\n| `coordination_research` | Routine PM coordination and research across sources | `gpt-6.1-sol` | `high` |\n| `scoped_engineering` | Scoped fixes, UI implementation, visual checks, and computer actions with a clear target | `gpt-6.1-terra` | `high` |\n| `extraction` | Simple extraction and routine summaries from supplied material | `gpt-6.1-terra` | `medium` |\n| `complex_engineering` | Complex coding, architecture, permissions, transactions, critical review, and releases across systems | `gpt-6.1-sol` | `xhigh` |\n| `mechanical_supervision` | Routine status checks, retry records, deduplication, and completion-candidate routing | `gpt-6-luna` | `low` |\n\nWithin approved escalation scope, conflicting constraints, critical decisions, complex state, and substantive acceptance failures can require Sol\u002Fxhigh.\nFor ambiguity in extraction, first use Terra\u002Fhigh. Complex analysis can require Sol\u002Fhigh or Sol\u002Fxhigh.\nUser policy can authorize automatic routing and evidenced new candidates within existing resources. Respect explicit pins and hard budgets.\nA new name alone does not require repeated approval within that authority. Capacity failure never authorizes silent substitution.\n\nRole-registration defaults are Sol\u002Fhigh for PMs and Terra\u002Fhigh for engineers. They do not establish any chat's actual settings.\nFor each authorized dispatch, pass the exact supported native parameters. Record the request and tool outcome privately.\nTool acceptance does not independently verify the backend model. Apply new routes on the next authorized dispatch.\nDo not interrupt active work or wake idle engineers merely to change settings.\nKeep the CTO's current settings, speed, subscription, and budget intact. See [model-routing.md](skills\u002Fcto-agent-team\u002Freferences\u002Fmodel-routing.md).\n\nThe standard-library [selector](skills\u002Fcto-agent-team\u002Fscripts\u002Fmodel_route.py) evaluates configurable evidence and returns a payload without sending it.\nTry the credential-free fixture from the installed skill directory:\n\n```sh\npython scripts\u002Fmodel_route.py assets\u002Frouting.example.json --now 2030-01-02T00:00:00Z\n```\n\nThe result is explicitly a fixture, with `dispatch_ready: false`. For actual work, replace synthetic evidence and use the current time.\nUse the [seven-part schema](skills\u002Fcto-agent-team\u002Fassets\u002Frouting.schema.json), private policy\u002Fcatalog inputs, and an explicit profile.\n`--escalate-from` requires substantive failure and prior outcome evidence, and permits at most two quality upgrades.\n`--retry-from` preserves the verified original native request and quality history, even when the normal catalog is stale.\nA pin, unknown capability, unsupported parameter, or unsatisfied budget blocks selection. Unknown costs do not establish savings.\nDifferent vendor effort\u002Fspeed parameters are not synonyms. See the [selector guide](skills\u002Fcto-agent-team\u002Freferences\u002Fmodel-routing.md#local-selector).\nDocumentation, account availability, permission, fixture\u002Fconfiguration, request acceptance, and actual execution are separate evidence levels.\n\n\n## Delivery and supervision\n\nGive each independent request a unique task ID and an owning PM. Send a complete handoff and end the CTO turn promptly.\nPMs continue implementation, review, and authorized delivery. Shared events retain results and next actions. New requests preserve earlier open tasks.\nLink changes and cancellations to the original task. Assign useful independent work in parallel within actual capacity.\nAfter an item completes, examine its evidence. Then give the next ready item to a suitable engineer.\nRecord the reason for a necessary serial step.\nKeep one writer for each shared file, device, desktop, or live operation.\n\nUse a suitable agent for routine supervision through its authorized route. The compatibility profile retains Luna\u002Flow.\nRead back supported monitor settings or documented model inheritance. Keep that evidence.\nA model name in a prompt does not set the monitor model. Report unsupported settings accurately.\nReuse existing supervision and saved cursors. Keep unchanged checks and ordinary retries quiet.\nDo not add a high-cost CTO loop to watch the supervisor.\n\nA completion candidate must match the task and result revision. It must include output and acceptance evidence.\nThe responsible PM retains substantive acceptance. The CTO handles final delivery and cross-team decisions.\nFollow the [shared document contract](skills\u002Fcto-agent-team\u002Freferences\u002Fshared-handoffs.md).\nPublish complete events atomically. Keep published events immutable and link corrections.\nPersist consumed event identities and source revisions. Keep publication, acceptance, dispatch, and actual user delivery receipts separate.\nA preview, active PM, or copied file does not establish actual engineering execution or delivery.\nHost schedules are configurable capabilities. Reuse existing supervisors and summary readers without adding permanent-agent or scheduling promises.\nNecessary wakeups still require explicit recipient and scope authorization.\nKeep separate retry and notification keys. Reconcile uncertain sends before repeating them.\nRemove completed duties from shared monitoring. Retire a one-time monitor only when no duties remain.\nAn ended turn does not schedule its own return. This repository contains no background scheduler.\n\n## Task skills\n\nBefore relevant planning, implementation, or review, find suitable skills in the available catalog.\nSelect user- or project-specific guidance before generic preferences. Read actual selected content and relevant references.\nKeep explicit style, constraints, and observable acceptance in handoffs. Record the few decisions that changed the output.\n\n- **Coding and review:** read and apply the actual [Ponytail core](https:\u002F\u002Fgithub.com\u002FDietrichGebert\u002Fponytail), with `full` guidance by default.\n  This applies to any role doing relevant work. Include it in applicable new or resumed agent handoffs.\n  Reuse existing helpers and deliver the smallest complete change. Preserve required validation, security, accessibility, error handling, and data integrity.\n- **Frontend work:** consider [Anthropic Frontend Design](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fskills\u002Ftree\u002Fmain\u002Fskills\u002Ffrontend-design), [Emil](https:\u002F\u002Fgithub.com\u002Femilkowalski\u002Fskills), and [Unslop](https:\u002F\u002Fgithub.com\u002Fheydamir\u002Funslop) (by Damir Sokolovsky `@heydamir`, CC BY 4.0).\n  Select one or a combination by task rather than using a fixed single-skill priority: Frontend Design emphasizes greenfield direction, Emil governs component and interaction polish, and `unslop` audits and removes vibecoded\u002FAI-generated tells through nine ordered redline passes.\n  User requirements, multi-language layout geometry, and the existing design system govern. Read the selected content and relevant references, and record the choice privately.\n- **Google Antigravity and multi-agent guardrails:** follow [antigravity-workflow.md](skills\u002Fcto-agent-team\u002Freferences\u002Fantigravity-workflow.md) for `invoke_subagent` \u002F `schedule` mapping, `BROWSER_HOST_FACTS` UI verification, concise milestone reporting, fast stop-loss, subagent model floors, `scripts\u002Fagent_guard.py` advisory resource leases and process\u002FSSH watchdogs, multi-CTO peer queues, and production freeze windows.\n- **Claude Code:** follow [claude-code-workflow.md](skills\u002Fcto-agent-team\u002Freferences\u002Fclaude-code-workflow.md) for the collapsed role tree, no-history subagent handoffs, worktree isolation, background dispatch, acceptance of subagent reports, model and effort boundaries, compaction checkpoints, and the optional role agents in `assets\u002Fclaude-agents`.\n- **Cluster CTO across hosts:** when several hosts work on the same product, follow [cluster-cto.md](skills\u002Fcto-agent-team\u002Freferences\u002Fcluster-cto.md). One host is the cluster CTO; the others are members that read a shared private board through [cluster.py](skills\u002Fcto-agent-team\u002Fscripts\u002Fcluster.py). The board carries tasks, status, capacity, and messages. Members change the product only with a task, and the CTO routes each task by remaining usage, model tier, and effort.\n- **Task workflows:** use applicable [Superpowers](https:\u002F\u002Fgithub.com\u002Fobra\u002Fsuperpowers) modules, such as `systematic-debugging` and `verification-before-completion`.\n  Read the actual module and relevant references. Verify its availability and compatibility in your environment.\n  Existing authorization, project rules, model routes, and single-writer ownership govern its use.\n  Do not import blanket approval gates, mandatory worktrees, extra agent trees, repeated full-suite checks, or per-reply skill loading.\n\nRead a skill once per relevant context. Reuse valid reading evidence unless the source changes or another read is needed.\nMechanical monitoring does not require loading every skill on each tick.\nDo not restart accepted UI or repeat passed checks merely because a skill preference changed.\nThird-party benchmarks do not establish this team's measured token, time, or cost savings.\nSee [coding.md](skills\u002Fcto-agent-team\u002Freferences\u002Fcoding.md) and [ui-design.md](skills\u002Fcto-agent-team\u002Freferences\u002Fui-design.md).\n\nResponsible owners compare the actual artifact with acceptance criteria. Skill names, reading evidence, and passing code tests alone do not establish visual or business acceptance.\nVisual claims need relevant observed views tied to the artifact revision. Claims about published appearance need evidence from that served version.\nRecord missing observations. Use proportional checks, without a blanket browser gate, repeated full-site review, or new user approval flow.\n\nHelp people complete primary tasks on first use. Give defaults that work, clear entry points and states, and a way to correct errors.\nUse the [usability baseline](skills\u002Fcto-agent-team\u002Freferences\u002Fui-design.md#usability-baseline) from handoff through actual artifact acceptance.\nKeep details progressive and accessibility appropriate. Record observations without calling an agent walkthrough real user research or claiming universal usability.\n\n## Optional research\n\nA shared researcher is an optional extension. The core five teams and 55 subordinate registrations stay unchanged.\nStart with project capabilities and prior results, then first-party documentation and relevant open-source code.\nKeep at most three candidates and one recommendation, with source\u002Fversion\u002Flicense, uncertainty, tradeoffs, and a minimal reuse path.\nThe owning PM records adoption and implementation acceptance. Stop at the agreed boundary or when evidence answers the question.\nUse a suitable existing role when worker creation is unavailable. Urgent recovery, small changes, and ready releases have no research gate.\nSee the [bounded report template](skills\u002Fcto-agent-team\u002Freferences\u002Fresearch.md#bounded-report).\n\n## Capacity recovery\n\nRetry only a confirmed failed or stopped turn caused by temporary model capacity, with unfinished authorized work remaining.\nThe CTO owns PM recovery and may name one authorized supervisor as its sole retry executor. PMs own engineer recovery.\nUse the failed turn's verified model, complete native settings, and quality history. New defaults and the supervisor's model do not replace those settings.\nDo not retry active, completed, or cancelled work. Preserve accepted outputs and completed external actions.\nFor an unknown send or external result, examine actual state before another attempt.\n\nDefault delays after successive failures are 0, 2, 5, 10, and 15 minutes, then 15 minutes.\nA longer provider retry-after takes precedence. Delayed recovery requires supported, authorized follow-up.\nCredentials, account exhaustion, approval requests, intentional stops, and permanent errors require their applicable workflow.\nSee [recovery.md](skills\u002Fcto-agent-team\u002Freferences\u002Frecovery.md).\n\n## Private state\n\nKeep chat IDs, host IDs, local paths, task records, runtime evidence, and notification state outside the public repository and installed skill.\nNever store credentials in these records. Use references to secure credential storage when necessary.\nEach PM owns its logical team records. The helper uses a shared `registry.json`, so the CTO must serialize writes.\nThe registration helper has no cross-process lock. It records roles, not per-task routes, live execution, or backend model verification.\nIt supports UUID worker identities. Other hosts can keep their real identities in separate private task records.\nThe routing selector is separate and does not rewrite old registration snapshots.\n\nAfter installation, choose a private directory:\n\n```powershell\n$teamStateDir = Join-Path $env:LOCALAPPDATA 'codex-cto-agent-team\u002Fmy-team'\npython \"$skillTarget\u002Fscripts\u002Fteam_state.py\" init --state-dir \"$teamStateDir\"\npython \"$skillTarget\u002Fscripts\u002Fteam_state.py\" validate --state-dir \"$teamStateDir\"\n```\n\nInitialization creates 55 `planned` subordinate roles. It does not make chats. The CTO continues in the current chat.\nUse `--pm-model`, `--engineer-model`, or `--effort` to override registration snapshots.\n`--effort` applies to both role groups. Task dispatch settings belong in separate private task records.\n\nAfter a creation tool returns a verified identity, record it:\n\n```powershell\npython \"$skillTarget\u002Fscripts\u002Fteam_state.py\" register --state-dir \"$teamStateDir\" --role PM01 --thread-id \"\u003CTHREAD_ID_FROM_TOOL>\" --host-id \"\u003CHOST_ID_FROM_TOOL>\" --status created\n```\n\nThe placeholders cannot be registered as real identifiers. Use the returned UUID and host ID.\nAfter a real READY reply, repeat registration with the same identity and `--status ready`.\nTo require all 55 subordinate roles to be ready, use:\n\n```powershell\npython \"$skillTarget\u002Fscripts\u002Fteam_state.py\" validate --state-dir \"$teamStateDir\" --require-ready\n```\n\nOrdinary validation permits uncreated roles. Existing private snapshots retain their original settings.\n`validate` does not migrate them. Repeated `init` rejects an incompatible configuration instead of overwriting it.\nIf repeating initialization of an older all-xhigh snapshot, supply its original overrides, including `--effort xhigh`.\nSee [state.md](skills\u002Fcto-agent-team\u002Freferences\u002Fstate.md).\n\n## Browser tool policy\n\nHonor the user's browser\u002Fchannel choice and discover actual tools, connections, tabs, locators, target URL, and profile identity.\nPrefer extension browser APIs for browser work. A unified `cua` or Computer Use entry can expose those APIs.\nThe [configurable Chrome example](skills\u002Fcto-agent-team\u002Freferences\u002Fhost-adapters.md#browser-channels) does not require every user to install Chrome.\nUse native control only for a verified necessary tool gap, keep the action minimal, and use the supported browser channel selected for the task again.\nExisting authorization governs exceptions. Preserve shared ownership, user activity, and meeting holds.\nCarry policy and evidence requirements through every handoff and model route, including Terra. Keep browser policy outside model-native parameters.\nA specified signed-in UI needs actual target\u002Fprofile and page\u002Faction\u002Fresult evidence. HTTP, builds, markers, or synthetic pages cannot replace it.\nThese are guidance and task-context examples, not a deployed browser adapter or a report of real browser execution.\n\n## Work records\n\nFor requested records, use [work-recording.md](skills\u002Fcto-agent-team\u002Freferences\u002Fwork-recording.md).\nConfigure included and excluded projects privately. Formal team, skill, or game-business work can be included when the user's scope permits it.\nUse durable source\u002Fproject\u002Ftask identity and revision evidence. Keep stages, reopened work, partial scope, and unknown time accurate.\nPreserve manual changes and deletion tombstones. Use bounded incremental batches through the actual authorized target contract.\nRecord a successful cursor change only after commit and readback validation. Failed or unavailable coverage stays pending without losing history.\nThis guidance adds no collector, scheduler, personal timeline backend, or automatic synchronization.\n\n## Portable use and improvement\n\nFor another project or machine, follow [portable setup and resume](skills\u002Fcto-agent-team\u002Freferences\u002Fstate.md#portable-setup-and-resume).\nChoose explicit paths and record dependency sources, versions, licenses, and compatibility limits.\nKeep valid authorization. Establish missing credentials or device permission only when a protected operation needs them.\nCopied state grants neither. An isolated local directory test does not verify another device.\n\nUse task-completion or recurring-failure events for [bounded improvements](skills\u002Fcto-agent-team\u002Freferences\u002Fworkflow.md#evidence-based-improvement).\nRecord the observation, evidence, owner, validation, decision, and rollback method privately.\nKeep limited evidence under trial. Preserve newer notification evidence during recovery.\nUnknown costs remain unknown. This repository does not include a supervisor-state patch tool or an optimization service.\n\nFor changed data or tool boundaries, use [consumer-specific contract evidence](skills\u002Fcto-agent-team\u002Freferences\u002Fcoding.md#consumer-contract-evidence).\nFor a long task's turning points, keep short [decision\u002Fresume checkpoints](skills\u002Fcto-agent-team\u002Freferences\u002Fstate.md#decision-and-resume-checkpoints).\nThese methods add no pstack installation, logging service, or model probe.\n\n## Writing and review limits\n\nUse the official ASD-STE100 writing rules and dictionary for applicable English task instructions, handoffs, and questions.\nThe reference is [Issue 9](https:\u002F\u002Fwww.asd-ste100.org\u002Fassets\u002Ffiles\u002FASD-STE100_ISSUE9.pdf).\nKeep technical terms and literal commands consistent. Short sentences alone do not establish compliance.\nDistinguish drafts, checked text, and verified compliance, with actual review evidence and gaps.\nChinese summaries carry no claim of compliance with an English standard.\nThe standard and its dictionary are not bundled. See [handoffs.md](skills\u002Fcto-agent-team\u002Freferences\u002Fhandoffs.md).\n\n## Files and references\n\n| File | Purpose |\n| --- | --- |\n| [SKILL.md](skills\u002Fcto-agent-team\u002FSKILL.md) | Entry point and workflow selection |\n| [workflow.md](skills\u002Fcto-agent-team\u002Freferences\u002Fworkflow.md) | Handoffs, scheduling, acceptance, and notifications |\n| [model-routing.md](skills\u002Fcto-agent-team\u002Freferences\u002Fmodel-routing.md) | Task settings, escalation scope, and supervision |\n| [host-adapters.md](skills\u002Fcto-agent-team\u002Freferences\u002Fhost-adapters.md) | Host matrix, installation, native parameters, and evidence levels |\n| [antigravity-workflow.md](skills\u002Fcto-agent-team\u002Freferences\u002Fantigravity-workflow.md) | Google Antigravity dual-runtime setup, subagent mapping, cadence, leases, peer queues, and freeze windows |\n| [claude-code-workflow.md](skills\u002Fcto-agent-team\u002Freferences\u002Fclaude-code-workflow.md) | Claude Code setup, role topology, subagent mapping, acceptance, model boundaries, and compaction checkpoints |\n| [cluster-cto.md](skills\u002Fcto-agent-team\u002Freferences\u002Fcluster-cto.md) | One CTO across several hosts: shared board, change control, capacity routing, and wakeups |\n| [cluster.py](skills\u002Fcto-agent-team\u002Fscripts\u002Fcluster.py) | Shared task board for a multi-host cluster: tasks, status, capacity, messages, and routing |\n| [research.md](skills\u002Fcto-agent-team\u002Freferences\u002Fresearch.md) | Optional research and adoption |\n| [model_route.py](skills\u002Fcto-agent-team\u002Fscripts\u002Fmodel_route.py) | Local configurable selector, quality escalation, and exact retry payload |\n| [agent_guard.py](skills\u002Fcto-agent-team\u002Fscripts\u002Fagent_guard.py) | Private advisory resource leases and bounded process\u002FSSH watchdog |\n| [coding.md](skills\u002Fcto-agent-team\u002Freferences\u002Fcoding.md) | Ponytail and workflow boundaries |\n| [ui-design.md](skills\u002Fcto-agent-team\u002Freferences\u002Fui-design.md) | UI skill selection and evidence |\n| [recovery.md](skills\u002Fcto-agent-team\u002Freferences\u002Frecovery.md) | Capacity failures, retries, and deduplication |\n| [state.md](skills\u002Fcto-agent-team\u002Freferences\u002Fstate.md) | Private records and helper commands |\n| [roster.json](skills\u002Fcto-agent-team\u002Fassets\u002Froster.json) | Five teams, fifty engineer roles, and registration defaults |\n| [team_state.py](skills\u002Fcto-agent-team\u002Fscripts\u002Fteam_state.py) | Offline registration helper |\n| [openai.yaml](skills\u002Fcto-agent-team\u002Fagents\u002Fopenai.yaml) | Skill interface metadata |\n| [run_demo.py](examples\u002Fend_to_end_demo\u002Frun_demo.py) | Reproducible five-stage offline workflow demonstration |\n| [validate_repo.py](scripts\u002Fvalidate_repo.py) | Repository integrity, link, package, and changelog verifier |\n| [CHANGELOG.md](CHANGELOG.md) | Release history and upgrade scope |\n| [CONTRIBUTING.md](CONTRIBUTING.md) | Contribution workflow, verification commands, and PR rules |\n| [SECURITY.md](SECURITY.md) | Supported versions and private vulnerability reporting |\n| [LICENSE](LICENSE) | MIT license text |\n\n## Host compatibility and limits\n\nDo not confuse a documented host adapter guide with live end-to-end client certification. See [host-adapters.md](skills\u002Fcto-agent-team\u002Freferences\u002Fhost-adapters.md) for full details.\n\n| Host | Status in this repository | Prerequisites & hard constraints |\n| --- | --- | --- |\n| **OpenAI Codex (CLI \u002F Desktop)** | Empirically used by maintainer; local CLI scripts tested in CI | Desktop thread tools (`create_thread`, `send_message_to_thread`, `wait_threads`) depend on the desktop host environment and account quota; role configuration can override per-dispatch model flags. |\n| **Google Antigravity** | Operational dual-runtime workflow via [antigravity-workflow.md](skills\u002Fcto-agent-team\u002Freferences\u002Fantigravity-workflow.md) and `agent_guard.py` | Requires shared `~\u002F.gemini\u002Fconfig\u002Fskills.json` registration or `.agents\u002Fskills`; parallel writers must pair `Workspace: \"share\"`\u002F`\"branch\"` with `agent_guard.py` advisory leases and `BROWSER_HOST_FACTS` corroboration. |\n| **Claude Code** | Operational session workflow via [claude-code-workflow.md](skills\u002Fcto-agent-team\u002Freferences\u002Fclaude-code-workflow.md), optional `assets\u002Fclaude-agents`, and `agent_guard.py` (no live client CI) | Install to `~\u002F.claude\u002Fskills`; subagents start without history and cannot start subagents, so the CTO session dispatches engineers directly or the user requests PM sessions; `model_route.py` emits no Claude Code tool parameters. |\n| **Cursor \u002F Generic** | Documented compatibility guidance only (no live client CI) | Custom model-key schemas (`thinking`, bracket syntax, `effort`) and subagent APIs are not auto-translated by `model_route.py`; falls back to manual context loading and sequential role execution when parallel subagents are absent. |\n\nKey operational limits across every host:\n- **Permissions:** Helpers inherit existing shell, filesystem, and browser authorizations; `--state-dir` and `--lock-dir` are enforced outside public repositories and skill directories.\n- **Session creation & parallelism:** Initializing `roster.json` (`planned`) allocates zero chats; true concurrency requires host subagent\u002Fthread creation tools, account capacity, and single-writer locks (`agent_guard.py`).\n\n## Adoption and maintenance evidence\n\nThis repository started on `2026-10-28` and is actively developed for multi-service engineering and multi-host (`Codex`, `Google Antigravity`, and `Claude Code`) agent workflows. Rather than publishing unverified benchmarks or fabricated testimonials, the repository tracks concrete operational failure modes resolved in its commit history and automated test suite:\n\n- **Eliminating chat-relay noise & partial handoffs:** Atomic JSON event files (`shared\u002Fevents\u002F\u003CROLE>\u002F\u003CTASK-ID>\u002F`) plus one clerk summary (`shared\u002FSTATUS.md`) replaced ad-hoc status relays (`beb89b5`).\n- **Preventing cross-task context leakage:** Isolated per-task execution contexts (`6194560`, `ff3b1cb`) and durable SHA-256 artifact pointers (`shared-handoffs.md`).\n- **Blocking parallel write collisions & hung commands:** `agent_guard.py` provides portable advisory leases (`RESOURCE_LOCKED` exit code `2`) and process-tree\u002FSSH watchdogs (`1ce9ccf`), covered by regression unit tests under `tests\u002F`.\n- **Preventing false completion & visual-acceptance drift:** Deliverable acceptance separates unit tests, artifact SHA-256 hashes, and host-verified `BROWSER_HOST_FACTS` observations before CTO delivery.\n\nReal-world feedback, host compatibility findings, and external project reports are welcome through [Bug reports](.github\u002FISSUE_TEMPLATE\u002Fbug_report.yml), [Use-case \u002F compatibility feedback](.github\u002FISSUE_TEMPLATE\u002Fuse_case_feedback.yml), and pull requests; resolved changes are tracked in [CHANGELOG.md](CHANGELOG.md).\n\n## License\n\nLicensed under the [MIT License](LICENSE). Third-party external skills and specifications linked in documentation (such as `Ponytail`, `Superpowers`, `Anthropic Frontend Design`, `emil-design-eng`, `unslop`, and `ASD-STE100`) keep their respective upstream licenses and are not redistributed inside this repository.\n\nThis repository uses an English root README and explicit language links.\nSee GitHub's [README documentation](https:\u002F\u002Fdocs.github.com\u002Fen\u002Frepositories\u002Fmanaging-your-repositorys-settings-and-features\u002Fcustomizing-your-repository\u002Fabout-readmes)\nand [topics documentation](https:\u002F\u002Fdocs.github.com\u002Fen\u002Frepositories\u002Fmanaging-your-repositorys-settings-and-features\u002Fcustomizing-your-repository\u002Fclassifying-your-repository-with-topics).\nThese documents do not establish automatic README selection by visitor language. Use the language links at the top.\n","这是一个面向编程智能体（coding agents）的多角色协作框架，模拟CTO-产品经理-工程师团队结构，实现任务分发、跨角色交接、资源租约管理与结果闭环跟踪。核心支持OpenAI Codex、Google Antigravity和Claude Code三大模型平台，通过标准化角色定义、私有任务状态隔离、显式权限控制及单写者资源共享机制，保障协作过程可复现、可审计。适用于需要结构化人机协同的软件开发自动化场景，如代码生成流水线、跨模块需求拆解、工程方案评审与集成验证。",2,"2026-11-24 04:50:36","CREATED_QUERY"]