oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context)

Plan 3a adds a private coordinator conversation, shared task threads, editable plans, sourced recommendations and personal preferences. Tasks 1–11 cover the 3a offline stop. Tasks 12–21 add invitations, runner/account setup, specialist and playbook copies, remembered teams, device authentication and a private notification feed. Production use still needs reviewed copy and certification with Paul's dedicated provider accounts.

For the offline gate, run these commands from the plan-3 checkout with on-disk TMPDIR and the default Go caches:

CGO_ENABLED=0 go test ./internal/plan3test \
  -run 'TestCoordinatorAcceptance3[AB]|TestCoordinatorRelease|TestPlan3ReleaseBoundaries|TestPlan3Upgrade|TestPersonAPIContractCoverage' -count=1
CGO_ENABLED=0 go build ./cmd/equipo ./cmd/equipo-runner
make migration-check
make budget
staticcheck ./...
go vet ./...

Use the pinned go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 ./... invocation if staticcheck is not installed. The controller runs make ci once before final review. Individual task runs use targeted tests.

The acceptance test uses two fixture browser identities, loopback HTTP, the runner service, durable capture and journal, and fake provider frames. It covers bug, feature and recommendation proposals, editing, approval, project correction, questions, routed replies, preference privacy, cancellation and interrupted-turn recovery. The companion runner graph tests use local Git, fake providers and the fake forge to check exact-candidate evidence, independent-family review, publication readback and the wait for a person. These fixtures establish offline behavior only.

The browser-session person API uses /api/v1. Fetch the current revision before editing. Send it as If-Match and use an Idempotency-Key for a mutation. Retry an identical request with the same key after a lost response. A different edit needs a new key and the current revision. Plan 3b also accepts revocable person-device bearers. They never authenticate as a runner and cannot approve another device. See the API schema.

List cursors are opaque and scoped to the person and stream. They expire after 24 hours. Tasks, journey, actionable work, cards and preferences use the latest stored resource audit time, newest first, then ID to break ties. People use address order. Conversation and thread messages use their stored sequence. Changes can move an item ahead of an existing cursor; start again to see the latest order. Lists read current authorized data and never carry stored copies of private content in a cursor.

A contained uncertain coordinator turn waits for your choice. Retrying creates new admitted work; resetting advances the coordinator generation. A refused recovery does not make that choice for you. Cancellation and reset still need containment before they can release a running account.

Before live use, review every pending entry in the controller report's Plan 3 copy inventory (for Paul's review), then run the live checks on staging. Record the offline result, copy-review result and live checks separately. Keep release eligibility off until all three are complete. Equipo publishes review branches and waits for the decision owner; you merge manually.

COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context). The 3b acceptance path uses fake official CLIs on disk, temporary dedicated homes, actual pairing proofs, runner HTTP and application transactions. It connects two same-provider accounts and an independent review family, edits copied templates, chooses a project default, approves a feature plan and answers a question with a device token. Separate runner fixtures use local Git, trusted checks and a fake forge. Installation fixtures test missing containment prerequisites, unsupported platforms and the stops-at-logout state. These are layered tests, not a real-provider certification or one continuous browser-to-merge run.

Upgrade tests start at schema 0018 with active tasks, historical evidence, reservations, recovery charges and decision ownership, and at the end of 3a with private conversation and preference data. They compare retained columns, check the current schema and reopen the database and execution core twice.

The release check refuses pending runtime copy, the API guide, acceptance and live instructions, and the consolidated inventory containing the onboarding mockup proposals. No pending entry is treated as reviewed. The manifest still needs exact live policy certificates and the supported terminal login evidence. Paul and a teammate run section 3b separately after review and certification. The controller runs make ci once; Task 21 runs the named tests, build, migration, budget, vet, pinned staticcheck and the previously skipped equipotest package.