| index e7ce0cdb..c1e1f0bf 100644 |
| --- a/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md |
| +++ b/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md |
| @@ -4701,3 +4701,638 @@ The migration regression run initially failed because older fixtures installed 0 |
| - `notifications.subscription_expired`: This notification subscription expired. Subscribe again with a current device credential. |
| |
| All eight entries have individual `COPY REVIEW REQUIRED` markers. The API guide remains a draft and OpenAPI prose remains pending. The pinned SchemaSQL dumper emits triggers before tables; the committed snapshot uses executable order and the snapshot test now compares replayed schema plus trigger definitions. Root source: 10769/10800; integration tests: 10425/10500 after the measured exception update. No provider runs, sign-ins, enrolment, credential homes, agents, copy-review server, full suite, make ci, push, merge or deployment. Go caches remain unchanged; task scratch is removed before final handoff. |
| + |
| +## Plan 3 copy inventory (for Paul's review) |
| + |
| +COPY REVIEW REQUIRED. None of these entries is approved. This is the current |
| +consolidated review inventory, compared with merged Plan 2b baseline `ff73f89`. |
| +Runtime rows contain the exact current draft text; owning tasks come from the |
| +line's introducing or editing commit. Installer and runner diagnostics are |
| +included by their runtime keys, including the installer prompts and terminal |
| +login failures. The API, acceptance and live-gate rows contain full sections, |
| +including examples and commands. Mockup rows are proposals only; the mockup |
| +HTML is unchanged. Existing Plan 2b pending copy remains blocked by the global |
| +runtime copy check and is outside this Plan 3 inventory. |
| + |
| +The historical task reports above retain their original pending-copy evidence. |
| +Review this consolidated table when approving copy; do not remove historical |
| +records to satisfy a gate. Release remains blocked while any row is pending. |
| + |
| +| Key or section | Draft text | Owning task | State / surface | |
| +| --- | --- | --- | --- | |
| +| `notifications.question` | A question needs your answer. | 19 | Runtime; COPY REVIEW REQUIRED | |
| +| `notifications.task_ready` | A task is ready for you to review. | 19 | Runtime; COPY REVIEW REQUIRED | |
| +| `notifications.interrupted` | Work stopped and needs your attention. | 19 | Runtime; COPY REVIEW REQUIRED | |
| +| `notifications.superseded` | This item has changed. Fetch its current state. | 19 | Runtime; COPY REVIEW REQUIRED | |
| +| `notifications.subscribe` | Receive notifications on this device | 19 | Runtime; COPY REVIEW REQUIRED | |
| +| `notifications.unsubscribe` | Stop notifications on this device | 19 | Runtime; COPY REVIEW REQUIRED | |
| +| `notifications.cursor_expired` | This notification cursor expired. Fetch notifications without a cursor and check Needs you for open questions. | 19 | Runtime; COPY REVIEW REQUIRED | |
| +| `notifications.subscription_expired` | This notification subscription expired. Subscribe again with a current device credential. | 19 | Runtime; COPY REVIEW REQUIRED | |
| +| `device.list` | Your devices | 20 | Runtime; COPY REVIEW REQUIRED | |
| +| `device.last_used` | Last used | 20 | Runtime; COPY REVIEW REQUIRED | |
| +| `device.unused` | Not used yet | 20 | Runtime; COPY REVIEW REQUIRED | |
| +| `device.empty` | You have no approved devices. | 20 | Runtime; COPY REVIEW REQUIRED | |
| +| `device.revoked` | Device revoked | 20 | Runtime; COPY REVIEW REQUIRED | |
| +| `device.approved` | Device approved | 20 | Runtime; COPY REVIEW REQUIRED | |
| +| `roster.invalid_input` | Check the person, role and active state. | 20 | Runtime; COPY REVIEW REQUIRED | |
| +| `roster.forbidden` | Only a team owner can change the roster. Keep at least one owner. | 20 | Runtime; COPY REVIEW REQUIRED | |
| +| `roster.revision_conflict` | The roster changed or this person still owns project decisions. Check the roster and project owners before trying again. | 20 | Runtime; COPY REVIEW REQUIRED | |
| +| `budgets.invalid_input` | Use positive whole numbers for each limit and keep project limits within the team limits. | 20 | Runtime; COPY REVIEW REQUIRED | |
| +| `budgets.forbidden` | Only a team owner can view or change budgets. | 20 | Runtime; COPY REVIEW REQUIRED | |
| +| `budgets.revision_conflict` | The budgets changed. Fetch the current limits before trying again. | 20 | Runtime; COPY REVIEW REQUIRED | |
| +| `device.title` | Approve a device | 20 | Runtime; COPY REVIEW REQUIRED | |
| +| `device.label` | Device name | 20 | Runtime; COPY REVIEW REQUIRED | |
| +| `device.created` | Requested at | 20 | Runtime; COPY REVIEW REQUIRED | |
| +| `device.typed_code` | Type the code shown on your device | 20 | Runtime; COPY REVIEW REQUIRED | |
| +| `device.approve` | Approve device | 20 | Runtime; COPY REVIEW REQUIRED | |
| +| `device.expires` | Expires at | 20 | Runtime; COPY REVIEW REQUIRED | |
| +| `device.revoke` | Revoke device | 20 | Runtime; COPY REVIEW REQUIRED | |
| +| `api.device_expired` | This device request expired. Start again. | 20 | Runtime; COPY REVIEW REQUIRED | |
| +| `api.slow_down` | Wait before trying again. | 20 | Runtime; COPY REVIEW REQUIRED | |
| +| `api.authorization_pending` | Approve this device in your browser. | 20 | Runtime; COPY REVIEW REQUIRED | |
| +| `teams.title` | Teams | 18 | Runtime; COPY REVIEW REQUIRED | |
| +| `teams.add` | Remember a team | 18 | Runtime; COPY REVIEW REQUIRED | |
| +| `teams.forget` | Forget this link | 18 | Runtime; COPY REVIEW REQUIRED | |
| +| `teams.remembered` | Your remembered teams | 18 | Runtime; COPY REVIEW REQUIRED | |
| +| `teams.directory_help` | Add links to other Equipo instances you have signed in to. Only you can see this directory. Each instance has its own sign-in and membership. Links do not give access or share accounts. | 18 | Runtime; COPY REVIEW REQUIRED | |
| +| `teams.last_signin_unknown` | Last sign-in unknown | 18 | Runtime; COPY REVIEW REQUIRED | |
| +| `teams.last_signin` | Last signed in | 18 | Runtime; COPY REVIEW REQUIRED | |
| +| `teams.remote_unavailable` | Remote status unavailable | 18 | Runtime; COPY REVIEW REQUIRED | |
| +| `teams.counts_unknown` | Counts unavailable | 18 | Runtime; COPY REVIEW REQUIRED | |
| +| `teams.origin` | Instance address | 18 | Runtime; COPY REVIEW REQUIRED | |
| +| `teams.name` | Team name | 18 | Runtime; COPY REVIEW REQUIRED | |
| +| `teams.current` | Current team | 18 | Runtime; COPY REVIEW REQUIRED | |
| +| `teams.parent_task` | Task | 18 | Runtime; COPY REVIEW REQUIRED | |
| +| `account_setup.title` | Connect a model account | 17 | Runtime; COPY REVIEW REQUIRED | |
| +| `account_setup.label` | Account label | 17 | Runtime; COPY REVIEW REQUIRED | |
| +| `account_setup.runner` | Paired machine | 17 | Runtime; COPY REVIEW REQUIRED | |
| +| `account_setup.add` | Connect account | 17 | Runtime; COPY REVIEW REQUIRED | |
| +| `account_setup.dedicated` | Each account uses a new private home on your runner. | 17 | Runtime; COPY REVIEW REQUIRED | |
| +| `account_setup.browser` | Run this command on the paired machine. Open the official sign-in link there and paste the returned code only into that terminal. | 17 | Runtime; COPY REVIEW REQUIRED | |
| +| `account_setup.device` | Run this command on the paired machine. Follow the official CLI instructions to enter its device code in your browser. | 17 | Runtime; COPY REVIEW REQUIRED | |
| +| `account_setup.config` | Check the runner configuration and the selected provider model. | 17 | Runtime; COPY REVIEW REQUIRED | |
| +| `account_setup.network` | The instance could not be reached. Try again. | 17 | Runtime; COPY REVIEW REQUIRED | |
| +| `account_setup.invalid` | This setup ID is missing, expired, cancelled or belongs to another runner. Start a new setup. | 17 | Runtime; COPY REVIEW REQUIRED | |
| +| `account_setup.interrupted` | This sign-in was interrupted. Start a new setup. | 17 | Runtime; COPY REVIEW REQUIRED | |
| +| `account_setup.save_failed` | The account binding could not be saved. Check the runner configuration and start again. | 17 | Runtime; COPY REVIEW REQUIRED | |
| +| `account_setup.identity_failed` | The signed-in account could not be verified. Start a new setup. | 17 | Runtime; COPY REVIEW REQUIRED | |
| +| `account_setup.command` | equipo-runner account login --setup %s | 17 | Runtime; COPY REVIEW REQUIRED | |
| +| `account_setup.cancel` | Cancel sign-in | 17 | Runtime; COPY REVIEW REQUIRED | |
| +| `account_setup.pending` | Waiting for sign-in on your runner. | 17 | Runtime; COPY REVIEW REQUIRED | |
| +| `account_setup.waiting_report` | Waiting for the runner to report this account. | 17 | Runtime; COPY REVIEW REQUIRED | |
| +| `account_setup.connected` | Account connected. | 17 | Runtime; COPY REVIEW REQUIRED | |
| +| `account_setup.expired` | Sign-in expired. Start again. | 17 | Runtime; COPY REVIEW REQUIRED | |
| +| `account_setup.denied` | Sign-in was denied. | 17 | Runtime; COPY REVIEW REQUIRED | |
| +| `account_setup.cancelled` | Sign-in cancelled. | 17 | Runtime; COPY REVIEW REQUIRED | |
| +| `account_setup.unavailable` | This login flow is not available for the installed provider version. | 17 | Runtime; COPY REVIEW REQUIRED | |
| +| `onboarding.library` | Add specialists from the library | 17 | Runtime; COPY REVIEW REQUIRED | |
| +| `onboarding.start_task` | Read and recommend | 17 | Runtime; COPY REVIEW REQUIRED | |
| +| `onboarding.first_instructions` | Read the project material and recommend what to work on next. Cite the sources for each recommendation. Do not edit files, create a branch or publish changes. | 17 | Runtime; COPY REVIEW REQUIRED | |
| +| `onboarding.title` | Set up Equipo | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `onboarding.welcome` | Welcome | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `onboarding.account` | Choose a model account | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `onboarding.runner` | Set up your runner | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `onboarding.specialists` | Choose specialists | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `onboarding.first_task` | Choose a first task | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `onboarding.complete` | Setup complete | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `onboarding.choose` | Save choice | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `onboarding.continue` | Continue | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `onboarding.codex` | ChatGPT with Codex | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `onboarding.claude` | Claude | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `onboarding.account_pending` | Your choice is saved separately from sign-in. Sign in on your runner to finish connecting the account. | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `onboarding.own_machine` | Use your own Linux amd64 machine. The runner connects out to this team. | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `onboarding.pair` | Run the installer on your machine. Check or edit its machine label before enrolling. Type the code it prints into this browser, then confirm the label and request time. | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `onboarding.safe_first_task` | Start with a recommendation in your conversation. Ask what to work on next. | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `onboarding.hosted` | Hosted by Equipo | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `onboarding.later` | Hosted runners are coming later. | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `onboarding.mac` | Mac runner | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `onboarding.mac_later` | Mac runners are coming later. You can use a Linux runner from your Mac. | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `runner.requested` | Requested at | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `runner.install.unavailable` | Runner installation is unavailable. | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `runner.install.platform` | This release supports Linux amd64 runners only. | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `runner.install.release` | A certified, versioned runner release is not available. | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `runner.install.checksum` | The runner download did not match the release checksum. | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `runner.install.destination` | Choose a private, writable installation folder inside your home. | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `runner.install.scratch` | Set TMPDIR to a private scratch folder on disk. | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `runner.install.busy` | Another installation is using this folder. Try again when it finishes. | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `runner.install.bwrap` | This runner requires the certified bubblewrap 0.11.0 build. | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `runner.install.userns` | Unprivileged user namespaces are unavailable on this machine. | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `runner.install.apparmor` | AppArmor restricts unprivileged user namespaces on this machine. Runner installation is unavailable. | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `runner.install.pidfd` | This machine could not provide the process handles needed for containment. | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `runner.install.namespace` | The release containment probe failed. Runner installation is unavailable. | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `runner.install.service` | A working user service manager is required for this runner. | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `runner.install.lingering` | Equipo could not check whether your user service continues after logout. | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `runner.install.stops_at_logout` | Runner stops at logout. | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `runner.install.installed` | Runner installed. | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `runner.install.config` | Configure the runner environment before enabling its user service. | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `runner.install.label` | Machine label [%s]: | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `runner.install.enrol` | Enrol this machine with this label? Type yes: | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `invite.welcome` | Join the team | 15 | Runtime; COPY REVIEW REQUIRED | |
| +| `invite.accept` | Accept invitation | 15 | Runtime; COPY REVIEW REQUIRED | |
| +| `invite.wrong_person` | Sign in with the address this invitation was sent to. | 15 | Runtime; COPY REVIEW REQUIRED | |
| +| `invite.signin` | Sign in to verify your address and return to this invitation. | 15 | Runtime; COPY REVIEW REQUIRED | |
| +| `invite.verify` | Sign in | 15 | Runtime; COPY REVIEW REQUIRED | |
| +| `invite.create` | Invite a person | 15 | Runtime; COPY REVIEW REQUIRED | |
| +| `invite.share` | Save and share this link with the invited person. It expires after seven days and is shown only once. | 15 | Runtime; COPY REVIEW REQUIRED | |
| +| `invite.pending` | Pending invitations | 15 | Runtime; COPY REVIEW REQUIRED | |
| +| `invite.share_unavailable` | This link was already shown. Revoke this invitation and create a new one if you need another link. | 15 | Runtime; COPY REVIEW REQUIRED | |
| +| `invite.revoke` | Revoke invitation | 15 | Runtime; COPY REVIEW REQUIRED | |
| +| `specialists.new` | New specialist | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `specialists.name` | Name | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `specialists.icon` | Icon | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `specialists.instructions` | Standing instructions | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `specialists.models` | Allowed models | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `specialists.tools` | Allowed tools | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `specialists.projects` | Projects | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `specialists.required` | Required specialist | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `specialists.archive` | Archive specialist | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `specialists.edit` | Edit specialist | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `specialists.archived` | Archived | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `specialists.unavailable` | Execution is unavailable until the tool profile is certified. | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `playbooks.all_projects` | All projects | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `playbooks.all_kinds` | All compatible task kinds | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `playbooks.archive` | Archive playbook | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `task.kind.bug` | Bug | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `task.kind.feature` | Feature | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `task.kind.rendered_change` | Website change | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `task.kind.investigation` | Investigation | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `playbooks.title` | Playbooks | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `playbooks.new` | New playbook | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `playbooks.default` | Default playbook | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `playbooks.kind` | Task kind | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `playbooks.steps` | Steps | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `playbooks.used` | Tasks using this playbook | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `playbooks.suggested` | Suggested playbook | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `playbooks.save_suggestion` | Save playbook suggestion | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `playbooks.update_available` | Review template changes | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.playbook_bug.name` | Bug | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.playbook_bug.description` | Reproduce a bug, fix it and prepare a reviewed change. | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.playbook_bug.instructions` | Reproduce the reported problem before making a repository change. | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.playbook_website.name` | Website change | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.playbook_website.description` | Prepare copy and design changes for a person to review. | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.playbook_website.instructions` | Prepare the website design change for review and rendered approval. | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.playbook_infra.name` | Infra change | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.playbook_infra.description` | Prepare infrastructure code changes in the repository. Production operations are excluded. | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.playbook_infra.instructions` | Plan repository changes only. Do not change production infrastructure, deploy or run production operations. | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.playbook_investigation.name` | Investigation | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.playbook_investigation.description` | Research a problem and stop for a person to decide what happens next. | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.playbook_investigation.instructions` | Research the problem using supplied project material. Stop at the person checkpoint before planning any publishing work. | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.playbook_blank.name` | Blank playbook | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.playbook_blank.description` | Start with independent review, checks and a person at the end. | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.playbook_blank.instructions` | Review the repository change independently before checks and a person decision. | 13 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.title` | Template library | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.install` | Add to team | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.diff` | Compare template | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.apply` | Apply selected fields | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.old` | Installed template | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.current` | Your copy | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.suggested` | Suggested values | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.version` | Template version | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.group.quality` | Quality | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.group.safety` | Safety | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.group.running` | Running things | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.group.words` | Words and reach | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.qa.name` | QA and testing | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.qa.description` | Find gaps in tests and check behaviour against the requirements. | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.qa.instructions` | Check the requirements and existing tests. Report gaps with evidence and propose tests. Do not treat a model response as test evidence. | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.accessibility.name` | Accessibility | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.accessibility.description` | Check whether people can use the interface with different access needs. | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.accessibility.instructions` | Check semantics, keyboard use and accessible names. Describe the evidence and any checks that still need a person. | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.performance.name` | Performance | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.performance.description` | Find slow paths and propose measured improvements. | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.performance.instructions` | Use supplied measurements to identify slow paths. Explain uncertainty and propose repeatable checks before recommending changes. | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.security.name` | Security | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.security.description` | Review code and project material for security risks. | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.security.instructions` | Review the supplied code and material for security risks. Cite evidence. Do not access systems or credentials outside the task. | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.privacy.name` | Privacy | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.privacy.description` | Review how the project handles personal information. | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.privacy.instructions` | Identify personal information in the supplied project material. Propose ways to limit collection and access without inspecting private records. | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.ops.name` | Ops | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.ops.description` | Review operational plans and suggest reliable ways to run the project. | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.ops.instructions` | Review supplied operational material and propose checks. Do not change infrastructure, deploy, spend money or move funds. | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.data.name` | Data | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.data.description` | Review data definitions and propose checks for data quality. | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.data.instructions` | Review supplied data definitions and propose quality checks. Do not access live private data, change infrastructure, spend money or move funds. | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.support.name` | Support | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.support.description` | Use project material to investigate reported problems. | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.support.instructions` | Investigate reported problems using supplied project material. Cite sources and prepare suggestions for a person. Do not contact customers. | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.docs.name` | Docs | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.docs.description` | Help people understand and use the project. | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.docs.instructions` | Check supplied documentation against project behaviour. Propose clear instructions and examples, with evidence for technical claims. | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.localisation.name` | Localisation | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.localisation.description` | Review language and regional conventions. | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.localisation.instructions` | Review supplied text for language and regional conventions. Preserve meaning and identify wording that needs a fluent speaker to review. | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.seo.name` | SEO | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.seo.description` | Review how people can find and understand published pages. | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.seo.instructions` | Review supplied pages and metadata. Propose clear descriptions and useful structure. Do not publish changes or promise search rankings. | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.blank.name` | Blank specialist | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.blank.description` | Start with your own name and standing instructions. | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `templates.blank.instructions` | Follow the task instructions within the team and project permissions. Ask a person when evidence or authority is missing. | 12 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.connection` | Connection | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.current_selection` | Current selection | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.unselected` | Choose later | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.action.scope` | Define scope | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `conversation.title` | Conversation | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `conversation.empty` | Start a conversation with your coordinator. | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `conversation.composer` | Message your coordinator | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `conversation.send` | Send message | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `conversation.queued` | Message queued | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `conversation.offline` | Live updates are paused. Reload to see changes. | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `conversation.thread_link` | About this task | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `conversation.thread_reply` | Reply about this task | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `conversation.route_confirmation` | Add this reply to a task | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `conversation.private` | Only you can read this conversation. | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `conversation.shared_thread` | Everyone on the team can read this discussion. | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `conversation.coordinator` | Coordinator | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `conversation.more` | More messages | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `coordinator.settings` | Your coordinator | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `coordinator.limits` | Coordinator limits | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `coordinator.waiting_label` | Waiting for | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.revision` | Revision | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.approved` | Approved | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.required_step` | Required step | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.position` | Order | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.instructions` | Instructions | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.model` | Model | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.reason` | Reason for this choice | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.remove_step` | Remove step | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.add_step` | Add a step | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.step_key` | Step name | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.specialist` | Specialist | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.action` | Action | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.approval_settings` | Plan approval | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.personal_override` | Your approval setting | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.custom` | Custom plan | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `question.choose` | Choose an answer | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `question.reply` | Your reply | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `question.superseded` | Replaced by a newer question | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `question.cancelled` | Cancelled | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `settings.landing` | Open this page when you sign in | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.action.reproduce` | Reproduce | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.action.implement` | Implement | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.action.review` | Independent review | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.action.checks` | Run checks | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.action.publish` | Publish review branch | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.action.person` | Person approval | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.action.investigate` | Investigate | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.action.recommend` | Recommend | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.action.copy` | Write copy | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.action.design` | Design | 9 | Runtime; COPY REVIEW REQUIRED | |
| +| `preferences.title` | Preferences | 8 | Runtime; COPY REVIEW REQUIRED | |
| +| `preferences.confirmed` | Confirmed | 8 | Runtime; COPY REVIEW REQUIRED | |
| +| `preferences.inferred` | Inferred | 8 | Runtime; COPY REVIEW REQUIRED | |
| +| `preferences.source` | Source message | 8 | Runtime; COPY REVIEW REQUIRED | |
| +| `preferences.confirm` | Confirm | 8 | Runtime; COPY REVIEW REQUIRED | |
| +| `preferences.correct` | Correct | 8 | Runtime; COPY REVIEW REQUIRED | |
| +| `preferences.delete` | Delete | 8 | Runtime; COPY REVIEW REQUIRED | |
| +| `preferences.team_rule` | Team rules take precedence. Preferences guide instructions but cannot grant approval, spending or account access. | 8 | Runtime; COPY REVIEW REQUIRED | |
| +| `preferences.source_unavailable` | Source message unavailable | 8 | Runtime; COPY REVIEW REQUIRED | |
| +| `coordinator.tool.read_project` | Read the project material this connection may use. | 6 | Runtime; COPY REVIEW REQUIRED | |
| +| `coordinator.tool.read_task` | Read a task in an allowed project. | 6 | Runtime; COPY REVIEW REQUIRED | |
| +| `coordinator.tool.propose_plan` | Propose a plan for the current message. Ask which project if it is unclear. | 6 | Runtime; COPY REVIEW REQUIRED | |
| +| `coordinator.tool.ask_person` | Ask your person a question for a later turn. | 6 | Runtime; COPY REVIEW REQUIRED | |
| +| `coordinator.tool.route_to_task` | Link the current message to a task requested by your person. | 6 | Runtime; COPY REVIEW REQUIRED | |
| +| `coordinator.tool.post_message` | Post a message with references to its sources. | 6 | Runtime; COPY REVIEW REQUIRED | |
| +| `coordinator.tool.suggest_preference` | Suggest a preference for your person to review. | 6 | Runtime; COPY REVIEW REQUIRED | |
| +| `coordinator.tool.suggest_specialist` | Suggest a specialist for your person to review. | 6 | Runtime; COPY REVIEW REQUIRED | |
| +| `coordinator.tool.suggest_playbook` | Suggest a playbook for your person to review. | 6 | Runtime; COPY REVIEW REQUIRED | |
| +| `coordinator.project_question` | Which project is this for? | 6 | Runtime; COPY REVIEW REQUIRED | |
| +| `conversation.routed` | Reply added to the task thread. | 1 | Runtime; COPY REVIEW REQUIRED | |
| +| `runner.requested_format` | 2 Jan 2006, 15:04 UTC | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `runner.waiting_accounts` | Waiting for a model account. | 16 | Runtime; COPY REVIEW REQUIRED | |
| +| `coordinator.connection` | Coordinator connection | 5 | Runtime; COPY REVIEW REQUIRED | |
| +| `coordinator.unavailable` | Your coordinator is unavailable. | 5 | Runtime; COPY REVIEW REQUIRED | |
| +| `coordinator.budget_needed` | Ask a team owner to set coordinator limits. | 5 | Runtime; COPY REVIEW REQUIRED | |
| +| `coordinator.queued` | Waiting for your coordinator | 5 | Runtime; COPY REVIEW REQUIRED | |
| +| `coordinator.uncertain` | This turn was interrupted. Its result is unknown. | 5 | Runtime; COPY REVIEW REQUIRED | |
| +| `coordinator.retry` | Try this turn again | 5 | Runtime; COPY REVIEW REQUIRED | |
| +| `coordinator.reset` | Reset coordinator | 5 | Runtime; COPY REVIEW REQUIRED | |
| +| `coordinator.waiting_connection` | Waiting for your connection | 5 | Runtime; COPY REVIEW REQUIRED | |
| +| `coordinator.waiting_task` | Waiting for %s | 7 | Runtime; COPY REVIEW REQUIRED | |
| +| `coordinator.context_unavailable` | Your coordinator can no longer use a source for this request. Reset your coordinator or retry after access is restored. | 7 | Runtime; COPY REVIEW REQUIRED | |
| +| `coordinator.context_limit` | The required context is too long for this turn. Reset your coordinator or retry. | 7 | Runtime; COPY REVIEW REQUIRED | |
| +| `tool.acceptance` | Submit acceptance tests for the requested behaviour. Encode file bytes as base64. Reuse the request ID only for an identical retry. | 4 | Runtime; COPY REVIEW REQUIRED | |
| +| `tool.answer` | Submit an answer with references to the supplied source snapshots. Reuse the request ID only for an identical retry. | 4 | Runtime; COPY REVIEW REQUIRED | |
| +| `tool.render` | Request a trusted render of the submitted candidate commit. Reuse the request ID only for an identical retry. | 4 | Runtime; COPY REVIEW REQUIRED | |
| +| `evidence.acceptance` | Acceptance tests | 3 | Runtime; COPY REVIEW REQUIRED | |
| +| `evidence.frozen` | Acceptance tests are frozen. | 3 | Runtime; COPY REVIEW REQUIRED | |
| +| `evidence.render_approval` | Review the change | 3 | Runtime; COPY REVIEW REQUIRED | |
| +| `evidence.sources` | Sources | 3 | Runtime; COPY REVIEW REQUIRED | |
| +| `evidence.answer_delivered` | Answer delivered | 3 | Runtime; COPY REVIEW REQUIRED | |
| +| `evidence.missing_sources` | Add sources for this answer. | 3 | Runtime; COPY REVIEW REQUIRED | |
| +| `evidence.awaiting_person` | Waiting for the decision owner | 3 | Runtime; COPY REVIEW REQUIRED | |
| +| `evidence.candidate_changed` | The change has been updated. Review it again. | 3 | Runtime; COPY REVIEW REQUIRED | |
| +| `evidence.approve` | Approve this change | 3 | Runtime; COPY REVIEW REQUIRED | |
| +| `evidence.render_aid` | Approve the changes below. Use the image to help review them. | 3 | Runtime; COPY REVIEW REQUIRED | |
| +| `evidence.before` | Before | 3 | Runtime; COPY REVIEW REQUIRED | |
| +| `evidence.after` | After | 3 | Runtime; COPY REVIEW REQUIRED | |
| +| `evidence.approved` | Approved | 3 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.proposed` | Proposed plan | 2 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.edit` | Edit plan | 2 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.approve` | Approve plan | 2 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.immediate` | Start straight away | 2 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.required` | Wait for approval | 2 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.inherit` | Use the project setting | 2 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.locked_step` | This step has started and cannot be changed. | 2 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.revision_conflict` | The plan has changed. Open the latest version. | 2 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.project` | Project | 2 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.correct_project` | Correct project | 2 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.replacement` | Replacement task | 2 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.investigation_checkpoint` | Review the findings before planning more work. | 2 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.playbook` | Playbook | 2 | Runtime; COPY REVIEW REQUIRED | |
| +| `plan.changes` | Plan changes | 2 | Runtime; COPY REVIEW REQUIRED | |
| +| `task.state.proposed` | Proposed | 2 | Runtime; COPY REVIEW REQUIRED | |
| +| `connections.add` | Add a connection | 14 | Runtime; COPY REVIEW REQUIRED | |
| +| `connections.label` | Connection label | 14 | Runtime; COPY REVIEW REQUIRED | |
| +| `connections.remaining_unknown` | Remaining allowance is unknown. | 14 | Runtime; COPY REVIEW REQUIRED | |
| +| `connections.counted_usage` | Usage counted by Equipo | 14 | Runtime; COPY REVIEW REQUIRED | |
| +| `connections.best_fit` | Best fit for this step | 14 | Runtime; COPY REVIEW REQUIRED | |
| +| `connections.pinned` | Use the pinned connection | 14 | Runtime; COPY REVIEW REQUIRED | |
| +| `connections.ask` | Confirm this step’s connection | 14 | Runtime; COPY REVIEW REQUIRED | |
| +| `connections.reason` | Selection reason | 14 | Runtime; COPY REVIEW REQUIRED | |
| +| `connections.second_family` | Enable a connection from another model family for review. | 14 | Runtime; COPY REVIEW REQUIRED | |
| +| `connections.selection_changed` | The selection changed. Confirm it again. | 14 | Runtime; COPY REVIEW REQUIRED | |
| +| `connections.reason_best_fit` | First eligible choice in a stable order. Remaining allowance is unknown. | 14 | Runtime; COPY REVIEW REQUIRED | |
| +| `connections.reason_headroom` | Selected using reported remaining allowance. | 14 | Runtime; COPY REVIEW REQUIRED | |
| +| `connections.reason_alternative` | Keeps the coordinator connection free for conversation. | 14 | Runtime; COPY REVIEW REQUIRED | |
| +| `connections.reason_pinned` | Uses your pinned connection within the required model family. | 14 | Runtime; COPY REVIEW REQUIRED | |
| +| `connections.reason_proposed` | Uses the proposed connection after checking your allowed choices. | 14 | Runtime; COPY REVIEW REQUIRED | |
| +| `connections.reason_confirmed` | You confirmed this connection and model for this step. | 14 | Runtime; COPY REVIEW REQUIRED | |
| +| `api.unauthenticated` | Sign in to continue. | 10 | Runtime; COPY REVIEW REQUIRED | |
| +| `api.forbidden` | You cannot do that with your current access. | 10 | Runtime; COPY REVIEW REQUIRED | |
| +| `api.not_found` | This item is not available. | 10 | Runtime; COPY REVIEW REQUIRED | |
| +| `api.method_not_allowed` | This action is not available here. | 10 | Runtime; COPY REVIEW REQUIRED | |
| +| `api.precondition_required` | Send the request key and current revision. | 10 | Runtime; COPY REVIEW REQUIRED | |
| +| `api.revision_conflict` | This item changed. Fetch its current revision and try again. | 10 | Runtime; COPY REVIEW REQUIRED | |
| +| `api.invalid_input` | Check the request fields and try again. | 10 | Runtime; COPY REVIEW REQUIRED | |
| +| `api.cursor_expired` | This page link expired. Fetch the list again. | 10 | Runtime; COPY REVIEW REQUIRED | |
| +| `api.unavailable` | This information is unavailable. Try again later. | 10 | Runtime; COPY REVIEW REQUIRED | |
| +| `copyConversationCursorExpired` | This conversation page has expired. Open the conversation again. | 1 | Runtime constant; COPY REVIEW REQUIRED | |
| +| `copyInviteExpired` | This invitation is no longer valid. Ask a team owner for a new one. | 15 | Runtime constant; COPY REVIEW REQUIRED | |
| +| `docs/api/equipo-v1.md / Draft: pending copy review` | # Draft: pending copy review<br><br>Use Equipo's person API to build a client for one team's instance. The contract is in [equipo-v1.openapi.json](equipo-v1.openapi.json). Responses use JSON, timestamps use UTC, and IDs are opaque unless a field is explicitly an integer.<br><br>For a signed-in browser on the instance, fetch `/api/v1/me` to check your identity. Fetch `/api/v1/conversation` to read your conversation. Send a message with `POST /api/v1/conversation/messages`, an `Idempotency-Key` header, and this body:<br><br>```json<br>{"body":"What should we investigate next?"}<br>``` | 11, 20; notifications 19 | Document section; COPY REVIEW REQUIRED | |
| +| `docs/api/equipo-v1.md / Sign in a device` | ## Sign in a device<br><br>Generate an Ed25519 key pair on the initiating device. Keep the private key there. Send its public key as unpadded base64url to `POST /api/v1/auth/devices`, with a device label and a fresh `Idempotency-Key`:<br><br>```json<br>{"public_key":"<base64url public key>","label":"My phone"}<br>```<br><br>Keep `device_secret` private. Display `user_code` on the initiating device and open `verification_uri` in a browser. The signed-in person checks the device name and request time, then types the code from the initiating device. Opening the link does not approve anything. Approval requires a browser session; a bearer cannot approve another device.<br><br>The challenge lasts ten minutes. Decode its `challenge` field from base64url to a JSON array whose first element is the instance ID. Generate a fresh random nonce with at least 128 bits of entropy. Sign the UTF-8 encoding of this compact JSON array with Ed25519:<br><br>```json<br>["equipo.person.device.v1","<instance ID>","<challenge ID>","<challenge>","<nonce>"]<br>```<br><br>Submit `id`, `device_secret`, `challenge`, `nonce`, and the unpadded base64url `signature` to `POST /api/v1/auth/devices/exchange`. Supply an `Idempotency-Key`. Poll no more often than every five seconds. A pending approval returns `409 authorization_pending`; throttling returns `429 slow_down`. Start again after `410 device_expired`.<br><br>A successful exchange returns a bearer with audience `equipo.person.v1` and a thirty-day expiry. Use `Authorization: Bearer <token>` on person API requests. If the exchange response is lost, resend the same proof and nonce. For ten minutes after exchange, Equipo can return the same encrypted saved result. A different nonce cannot obtain another credential.<br><br>Read your devices with `GET /api/v1/auth/devices`. Revoke one with `DELETE /api/v1/auth/devices/{id}`, an empty JSON object, its current revision in `If-Match`, and a fresh request key. Revocation takes effect immediately. Removing a member or changing their session epoch also invalidates their credentials. Runner and provider credentials cannot authenticate a person. | 11, 20; notifications 19 | Document section; COPY REVIEW REQUIRED | |
| +| `docs/api/equipo-v1.md / Browser requests and invitation acceptance` | ## Browser requests and invitation acceptance<br><br>Browser writes need the verified session cookie and evidence that the request came from the instance's own origin. Equipo checks Origin, Referer and browser fetch metadata. Bearer requests must omit cookies. Cross-origin browser requests are rejected even if they carry a bearer.<br><br>A verified invitation recipient can read their invitation and post its secret to `/api/v1/invites/{id}/accept` before joining the roster. That session cannot read other team resources until acceptance succeeds. Owners can create, inspect and revoke invitations. The share link is returned only by invitation creation and its authorized replay. | 11, 20; notifications 19 | Document section; COPY REVIEW REQUIRED | |
| +| `docs/api/equipo-v1.md / Retry writes and handle revisions` | ## Retry writes and handle revisions<br><br>Every mutation needs an `Idempotency-Key` of 1–256 bytes. Resource updates also need `If-Match: "<revision>"`. Use the revision returned by GET, and retain the original key, body and revision until the result is known. Retrying identical input returns the saved result after current access is checked. Reusing a key for changed input conflicts.<br><br>A stale revision returns `409 revision_conflict`, with `current_revision` when the resource is visible. Fetch the current value before making a new decision. Missing preconditions return 428. Invalid fields return 422. Missing identity returns 401; denied access returns 403; unavailable or private resources return 404. Query or runner unavailability returns 503.<br><br>Project settings use one ETag for the combined settings visible to you. PATCH with an `action` of `approval`, `default_playbook`, or `rules`. Personal settings permit the `approval` action, including an empty approval mode to inherit the team setting. Connection choices have their own `connections_revision` in the settings response; use it for `PUT /projects/{id}/connections`. Owner roster entries and device list entries likewise carry their own resource revisions. Budgets use revision zero until configured.<br><br>Mutations accept at most 64 KiB of JSON, and message text at most 16 KiB. Unknown fields, duplicate keys, null mutation fields and trailing JSON are rejected. Use the explicit input schema for each operation. When editing an installed playbook, retain its template reference. | 11, 20; notifications 19 | Document section; COPY REVIEW REQUIRED | |
| +| `docs/api/equipo-v1.md / Read lists and private setup state` | ## Read lists and private setup state<br><br>Lists default to fifty items and accept `limit` from 1 to 100. Pass the returned `next_cursor` back to the same route with the same identity. Cursors expire after twenty-four hours. They cannot be moved between people, routes or instances. Inserts may appear on later pages; deleted resources are not repeated from a saved snapshot. On 410, fetch the list again without a cursor.<br><br>Treat null counts, usage and allowance as unknown. They are not zero. Personal responses use `Cache-Control: no-store`. Keep your own conversation, device secrets and bearer credentials out of shared caches and logs.<br><br>Account setup responses contain only `id`, `state`, `mode`, and `command`. Run the command at the runner terminal to complete supported provider sign-in. The instance does not return credential-home paths or provider login codes. Connection revocation stops future use and requests containment of dependent work; it does not delete local credential files. Remembered team links grant no access to another instance. | 11, 20; notifications 19 | Document section; COPY REVIEW REQUIRED | |
| +| `docs/api/equipo-v1.md / Reconnect and answer questions` | ## Reconnect and answer questions<br><br>After reconnecting, fetch the conversation, needs-you list and any open task again. Reconcile by resource ID and revision. Browser sessions can use the existing live invalidation stream to prompt these reads. This API does not provide a native bearer event stream or mobile push delivery.<br><br>Fetch `/questions/{id}` before answering. A clarification accepts `kind: "clarification"` with `option_id` or `text`. A native permission question accepts `kind: "native"`, `behavior`, and only the `updated_input` shape permitted by that question. Post to `/questions/{id}/answer` using its original request revision and current person authentication. A notification action is never authentication. A cancelled, expired or superseded question cannot accept a new answer.<br><br>Subscribe with `POST /api/v1/notification-subscriptions`, a fresh request key, and `{"device_id":"<your device ID>"}`. Use the returned `cursor` for `GET /api/v1/notifications?cursor=<cursor>`. Each subscription has its own delivery and acknowledgement state. A bearer can use only its bound device. A browser session can manage its own devices.<br><br>Keep polling with `next_cursor`, including after an empty page. Delivery may repeat; deduplicate by notification `id`. A notification contains only its kind, resource ID, resource revision, time, state and instance-relative link. For `question`, fetch `/api/v1/questions/{resource_id}`; for `task_ready`, fetch `/api/v1/tasks/{resource_id}`; for `card`, fetch `/api/v1/cards/{resource_id}`. An `interrupted` event links to the affected task or conversation; fetch that current view before retrying work. `superseded` means the event no longer represents current work. Acknowledgement never answers a question or approves work.<br><br>After receiving an event, post `{"notification_id":"<notification ID>"}` to `/api/v1/notification-subscriptions/{id}/ack` with a request key and the subscription revision in `If-Match`. Save the returned revision. Retry a lost acknowledgement with its original key, body and revision. Only delivered events can be acknowledged. An out-of-order acknowledgement is saved, but the subscription cursor advances only after all earlier recipient events are acknowledged. Another device keeps its unread state.<br><br>Subscriptions expire after thirty days or when their device credential expires, whichever comes first. Polling and acknowledgements do not renew them. Device revocation or roster removal disables them immediately. On `410 subscription_expired`, subscribe explicitly with a current credential and a new request key. On `410 cursor_expired`, fetch notifications without a cursor and check the conversation and Needs you for open questions. Start a replacement subscription to receive those events on a device again.<br><br>Acknowledged history is kept for at least thirty days. Cleanup preserves current questions and entries unread by an active subscription. Notifications without a subscription cursor provide a private snapshot but do not record delivery to a device. To unsubscribe, send an empty JSON object to `DELETE /api/v1/notification-subscriptions/{id}` with its current revision and a request key.<br><br>Web clients can follow the private Rastrillo notification topic through the browser session. Its name is `notifications/` followed by the lowercase SHA-256 hex digest of compact JSON `[team_id,address,subscription_id]`. Pass that topic with `@0` in the existing `/live?t=` protocol. Each stream write checks the current roster, device and subscription deadline. External mobile push delivery is not implemented. | 11, 20; notifications 19 | Document section; COPY REVIEW REQUIRED | |
| +| `docs/plan-3-acceptance.md / Draft: pending copy review` | # Draft: pending copy review<br><br>Plan 3a adds a private coordinator conversation, shared task threads, editable<br>plans, sourced recommendations and personal preferences. Tasks 1–11 cover the 3a offline stop. Tasks 12–21 add invitations, runner/account<br>setup, specialist and playbook copies, remembered teams, device authentication<br>and a private notification feed. Production use still needs reviewed copy and certification<br>with Paul's dedicated provider accounts.<br><br>For the offline gate, run these commands from the `plan-3` checkout with on-disk<br>`TMPDIR` and the default Go caches:<br><br>```bash<br>CGO_ENABLED=0 go test ./internal/plan3test \<br> -run 'TestCoordinatorAcceptance3[AB]|TestCoordinatorRelease|TestPlan3ReleaseBoundaries|TestPlan3Upgrade|TestPersonAPIContractCoverage' -count=1<br>CGO_ENABLED=0 go build ./cmd/equipo ./cmd/equipo-runner<br>make migration-check<br>make budget<br>staticcheck ./...<br>go vet ./...<br>```<br><br>Use the pinned `go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 ./...` invocation<br>if staticcheck is not installed. The controller runs `make ci` once before final<br>review. Individual task runs use targeted tests.<br><br>The acceptance test uses two fixture browser identities, loopback HTTP, the<br>runner service, durable capture and journal, and fake provider frames. It covers<br>bug, feature and recommendation proposals, editing, approval, project correction,<br>questions, routed replies, preference privacy, cancellation and interrupted-turn<br>recovery. The companion runner graph tests use local Git, fake providers and the<br>fake forge to check exact-candidate evidence, independent-family review,<br>publication readback and the wait for a person. These fixtures establish offline<br>behavior only.<br><br>The browser-session person API uses `/api/v1`. Fetch the current revision before<br>editing. Send it as `If-Match` and use an `Idempotency-Key` for a mutation. Retry<br>an identical request with the same key after a lost response. A different edit<br>needs a new key and the current revision. Plan 3b also accepts revocable person-device bearers. They never authenticate<br>as a runner and cannot approve another device. See [the API schema](api/equipo-v1.openapi.json).<br><br>List cursors are opaque and scoped to the person and stream. They expire after<br>24 hours. Tasks, journey, actionable work, cards and preferences use the latest<br>stored resource audit time, newest first, then ID to break ties. People use<br>address order. Conversation and thread messages use their stored sequence.<br>Changes can move an item ahead of an existing cursor; start again to see the<br>latest order. Lists read current authorized data and never carry stored copies<br>of private content in a cursor.<br><br>A contained uncertain coordinator turn waits for your choice. Retrying creates<br>new admitted work; resetting advances the coordinator generation. A refused<br>recovery does not make that choice for you. Cancellation and reset still need<br>containment before they can release a running account.<br><br>Before live use, review every pending entry in the controller report's<br>`Plan 3 copy inventory (for Paul's review)`, then follow<br>[the live scripts and checklists](superpowers/plans/LIVE-GATE-plan-3.md).<br>Record the offline result, copy-review result and live certification separately.<br>Keep release eligibility off until all three are complete. Equipo publishes<br>review branches and waits for the decision owner; you merge manually.<br><br><br>COPY REVIEW REQUIRED. The 3b acceptance path uses fake official CLIs on disk,<br>temporary dedicated homes, actual pairing proofs, runner HTTP and application<br>transactions. It connects two same-provider accounts and an independent review<br>family, edits copied templates, chooses a project default, approves a feature<br>plan and answers a question with a device token. Separate runner fixtures use<br>local Git, trusted checks and a fake forge. Installation fixtures test missing<br>containment prerequisites, unsupported platforms and the stops-at-logout state.<br>These are layered tests, not a real-provider certification or one continuous<br>browser-to-merge run.<br><br>Upgrade tests start at schema 0018 with active tasks, historical evidence,<br>reservations, recovery charges and decision ownership, and at the end of 3a<br>with private conversation and preference data. They compare retained columns,<br>check the current schema and reopen the database and execution core twice.<br><br>The release check refuses pending runtime copy, the API guide, acceptance and<br>live instructions, and the consolidated inventory containing the onboarding<br>mockup proposals. No pending entry is treated as reviewed. The manifest still<br>needs exact live policy certificates and the supported terminal login evidence.<br>Paul and a teammate run section 3b separately after review and certification.<br>The controller runs `make ci` once; Task 21 runs the named tests, build, migration,<br>budget, vet, pinned staticcheck and the previously skipped `equipotest` package. | 11, 21 | Document section; COPY REVIEW REQUIRED | |
| +| `docs/superpowers/plans/LIVE-GATE-plan-3.md / 3a` | ## 3a<br><br>Paul runs this gate after the controller has reviewed the offline results and<br>copy. Task 11 did not run it. Keep the release disabled until the reviewed live<br>bundle and the usable checks below pass. Fixtures cannot certify a production<br>provider, model, account or policy.<br><br>Use Linux/amd64, the enrolled runner, Paul's existing dedicated Equipo Claude<br>and Codex homes, and a disposable repository. Use the configuration and identity<br>file shapes in [the direct live guide](../../live-gate.md). Supply actual account<br>IDs, home IDs, model names, auth hosts, executable paths and machine fingerprint.<br>Do not copy interactive credentials, create a shared login, or put credentials<br>in the evidence. This pass needs no new sign-in or enrolment.<br><br>Before running:<br><br>- Finish the Plan 2b release gate. Its checked-in manifest still has no certified<br> tuples, binary digests or evidence references. A passing fixture is insufficient.<br>- Review the `3a copy inventory` in `CONTROLLER-REPORT-plan-3.md`, the API schema<br> prose and both Task 11 draft documents. Leave pending entries marked until Paul<br> approves them through the controller's review channel.<br>- Select `.equipo/checks.json` and a small reproducible defect in the disposable<br> repository. Record its default branch and starting commit. Record an acceptance<br> test for a small feature and a project document to cite in a recommendation.<br>- Confirm separate, positive call, input-token, output-token and duration limits<br> in the private `DirectLiveConfig`. Record job funding and remaining project/team<br> headroom. Set `Seconds` to at most 3600 for this run. Stop when the chosen bound<br> is reached. Never raise it automatically. The verifier calculates twice the<br> measured maximum, rounded up to 1,000, and checks the 23-reservation job floor.<br>- Confirm that `EQUIPO_LIVE_CONFIG` names that private file, `disposable` is true,<br> both selected homes belong to Paul, and `evidence_dir` is a new empty directory<br> outside scratch. Preserve that directory after the run. Configure the required<br> sentinels and protected paths from the direct live guide.<br>- Export the reviewed runner path variables from the direct live guide. Choose<br> the intended installation paths for `EQUIPO_TOOL_PROXY_PATH` and<br> `EQUIPO_RUNNER_EXECUTABLE`; they must not overwrite a running installation.<br> Certification binds the constructed policy and installed binaries.<br><br>Run this script from the reviewed `plan-3` checkout. It uses the existing<br>`directlive` driver once and verifies all five groups, including both coordinator<br>profiles. It does not enable instance execution or promote a manifest.<br><br>```bash<br>#!/usr/bin/env bash<br>set -euo pipefail<br>umask 077<br>: "${TMPDIR:?Set on-disk TMPDIR}"<br>: "${EQUIPO_LIVE_CONFIG:?Set the reviewed private config file}"<br>: "${EQUIPO_CLAUDE_PATH:?Set the pinned Claude executable}"<br>: "${EQUIPO_CODEX_PATH:?Set the pinned Codex executable}"<br>: "${EQUIPO_CODEX_CODE_MODE_HOST_PATH:?Set the pinned code-mode host}"<br>: "${EQUIPO_BWRAP_PATH:?Set bubblewrap 0.11.0}"<br>: "${EQUIPO_TOOL_PROXY_PATH:?Set the intended helper installation path}"<br>: "${EQUIPO_RUNNER_EXECUTABLE:?Set the intended runner installation path}"<br>: "${EQUIPO_RUNNER_STATE_DIR:?Set private runner state}"<br>: "${EQUIPO_ACCOUNT_BINDINGS_PATH:?Set private account bindings}"<br>: "${EQUIPO_AMADAN_CREDENTIAL_PATH:?Set the private forge credential path}"<br>: "${EQUIPO_WORKSPACE_ROOT:?Set the workspace root}"<br>: "${EQUIPO_SCRATCH_ROOT:?Set on-disk runner scratch}"<br><br>python3 - <<'PY'<br>import json, os<br>from pathlib import Path<br>c = json.loads(Path(os.environ['EQUIPO_LIVE_CONFIG']).read_text())<br>assert c['disposable'] is True<br>assert 0 < c['funding']['Seconds'] <= 3600<br>assert {b['binding']['Provider'] for b in c['bindings']} == {'claude', 'codex'}<br>evidence = Path(c['evidence_dir'])<br>assert evidence.is_absolute() and evidence.is_dir() and not any(evidence.iterdir())<br>assert Path(c['repository'], '.git').is_dir()<br>PY<br><br>read -r -p 'Type LIVE DISPOSABLE ONLY: ' equipo_confirmation<br>[[ "$equipo_confirmation" == 'LIVE DISPOSABLE ONLY' ]]<br>read -r -p 'Type RUN LIVE GATE: ' equipo_confirmation<br>[[ "$equipo_confirmation" == 'RUN LIVE GATE' ]]<br><br>CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath -buildvcs=false \<br> -ldflags '-s -w' -o "$EQUIPO_TOOL_PROXY_PATH" ./cmd/equipo-tool-proxy<br>CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -tags direct_live -trimpath \<br> -buildvcs=false -ldflags '-s -w' -o "$EQUIPO_RUNNER_EXECUTABLE" ./cmd/equipo-runner<br>EQUIPO_LIVE_DIRECT=1 CGO_ENABLED=0 go test -tags direct_live \<br> ./internal/runner/provider \<br> -run '^TestDirectLive(Contract|Isolation|Recovery|Calibration|Coordinator)$' \<br> -count=1 -timeout=70m<br>```<br><br>The bounded driver runs the Engineering implementation and reproduction, Review,<br>legacy Product, Scope, Research, Investigation, Copy, Design and Coordinator<br>profiles for Claude. It runs the same profiles except legacy Product for Codex.<br>This covers the new executable actions `scope`, `recommend`, `investigate`,<br>`copy`, `design` and `coordinate`, as well as the changed policies for existing<br>actions. `research` shares the Research profile. Every configured model needs its<br>own reviewed run and fresh evidence directory.<br><br>For each exact tuple, retain the configuration hash, provider/launcher/bwrap<br>versions, policy hash, executable digests, account and home identity, model,<br>tool inventory, sanitized captures, bounded usage and funding, and the<br>`index.json` and per-tuple `certification.json` files. Every assertion must name<br>an artifact and its digest. Missing observations stay uncertified. Check refresh,<br>readback, durable replay, no automatic redispatch, active cancellation and absence<br>of surviving descendants. A failure in one tuple cannot authorize it through a<br>passing tuple from the other provider.<br><br>The Codex coordinator profile includes three inert MCP resource tools by<br>controller ruling, Amadan discussion 7: `list_mcp_resources`,<br>`list_mcp_resource_templates`, and `read_mcp_resource`. Its only MCP server<br>exposes no resources. Require those tools plus the scoped Equipo coordinator<br>tools, with no shell, file, search, image or delegation capability. Claude has no<br>native-tool exception. Record an actual structured question and its answer for<br>both coordinator profiles.<br><br>The current `ManifestCandidate` deliberately excludes coordinator-only evidence.<br>Do not treat its specialist candidate as coordinator release approval. The<br>controller must review complete coordinator evidence and the release promotion<br>path before removing the corresponding `uncertified_policies` entries. Keep<br>`ActionCertified` false for any pending action. No handwritten certificate or<br>fixture digest can replace live evidence.<br><br>After certification and human release approval, Paul installs a versioned release<br>and explicitly enables execution for the disposable instance. Use two fixture<br>people in separate browser sessions and manual personal connection choices:<br><br>| Check | Paul does | Expected evidence |<br>| --- | --- | --- |<br>| Bug | Send “Fix the failing test in the disposable project.” Choose the project when asked, inspect and approve the plan. | One task and thread, frozen reproduction, candidate commit, review from a family independent of every retained builder, checks on that exact candidate, review-branch head and description readback. |<br>| Feature | Send “Add the small feature described in the acceptance document.” Edit a future step and correct the project before it starts. Approve the current plan. | Revision conflict for a stale edit, unchanged started steps, frozen acceptance, exact candidate review/checks, publication readback. |<br>| Recommendation | Send “Recommend one improvement and cite the project document.” Choose one permitted family. | One answer with source IDs, revisions and content hashes. No branch or pretend software-fix evidence. |<br>| Question and thread | Answer a current question, then explicitly route a private reply to the task thread. Read it as the other person. | One answer effect, one routed reply, shared discussion visible to both, private history and preferences isolated. |<br>| Preference | Confirm, correct and delete a preference, then start a fresh turn. | Only the current confirmed value enters instructions. Team rules and authority remain unchanged. |<br>| Interrupted turn | Stop the runner during one admitted coordinator turn, then restart it. | No duplicate task, turn, tool effect or delivery. Unknown usage remains charged. A contained uncertain turn blocks its queue until Paul explicitly chooses retry or reset. |<br>| Cancel | Cancel active work, wait for containment, then inspect its state. | Cancellation acknowledgement, no new work for the cancelled attempt, no surviving process or retained account lease. |<br>| Manual merge | Inspect the published branch, diff, review and checks. Merge it personally, then acknowledge the merge in Equipo. | The app waits for the decision owner. Before Paul's merge the default branch has not moved. Record the merge commit and acknowledgement. |<br><br>Record the run ID, release commit/version, task IDs, plan revisions, actual<br>provider families and accounts, candidate/review/check hashes, readback records,<br>question and cancellation outcomes, and Paul's merge reference in the controller<br>report. Stop the disposable instance and runner, verify that their children have<br>exited, and remove only scratch created for this run. Preserve the private evidence<br>bundle and the dedicated homes. Do not publish secrets or sign-in links. | 11, 17, 21 | Document section; COPY REVIEW REQUIRED | |
| +| `docs/superpowers/plans/LIVE-GATE-plan-3.md / Install and pair a runner` | ### Install and pair a runner<br><br>COPY REVIEW REQUIRED. Not run by Task 21. Paul and a teammate each run this<br>checklist with their own browser session, runner state and dedicated provider<br>accounts. Record two separate results. Neither person uses the other<br>person's bearer, account homes or saved bindings.<br><br>Before installing, the controller reviews the branch, the complete Plan 3 copy<br>inventory and the 3a policy evidence above. Both versioned release targets must<br>pass `copy-release-check` and `direct-release-check`. Empty certificates or any<br>remaining uncertified policy block this gate. Use Linux/amd64 for each runner<br>and Linux/arm64 for the instance. Mac is a browser client only; hosted and Mac<br>runner choices must have no launch action. No release was prepared by Task 21.<br><br>The owner creates an invitation for the teammate. The teammate verifies that<br>email address and accepts it. Choose a provider in onboarding, close the browser,<br>then reopen onboarding. The saved stage and provider must remain. Ask the owner<br>to assign the disposable project's work decision to the person running this<br>exercise, its merge decision to the person who will merge, and explicit bounded<br>team/project/coordinator budgets. Stop if the instance cannot report a budget.<br><br>On each Linux runner, use the generated installation command from onboarding.<br>For an auditable local copy, these are its equivalent steps. Fill in the reviewed<br>immutable release, HTTPS origin and instance ID; do not use `latest` or `dev`.<br>The bootstrap needs curl, Python 3 and sha256sum. The configured provider,<br>code-mode host, bubblewrap, Go, Git and Amadan executables must match the release<br>and its pinned checks. Keep their explicit path settings in the terminal.<br><br>```bash<br>set -euo pipefail<br>umask 077<br>: "${TMPDIR:?Set on-disk scratch}"<br>: "${EQUIPO_ORIGIN:?Set the reviewed HTTPS instance origin}"<br>: "${EQUIPO_INSTANCE_ID:?Copy the instance ID from onboarding}"<br>: "${EQUIPO_RELEASE_VERSION:?Set the reviewed immutable release}"<br>equipo_gate_dir=$(mktemp -d "$TMPDIR/equipo-3b-install-XXXXXXXX")<br>trap 'rm -rf "$equipo_gate_dir"' EXIT<br>curl --fail --silent --show-error --proto '=https' --tlsv1.2 \<br> "$EQUIPO_ORIGIN/releases/$EQUIPO_RELEASE_VERSION/install-v1.sh" \<br> -o "$equipo_gate_dir/install-v1.sh"<br>sh "$equipo_gate_dir/install-v1.sh" \<br> "$EQUIPO_ORIGIN" "$EQUIPO_RELEASE_VERSION" "$EQUIPO_INSTANCE_ID"<br>```<br><br>Check or edit the actual machine label at the terminal, then type `yes` to enrol.<br>Type the code printed by the runner into the signed-in pairing page. Check the<br>returned machine label and server request time before approving. Opening a link<br>with a code in its query must not prefill or approve it. The runner consumes its<br>one-use proof and saves its own credential. Keep that credential private.<br><br>Collect the release version/digests, architecture, actual label and pairing time,<br>plus these outcomes:<br><br>- A missing namespace prerequisite or AppArmor restriction fails containment<br> preflight before service enablement. Record the diagnostic, correct the host<br> configuration through its administrator, and rerun. Do not use an unconfined<br> fallback. Do not deliberately alter a shared host to manufacture this failure.<br>- `systemctl --user status equipo-runner.service` reports the installed release.<br> With lingering disabled, onboarding and the terminal report that the runner<br> stops at logout. They must not promise persistent service. If persistence is<br> needed, the host administrator enables it separately.<br>- Before login, the runner remains paired but has no usable account. Reopening<br> onboarding must distinguish pairing from account availability. | 11, 17, 21 | Document section; COPY REVIEW REQUIRED | |
| +| `docs/superpowers/plans/LIVE-GATE-plan-3.md / Terminal account login` | ### Terminal account login<br><br>Draft instructions, COPY REVIEW REQUIRED. Paul runs this gate only after explicitly<br>choosing to use dedicated accounts. Task 17 now supplies the production terminal<br>driver and binding/report wiring. No implementation flag or login-output parser<br>is needed to enable it. Missing CLI capability or a version mismatch returns<br>unavailable. These offline tests do not certify real sign-in or callback behavior.<br><br>The pins must agree in `internal/runner/provider/login_terminal.go`, the existing<br>Claude/Codex adapters, and the connected-result check in<br>`internal/equipo/setup/accounts.go` (the review's line 286): Claude Code **2.1.312**<br>and Codex **0.165.0**. Changing a pin needs a new reviewed release and certification.<br>Claude's exact login argv is `claude auth login`, recorded in<br>`docs/live-gate.md:75`. Codex's `codex login --device-auth` comes from the Plan 3<br>supported-setup ruling and the Task 17 fix-round dispatch. The driver checks<br>`--version` and the selected login command with `--help` before login. It does not<br>parse the login output, assume a sign-in address or extract a code.<br><br>On the paired Linux/amd64 runner, use the installed private `runner.env`. For a<br>custom install root, set `EQUIPO_RUNNER_ROOT` to that root. Keep the configured<br>`EQUIPO_CLAUDE_PATH`, `EQUIPO_CODEX_PATH` and `EQUIPO_ACCOUNT_BINDINGS_PATH` values.<br>Set an exact model for each new binding using `EQUIPO_CLAUDE_MODEL` or<br>`EQUIPO_CODEX_MODEL`; these are explicit configuration, not inferred from login.<br>Choose the same model intended for the later certified connection report.<br><br>For Claude, choose Claude and the paired machine on `/onboarding`, label the<br>account, then copy the setup ID into this terminal command:<br><br>```sh<br>EQUIPO_RUNNER_ROOT=/ABSOLUTE/INSTALL/ROOT EQUIPO_CLAUDE_MODEL=EXACT_CLAUDE_MODEL equipo-runner account login --setup CLAUDE_SETUP_ID<br>```<br><br>For Codex, request a separate Codex setup and run:<br><br>```sh<br>EQUIPO_RUNNER_ROOT=/ABSOLUTE/INSTALL/ROOT EQUIPO_CODEX_MODEL=EXACT_CODEX_MODEL equipo-runner account login --setup CODEX_SETUP_ID<br>```<br><br>Replace the uppercase placeholders before running. Each command allocates a<br>fresh 0700 home. Claude receives `CLAUDE_CONFIG_DIR` and<br>`CLAUDE_SECURESTORAGE_CONFIG_DIR`; Codex receives `CODEX_HOME`. These match the<br>Plan 2b dedicated-home environment in `provider/policy.go` and `docs/live-gate.md`.<br>`HOME` and the working directory also point at the new home. Provider API keys<br>and interactive configuration are not inherited.<br><br>Follow the official CLI's instructions on the terminal. For Codex, enter its<br>device code in its official browser page. For headless Claude, open the official<br>link on another device and enter any returned code only in the same runner<br>terminal. Equipo passes stdin/stdout/stderr directly through and never receives<br>that code as a form, argument, event or instance challenge. Confirm the provider's<br>browser account yourself. Identity readback is trust on first use, not remote<br>identity attestation.<br><br>Check this evidence for each provider:<br><br>1. The browser shows the matching setup ID and changes from pending to connected<br> only after CLI exit 0, local identity readback, `OpenAccount` preflight and a<br> saved account binding. Claude uses `auth status --json`; Codex uses app-server<br> `account/read`, reusing the Plan 2b identity checks. Verify the observed account<br> and model in the private bindings file. Do not publish the file or home path.<br>2. Repeat with a second labeled account of the same provider. Homes and home IDs<br> differ. Neither login replaces the first binding. The service later discovers<br> both bindings; execution still needs ordinary certification and connection<br> reports. Unknown allowance remains unknown.<br>3. Cancel with Ctrl-C while the CLI waits. It receives SIGINT, exits, the setup is<br> cancelled and its unsaved home is removed. Also test instance-side cancel,<br> expiry, nonzero CLI exit, wrong setup ID and a failed identity readback. None<br> may connect. A CLI that ignores SIGINT is killed after the two-second grace.<br>4. Interrupt the connection after local Save. The command retries the same report<br> three times without repeating identity-marker creation or Save. If still<br> pending, rerun the same command before setup expiry: it verifies the saved<br> binding and retries only the report. It must not start another CLI login.<br> A crash before Save remains uncertain and requires a new setup.<br>5. Confirm that any listener opened by the official CLI binds loopback and closes<br> on success, cancellation and expiry. Equipo starts no callback listener. A<br> non-loopback or surviving listener is a release blocker; record the observed<br> pinned behavior rather than inventing a callback contract.<br>6. Inspect sanitized instance requests/responses, forms, logs, runner journal and<br> audit records. They must contain no credentials, return codes, device links or<br> codes, provider polling IDs or credential-home paths. Retain only versions,<br> setup state, verified account identity and the sanitized check outcomes.<br><br>The production driver is covered by fake CLIs on PATH and pipe terminal fixtures;<br>the existing pseudo-terminal tests remain. Real headless exchange, listener<br>ownership and same-provider live refresh remain Paul's live-gate evidence. Copy<br>still requires review before release. Stop the disposable gate processes and<br>remove only scratch created for the exercise, retaining the chosen dedicated<br>account homes and private evidence. | 11, 17, 21 | Document section; COPY REVIEW REQUIRED | |
| +| `docs/superpowers/plans/LIVE-GATE-plan-3.md / Recommendation, feature and human merge` | ### Recommendation, feature and human merge<br><br>COPY REVIEW REQUIRED. Continue only after both required provider logins succeed<br>and the ordinary runner report certifies their exact execution tuples. A failed<br>required login blocks release; a pending or unavailable result is not a pass.<br>Use the three labeled connections from the terminal checklist: two accounts of<br>one provider and one account from the other review family.<br><br>1. Open the specialist library, install QA version 1, edit its name and<br> instructions, and inspect the offered template diff. Reload: the saved copy<br> must retain the edits. Install a publication playbook, edit a future step,<br> and have the owner choose it as the disposable project's default. Inspect<br> another template diff without accepting it; no saved version may change.<br>2. Remember another team's HTTPS link. Open Teams on desktop and phone, follow<br> the link, and return. The link grants no access. An unreachable team retains<br> an unknown count. The current team remains available.<br>3. Select the safe first task in onboarding. Ask: "Recommend one small<br> improvement from acceptance.md and cite the source. Do not change files."<br> Confirm that the resulting plan contains research and a person, with no<br> publication step. Record one delivered answer and its source ID, revision and<br> hash. The repository and remote refs remain unchanged. One provider family<br> is sufficient for this read-only recommendation.<br>4. Create `acceptance.md` in the disposable repository through the normal human<br> workflow. Describe one small feature, a bounded acceptance test and explicit<br> exclusions. Request that feature in the conversation. Inspect the selected<br> project's plan, copied playbook revision, each specialist, model, labeled<br> personal account and selection reason. Choose the second same-provider<br> account for an unstarted builder step. Confirm that no other person's<br> connection is offered. Keep independent review, checks and a person at the<br> end. Attempts to remove any of those three steps must fail.<br>5. Approve the current plan. Use the device procedure below to answer its current<br> question. For each started step, record the actual account and model. Changing<br> a preference while it runs must not switch the active account. Require frozen<br> acceptance evidence that fails on base and passes on the exact candidate,<br> review from a family different from every retained builder, trusted checks<br> on that candidate, and review-branch head and description readback.<br>6. Before merging, inspect Journey and Needs you. Usage and allowance must remain<br> unknown if unobserved. Record the candidate, review and checks hashes, branch<br> head and description digest. Verify that the default branch has not moved and<br> that Equipo waits for the decision owner. That person reviews and merges<br> through Amadan, then acknowledges the merge in Equipo. Record the actual<br> merge commit and acknowledgement. Equipo must neither merge nor deploy.<br>7. Refresh after each result and replay one lost successful request with its same<br> idempotency key, body and revision. Each task/question effect has one durable<br> recipient notification. A notification prompts a resource fetch; it cannot<br> grant approval or answer a question. Repeat the whole exercise as the<br> teammate, retaining separate task IDs and account evidence. | 11, 17, 21 | Document section; COPY REVIEW REQUIRED | |
| +| `docs/superpowers/plans/LIVE-GATE-plan-3.md / Device token answer` | ### Device token answer<br><br>COPY REVIEW REQUIRED. Run this on the initiating device, with OpenSSL supporting<br>Ed25519 and Python 3. It creates only a short-lived client key and private API<br>response files. The provider credential homes remain on the Linux runner. Do not<br>copy tokens into a shared report or turn on shell tracing.<br><br>```bash<br>set -euo pipefail<br>umask 077<br>: "${TMPDIR:?Set on-disk scratch}"<br>: "${EQUIPO_ORIGIN:?Set the reviewed HTTPS instance origin}"<br>equipo_device_dir=$(mktemp -d "$TMPDIR/equipo-3b-device-XXXXXXXX")<br>trap 'rm -rf "$equipo_device_dir"' EXIT<br>openssl genpkey -algorithm ED25519 -out "$equipo_device_dir/key.pem"<br>openssl pkey -in "$equipo_device_dir/key.pem" -pubout -outform DER \<br> -out "$equipo_device_dir/public.der"<br>python3 - "$equipo_device_dir" <<'PYDEVICE'<br>import base64, json, pathlib, sys<br>p = pathlib.Path(sys.argv[1])<br>key = base64.urlsafe_b64encode((p/'public.der').read_bytes()[-32:]).decode().rstrip('=')<br>(p/'begin.json').write_text(json.dumps({'public_key': key, 'label': '3b acceptance device'}))<br>PYDEVICE<br>curl --fail-with-body --silent --show-error \<br> -H 'Content-Type: application/json' -H "Idempotency-Key: device-$(openssl rand -hex 16)" \<br> --data-binary @"$equipo_device_dir/begin.json" \<br> "$EQUIPO_ORIGIN/api/v1/auth/devices" -o "$equipo_device_dir/challenge.json"<br>python3 - "$equipo_device_dir" <<'PYDEVICE'<br>import json, pathlib, sys<br>c = json.loads((pathlib.Path(sys.argv[1])/'challenge.json').read_text())<br>print('Open the verification URI in your own signed-in browser:', c['verification_uri'])<br>print('Type this code on that page:', c['user_code'])<br>PYDEVICE<br>read -r -p 'After checking the label/time and approving, press Enter: ' equipo_device_confirm<br>python3 - "$equipo_device_dir" <<'PYDEVICE'<br>import base64, json, pathlib, secrets, sys<br>p = pathlib.Path(sys.argv[1]); c = json.loads((p/'challenge.json').read_text())<br>instance = json.loads(base64.urlsafe_b64decode(c['challenge']+'==='))[0]<br>proof = {k: c[k] for k in ('id', 'device_secret', 'challenge')}<br>proof['nonce'] = secrets.token_hex(16)<br>message = ['equipo.person.device.v1', instance, proof['id'], proof['challenge'], proof['nonce']]<br>(p/'proof.json').write_text(json.dumps(proof))<br>(p/'message').write_bytes(json.dumps(message, separators=(',', ':')).encode())<br>PYDEVICE<br>openssl pkeyutl -sign -rawin -inkey "$equipo_device_dir/key.pem" \<br> -in "$equipo_device_dir/message" -out "$equipo_device_dir/signature"<br>python3 - "$equipo_device_dir" <<'PYDEVICE'<br>import base64, json, pathlib, sys<br>p = pathlib.Path(sys.argv[1]); proof = json.loads((p/'proof.json').read_text())<br>proof['signature'] = base64.urlsafe_b64encode((p/'signature').read_bytes()).decode().rstrip('=')<br>(p/'proof.json').write_text(json.dumps(proof))<br>PYDEVICE<br>curl --fail-with-body --silent --show-error \<br> -H 'Content-Type: application/json' -H 'Idempotency-Key: acceptance-exchange' \<br> --data-binary @"$equipo_device_dir/proof.json" \<br> "$EQUIPO_ORIGIN/api/v1/auth/devices/exchange" -o "$equipo_device_dir/credential.json"<br>python3 - "$equipo_device_dir" <<'PYDEVICE'<br>import json, pathlib, sys<br>p = pathlib.Path(sys.argv[1]); c = json.loads((p/'credential.json').read_text())<br>assert c['audience'] == 'equipo.person.v1'<br>(p/'headers').write_text('Authorization: Bearer '+c['token']+'\nContent-Type: application/json\n')<br>(p/'subscribe.json').write_text(json.dumps({'device_id': c['id']}))<br>PYDEVICE<br>curl --fail-with-body --silent --show-error -H @"$equipo_device_dir/headers" \<br> -H 'Idempotency-Key: acceptance-subscribe' --data-binary @"$equipo_device_dir/subscribe.json" \<br> "$EQUIPO_ORIGIN/api/v1/notification-subscriptions" -o "$equipo_device_dir/subscription.json"<br>read -r -p 'Current question ID from your notification/resource link: ' equipo_question_id<br>curl --fail-with-body --silent --show-error -H @"$equipo_device_dir/headers" \<br> -D "$equipo_device_dir/question.headers" \<br> "$EQUIPO_ORIGIN/api/v1/questions/$equipo_question_id" -o "$equipo_device_dir/question.json"<br>```<br><br>Read the private `question.json` locally. Create `answer.json` in that directory<br>with the answer you chose. For a free-text clarification it has the shape<br>`{"kind":"clarification","text":"Keep the change within acceptance.md."}`.<br>For native permission, use only the behavior and updated-input fields allowed<br>by this fetched question. Do not turn a clarification into a native grant.<br>Then send the answer and deliberately replay it:<br><br>```bash<br>equipo_question_etag=$(python3 - "$equipo_device_dir/question.headers" <<'PYDEVICE'<br>import pathlib, sys<br>headers = pathlib.Path(sys.argv[1]).read_text().splitlines()<br>print(next(h.split(':', 1)[1].strip() for h in headers if h.lower().startswith('etag:')))<br>PYDEVICE<br>)<br>for equipo_answer_attempt in 1 2; do<br> curl --fail-with-body --silent --show-error -H @"$equipo_device_dir/headers" \<br> -H "If-Match: $equipo_question_etag" -H 'Idempotency-Key: acceptance-answer' \<br> --data-binary @"$equipo_device_dir/answer.json" \<br> "$EQUIPO_ORIGIN/api/v1/questions/$equipo_question_id/answer" \<br> -o "$equipo_device_dir/answer-$equipo_answer_attempt.json"<br>done<br>cmp "$equipo_device_dir/answer-1.json" "$equipo_device_dir/answer-2.json"<br>```<br><br>Use the API guide's notification polling and acknowledgement procedure. Retain<br>only notification/resource IDs, revisions and expiry times in the report.<br>Confirm one answer audit effect and one question notification despite replay.<br>Check subscription `expires_at`: it must be no later than the device deadline<br>or thirty days from creation. Polling and acknowledging must not extend it.<br>The exact expiry boundary is covered offline; do not edit live database times<br>to simulate thirty days. Revoke this device in the browser's Devices page, then<br>repeat a bearer GET: it must return 401 and its subscription must stop. Remove<br>only this exercise's client scratch when finished. | 11, 17, 21 | Document section; COPY REVIEW REQUIRED | |
| +| `docs/superpowers/plans/LIVE-GATE-plan-3.md / Evidence and cleanup` | ### Evidence and cleanup<br><br>For each person, append a dated pass/fail record with release version and commit,<br>architecture, install/preflight/lingering result, sanitized login version and<br>identity outcomes, template/playbook revisions, task/plan IDs, personal selection<br>IDs, frozen acceptance and candidate hashes, independent review/checks evidence,<br>publication readback, device/subscription deadlines, duplicate-effect counts,<br>and the human merge reference. Record failures and unavailable paths as such.<br>The controller checks both records against the release's exact certificates.<br>Fixture success cannot replace either person's record. No Plan 4 coordinator<br>settlement, CARLOS signals, hosted runner or mobile push pass is claimed.<br><br>Stop the disposable instance and each user service when the exercise ends:<br>`systemctl --user stop equipo-runner.service`. Verify that all runner/provider<br>children and any CLI listener have exited. Retain the private evidence and<br>chosen dedicated homes; remove only owned scratch. Execution remains off until<br>Paul explicitly enables the approved versioned release. | 11, 17, 21 | Document section; COPY REVIEW REQUIRED | |
| +| `docs/mockups/onboarding.html / Intro promising hosted and Mac enrolment` | From an invitation to a first recommendation. Choose a model account, set up a Linux runner, choose specialists, then ask for a recommendation. | 16 | Proposal only; COPY REVIEW REQUIRED | |
| +| `docs/mockups/onboarding.html / Account stage with an invented Claude device URL/code` | Choose Claude or ChatGPT now. Sign in on the runner in the next step. | 16 | Proposal only; COPY REVIEW REQUIRED | |
| +| `docs/mockups/onboarding.html / Provider sign-in instructions` | Codex uses supported device sign-in. Claude uses official browser sign-in. On a headless machine, enter any returned code only in the runner terminal. | 16 | Proposal only; COPY REVIEW REQUIRED | |
| +| `docs/mockups/onboarding.html / Hosted option and Quickest badge` | Hosted by Equipo. Hosted runners are coming later. Remove the launch action and Quickest badge. | 16 | Proposal only; COPY REVIEW REQUIRED | |
| +| `docs/mockups/onboarding.html / Own-machine option` | Use your own Linux amd64 machine. The runner connects out to this team. | 16 | Proposal only; COPY REVIEW REQUIRED | |
| +| `docs/mockups/onboarding.html / Add this Mac heading` | Set up your Linux runner | 16 | Proposal only; COPY REVIEW REQUIRED | |
| +| `docs/mockups/onboarding.html / Unversioned installer command` | Show the generated HTTPS command for the immutable release version only when its certified assets are available. | 16 | Proposal only; COPY REVIEW REQUIRED | |
| +| `docs/mockups/onboarding.html / Browser-generated pairing code` | Run the installer on your machine. Check or edit its machine label before enrolling. Type the code it prints into this browser, then confirm the label and request time. | 16 | Proposal only; COPY REVIEW REQUIRED | |
| +| `docs/mockups/onboarding.html / Installed example naming paul-mbp` | Render the actual machine label and server request time. Do not claim installation from a displayed code. | 16 | Proposal only; COPY REVIEW REQUIRED | |
| +| `docs/mockups/onboarding.html / Mac app enrolment note` | Mac runners are coming later. You can use a Linux runner from your Mac. | 16 | Proposal only; COPY REVIEW REQUIRED | |
| +| `docs/mockups/onboarding.html / Persistence after logout` | Runner stops at logout. Show this when user lingering is disabled. | 16 | Proposal only; COPY REVIEW REQUIRED | |
| +| `docs/mockups/onboarding.html / Account progress during runner setup` | Your choice is saved separately from sign-in. Sign in on your runner to finish connecting the account. | 16 | Proposal only; COPY REVIEW REQUIRED | |
| +| `docs/mockups/onboarding.html / Safe first task` | Start with a recommendation in your conversation. Ask what to work on next. | 16 | Proposal only; COPY REVIEW REQUIRED | |
| +| `docs/mockups/onboarding.html / actual time` | 4 Nov 2026, 10:00 UTC | 16 | Proposal only; COPY REVIEW REQUIRED | |
| +| `docs/mockups/onboarding.html / paired without account` | Waiting for a model account. | 16 | Proposal only; COPY REVIEW REQUIRED | |
| + |
| +## Task 21 |
| + |
| +Status: DONE_WITH_CONCERNS. Offline 3b acceptance, the complete person API contract |
| +and upgrade/reopen coverage are implemented. Release remains blocked by pending |
| +copy and live policy/login evidence. No live provider run, sign-in, enrolment, |
| +merge, push, deployment, other agent or copy-review server was used. The task |
| +changes no runtime wording and does not prepare a release. |
| + |
| +### Acceptance and release checks |
| + |
| +`TestCoordinatorAcceptance3B` has three layers. The onboarding layer accepts a |
| +new member's invitation through the person API, reopens the application after |
| +welcome, and replays the lost response. It pairs that person's Linux fixture |
| +runner through browser inspection, typed code and a signed one-use exchange. |
| +Three account setup IDs cross the real runner HTTP client and handler. Fake |
| +executables implement the pinned official Claude and Codex terminal protocols; |
| +the production login driver performs identity readback, dedicated-home creation, |
| +account preflight and completion reporting. Two Claude accounts and one Codex |
| +account retain three separate 0700 homes, HomeIDs and connection IDs. The Save |
| +callback records bindings in the fixture; the Task 17 command tests separately |
| +cover the installed command and binding-file persistence. Login creates no |
| +journal event and no credential or home path appears in the tested person API |
| +projection or audit record IDs. |
| + |
| +The path proves that login alone does not satisfy runner availability. It then |
| +supplies explicit fixture connection reports and isolation tuples, installs and |
| +edits QA and a feature playbook through HTTP, checks that template-diff reads do |
| +not overwrite either copy, selects a project default, and grants the new member |
| +the project's work decision. Approval retains required review/checks/person |
| +steps and its replay produces one audit effect. The task uses that person's |
| +logged-in account identities; the fixture owner's connections remain separate. |
| +The same browser remembers another team's link and checks the unavailable Mac |
| +and hosted choices. A sibling acceptance layer delivers a sourced recommendation |
| +through the real application/core mutation path, including rollback and replay. |
| +The device layer fetches a current native question, answers through a real |
| +exchanged person bearer, repeats the answer once, checks one audit effect and |
| +stable outbox count, and refuses an expired subscription. |
| + |
| +This is layered offline acceptance. The separate targeted runner tests exercise |
| +local Git, frozen acceptance, trusted checks, exact candidate review, fake forge |
| +publication and the wait for a person. Installation fixtures cover a failed |
| +containment preflight, unsupported OS/architecture and lingering-off logout |
| +status; command tests cover the actual interactive subcommand. These are not a |
| +single uninterrupted browser-to-forge exercise or evidence of real login. |
| + |
| +`TestPlan3ReleaseBoundaries` checks the production copy gate independently for |
| +runtime copy, API guide, acceptance guide, live checklist and consolidated |
| +inventory, including missing files and the draft marker. Its inventory check |
| +compares every new/changed runtime string with merged Plan 2b baseline `ff73f89` |
| +and the exact current table text, and requires every API section and the mockup |
| +proposals. It also checks uncertified policy refusal, exact login version and |
| +command capability, unsupported runner targets, mandatory publication steps, |
| +rejection of automatic merge/deploy actions and all 97 registered/OpenAPI |
| +operations. Missing API operations now produce an explicit assertion rather |
| +than a type-assertion panic. |
| + |
| +Added `scripts/plan3-copy-check.py` to the existing versioned release checker. |
| +Both release targets already depend on that checker. Pending documentation and |
| +mockup proposals now block release even if someone clears the runtime markers. |
| +The Makefile and `.amadan/ci` delegation are unchanged. |
| + |
| +### Upgrade coverage and regression repairs |
| + |
| +`TestPlan3Upgrade/0018` applies only migrations through 0018 before inserting |
| +active and historical tasks/jobs, steps, open and settled reservations, |
| +historical candidate evidence, recovery charges, answered approval data, |
| +decision ownership, roster and a framework session. It then applies 3a/3b, |
| +checks retained original columns and the two backfilled plans, and compares the |
| +schema with a fresh database. New system audit events may be appended; existing |
| +audit rows must remain byte-equivalent in their original columns. |
| + |
| +`TestPlan3Upgrade/0023` starts at the 3a boundary and also retains plan revisions, |
| +a private conversation/message and a confirmed preference. Both fixtures close |
| +and reopen the actual database, apply migrations twice without changes, open |
| +and close the shared execution core twice, and compare all retained rows again, |
| +including jobs. Framework tables remain in BootSchema. No migration changed. |
| + |
| +The first full `equipotest` run failed in 205.208s. Repairs preserve the assertions' |
| +meaning while correcting fixtures changed by Plan 3: |
| + |
| +- Historical schema fixtures used to omit one old migration while applying later |
| + notification triggers against missing tables. They now use true ordered |
| + migration prefixes and verify the exact remaining suffix, schema parity, |
| + preserved data and idempotence. The old direct-cutover fixture uses explicit |
| + historical roster rows and the standalone core API to prepare old execution |
| + records, before applying the new application schema. It sets a real task |
| + revision instead of NULL. |
| +- The repinning fixture claimed a completed implementation in its brief but left |
| + the assignment's step key as `prepare`. It now records `implement`, so the |
| + unchanged selection guard can find the actual completed builder. The |
| + independent review and retained pair assertions still run. |
| +- Private conversations no longer list every legacy task. Task-page coverage now |
| + asserts that such a task is absent from the private conversation while keeping |
| + task/journey/specialist projections. Empty conversation POST is an existing |
| + route with invalid input (422), not a missing route (404); it still creates no |
| + execution records. |
| +- The live query-failure fixture renames `jobs` instead of dropping it. This keeps |
| + notification triggers syntactically valid while the intended job lookup fails, |
| + and allows the later roster-removal assertion to execute. |
| +- The new real copy gate also exposed synthetic packaging fixtures that copied |
| + pending branch docs while mocking the old Go copy check. Those isolated |
| + fake-build trees now have synthetic reviewed-copy inputs. New packaging cases |
| + prove both targets reject pending Plan 3 guide copy and a missing inventory. |
| + The intermediate full run failed only these cases in 192.937s; the repaired |
| + packaging tests passed in 6.438s. No real release was built. |
| +- The exact dead-reference inventory contained a deleted pre-extraction file and |
| + had not classified newer setup/API/docs lines. Removed stale entries and |
| + classified the actual exact lines. No wildcard exemption or legacy execution |
| + path was added. Existing entry order and reasons are retained where possible. |
| + |
| +### Test-first evidence |
| + |
| +Before adding the copy checker, the required command |
| +`CGO_ENABLED=0 go test ./internal/plan3test -run 'TestCoordinatorAcceptance3B|TestPlan3ReleaseBoundaries' -count=1` |
| +failed with the missing production copy-check script. An earlier compile run |
| +caught a fixture referring to a nonexistent AccountSetup.Person field; the |
| +fixture now checks the actual RunnerID and authenticated connection ownership. |
| +Other fixture corrections included a private journal subdirectory, fetching |
| +current onboarding revisions, explicitly choosing a provider and proving |
| +availability, assigning the member's work decision, and the team-link `name` |
| +field. None of those development errors is claimed as a product defect. |
| + |
| +The first upgrade run caught fixture mistakes: collision with the migration's |
| +audit ID, an incorrect preference table name, and comparison against the new |
| +system audit event. These were corrected to preserve the intended history |
| +assertions. The real backfill behavior is separately demonstrated by mutation. |
| +The initial inventory assertion had the wrong table cell count; that was fixed |
| +before the final release checks. The previously failing regression package was |
| +run before any compatibility repair. |
| + |
| +### Verification |
| + |
| +All final normal gates below pass. Expected release refusals remain failures. |
| + |
| +| Command | Exit | Result | |
| +| --- | --- | --- | |
| +| `CGO_ENABLED=0 go test ./internal/plan3test -run 'TestCoordinatorAcceptance3B|TestPlan3ReleaseBoundaries|TestPlan3Upgrade' -count=1` | 0 | 3.452s after all assertions and guard restoration; strengthened reopen test also passed in 1.598s | |
| +| `CGO_ENABLED=0 go test ./internal/plan3test -run '^Test' -count=1` | 0 | 103.643s, all integration-package tests; 196.357s below the 300s budget | |
| +| `CGO_ENABLED=0 go test ./internal/runner ./internal/runner/setup ./internal/runner/provider ./internal/runner/containment ./internal/release ./cmd/equipo-runner -run '^Test(PlanWorkflowFeature|PlanWorkflowRecommendation|PlanWorkflowNoMidStepSwitchNamespaces|Onboarding.*|DirectContractRejectsUnknownVersion|EffectivePolicy.*|NamespaceDirectPolicy.*|NamespaceHelperProtocol.*|PlanWorkflowRelease.*|DirectReleaseDigests)$' -count=1` | 0 | runner 108.300s; setup 1.848s; provider 4.350s; containment 1.911s; release 0.120s; command 0.741s | |
| +| `CGO_ENABLED=0 go test ./internal/runner -run '^Test(PolicyHashIndependentOfReleaseManifest|CertifiedRefreshRuntimePolicy)$' -count=1` | 0 | 0.187s | |
| +| `CGO_ENABLED=0 go test ./internal/equipotest -count=1` | 0 | 196.468s, below the unchanged 300s budget | |
| +| `CGO_ENABLED=0 go test ./internal/equipotest -run '^Test(ReleaseStampContract|RunnerReleaseContractPackaging|DirectReleaseRequiresCertification)$' -count=1` | 0 | 6.438s, synthetic build/certification/copy fixtures only | |
| +| `CGO_ENABLED=0 go build ./cmd/equipo ./cmd/equipo-runner` | 0 | Both commands build | |
| +| `make migration-check` | 0 | TestMigrationModels, 0.173s | |
| +| `make budget` | 0 | 35 directories within budget | |
| +| `go vet ./...` | 0 | No findings | |
| +| `CGO_ENABLED=0 go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 ./...` | 0 | No findings | |
| +| `gofmt -l` on changed Go files; `git diff --check` | 0 | No output | |
| +| `bash -n` and Python AST parsing for live-gate snippets | 0 | Six shell blocks and seven Python snippets parsed; none executed | |
| +| `python3 scripts/runner-dead-references.py` | 0 | Exact tracked-text inventory passes | |
| +| `python3 scripts/plan3-copy-check.py` | 1, expected | Pending runtime/docs/inventory copy blocks release | |
| +| `python3 scripts/runner-release-check.py` | 1, expected | Unreviewed, uncertified branch cannot build a release | |
| +| `EQUIPO_RELEASE_COPY_CHECK=1 CGO_ENABLED=0 go test ./internal/equipotest -run '^TestReleaseCopyReviewed$' -count=1` | 1, expected | Runtime inventory still contains pending entries | |
| + |
| +No `make ci`, repository-wide test suite, live-tag test or provider login ran. |
| +The controller retains the single final `make ci` run. The integration timing |
| +was measured with the other targeted runner packages running concurrently. The |
| +final small inventory/reopen assertions were rerun after their additions. |
| + |
| +### Guard mutations |
| + |
| +Each guard was changed alone. Each command below exited 1 with a behavioral |
| +assertion, then the file was restored byte-for-byte in a Python `finally` block. |
| +All final targeted tests ran after restoration. The first copy mutations also |
| +exposed a subtest helper capturing its parent T; the helper now receives the |
| +current T, and those mutations were repeated with clean failures. The first |
| +missing-operation mutation exposed the API test panic; it too was repeated |
| +after the explicit missing-operation assertion was added. |
| + |
| +| Guard disabled | Command | Exit and assertion | Restoration | |
| +| --- | --- | --- | --- | |
| +| runner-OS | `CGO_ENABLED=0 go test ./internal/plan3test -run ^TestPlan3ReleaseBoundaries/certification$ -count=1` | 1: Unsupported darwin/arm64 runner certified. | Byte-for-byte | |
| +| login-version | `CGO_ENABLED=0 go test ./internal/plan3test -run ^TestPlan3ReleaseBoundaries/login_capability/claude/version$ -count=1` | 1: Wrong Claude login version accepted. | Byte-for-byte | |
| +| official-login-command | `CGO_ENABLED=0 go test ./internal/plan3test -run ^TestPlan3ReleaseBoundaries/login_capability/codex/command$ -count=1` | 1: Missing Codex device-auth command accepted. | Byte-for-byte | |
| +| mandatory-review | `CGO_ENABLED=0 go test ./internal/plan3test -run ^TestPlan3ReleaseBoundaries/publication$ -count=1` | 1: Publishing plan accepted without review. | Byte-for-byte | |
| +| subscription-deadline | `CGO_ENABLED=0 go test ./internal/plan3test -run ^TestCoordinatorAcceptance3B/device_answer$ -count=1` | 1: Expired subscription returned HTTP 200 instead of 410. | Byte-for-byte | |
| +| complete-copy-inventory | `CGO_ENABLED=0 go test ./internal/plan3test -run ^TestPlan3ReleaseBoundaries/inventory$ -count=1` | 1: account_setup.device omitted from the inventory. | Byte-for-byte | |
| +| historical-plan-backfill | `CGO_ENABLED=0 go test ./internal/plan3test -run ^TestPlan3Upgrade/0018$ -count=1` | 1: Historical task plans not backfilled. | Byte-for-byte | |
| +| pending-copy | `CGO_ENABLED=0 go test ./internal/plan3test -run ^TestPlan3ReleaseBoundaries/copy$ -count=1` | 1: Pending copy accepted by the production gate. | Byte-for-byte | |
| +| API-guide-copy | `CGO_ENABLED=0 go test ./internal/plan3test -run ^TestPlan3ReleaseBoundaries/copy$ -count=1` | 1: Pending/missing API guide accepted. | Byte-for-byte | |
| +| mockup-inventory-copy | `CGO_ENABLED=0 go test ./internal/plan3test -run ^TestPlan3ReleaseBoundaries/copy$ -count=1` | 1: Pending consolidated inventory accepted. | Byte-for-byte | |
| +| complete-API | `CGO_ENABLED=0 go test ./internal/plan3test -run ^TestPlan3ReleaseBoundaries/API$ -count=1` | 1: Missing OpenAPI operation POST /questions/{id}/answer. | Byte-for-byte | |
| + |
| + |
| +### Plan 2b dependency reconciliation at the 3b boundary |
| + |
| +| Contract | Completed baseline and retained 3b behavior | Remaining release evidence | |
| +| --- | --- | --- | |
| +| Permissions | Native answers remain bound to the original captured request and allowed answer shape. Coordinator tools remain separate capabilities; a device bearer uses the same guarded person answer operation. | Exact pinned live tool inventory and native-question response for both families. | |
| +| Provenance | Dedicated AccountLease, policy source validation, concrete launch attestation and captured frames remain the authority. Login identity readback does not replace execution attestation. | Real dedicated-home identity, refresh and exact tuple evidence. | |
| +| Sessions and recovery | Fresh coordinator sessions, durable input barriers, generation/fence correlation and no automatic uncertain redispatch remain intact. Login stdin/stdout is terminal-only and does not enter the journal. | Real interrupted-turn and containment evidence from section 3a. | |
| +| Account refresh | Same-identity refresh requires a fresh preflight; changed identity stops work. Two same-provider homes and an independent review family are represented separately. | Both people's real logins and refresh observations with their own accounts. | |
| +| Checks and publication | Trusted executor evidence, frozen acceptance and exact candidate identity are separate from model output. Local Git/fake forge tests retain review/checks and the human merge boundary. | Actual branch head/description readback and each human's merge reference. | |
| +| Release identity | direct-v3/direct-v1, bubblewrap 0.11.0, Claude 2.1.312 and Codex 0.165.0 remain pinned. The installer carries the runner digest outside the embedded manifest; policy-hash independence tests pass. | The manifest still has zero binary digests, certificates and verified isolation tuples, plus 18 uncertified action/provider entries. No fixture certificate is promoted. | |
| +| Coordinator promotion | The direct live driver has coordinator profiles; its specialist ManifestCandidate path excludes coordinator-only evidence. The release checker still recognizes the older Claude specialist-role inventory. | Controller review of the Plan 3 evidence promotion/checker path before any new policy can become releasable. | |
| +| Login and platforms | Production terminal driver exists. Claude uses `auth login`; Codex uses `login --device-auth`. Capability and pin checks fail closed. Only Linux/amd64 runner support is offered. | Real headless exchanges, loopback listener ownership/cleanup and account readback; Mac/hosted runners remain unsupported. | |
| + |
| +The coordinator portable inventory hashes remain |
| +`3289121ba15a78e4ab32bb85828b3518631214be4649de85de46e3d31354de62` |
| +for Claude and |
| +`57d95c9e08193d417a63e3e3e045965759d6a0ae27e3a4d7ffeebc65893cde80` |
| +for Codex. These are constructor inventory identities, not live certificates. |
| + |
| +### Copy, live instructions and self-review |
| + |
| +The consolidated table immediately before Task 21 contains **377 entries**: |
| +**349 runtime entries** (347 map values and two constants), plus **28 full |
| +document sections or mockup proposals**. It includes the installer/runner |
| +errors, prompts, account setup diagnostics, every current API guide section, |
| +acceptance and live instructions, and all 15 Task 16 mockup proposals. All remain |
| +`COPY REVIEW REQUIRED`; no entry was marked reviewed and `copy.go` wording is |
| +unchanged. The runtime comparison uses key/value pairs because separate copy |
| +maps can contain the same key. It excludes unchanged inherited Plan 2b entries, |
| +which remain covered by the global runtime gate. |
| + |
| +Section 3b of `LIVE-GATE-plan-3.md` now includes the install/pairing procedure, |
| +interrupted onboarding, prerequisites and lingering outcomes, both exact |
| +terminal account login commands and version pins, two same-provider homes, |
| +specialist/playbook/default checks, safe recommendation, bounded feature, |
| +independent review/checks and human merge, plus an Ed25519 device proof/answer |
| +script, replay, notification deadline/revocation evidence and cleanup. Paul and |
| +a teammate each run it with separate identities after review and certification. |
| +`docs/plan-3-acceptance.md` remains headed `Draft: pending copy review`. No README |
| +or mockup wording was changed. |
| + |
| +Measured directory totals: `internal/plan3test` has 764 source and 11,146 test |
| +lines; `internal/equipotest` has 13,024 test lines. Their test-line exceptions are |
| +11,600 and 13,200, respectively, for the mandated acceptance fixtures and |
| +historical regression repairs. Both existing 300s time ceilings remain. |
| +No default-valued exception or production package size ceiling was added. |
| + |
| +Self-review checked the actual source/interface contracts, exact copy table |
| +values, request ownership, home identity, recipe argv, migration prefixes, |
| +retained history, restored mutations and release failure behavior. Remaining |
| +limits are deliberate: fake provider I/O, synthetic certification tuples, |
| +fixture Save callback and separate runner/check/publication layers. Neither live |
| +usable acceptance nor copy approval is claimed. No Plan 4 settlement, CARLOS |
| +signals, mobile push, hosted runner or Mac runner is claimed. |