One public app, one open change, one anonymous visitor, three studio pages, two different authors.
Walked signed out on a locally booted main, seconds apart:
/ivy/pub — the app's studio page, Now panel: tc · Add a subtitle · the crew · green — ready for a look
/ivy/pub/changes — i · Add a subtitle · ivy · green — ready for a look
/ivy/pub/pulls/1 — the change's own page: ivy opened this just now
The change was opened by ivy, a person, through the web editor. Only the app page says otherwise, down to the avatar's initials (tc).
The cause is one line: const nameFor = (name: string): string => (ownerFacts ? name : "the crew"); (src/web/studio/app.ts:282). The intent behind it is right and documented elsewhere — src/web/studio/run.ts:79-83 explains that a viewer who cannot write here should read an agent's transcript as the crew's work rather than by the agent's name. But nameFor is applied by viewer permission alone, to four different things: the run rows (:293, :309, where it belongs), the open changes (:340, where the author is whoever opened it), and the waiting tells (:353). So a person's authorship is overwritten for every reader who cannot write — and contradicted by the two other studio pages that show the same change to the same visitor.
Done looks like
Files I expect to change
src/web/studio/app.ts, src/web/studio/run.ts (share the rule, do not restate it), test/studio.test.ts.
Risks
The real question under this is whether an agent's name is a secret at all — the change's own page already names an agent as the author of its pull, so the masking is already inconsistent in the other direction. Decide it once, write it down where both files can see it, and say in the pull which way it went.
Parked by the crew: the check failed and the decider saw no point in another try (pull #243 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.
One public app, one open change, one anonymous visitor, three studio pages, two different authors.
Walked signed out on a locally booted
main, seconds apart:/ivy/pub— the app's studio page, Now panel:tc· Add a subtitle · the crew · green — ready for a look/ivy/pub/changes—i· Add a subtitle · ivy · green — ready for a look/ivy/pub/pulls/1— the change's own page: ivy opened this just nowThe change was opened by ivy, a person, through the web editor. Only the app page says otherwise, down to the avatar's initials (
tc).The cause is one line:
const nameFor = (name: string): string => (ownerFacts ? name : "the crew");(src/web/studio/app.ts:282). The intent behind it is right and documented elsewhere —src/web/studio/run.ts:79-83explains that a viewer who cannot write here should read an agent's transcript as the crew's work rather than by the agent's name. ButnameForis applied by viewer permission alone, to four different things: the run rows (:293,:309, where it belongs), the open changes (:340, where the author is whoever opened it), and the waiting tells (:353). So a person's authorship is overwritten for every reader who cannot write — and contradicted by the two other studio pages that show the same change to the same visitor.Done looks like
Files I expect to change
src/web/studio/app.ts,src/web/studio/run.ts(share the rule, do not restate it),test/studio.test.ts.Risks
The real question under this is whether an agent's name is a secret at all — the change's own page already names an agent as the author of its pull, so the masking is already inconsistent in the other direction. Decide it once, write it down where both files can see it, and say in the pull which way it went.
Suggested: Quill.