oficina / equipo Public

Lead the Assistant to say what connecting Oficina lets it do

When look raises the connect card, its note told the model the person
"now has a card to connect it; tell them to use it", and the Assistant
replied "Use the connection card to connect your Oficina apps…". Base now
draws the card as a button at the end of that reply, so the note says
only what to say: in its own words, that once they connect their Oficina
apps it can do what they asked ("Connect your Oficina apps and I'll show
you this week."), without describing what they will see or how
connecting works. The note names no card, button, link, connection or
Equipo, and the contract test holds it to that.

Model-facing text only; no copy changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by paul@keymail.dev 0085845de932dbcd2609363fa775c1d68c758f1c parent 98defec
2 files changed, +14 −3
  • internal/equipo/assist/oficina_test.go +9 −1
  • internal/equipo/assist/registry.go +5 −2

CI passed — run details

diff --git a/internal/equipo/assist/oficina_test.go b/internal/equipo/assist/oficina_test.go
index 1a6432c5..2ddf9922 100644
--- a/internal/equipo/assist/oficina_test.go
+++ b/internal/equipo/assist/oficina_test.go
@@ -241,9 +241,17 @@ func TestOficinaHintWhenNotConnected(t *testing.T) {
if err != nil {
t.Fatal(err)
}
- if !strings.Contains(out, "(oficina)") || !strings.Contains(out, "not connected") || !strings.Contains(out, "now have a card") {
+ if !strings.Contains(out, "(oficina)") || !strings.Contains(out, "not connected") || !strings.Contains(out, "once they connect their Oficina apps") {
t.Errorf("%q: no hint:\n%s", q, out)
}
+ // The model is led to say what connecting lets it do, in its own
+ // words, and is told of no card, connections or machinery it
+ // would repeat to the person.
+ for _, word := range []string{"card", "connection", "equipo", "oficina-connect", "oficina connect", "button", "link"} {
+ if strings.Contains(strings.ToLower(out), word) {
+ t.Errorf("%q: the note mentions %q:\n%s", q, word, out)
+ }
+ }
if len(hooked) != 1 || hooked[0] != "p/oficina" {
t.Errorf("%q: hook %v", q, hooked)
}
diff --git a/internal/equipo/assist/registry.go b/internal/equipo/assist/registry.go
index 4becc45a..aa17857b 100644
--- a/internal/equipo/assist/registry.go
+++ b/internal/equipo/assist/registry.go
@@ -35,9 +35,12 @@ type Registry struct {
}
// The end of a hint's line in look: the person has a card to connect
-// the provider (the hook said so), or not.
+// the provider (the hook said so), or not. With one, Base draws its
+// button at the end of the reply, so the model is told only what to say:
+// in its own words, what connecting lets it do for them. It is told of
+// no card or machinery, so it names none to the person.
const (
- hintCard = " They now have a card to connect it; tell them to use it, then try again."
+ hintCard = " The way to connect now shows right after your reply. Say in your own words, in a sentence, that once they connect their Oficina apps you can do what they asked, such as \"Connect your Oficina apps and I'll show you this week.\" Don't describe what they will see or how connecting works."
hintNoCard = " Tell them it needs connecting first."
)