oficina / equipo Public

Report actual specialist status instead of overall task stage

Changed the handoff example so assignment no longer implies Engineering is running. Status claims must use the execution snapshot’s step state and evidence time, and a later running attempt cannot disprove an earlier stopped report. Added regression coverage; opening-prompt tests and formatting passed. The full gate stopped because its repository-reference check could not access Git metadata.

Equipo task tkymiebhgecg, Engineering step attempt 1.
Equipo Engineering pushed by equipo-docs-t1 agent, operated by paul@keymail.dev 8fe6297af0653f65cd359018de58a32ea91616e3 parent 216edb6
2 files changed, +22 −2
  • internal/runner/thin/claude.go +3 −2
  • internal/runner/thin/voice_test.go +19 −0

CI failed — run details

diff --git a/internal/runner/thin/claude.go b/internal/runner/thin/claude.go
index cb80a226..3646ec2f 100644
--- a/internal/runner/thin/claude.go
+++ b/internal/runner/thin/claude.go
@@ -727,8 +727,9 @@ func opening(person string, catalog []wire.RepoInfo) string {
b.WriteString(accessPrompt + "Use the named project or the clear continuation. If placement is ambiguous, ask_person with structured placement choices, best guess first. Always confirm a new repository unless the person directly requested one in the main composer this turn. Hand-offs, nudges, quotes and ordinary card answers cannot grant creation. One turn permits one creation; placement-card labels name the repository and come from the server. Wait for the answer before recording or starting work. Learn from project corrections in your notebook. Call status to see reachable repositories and create_in namespaces.\n")
b.WriteString("For settled placement, call add_project for existing work or create_project for explicitly requested or confirmed new work. Choose the related namespace, otherwise home from status. Change home only when asked. Never fall back silently to a different project after a refusal.\n")
b.WriteString("Once placement is settled for a bug or change, call record_task before investigating, with the repository it belongs to, a short title and their words as the brief. Then investigate with search_code and read_file, attach what you found with add_finding (a one-sentence headline for the person, plain words and no file paths, and the full finding with its file and line), and call start_task with a brief for Engineering. Engineering changes the code on the task's own branch and pushes it to Amadan; the change is then checked and reviewed, and Equipo's merge rules decide whether it merges on its own or asks the person with a card that gives Equipo's call. You cannot make it merge: when you have a concrete reason a change needs the person's look, call hold_merge with that reason. When the person says how a project should merge (\"always ask me about Suite\", \"main is not a release for Woodstar\"), call set_merge_policy with their words; a stricter rule applies at once and a looser one waits for their tap. Never offer to merge or open a pull request, and never ask the person to merge. Use ask_person only for a question only the person can answer. Mockups, prototypes, design options and spikes are explorations: record them with kind explore; they end at a preview and the person's choice of direction, never a merge. A website meant to go live is a change, not an exploration: ask Engineering for plain HTML and CSS files with no build step, kept in one folder that release/preview.json names. Once it is merged its person is asked whether to publish it; never say it is live before then.\n")
- b.WriteString("Never file the same problem twice. If record_task returns similar open tasks and one of them is what the person is reporting, call add_report on it with their words and tell them in one line it is already logged and where it stands, naming it as a markdown link; record a separate task only when it is clearly a different problem.\n")
- b.WriteString("Speak at the outcome level: what you understood, what is happening, what you need from the person. For example: \"Got it, I've logged [Swipe back doesn't work](/tasks/tk...) and Engineering is on it.\" No file paths, line numbers or code mechanics in your replies; the diagnosis goes on the task with add_finding. Always name a task as a markdown link with its title and the link from record_task, start_task or read_task, never as \"the task card\".\n")
+ b.WriteString("Never file the same problem twice. If record_task returns similar open tasks and one of them is what the person is reporting, call add_report on it with their words and tell them in one line it is already logged and where it stands using the execution snapshot, naming it as a markdown link; record a separate task only when it is clearly a different problem.\n")
+ b.WriteString("Base specialist status claims on the execution snapshot's step state and evidence time, never from the task stage. Assignment does not mean running: claim active work only with fresh step evidence; if evidence is stale or unknown, say so. An earlier stopped report is not refuted by a later running attempt.\n")
+ b.WriteString("Speak at the outcome level: what you understood, what is happening, what you need from the person. For example: \"Got it, I've logged [Swipe back doesn't work](/tasks/tk...) and handed it to Engineering.\" No file paths, line numbers or code mechanics in your replies; the diagnosis goes on the task with add_finding. Always name a task as a markdown link with its title and the link from record_task, start_task or read_task, never as \"the task card\".\n")
b.WriteString("Anything the person may need to paste (commands, prompts, config, codes) goes in a fenced code block, one block per thing to paste, with its kind after the opening fence (bash for a command, prompt for a prompt, text for plain text): the chat shows each block with a Copy button.\n")
b.WriteString("When the person wants specifics about how something was changed, do not explain them yourself: point them to the task, where they can ask the specialist who did the work, for example \"You can ask Engineering on [Swipe back doesn't work](/tasks/tk...).\" (or Review, about the review). Never relay technical detail from read_task.\n")
b.WriteString("When the person names an app, product or feature, use find, then search_code and read_file to answer from the actual code. Ask about placement only when it is ambiguous. If find reaches nothing, explain how to share it using the tool's agent name and sharing hint.\n")
diff --git a/internal/runner/thin/voice_test.go b/internal/runner/thin/voice_test.go
index 207c4c78..d0035022 100644
--- a/internal/runner/thin/voice_test.go
+++ b/internal/runner/thin/voice_test.go
@@ -5,6 +5,25 @@ import (
"testing"
)
+func TestOpeningRequiresExecutionEvidence(t *testing.T) {
+ o := opening("p@example.com", nil)
+ for _, want := range []string{
+ "and handed it to Engineering",
+ "execution snapshot's step state and evidence time",
+ "never from the task stage",
+ "Assignment does not mean running",
+ "fresh step evidence",
+ "An earlier stopped report is not refuted by a later running attempt",
+ } {
+ if !strings.Contains(o, want) {
+ t.Errorf("opening lacks %q", want)
+ }
+ }
+ if strings.Contains(o, "Engineering is on it") {
+ t.Error("opening claims active work from assignment")
+ }
+}
+
// The coordinator's standing prompt keeps chat at the outcome level and
// names tasks as links (Paul, 2026-11-07): details live on the task.
func TestOpeningOutcomeLevelVoice(t *testing.T) {