oficina / equipo Public
Fable follow-up regression and mutation evidence
Base: b04598da. Review: ee79c086, CHANGES REQUESTED. The controller's 2026-11-23 corrections supersede omitted-name learning and composer refusal. No migration changes; no GitHub work.
Test-first failures
Command: GOTOOLCHAIN=go1.26.11 CGO_ENABLED=0 go test ./internal/equipo/chat ./internal/thintest -run TestCardNames -count=1. Before implementation, regressions failed for ordinary, phrase, project_id, attachment and aside composer paths; omission learned an unseen name; ordinary placement accepted a name and paired it with the wrong repository; carried selection bound a later request and quoted Equipo's words as the person's; access approval forced a fresh turn. The failure output follows.
--- FAIL: TestCardNamesAccessResumeJoinsWaitingBatch (0.06s)
access_resume_test.go:158: access continuation forced fresh turn t_c5q7jwrsjdfera7qbkrvjj7vah t_vsgymojfs4x3wpmyfrgjjy3giq
--- FAIL: TestCardNamesConfirmed (0.05s)
--- FAIL: TestCardNamesConfirmed/tito/ (0.01s)
project_card_names_test.go:51: filtered or skipped name learned: [{ProjectID:p_old Person:owner@example.com Name:tito CreatedAt:2026-11-12 12:00:00 +0000 UTC}]
--- FAIL: TestCardNamesCarriedSelection (0.01s)
project_card_names_test.go:104: system note quoted as person words [Equipo: these earlier messages from the person got no answer: their turns failed before you saw them. They are the person's own words, oldest first, still waiting. Answer them together with the newest message.]
--- FAIL: TestCardNamesPlacementIdentity (0.01s)
--- FAIL: TestCardNamesPlacementIdentity/suggestion= (0.01s)
project_card_names_test.go:251: ordinary card accepted name [{p_new owner@example.com portal 2026-11-12 12:00:00 +0000 UTC}]
--- FAIL: TestCardNamesPlacementIdentity/suggestion=portal (0.01s)
project_card_names_test.go:254: name paired by index [{p_new owner@example.com portal 2026-11-12 12:00:00 +0000 UTC}]
FAIL
FAIL amadan.net/oficina/equipo/internal/equipo/chat 0.596s
--- FAIL: TestCardNamesComposerDevice (1.86s)
--- FAIL: TestCardNamesComposerDevice/exact (0.61s)
project_card_names_test.go:83: composer learned unseen suggestion 1 <nil>
--- FAIL: TestCardNamesComposerDevice/phrase (0.14s)
project_card_names_test.go:59: composer refused by open card HTTP 422: {"code":"invalid_input","copy_key":"api.invalid_input","request_id":"C2KIB2X7OPDB7GBHTUM4FXOPFF"}
--- FAIL: TestCardNamesComposerDevice/unrelated (0.14s)
project_card_names_test.go:59: composer refused by open card HTTP 422: {"code":"invalid_input","copy_key":"api.invalid_input","request_id":"RKIN7OTP63V2IFEH42KVV5KRCP"}
--- FAIL: TestCardNamesComposerDevice/unknown (0.14s)
project_card_names_test.go:59: composer refused by open card HTTP 422: {"code":"invalid_input","copy_key":"api.invalid_input","request_id":"LO2UVM5354FT5ERMWD44YJT5CS"}
--- FAIL: TestCardNamesComposerDevice/multiple (0.14s)
project_card_names_test.go:59: composer refused by open card HTTP 422: {"code":"invalid_input","copy_key":"api.invalid_input","request_id":"44AFREYK6MHCTTJVH6WKL4R5SP"}
--- FAIL: TestCardNamesComposerDevice/project (0.14s)
project_card_names_test.go:59: composer refused by open card HTTP 422: {"code":"invalid_input","copy_key":"api.invalid_input","request_id":"BWUXCBJTSV2EEJ2WFZZSJLMQDO"}
--- FAIL: TestCardNamesComposerDevice/attachment (0.14s)
project_card_names_test.go:79: card state answered want open
--- FAIL: TestCardNamesComposerDevice/aside (0.14s)
project_card_names_test.go:79: card state answered want open
--- FAIL: TestCardNamesCarriedDevice (0.17s)
project_card_names_test.go:163: carried selection incorrectly bound newest request {t_mpim55wdjn2rvffqiwmls5lnqi/1/carried-new-request owner@example.com true placement_mismatch Use the project the person chose. A project correction moves the existing task; do not record or start another. false}
FAIL
FAIL amadan.net/oficina/equipo/internal/thintest 2.749s
FAILDeliberate guard mutations
Each mutation was applied alone, its listed command failed on an assertion, and the original file was restored in a finally block. All 22 were killed. The restored CardNames suites pass; full validation is in the controller report. Commands used GOTOOLCHAIN=go1.26.11 and CGO_ENABLED=0.
project_id passes through
File: internal/equipo/chat/project_composer.go.
go test ./internal/thintest -run TestCardNamesComposerDevice/project -count=1
--- FAIL: TestCardNamesComposerDevice (0.61s)
--- FAIL: TestCardNamesComposerDevice/project (0.61s)
project_card_names_test.go:62: message lost words, project or turn {{ m_jqcuyiimdbnh6tthzs4b3eocti 1 person oficina/equipo t_mqcgxufdxqxzu3jbkkc4jdq43o 2026-11-23 08:51:30.407466 +0000 UTC <nil> []} {t_mqcgxufdxqxzu3jbkkc4jdq43o 1 queued 1 [m_jqcuyiimdbnh6tthzs4b3eocti] 2026-11-23 08:51:30.407466 +0000 UTC 2026-11-23 08:51:30.40824 +0000 UTC <nil>}}
FAIL
FAIL amadan.net/oficina/equipo/internal/thintest 1.145s
FAILattachments pass through
File: internal/equipo/chat/project_composer.go.
go test ./internal/thintest -run TestCardNamesComposerDevice/attachment -count=1
--- FAIL: TestCardNamesComposerDevice (0.61s)
--- FAIL: TestCardNamesComposerDevice/attachment (0.61s)
project_card_names_test.go:65: attachments lost
FAIL
FAIL amadan.net/oficina/equipo/internal/thintest 1.182s
FAILaside cards ignored
File: internal/equipo/chat/project_composer.go.
go test ./internal/thintest -run TestCardNamesComposerDevice/aside -count=1
--- FAIL: TestCardNamesComposerDevice (0.62s)
--- FAIL: TestCardNamesComposerDevice/aside (0.62s)
project_card_names_test.go:79: card state answered want open
FAIL
FAIL amadan.net/oficina/equipo/internal/thintest 1.152s
FAILclosed cards ignored
File: internal/equipo/chat/project_composer.go.
go test ./internal/thintest -run TestCardNamesComposerDevice/answered -count=1
--- FAIL: TestCardNamesComposerDevice (0.61s)
--- FAIL: TestCardNamesComposerDevice/answered (0.61s)
project_card_names_test.go:59: composer refused by open card HTTP 503: {"code":"unavailable","copy_key":"api.unavailable","request_id":"JPTRONKPW3KJHZY3BJNXPNHYVK"}
FAIL
FAIL amadan.net/oficina/equipo/internal/thintest 1.133s
FAILunknown composer passes through
File: internal/equipo/chat/project_composer.go.
go test ./internal/thintest -run TestCardNamesComposerDevice/unknown -count=1
--- FAIL: TestCardNamesComposerDevice (0.61s)
--- FAIL: TestCardNamesComposerDevice/unknown (0.61s)
project_card_names_test.go:59: composer refused by open card HTTP 422: {"code":"invalid_input","copy_key":"api.invalid_input","request_id":"JLYUI64PPF7D77PB5UUM6XGXEX"}
FAIL
FAIL amadan.net/oficina/equipo/internal/thintest 1.132s
FAILshort phrase resolves
File: internal/equipo/chat/project_composer.go.
go test ./internal/thintest -run TestCardNamesComposerDevice/phrase -count=1
--- FAIL: TestCardNamesComposerDevice (0.61s)
--- FAIL: TestCardNamesComposerDevice/phrase (0.61s)
project_card_names_test.go:79: card state open want answered
FAIL
FAIL amadan.net/oficina/equipo/internal/thintest 1.149s
FAILunreachable composer passes through
File: internal/equipo/chat/project_composer.go.
go test ./internal/equipo/chat -run TestCardNamesComposerUnavailableOrAmbiguous/false -count=1
--- FAIL: TestCardNamesComposerUnavailableOrAmbiguous (0.05s)
--- FAIL: TestCardNamesComposerUnavailableOrAmbiguous/false (0.05s)
project_card_names_test.go:329: unavailable or ambiguous name refused composer chat: repository not allowed
FAIL
FAIL amadan.net/oficina/equipo/internal/equipo/chat 0.412s
FAILretry does not answer new card
File: internal/equipo/chat/project_composer.go.
go test ./internal/equipo/chat -run TestCardNamesRetryBeforeCard -count=1
--- FAIL: TestCardNamesRetryBeforeCard (0.06s)
project_card_names_test.go:301: retry changed outcome true <nil>
FAIL
FAIL amadan.net/oficina/equipo/internal/equipo/chat 0.425s
FAILtyped cards only
File: internal/equipo/chat/project_composer.go.
go test ./internal/equipo/chat -run TestCardNamesOnlyTypedCard -count=1
--- FAIL: TestCardNamesOnlyTypedCard (0.06s)
project_card_names_test.go:234: option card captured composer
FAIL
FAIL amadan.net/oficina/equipo/internal/equipo/chat 0.386s
FAILperson isolation
File: internal/equipo/chat/project_composer.go.
go test ./internal/equipo/chat -run TestCardNamesComposerScope -count=1
--- FAIL: TestCardNamesComposerScope (0.06s)
--- FAIL: TestCardNamesComposerScope/member@example.com (0.05s)
project_card_names_test.go:160: another conversation answered card
FAIL
FAIL amadan.net/oficina/equipo/internal/equipo/chat 0.395s
FAILlane isolation
File: internal/equipo/chat/project_composer.go.
go test ./internal/equipo/chat -run TestCardNamesComposerScope -count=1
--- FAIL: TestCardNamesComposerScope (0.06s)
--- FAIL: TestCardNamesComposerScope/owner@example.comjob:other (0.01s)
project_card_names_test.go:160: another conversation answered card
FAIL
FAIL amadan.net/oficina/equipo/internal/equipo/chat 0.390s
FAILcomposer chosen identity
File: internal/equipo/chat/project_composer.go.
go test ./internal/equipo/chat -run TestCardNamesComposerStar -count=1
--- FAIL: TestCardNamesComposerStar (0.05s)
project_card_names_test.go:348: chat: invalid
FAIL
FAIL amadan.net/oficina/equipo/internal/equipo/chat 0.425s
FAILomission skips learning
File: internal/equipo/chat/project_resolution.go.
go test ./internal/equipo/chat -run TestCardNamesConfirmed -count=1
--- FAIL: TestCardNamesConfirmed (0.10s)
--- FAIL: TestCardNamesConfirmed/tito/ (0.06s)
project_card_names_test.go:51: filtered or skipped name learned: [{ProjectID:p_old Person:owner@example.com Name:tito CreatedAt:2026-11-12 12:00:00 +0000 UTC}]
FAIL
FAIL amadan.net/oficina/equipo/internal/equipo/chat 0.477s
FAILsuggestion required
File: internal/equipo/chat/projects.go.
go test ./internal/equipo/chat -run TestCardNamesPlacementIdentity/suggestion=$ -count=1
--- FAIL: TestCardNamesPlacementIdentity (0.06s)
--- FAIL: TestCardNamesPlacementIdentity/suggestion= (0.06s)
project_card_names_test.go:258: ordinary card accepted name [{p_old owner@example.com portal 2026-11-12 12:00:00 +0000 UTC}]
FAIL
FAIL amadan.net/oficina/equipo/internal/equipo/chat 0.387s
FAILidentity instead of index
File: internal/equipo/chat/project_resolution.go.
go test ./internal/equipo/chat -run TestCardNamesPlacementIdentity/suggestion=portal -count=1
--- FAIL: TestCardNamesPlacementIdentity (0.05s)
--- FAIL: TestCardNamesPlacementIdentity/suggestion=portal (0.05s)
project_card_names_test.go:261: name paired by index [{p_new owner@example.com portal 2026-11-12 12:00:00 +0000 UTC}]
FAIL
FAIL amadan.net/oficina/equipo/internal/equipo/chat 0.383s
FAILtyped identity learning
File: internal/equipo/chat/project_resolution.go.
go test ./internal/equipo/chat -run TestCardNamesTypedExplicit -count=1
--- FAIL: TestCardNamesTypedExplicit (0.05s)
project_card_names_test.go:279: chat: invalid
FAIL
FAIL amadan.net/oficina/equipo/internal/equipo/chat 0.373s
FAILcarried selection stays scoped
File: internal/equipo/chat/project_message.go.
go test ./internal/equipo/chat -run TestCardNamesCarriedSelection -count=1
--- FAIL: TestCardNamesCarriedSelection (0.05s)
project_card_names_test.go:111: carried selection bound newest request amadan.net/oficina/new
FAIL
FAIL amadan.net/oficina/equipo/internal/equipo/chat 0.472s
FAILperson quote excludes system note
File: internal/equipo/chat/store.go.
go test ./internal/equipo/chat -run TestCardNamesCarriedSelection -count=1
--- FAIL: TestCardNamesCarriedSelection (0.05s)
project_card_names_test.go:104: system note quoted as person words [Equipo: these earlier messages from the person got no answer: their turns failed before you saw them. They are the person's own words, oldest first, still waiting. Answer them together with the newest message.]
FAIL
FAIL amadan.net/oficina/equipo/internal/equipo/chat 0.408s
FAILcarried project note retained
File: internal/equipo/chat/store.go.
go test ./internal/equipo/chat -run TestCardNamesCarriedSelection -count=1
--- FAIL: TestCardNamesCarriedSelection (0.05s)
project_card_names_test.go:101: carried prompt lost selection [Equipo: these earlier messages from the person got no answer: their turns failed before you saw them. They are the person's own words, oldest first, still waiting. Answer them together with the newest message.]
FAIL
FAIL amadan.net/oficina/equipo/internal/equipo/chat 0.386s
FAILaccess continuation batching
File: internal/equipo/chat/store.go.
go test ./internal/equipo/chat -run TestCardNamesAccessResumeJoinsWaitingBatch -count=1
--- FAIL: TestCardNamesAccessResumeJoinsWaitingBatch (0.06s)
access_resume_test.go:158: access continuation forced fresh turn t_txpj2o6wuojiazwcej7hmfbjx4 t_zxduk5ge4hdebnhawjdxkqabh4
FAIL
FAIL amadan.net/oficina/equipo/internal/equipo/chat 0.390s
FAILtyped answer separate turn
File: internal/equipo/chat/store.go.
go test ./internal/equipo/chat -run TestCardNamesAnswerOwnTurn -count=1
--- FAIL: TestCardNamesAnswerOwnTurn (0.06s)
project_card_names_test.go:217: typed answer joined ordinary queued turn
FAIL
FAIL amadan.net/oficina/equipo/internal/equipo/chat 0.380s
FAILLater plain message stays separate
Removed the answer_message exclusion from the waiting-batch query.
go test ./internal/thintest -run TestCardNamesComposerDevice/exact -count=1
--- FAIL: TestCardNamesComposerDevice (0.61s)
--- FAIL: TestCardNamesComposerDevice/exact (0.61s)
project_card_names_test.go:88: plain message joined answer turn <nil>
FAIL
rastrillo-budget/v1 ran 615ms
FAIL amadan.net/oficina/equipo/internal/thintest 1.154s
FAIL