oficina / equipo Public

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

Plain git — no account needed to clone.

Download

Download this file

1# Project card names copy evidence
2
3Controller conveyed Luna verdicts on 2026-11-23.
4
5## brief5.md
6
7# Copy review brief: Equipo project cards, names confirmed on the card (2026-11-23)
8
9Paul delegates copy review to you; your edits will be applied as approved copy.
10Context: Equipo is Oficina's team app. When Equipo can't tell which project
11(code repository) a request is for, it shows a "Which project should this go
12in?" card. Paul ruled that a name the person used (for example "Tito") is only
13remembered when they confirm it on that card.
14
15## Strings (ids fixed, text yours; keep %s)
16- `projects.remember_name`: checkbox label on the card, ticked by default; %s is the suggested name, which the person can edit. Draft: `Remember '%s' for this project`
17- `projects.name_to_remember`: accessible label of the editable name field next to that checkbox. Draft: `Name to remember`
18- `projects.use_title`: checkbox an owner sees on a project's details form; unticked by default. Ticking it makes the title shown (taken from the repository) the project's trusted title. Draft: `Use this as the project's title`
19- `projects.answer_unknown`: notice shown when the person typed an answer to the card that doesn't match a project; the card stays open. Draft: `That name does not identify an available project. Type the project name or repository.`
20
21## House rules (Paul's, binding)
22No em dashes, no exclamation marks. Plain words, short, sentence case. Say what
23happened and what to do. Don't change facts; flag what looks wrong.
24
25## Output
261. Table: `id | current | new (or "unchanged") | why`.
272. Flagged rows: `id | problem`.
283. Counts: changed, flagged, left alone.
29
30
31## result5.md
32
33| id | current | new (or "unchanged") | why |
34|---|---|---|---|
35| `projects.remember_name` | Remember '%s' for this project | unchanged | Clear and says what will happen. |
36| `projects.name_to_remember` | Name to remember | unchanged | Short and clear in context. |
37| `projects.use_title` | Use this as the project's title | Use the repository title for this project | “This” is ambiguous. The new wording identifies the title source. |
38| `projects.answer_unknown` | That name does not identify an available project. Type the project name or repository. | That name does not match an available project. Enter the project name or repository. | Uses plainer wording and a direct instruction. |
39
40Flagged rows:
41
42| id | problem |
43|---|---|
44| `projects.use_title` | “This” does not clearly identify the repository title. |
45
46Counts: changed 2, flagged 1, left alone 2.
47
48
49## brief6.md
50
51# Copy review brief: API docs section "Projects and starting a request", round 3 (Equipo, 2026-11-23)
52
53Paul delegates copy review to you; your edits will be applied as approved copy.
54Equipo's device API documentation, read by developers of clients such as the
55iPhone and Mac apps. Technical reference prose. You reviewed an earlier version
56(round 2); this adds names confirmed on the card, typed answers from the
57composer, use_title, and viewer-only name-removal events.
58
59Rules:
60- Keep every fact, field name, path, status code, limit and JSON example exactly.
61 Don't add or remove behaviour. Flag anything that looks wrong or unclear.
62- Plain words, short sentences. No em dashes, no exclamation marks. Keep code spans.
63 Keep the two quoted UI labels exactly: "Use the repository title for this project"
64 and "Remember '<name>' for this project", and "Choose another project".
65- Return the full revised section, ready to paste, then what you changed and why,
66 then flagged items, then counts.
67
68The section:
69
70## Projects and starting a request
71
72`GET /api/v1/projects` retains `items`, `allowed` and `home`. It also returns `connections` and `can_add` for repositories reachable by your primary runner that are not active projects. Your primary runner is your newest enrolled primary runner that has not been revoked or marked for removal. Execution currently requires an active team owner. This is the same current team-owner role checked by `can_add`; execution also needs a usable primary runner. In this release, the connection is `amadan`, with forge `amadan` (the matching connection ID and forge value are intentional), title `Amadan`, state `connected` or `unavailable`, and `can_add` indicating whether you are an owner of this Equipo team. Reachability comes from the stored latest runner hello, which is that runner's repository and capability report. This is not a live connectivity check. Each available entry has `repo`, `name`, `title`, `description`, `description_source`, `forge` and `connection_id`. The legacy `allowed` list remains the complete allowlist, including projects already added. Only an owner can add a project using the existing `POST /api/v1/projects` with `{ "repo": "oficina/home" }`.
73
74Project items are ordered with your stars first, followed by recent team activity. They gain `starred` (absent means false), `names` (owner-set team names), `personal_names` (only your learned names), `title_source`, `description_source`, `forge` and `connection_id`. The snapshot and project events also include your star and your private names. Empty optional arrays may be absent. Sources are `owner` or `repository`. Repository text is for display and search only, never authority for placement. Existing clients can ignore the added fields.
75
76`PUT /api/v1/projects/{id}/star` takes `{ "starred": true }` or `{ "starred": false }` and returns the project with your resulting star. Any current member may use it. It affects only the authenticated person's star. Repeating a request with the same value has the same effect. A removed or unknown project returns 404. No revision or idempotency key is needed.
77
78`PUT /api/v1/projects/{id}/details` is owner-only. It takes the current `revision`, `title` (1 to 120 bytes), `description` (up to 500 bytes), and `names` (up to 12 names, each 1 to 120 bytes), and returns the updated project. Text must be valid UTF-8 and contain no newlines or NUL. Names are trimmed, compared without case and stored in lowercase. Empty entries are ignored. A title or description that differs from its current displayed value becomes owner-set. Optional `use_title: true` explicitly makes the submitted title owner-set even when unchanged; omitted or false does not. The web form offers an unchecked "Use the repository title for this project" control when the title comes from the repository. The comparison uses the server's project view at save time, including the saved repository-derived title and current repository description when those fields are not owner-set. This replaces the team's names and leaves each person's learned names alone. A stale revision returns 409 `idempotency_conflict`. All project writes described here check the current roster inside their transaction.
79
80`DELETE /api/v1/projects/{id}/names` takes `{ "name": "my portal" }` and removes that learned name for the authenticated person only. It returns 204, including when the name is already absent. Team names and other people's names stay unchanged. An unknown project returns 404. A name must be 1 to 120 bytes after trimming, valid UTF-8, with no newlines or NUL. Comparison ignores case. No revision or idempotency key is needed. The web project page offers the same action beside each of your names. Removal does not change the shared project revision, so it does not invalidate an owner's open details form. A `project` event goes only to the person who removed the name, with the unchanged shared revision. Clients must apply `personal_names` from same-revision viewer events in event-sequence order; an absent array means no personal names.
81
82"New request" on a project can open the composer with a removable project chip. Send its ID as optional `project_id` in `POST /api/v1/messages` alongside `text`, `idempotency_key` and optional `attachments`. The response message and message history include that ID. Omitting it keeps the ordinary conversation behavior. The project must be active and in your runner's current allowlist. Unknown projects return 404, and unreachable projects return 422 `repo_not_allowed`. Reusing an idempotency key with a different project returns 409 `idempotency_conflict`. Project-bearing messages start a separate turn and bind task placement to that project. If the project is removed or becomes unreachable before dispatch or during the turn, Equipo releases the binding and shows a notice. The request continues without a project. The original `project_id` remains in history and in the idempotency check. If a turn fails before reaching the model and its message is carried into a later turn, its project selection travels with it. The Assistant route (`POST /api/v1/assistant/messages`) rejects `project_id`. The job-thread send operation also rejects it. Its web route is `POST /jobs/{id}/messages`, with no device API route.
83
84For a plain conversation, the server resolves exact trusted names, titles set by an owner, or repository keys (`amadan.net/owner/name`, also accepted as `owner/name`). A unique trusted match takes priority over a learned personal name. A personal name can resolve a name with no trusted match or with several trusted matches. An unknown or ambiguous name opens a placement card only in a person turn whose request asks for work in a named project. A person turn responds to a person's message. A move-in turn is the Coordinator's initial setup work. Discovery searches, move-in turns and explore turns do not open that card.
85
86The card offers up to five reachable projects and, when more are available, "Choose another project." Starred projects come first. Name similarity and recent activity order the remaining choices. Each option is at most 80 bytes. Answer through `POST /api/v1/cards/{id}/answer`. Choosing another project keeps the card open, increments its revision and replaces the options with a text field. That response has the updated `card`; its `message` and `turn` are empty and no turn starts. Submit the new revision and a project name or repository as `choice`. An unresolved or ambiguous name returns 422 `invalid_input`, leaving the card open. An open typed placement card also takes the person's next composer message in that same conversation as its answer, including device `POST /api/v1/messages`. A valid answer closes the card and resumes the original request. An unresolved answer returns 422 `invalid_input`, leaves the card open, and records the person's words plus a short notice in history. A repeated idempotency key returns the same outcome without another message or notice. Do not send `project_id` with a typed card answer. Attachments follow the message. Other conversations are unaffected.
87
88A named placement card includes optional `remember_name`, the suggested private name. The web card shows a checked "Remember '<name>' for this project" box and an editable name. Card answers accept optional `remember_name`: a nonempty string confirms that name; an empty string skips learning; omission remembers the card's suggestion, for clients without the control. The model may suggest the prefilled name, but only the person's final project answer learns it. Choosing another project preserves an edited name or opt-out on the open text card; learning waits for the later valid answer. Composer answers use that card default. Names are trimmed and stored in lowercase for that person only. They must contain at least three Unicode characters, be at most 120 bytes, be valid UTF-8, and contain no newline or NUL. Stopwords and feature phrases are not learned. An ineligible name skips learning without refusing the project choice. Capitalisation and sentence shape do not determine learning. A repository key outside the allowlist retains the existing access-request flow.
89
90
91## section6.md
92
93## Projects and starting a request
94
95`GET /api/v1/projects` retains `items`, `allowed` and `home`. It also returns `connections` and `can_add` for repositories reachable by your primary runner that are not active projects. Your primary runner is your newest enrolled primary runner that has not been revoked or marked for removal. Execution currently requires an active team owner. This is the same current team-owner role checked by `can_add`; execution also needs a usable primary runner. In this release, the connection is `amadan`, with forge `amadan` (the matching connection ID and forge value are intentional), title `Amadan`, state `connected` or `unavailable`, and `can_add` indicating whether you are an owner of this Equipo team. Reachability comes from the stored latest runner hello, which is that runner's repository and capability report. This is not a live connectivity check. Each available entry has `repo`, `name`, `title`, `description`, `description_source`, `forge` and `connection_id`. The legacy `allowed` list remains the complete allowlist, including projects already added. Only an owner can add a project using the existing `POST /api/v1/projects` with `{ "repo": "oficina/home" }`.
96
97Project items are ordered with your stars first, followed by recent team activity. They gain `starred` (absent means false), `names` (owner-set team names), `personal_names` (only your learned names), `title_source`, `description_source`, `forge` and `connection_id`. The snapshot and project events also include your star and your private names. Empty optional arrays may be absent. Sources are `owner` or `repository`. Repository text is for display and search only, never authority for placement. Existing clients can ignore the added fields.
98
99`PUT /api/v1/projects/{id}/star` takes `{ "starred": true }` or `{ "starred": false }` and returns the project with your resulting star. Any current member may use it. It affects only the authenticated person's star. Repeating a request with the same value has the same effect. A removed or unknown project returns 404. No revision or idempotency key is needed.
100
101`PUT /api/v1/projects/{id}/details` is owner-only. It takes the current `revision`, `title` (1 to 120 bytes), `description` (up to 500 bytes), and `names` (up to 12 names, each 1 to 120 bytes), and returns the updated project. Text must be valid UTF-8 and contain no newlines or NUL. Names are trimmed, compared without case and stored in lowercase. Empty entries are ignored. A title or description that differs from its current displayed value becomes owner-set. Optional `use_title: true` explicitly makes the submitted title owner-set even when unchanged; omitted or false does not. The web form offers an unchecked "Use the repository title for this project" control when the title comes from the repository. The comparison uses the server's project view at save time, including the saved repository-derived title and current repository description when those fields are not owner-set. This replaces the team's names and leaves each person's learned names alone. A stale revision returns 409 `idempotency_conflict`. All project writes described here check the current roster inside their transaction.
102
103`DELETE /api/v1/projects/{id}/names` takes `{ "name": "my portal" }` and removes that learned name for the authenticated person only. It returns 204, including when the name is already absent. Team names and other people's names stay unchanged. An unknown project returns 404. A name must be 1 to 120 bytes after trimming, valid UTF-8, with no newlines or NUL. Comparison ignores case. No revision or idempotency key is needed. The web project page offers the same action beside each of your names. Removal does not change the shared project revision, so it does not invalidate an owner's open details form. A `project` event goes only to the person who removed the name, with the unchanged shared revision. Clients must apply `personal_names` from same-revision viewer events in event-sequence order; an absent array means no personal names.
104
105"New request" on a project can open the composer with a removable project chip. Send its ID as optional `project_id` in `POST /api/v1/messages` alongside `text`, `idempotency_key` and optional `attachments`. The response message and message history include that ID. Omitting it keeps the ordinary conversation behavior. The project must be active and in your runner's current allowlist. Unknown projects return 404, and unreachable projects return 422 `repo_not_allowed`. Reusing an idempotency key with a different project returns 409 `idempotency_conflict`. Project-bearing messages start a separate turn and bind task placement to that project. If the project is removed or becomes unreachable before dispatch or during the turn, Equipo releases the binding and shows a notice. The request continues without a project. The original `project_id` remains in history and in the idempotency check. If a turn fails before reaching the model and its message is carried into a later turn, its project selection travels with it. The Assistant route (`POST /api/v1/assistant/messages`) rejects `project_id`. The job-thread send operation also rejects it. Its web route is `POST /jobs/{id}/messages`, with no device API route.
106
107For a plain conversation, the server resolves exact trusted names, titles set by an owner, or repository keys (`amadan.net/owner/name`, also accepted as `owner/name`). A unique trusted match takes priority over a learned personal name. A personal name can resolve a name with no trusted match or with several trusted matches. An unknown or ambiguous name opens a placement card only in a person turn whose request asks for work in a named project. A person turn responds to a person's message. A move-in turn is the Coordinator's initial setup work. Discovery searches, move-in turns and explore turns do not open that card.
108
109The card offers up to five reachable projects and, when more are available, "Choose another project." Starred projects come first. Name similarity and recent activity order the remaining choices. Each option is at most 80 bytes. Answer through `POST /api/v1/cards/{id}/answer`. Choosing another project keeps the card open, increments its revision and replaces the options with a text field. That response has the updated `card`; its `message` and `turn` are empty and no turn starts. Submit the new revision and a project name or repository as `choice`. An unresolved or ambiguous name returns 422 `invalid_input`, leaving the card open. An open typed placement card also takes the person's next composer message in that same conversation as its answer, including device `POST /api/v1/messages`. A valid answer closes the card and resumes the original request. An unresolved answer returns 422 `invalid_input`, leaves the card open, and records the person's words plus a short notice in history. A repeated idempotency key returns the same outcome without another message or notice. Do not send `project_id` with a typed card answer. Attachments follow the message. Other conversations are unaffected.
110
111A named placement card includes optional `remember_name`, the suggested private name. The web card shows a checked "Remember '<name>' for this project" box and an editable name. Card answers accept optional `remember_name`: a nonempty string confirms that name; an empty string skips learning; omission remembers the card's suggestion, for clients without the control. The model may suggest the prefilled name, but only the person's final project answer learns it. Choosing another project preserves an edited name or opt-out on the open text card; learning waits for the later valid answer. Composer answers use that card default. Names are trimmed and stored in lowercase for that person only. They must contain at least three Unicode characters, be at most 120 bytes, be valid UTF-8, and contain no newline or NUL. Stopwords and feature phrases are not learned. An ineligible name skips learning without refusing the project choice. Capitalisation and sentence shape do not determine learning. A repository key outside the allowlist retains the existing access-request flow.
112
113
114
115## result6.md
116
117## Projects and starting a request
118
119`GET /api/v1/projects` retains `items`, `allowed` and `home`. It also returns `connections` and `can_add` for repositories reachable by your primary runner that are not active projects. Your primary runner is your newest enrolled primary runner that has not been revoked or marked for removal. Execution currently requires an active team owner. This is the same team-owner role that `can_add` checks. Execution also requires a usable primary runner. In this release, the connection is `amadan`, with forge `amadan`. The matching connection ID and forge value are intentional. Its title is `Amadan`, its state is `connected` or `unavailable`, and `can_add` indicates whether you are an owner of this Equipo team. Reachability comes from the stored latest runner hello. This is that runner's repository and capability report, not a live connectivity check. Each available entry has `repo`, `name`, `title`, `description`, `description_source`, `forge` and `connection_id`. The legacy `allowed` list remains the complete allowlist, including projects already added. Only an owner can add a project using the existing `POST /api/v1/projects` with `{ "repo": "oficina/home" }`.
120
121Project items are ordered with your stars first, followed by recent team activity. They gain `starred` (absent means false), `names` (owner-set team names), `personal_names` (only your learned names), `title_source`, `description_source`, `forge` and `connection_id`. The snapshot and project events also include your star and your private names. Empty optional arrays may be absent. Sources are `owner` or `repository`. Repository text is for display and search only. It is never authoritative for placement. Existing clients can ignore the added fields.
122
123`PUT /api/v1/projects/{id}/star` takes `{ "starred": true }` or `{ "starred": false }` and returns the project with your resulting star. Any current member may use it. It affects only the authenticated person's star. Repeating a request with the same value has the same effect. A removed or unknown project returns 404. No revision or idempotency key is needed.
124
125`PUT /api/v1/projects/{id}/details` is owner-only. It takes the current `revision`, `title` (1 to 120 bytes), `description` (up to 500 bytes), and `names` (up to 12 names, each 1 to 120 bytes), and returns the updated project. Text must be valid UTF-8 and contain no newlines or NUL. Names are trimmed, compared without case and stored in lowercase. Empty entries are ignored. A title or description that differs from its current displayed value becomes owner-set. Optional `use_title: true` explicitly makes the submitted title owner-set even when unchanged. Omitted or false does not. The web form offers an unchecked "Use the repository title for this project" control when the title comes from the repository. The comparison uses the server's project view at save time. This includes the saved repository-derived title and current repository description when those fields are not owner-set. This replaces the team's names and leaves each person's learned names alone. A stale revision returns 409 `idempotency_conflict`. All project writes described here check the current roster inside their transaction.
126
127`DELETE /api/v1/projects/{id}/names` takes `{ "name": "my portal" }` and removes that learned name for the authenticated person only. It returns 204, including when the name is already absent. Team names and other people's names stay unchanged. An unknown project returns 404. A name must be 1 to 120 bytes after trimming, valid UTF-8, with no newlines or NUL. Comparison ignores case. No revision or idempotency key is needed. The web project page offers the same action beside each of your names. Removal does not change the shared project revision, so it does not invalidate an owner's open details form. A `project` event goes only to the person who removed the name, with the unchanged shared revision. Clients must apply `personal_names` from same-revision viewer events in event-sequence order. An absent array means no personal names.
128
129"New request" on a project can open the composer with a removable project chip. Send its ID as optional `project_id` in `POST /api/v1/messages` alongside `text`, `idempotency_key` and optional `attachments`. The response message and message history include that ID. Omitting it keeps the ordinary conversation behavior. The project must be active and in your runner's current allowlist. Unknown projects return 404, and unreachable projects return 422 `repo_not_allowed`. Reusing an idempotency key with a different project returns 409 `idempotency_conflict`. Project-bearing messages start a separate turn and bind task placement to that project. If the project is removed or becomes unreachable before dispatch or during the turn, Equipo releases the binding and shows a notice. The request continues without a project. The original `project_id` remains in history and in the idempotency check. If a turn fails before reaching the model and its message is carried into a later turn, its project selection travels with it. The Assistant route (`POST /api/v1/assistant/messages`) rejects `project_id`. The job-thread send operation also rejects it. Its web route is `POST /jobs/{id}/messages`, with no device API route.
130
131For a plain conversation, the server resolves exact trusted names, titles set by an owner, or repository keys (`amadan.net/owner/name`, also accepted as `owner/name`). A unique trusted match takes priority over a learned personal name. A personal name can resolve a name with no trusted match or with several trusted matches. An unknown or ambiguous name opens a placement card only in a person turn whose request asks for work in a named project. A person turn responds to a person's message. A move-in turn is the Coordinator's initial setup work. Discovery searches, move-in turns and explore turns do not open that card.
132
133The card offers up to five reachable projects and, when more are available, "Choose another project." Starred projects come first. Name similarity and recent activity order the remaining choices. Each option is at most 80 bytes. Answer through `POST /api/v1/cards/{id}/answer`. Choosing another project keeps the card open, increments its revision and replaces the options with a text field. That response has the updated `card`; its `message` and `turn` are empty, and no turn starts. Submit the new revision and a project name or repository as `choice`. An unresolved or ambiguous name returns 422 `invalid_input`, leaving the card open. An open typed placement card also takes the person's next composer message in that same conversation as its answer, including device `POST /api/v1/messages`. A valid answer closes the card and resumes the original request. An unresolved answer returns 422 `invalid_input`, leaves the card open, and records the person's words plus a short notice in history. A repeated idempotency key returns the same outcome without another message or notice. Do not send `project_id` with a typed card answer. Attachments follow the message. Other conversations are unaffected.
134
135A named placement card includes optional `remember_name`, the suggested private name. The web card shows a checked "Remember '<name>' for this project" box and an editable name. Card answers accept optional `remember_name`: a nonempty string confirms that name; an empty string skips learning; omission remembers the card's suggestion for clients without the control. The model may suggest the prefilled name, but only the person's final project answer learns it. Choosing another project preserves an edited name or opt-out on the open text card. Learning waits for the later valid answer. Composer answers use that card default. Names are trimmed and stored in lowercase for that person only. They must contain at least three Unicode characters, be at most 120 bytes, be valid UTF-8, and contain no newline or NUL. Stopwords and feature phrases are not learned. An ineligible name skips learning without refusing the project choice. Capitalisation and sentence shape do not determine learning. A repository key outside the allowlist retains the existing access-request flow.
136
137### What I changed and why
138
139- Shortened long sentences and split a few dense explanations.
140- Replaced indirect wording with direct wording.
141- Clarified that `can_add` checks the team-owner role.
142- Clarified that reachability is based on stored runner data, not a live check.
143- Improved punctuation and consistency without changing behavior.
144- Preserved all fields, paths, status codes, limits, JSON examples and required UI labels.
145
146### Flagged items
147
148- “Execution currently requires an active team owner” could clarify whether any active team owner is sufficient or whether the requesting person must be an owner.
149- “Trusted name” is used but not defined in this section.
150- The release-specific statement that both the connection ID and forge are `amadan` may need confirmation if this is intended to remain literal in published documentation.
151- “A person turn” and “move-in turn” may be unfamiliar to new client developers. Consider linking to their definitions.
152
153### Counts
154
155- Facts or behaviors changed: 0
156- Fields, paths, status codes, limits or JSON examples changed: 0
157- Required UI labels changed: 0
158- Copy edits: 18
159- Flagged items: 4
160
161
162## Factual clarifications after Luna
163
164- Execution requires the requesting person to be an active team owner, as primaryRunner joins that person to an active owner member.
165- Trusted names are defined as owner-set team names, owner-set titles and repository keys.
166- Kept the explicit release qualifier for the literal amadan connection and forge.
167- Kept the one-line person-turn and move-in-turn definitions.
168
169Field-by-field check also found an existing resolver detail omitted from the prior prose: the repository basename matches when the title has not been owner-set. Added that factual sentence; no behavior changed.
170
171## Fable follow-up copy review, round 7
172
173Controller authorized these verdicts on 2026-11-23. Removed unused
174projects.answer_unknown. Applied Part B exactly, with the document heading
175level restored. Checked paths, fields, limits, status codes, ownership, event
176semantics, resolver precedence, carried notes, composer matching and explicit
177confirmation against implementation; no differences found.
178
179### brief7.md
180
181```text
182# Copy review brief: Equipo projects, round 4 (2026-11-23)
183
184Paul delegates copy review to you; your edits will be applied as approved copy.
185
186## Part A: one string the Coordinator (a language model) reads, never shown to people
187Keep every fact exactly; only make it clearer or shorter; keep %s. Flag if unsure.
188- `projects.carried_selection`: added before a message carried over from an earlier failed turn, so the model knows that the earlier message, and only it, was for the selected project. Draft: `Equipo's note for the preceding request: the person selected project %s for that request only.`
189
190## Part B: API docs section (device API, read by client developers)
191You reviewed earlier versions. Three paragraphs changed: the carried selection is
192scoped to its own request; ordinary composer messages pass through an open card
193unless they clearly name one project; and only an explicit, nonempty
194remember_name learns a name (omission and empty both skip).
195Keep every fact, field, path, status code, limit and JSON example exactly. Keep
196the quoted UI labels exactly. Plain words, short sentences, no em dashes, no
197exclamation marks. Return the full revised section ready to paste.
198
199## Projects and starting a request
200
201`GET /api/v1/projects` retains `items`, `allowed` and `home`. It also returns `connections` and `can_add` for repositories reachable by your primary runner that are not active projects. Your primary runner is your newest enrolled primary runner that has not been revoked or marked for removal. Execution currently requires the requesting person to be an active owner of this Equipo team. This is the same team-owner role that `can_add` checks. Execution also requires a usable primary runner. In this release, the connection is `amadan`, with forge `amadan`. The matching connection ID and forge value are intentional. Its title is `Amadan`, its state is `connected` or `unavailable`, and `can_add` indicates whether you are an owner of this Equipo team. Reachability comes from the stored latest runner hello. This is that runner's repository and capability report, not a live connectivity check. Each available entry has `repo`, `name`, `title`, `description`, `description_source`, `forge` and `connection_id`. The legacy `allowed` list remains the complete allowlist, including projects already added. Only an owner can add a project using the existing `POST /api/v1/projects` with `{ "repo": "oficina/home" }`.
202
203Project items are ordered with your stars first, followed by recent team activity. They gain `starred` (absent means false), `names` (owner-set team names), `personal_names` (only your learned names), `title_source`, `description_source`, `forge` and `connection_id`. The snapshot and project events also include your star and your private names. Empty optional arrays may be absent. Sources are `owner` or `repository`. Repository text is for display and search only. It is never authoritative for placement. Existing clients can ignore the added fields.
204
205`PUT /api/v1/projects/{id}/star` takes `{ "starred": true }` or `{ "starred": false }` and returns the project with your resulting star. Any current member may use it. It affects only the authenticated person's star. Repeating a request with the same value has the same effect. A removed or unknown project returns 404. No revision or idempotency key is needed.
206
207`PUT /api/v1/projects/{id}/details` is owner-only. It takes the current `revision`, `title` (1 to 120 bytes), `description` (up to 500 bytes), and `names` (up to 12 names, each 1 to 120 bytes), and returns the updated project. Text must be valid UTF-8 and contain no newlines or NUL. Names are trimmed, compared without case and stored in lowercase. Empty entries are ignored. A title or description that differs from its current displayed value becomes owner-set. Optional `use_title: true` explicitly makes the submitted title owner-set even when unchanged. Omitted or false does not. The web form offers an unchecked "Use the repository title for this project" control when the title comes from the repository. The comparison uses the server's project view at save time. This includes the saved repository-derived title and current repository description when those fields are not owner-set. This replaces the team's names and leaves each person's learned names alone. A stale revision returns 409 `idempotency_conflict`. All project writes described here check the current roster inside their transaction.
208
209`DELETE /api/v1/projects/{id}/names` takes `{ "name": "my portal" }` and removes that learned name for the authenticated person only. It returns 204, including when the name is already absent. Team names and other people's names stay unchanged. An unknown project returns 404. A name must be 1 to 120 bytes after trimming, valid UTF-8, with no newlines or NUL. Comparison ignores case. No revision or idempotency key is needed. The web project page offers the same action beside each of your names. Removal does not change the shared project revision, so it does not invalidate an owner's open details form. A `project` event goes only to the person who removed the name, with the unchanged shared revision. Clients must apply `personal_names` from same-revision viewer events in event-sequence order. An absent array means no personal names.
210
211"New request" on a project can open the composer with a removable project chip. Send its ID as optional `project_id` in `POST /api/v1/messages` alongside `text`, `idempotency_key` and optional `attachments`. The response message and message history include that ID. Omitting it keeps the ordinary conversation behavior. The project must be active and in your runner's current allowlist. Unknown projects return 404, and unreachable projects return 422 `repo_not_allowed`. Reusing an idempotency key with a different project returns 409 `idempotency_conflict`. Project-bearing messages start a separate turn and bind task placement to that project. If the project is removed or becomes unreachable before dispatch or during the turn, Equipo releases the binding and shows a notice. The request continues without a project. The original `project_id` remains in history and in the idempotency check. If a turn fails before reaching the model and its message is carried into a later turn, Equipo adds a separate note identifying the project for that earlier request only. The person's words remain quoted on their own. That selection does not bind the newest request or the whole later turn. The Assistant route (`POST /api/v1/assistant/messages`) rejects `project_id`. The job-thread send operation also rejects it. Its web route is `POST /jobs/{id}/messages`, with no device API route.
212
213For a plain conversation, the server resolves exact trusted names: owner-set team names, titles set by an owner, and repository keys (`amadan.net/owner/name`, also accepted as `owner/name`). When no owner-set title exists, the repository basename also matches. A unique trusted match takes priority over a learned personal name. A personal name can resolve a name with no trusted match or with several trusted matches. An unknown or ambiguous name opens a placement card only in a person turn whose request asks for work in a named project. A person turn responds to a person's message. A move-in turn is the Coordinator's initial setup work. Discovery searches, move-in turns and explore turns do not open that card.
214
215The card offers up to five reachable projects and, when more are available, "Choose another project." Starred projects come first. Name similarity and recent activity order the remaining choices. Each option is at most 80 bytes. Answer through `POST /api/v1/cards/{id}/answer`. Choosing another project keeps the card open, increments its revision and replaces the options with a text field. That response has the updated `card`; its `message` and `turn` are empty, and no turn starts. Submit the new revision and a project name or repository as `choice`. An unresolved or ambiguous name returns 422 `invalid_input`, leaving the card open. An open typed placement card can also take a composer message in that same conversation as its answer, including device `POST /api/v1/messages`. The whole message must resolve to one available project using the resolver above, or be that name in one of these short phrases: "It should go in <name>", "Put it in <name>" or "Use <name>", optionally ending with " please". Matching ignores case. A valid answer closes the card and resumes the original request, keeping the person's complete words in history. Other messages follow normal send behavior and leave the card open. Messages with `project_id` or attachments always follow normal send behavior. Cards that are set aside, answered or closed never consume composer messages. An open card never causes a composer message to return 422. Retries preserve the original message and outcome. Other conversations are unaffected.
216
217A named placement card includes optional `remember_name`, the suggested private name. The web card shows a checked "Remember '<name>' for this project" box and an editable name. Card answers accept optional `remember_name`: only an explicit nonempty string confirms a name; an empty string or omission skips learning. The field is honoured only on a card that already carries a suggestion. The web sends the name explicitly when the box is checked. Clients without the control do not learn a name on a plain tap. The model may suggest the prefilled name, but only the person's final project answer with explicit `remember_name` learns it. Choosing another project preserves an edited suggestion or removes it after an opt-out. Learning waits for the later valid answer, which must also send the name explicitly. Composer answers skip learning. Names are trimmed and stored in lowercase for that person only. They must contain at least three Unicode characters, be at most 120 bytes, be valid UTF-8, and contain no newline or NUL. Stopwords and feature phrases are not learned. An ineligible name skips learning without refusing the project choice. Capitalisation and sentence shape do not determine learning. A repository key outside the allowlist retains the existing access-request flow.
218
219## Output
2201. Part A: `id | current | new (or "unchanged") | why`.
2212. Part B: the full revised section, then what changed and why.
2223. Flagged items, then counts.
223```
224
225### section7.md
226
227```text
228## Projects and starting a request
229
230`GET /api/v1/projects` retains `items`, `allowed` and `home`. It also returns `connections` and `can_add` for repositories reachable by your primary runner that are not active projects. Your primary runner is your newest enrolled primary runner that has not been revoked or marked for removal. Execution currently requires the requesting person to be an active owner of this Equipo team. This is the same team-owner role that `can_add` checks. Execution also requires a usable primary runner. In this release, the connection is `amadan`, with forge `amadan`. The matching connection ID and forge value are intentional. Its title is `Amadan`, its state is `connected` or `unavailable`, and `can_add` indicates whether you are an owner of this Equipo team. Reachability comes from the stored latest runner hello. This is that runner's repository and capability report, not a live connectivity check. Each available entry has `repo`, `name`, `title`, `description`, `description_source`, `forge` and `connection_id`. The legacy `allowed` list remains the complete allowlist, including projects already added. Only an owner can add a project using the existing `POST /api/v1/projects` with `{ "repo": "oficina/home" }`.
231
232Project items are ordered with your stars first, followed by recent team activity. They gain `starred` (absent means false), `names` (owner-set team names), `personal_names` (only your learned names), `title_source`, `description_source`, `forge` and `connection_id`. The snapshot and project events also include your star and your private names. Empty optional arrays may be absent. Sources are `owner` or `repository`. Repository text is for display and search only. It is never authoritative for placement. Existing clients can ignore the added fields.
233
234`PUT /api/v1/projects/{id}/star` takes `{ "starred": true }` or `{ "starred": false }` and returns the project with your resulting star. Any current member may use it. It affects only the authenticated person's star. Repeating a request with the same value has the same effect. A removed or unknown project returns 404. No revision or idempotency key is needed.
235
236`PUT /api/v1/projects/{id}/details` is owner-only. It takes the current `revision`, `title` (1 to 120 bytes), `description` (up to 500 bytes), and `names` (up to 12 names, each 1 to 120 bytes), and returns the updated project. Text must be valid UTF-8 and contain no newlines or NUL. Names are trimmed, compared without case and stored in lowercase. Empty entries are ignored. A title or description that differs from its current displayed value becomes owner-set. Optional `use_title: true` explicitly makes the submitted title owner-set even when unchanged. Omitted or false does not. The web form offers an unchecked "Use the repository title for this project" control when the title comes from the repository. The comparison uses the server's project view at save time. This includes the saved repository-derived title and current repository description when those fields are not owner-set. This replaces the team's names and leaves each person's learned names alone. A stale revision returns 409 `idempotency_conflict`. All project writes described here check the current roster inside their transaction.
237
238`DELETE /api/v1/projects/{id}/names` takes `{ "name": "my portal" }` and removes that learned name for the authenticated person only. It returns 204, including when the name is already absent. Team names and other people's names stay unchanged. An unknown project returns 404. A name must be 1 to 120 bytes after trimming, valid UTF-8, with no newlines or NUL. Comparison ignores case. No revision or idempotency key is needed. The web project page offers the same action beside each of your names. Removal does not change the shared project revision, so it does not invalidate an owner's open details form. A `project` event goes only to the person who removed the name, with the unchanged shared revision. Clients must apply `personal_names` from same-revision viewer events in event-sequence order. An absent array means no personal names.
239
240"New request" on a project can open the composer with a removable project chip. Send its ID as optional `project_id` in `POST /api/v1/messages` alongside `text`, `idempotency_key` and optional `attachments`. The response message and message history include that ID. Omitting it keeps the ordinary conversation behavior. The project must be active and in your runner's current allowlist. Unknown projects return 404, and unreachable projects return 422 `repo_not_allowed`. Reusing an idempotency key with a different project returns 409 `idempotency_conflict`. Project-bearing messages start a separate turn and bind task placement to that project. If the project is removed or becomes unreachable before dispatch or during the turn, Equipo releases the binding and shows a notice. The request continues without a project. The original `project_id` remains in history and in the idempotency check. If a turn fails before reaching the model and its message is carried into a later turn, Equipo adds a separate note identifying the project for that earlier request only. The person's words remain quoted on their own. That selection does not bind the newest request or the whole later turn. The Assistant route (`POST /api/v1/assistant/messages`) rejects `project_id`. The job-thread send operation also rejects it. Its web route is `POST /jobs/{id}/messages`, with no device API route.
241
242For a plain conversation, the server resolves exact trusted names: owner-set team names, titles set by an owner, and repository keys (`amadan.net/owner/name`, also accepted as `owner/name`). When no owner-set title exists, the repository basename also matches. A unique trusted match takes priority over a learned personal name. A personal name can resolve a name with no trusted match or with several trusted matches. An unknown or ambiguous name opens a placement card only in a person turn whose request asks for work in a named project. A person turn responds to a person's message. A move-in turn is the Coordinator's initial setup work. Discovery searches, move-in turns and explore turns do not open that card.
243
244The card offers up to five reachable projects and, when more are available, "Choose another project." Starred projects come first. Name similarity and recent activity order the remaining choices. Each option is at most 80 bytes. Answer through `POST /api/v1/cards/{id}/answer`. Choosing another project keeps the card open, increments its revision and replaces the options with a text field. That response has the updated `card`; its `message` and `turn` are empty, and no turn starts. Submit the new revision and a project name or repository as `choice`. An unresolved or ambiguous name returns 422 `invalid_input`, leaving the card open. An open typed placement card can also take a composer message in that same conversation as its answer, including device `POST /api/v1/messages`. The whole message must resolve to one available project using the resolver above, or be that name in one of these short phrases: "It should go in <name>", "Put it in <name>" or "Use <name>", optionally ending with " please". Matching ignores case. A valid answer closes the card and resumes the original request, keeping the person's complete words in history. Other messages follow normal send behavior and leave the card open. Messages with `project_id` or attachments always follow normal send behavior. Cards that are set aside, answered or closed never consume composer messages. An open card never causes a composer message to return 422. Retries preserve the original message and outcome. Other conversations are unaffected.
245
246A named placement card includes optional `remember_name`, the suggested private name. The web card shows a checked "Remember '<name>' for this project" box and an editable name. Card answers accept optional `remember_name`: only an explicit nonempty string confirms a name; an empty string or omission skips learning. The field is honoured only on a card that already carries a suggestion. The web sends the name explicitly when the box is checked. Clients without the control do not learn a name on a plain tap. The model may suggest the prefilled name, but only the person's final project answer with explicit `remember_name` learns it. Choosing another project preserves an edited suggestion or removes it after an opt-out. Learning waits for the later valid answer, which must also send the name explicitly. Composer answers skip learning. Names are trimmed and stored in lowercase for that person only. They must contain at least three Unicode characters, be at most 120 bytes, be valid UTF-8, and contain no newline or NUL. Stopwords and feature phrases are not learned. An ineligible name skips learning without refusing the project choice. Capitalisation and sentence shape do not determine learning. A repository key outside the allowlist retains the existing access-request flow.
247```
248
249### result7.md
250
251```text
252## 1. Part A
253
254`projects.carried_selection` | `Equipo's note for the preceding request: the person selected project %s for that request only.` | `Equipo's note for the preceding request only: the person selected project %s.` | Shorter and clearer. Keeps the scope and `%s`.
255
256## 2. Part B
257
258### Projects and starting a request
259
260`GET /api/v1/projects` retains `items`, `allowed` and `home`. It also returns `connections` and `can_add` for repositories reachable by your primary runner that are not active projects. Your primary runner is your newest enrolled primary runner that has not been revoked or marked for removal. Execution currently requires the requesting person to be an active owner of this Equipo team. This is the same team-owner role that `can_add` checks. Execution also requires a usable primary runner. In this release, the connection is `amadan`, with forge `amadan`. The matching connection ID and forge value are intentional. Its title is `Amadan`, its state is `connected` or `unavailable`, and `can_add` indicates whether you are an owner of this Equipo team. Reachability comes from the stored latest runner hello. This is that runner's repository and capability report, not a live connectivity check. Each available entry has `repo`, `name`, `title`, `description`, `description_source`, `forge` and `connection_id`. The legacy `allowed` list remains the complete allowlist, including projects already added. Only an owner can add a project using the existing `POST /api/v1/projects` with `{ "repo": "oficina/home" }`.
261
262Project items are ordered with your stars first, followed by recent team activity. They gain `starred` (absent means false), `names` (owner-set team names), `personal_names` (only your learned names), `title_source`, `description_source`, `forge` and `connection_id`. The snapshot and project events also include your star and your private names. Empty optional arrays may be absent. Sources are `owner` or `repository`. Repository text is for display and search only. It is never authoritative for placement. Existing clients can ignore the added fields.
263
264`PUT /api/v1/projects/{id}/star` takes `{ "starred": true }` or `{ "starred": false }` and returns the project with your resulting star. Any current member may use it. It affects only the authenticated person's star. Repeating a request with the same value has the same effect. A removed or unknown project returns 404. No revision or idempotency key is needed.
265
266`PUT /api/v1/projects/{id}/details` is owner-only. It takes the current `revision`, `title` (1 to 120 bytes), `description` (up to 500 bytes), and `names` (up to 12 names, each 1 to 120 bytes), and returns the updated project. Text must be valid UTF-8 and contain no newlines or NUL. Names are trimmed, compared without case and stored in lowercase. Empty entries are ignored. A title or description that differs from its current displayed value becomes owner-set. Optional `use_title: true` explicitly makes the submitted title owner-set even when unchanged. Omitted or false does not. The web form offers an unchecked "Use the repository title for this project" control when the title comes from the repository. The comparison uses the server's project view at save time. This includes the saved repository-derived title and current repository description when those fields are not owner-set. This replaces the team's names and leaves each person's learned names alone. A stale revision returns 409 `idempotency_conflict`. All project writes described here check the current roster inside their transaction.
267
268`DELETE /api/v1/projects/{id}/names` takes `{ "name": "my portal" }` and removes that learned name for the authenticated person only. It returns 204, including when the name is already absent. Team names and other people's names stay unchanged. An unknown project returns 404. A name must be 1 to 120 bytes after trimming, valid UTF-8, with no newlines or NUL. Comparison ignores case. No revision or idempotency key is needed. The web project page offers the same action beside each of your names. Removal does not change the shared project revision, so it does not invalidate an owner's open details form. A `project` event goes only to the person who removed the name, with the unchanged shared revision. Clients must apply `personal_names` from same-revision viewer events in event-sequence order. An absent array means no personal names.
269
270"New request" on a project can open the composer with a removable project chip. Send its ID as optional `project_id` in `POST /api/v1/messages` alongside `text`, `idempotency_key` and optional `attachments`. The response message and message history include that ID. Omitting it keeps the ordinary conversation behavior. The project must be active and in your runner's current allowlist. Unknown projects return 404, and unreachable projects return 422 `repo_not_allowed`. Reusing an idempotency key with a different project returns 409 `idempotency_conflict`. Project-bearing messages start a separate turn and bind task placement to that project. If the project is removed or becomes unreachable before dispatch or during the turn, Equipo releases the binding and shows a notice. The request continues without a project. The original `project_id` remains in history and in the idempotency check. If a turn fails before reaching the model and its message is carried into a later turn, Equipo adds a separate note for the preceding request only, identifying the project selected for that request. The person's words remain quoted on their own. That selection does not bind the newest request or the whole later turn. The Assistant route (`POST /api/v1/assistant/messages`) rejects `project_id`. The job-thread send operation also rejects it. Its web route is `POST /jobs/{id}/messages`, with no device API route.
271
272For a plain conversation, the server resolves exact trusted names: owner-set team names, titles set by an owner, and repository keys (`amadan.net/owner/name`, also accepted as `owner/name`). When no owner-set title exists, the repository basename also matches. A unique trusted match takes priority over a learned personal name. A personal name can resolve a name with no trusted match or with several trusted matches. An unknown or ambiguous name opens a placement card only in a person turn whose request asks for work in a named project. A person turn responds to a person's message. A move-in turn is the Coordinator's initial setup work. Discovery searches, move-in turns and explore turns do not open that card.
273
274The card offers up to five reachable projects and, when more are available, "Choose another project." Starred projects come first. Name similarity and recent activity order the remaining choices. Each option is at most 80 bytes. Answer through `POST /api/v1/cards/{id}/answer`. Choosing another project keeps the card open, increments its revision and replaces the options with a text field. That response has the updated `card`; its `message` and `turn` are empty, and no turn starts. Submit the new revision and a project name or repository as `choice`. An unresolved or ambiguous name returns 422 `invalid_input`, leaving the card open. An open typed placement card can also take a composer message in that same conversation as its answer, including device `POST /api/v1/messages`. The whole message must resolve to one available project using the resolver above, or be that name in one of these short phrases: "It should go in <name>", "Put it in <name>" or "Use <name>", optionally ending with " please". Matching ignores case. A valid answer closes the card and resumes the original request, keeping the person's complete words in history. A composer message passes through an open card unless it clearly names one available project as described above. Messages with `project_id` or attachments always follow normal send behavior. Cards that are set aside, answered or closed never consume composer messages. An open card never causes a composer message to return 422. Retries preserve the original message and outcome. Other conversations are unaffected.
275
276A named placement card includes optional `remember_name`, the suggested private name. The web card shows a checked "Remember '<name>' for this project" box and an editable name. Card answers accept optional `remember_name`: only an explicit nonempty string confirms a name. An empty string or omission skips learning. The field is honoured only on a card that already carries a suggestion. The web sends the name explicitly when the box is checked. Clients without the control do not learn a name on a plain tap. The model may suggest the prefilled name, but only the person's final project answer with explicit `remember_name` learns it. Choosing another project preserves an edited suggestion or removes it after an opt-out. Learning waits for the later valid answer, which must also send the name explicitly. Composer answers skip learning. Names are trimmed and stored in lowercase for that person only. They must contain at least three Unicode characters, be at most 120 bytes, be valid UTF-8, and contain no newline or NUL. Stopwords and feature phrases are not learned. An ineligible name skips learning without refusing the project choice. Capitalisation and sentence shape do not determine learning. A repository key outside the allowlist retains the existing access-request flow.
277
278### What changed and why
279
280- Clarified that a carried project selection applies only to the preceding request.
281- Clarified that ordinary composer messages pass through an open card unless they clearly name one available project.
282- Split the `remember_name` rule into explicit sentences so that only an explicit, nonempty value learns a name. Both omission and an empty string skip learning.
283
284## 3. Flagged items
285
286None. All requested facts, fields, paths, status codes, limits, JSON examples and quoted UI labels were preserved.
287
288Counts: Part A, 1 string reviewed, 1 revised. Part B, 3 paragraphs revised. Flagged items: 0.
289```
290