oficina / equipo Public

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

Plain git — no account needed to clone.

Download

Download this file

1# COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context)
2
3Plan 3a adds a private coordinator conversation, shared task threads, editable
4plans, sourced recommendations and personal preferences. Tasks 1–11 cover the 3a offline stop. Tasks 12–21 add invitations, runner/account
5setup, specialist and playbook copies, remembered teams, device authentication
6and a private notification feed. Production use still needs reviewed copy and certification
7with Paul's dedicated provider accounts.
8
9For the offline gate, run these commands from the `plan-3` checkout with on-disk
10`TMPDIR` and the default Go caches:
11
12```bash
13CGO_ENABLED=0 go test ./internal/plan3test \
14 -run 'TestCoordinatorAcceptance3[AB]|TestCoordinatorRelease|TestPlan3ReleaseBoundaries|TestPlan3Upgrade|TestPersonAPIContractCoverage' -count=1
15CGO_ENABLED=0 go build ./cmd/equipo ./cmd/equipo-runner
16make migration-check
17make budget
18staticcheck ./...
19go vet ./...
20```
21
22Use the pinned `go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 ./...` invocation
23if staticcheck is not installed. The controller runs `make ci` once before final
24review. Individual task runs use targeted tests.
25
26The acceptance test uses two fixture browser identities, loopback HTTP, the
27runner service, durable capture and journal, and fake provider frames. It covers
28bug, feature and recommendation proposals, editing, approval, project correction,
29questions, routed replies, preference privacy, cancellation and interrupted-turn
30recovery. The companion runner graph tests use local Git, fake providers and the
31fake forge to check exact-candidate evidence, independent-family review,
32publication readback and the wait for a person. These fixtures establish offline
33behavior only.
34
35The browser-session person API uses `/api/v1`. Fetch the current revision before
36editing. Send it as `If-Match` and use an `Idempotency-Key` for a mutation. Retry
37an identical request with the same key after a lost response. A different edit
38needs a new key and the current revision. Plan 3b also accepts revocable person-device bearers. They never authenticate
39as a runner and cannot approve another device. See [the API schema](api/equipo-v1.openapi.json).
40
41List cursors are opaque and scoped to the person and stream. They expire after
4224 hours. Tasks, journey, actionable work, cards and preferences use the latest
43stored resource audit time, newest first, then ID to break ties. People use
44address order. Conversation and thread messages use their stored sequence.
45Changes can move an item ahead of an existing cursor; start again to see the
46latest order. Lists read current authorized data and never carry stored copies
47of private content in a cursor.
48
49A contained uncertain coordinator turn waits for your choice. Retrying creates
50new admitted work; resetting advances the coordinator generation. A refused
51recovery does not make that choice for you. Cancellation and reset still need
52containment before they can release a running account.
53
54Before live use, review every pending entry in the controller report's
55`Plan 3 copy inventory (for Paul's review)`, then run the live checks on
56staging. Record the offline result, copy-review result and live checks separately.
57Keep release eligibility off until all three are complete. Equipo publishes
58review branches and waits for the decision owner; you merge manually.
59
60
61COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context). The 3b acceptance path uses fake official CLIs on disk,
62temporary dedicated homes, actual pairing proofs, runner HTTP and application
63transactions. It connects two same-provider accounts and an independent review
64family, edits copied templates, chooses a project default, approves a feature
65plan and answers a question with a device token. Separate runner fixtures use
66local Git, trusted checks and a fake forge. Installation fixtures test missing
67containment prerequisites, unsupported platforms and the stops-at-logout state.
68These are layered tests, not a real-provider certification or one continuous
69browser-to-merge run.
70
71Upgrade tests start at schema 0018 with active tasks, historical evidence,
72reservations, recovery charges and decision ownership, and at the end of 3a
73with private conversation and preference data. They compare retained columns,
74check the current schema and reopen the database and execution core twice.
75
76The release check refuses pending runtime copy, the API guide, acceptance and
77live instructions, and the consolidated inventory containing the onboarding
78mockup proposals. No pending entry is treated as reviewed. The manifest still
79needs exact live policy certificates and the supported terminal login evidence.
80Paul and a teammate run section 3b separately after review and certification.
81The controller runs `make ci` once; Task 21 runs the named tests, build, migration,
82budget, vet, pinned staticcheck and the previously skipped `equipotest` package.
83