feat(automation): ball-grants -- the mail cards, to others only by the owner's grant (Closes #5387) - #5411
Merged
Conversation
…e owner's grant (Closes #5387) The ball board (automation/ball-board.t27) shows the owner's mailbox, CRM and open work by client, with whose move it is. This spec says who else may see the MAIL cards: nobody, unless the owner granted it. - Only the owner grants, never to themselves; a viewer is a telegram id, never a username (usernames change hands). - A grant covers one linked client or every linked client ('*'); an unlinked matter never reaches a viewer. - Every grant ends: unsized is 30 days, nothing outlives 90. - A grant opens the mail and nothing else: open work (private repos) stays the owner's alone. - Never to a viewer: the owner's links, counterparties' addresses, or a count of cards outside the grant. The t27.ai game token cannot open the board at all. - Each viewer read is stamped; the owner's list shows who looked. - RUN_LIVE false: designed, bound to the host, not yet switched on. Host: gHashTag/999-multibots-telegraf render src/agent/ball-grants.ts, bound by src/spec/ball-grants.test.ts. Closes #5387 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Contributor
|
📓 NotebookLM Notebook linked to this PR
This notebook contains session context, decisions, and artifacts for this work. |
This was referenced Oct 1, 2026
Merged
Merged
Merged
This was referenced Oct 2, 2026
Merged
Merged
Merged
Owner
Author
|
Reviewer bee W -- verified at head Evidence (fresh clone under /tmp, master 6111696, t27c built from master):
Red checks are noise: Corpus ratchet, spec-guards, untrusted-input, coverage and Scorecard are red on master too; emit-bitexact fails on every open PR and does not run on master pushes. |
This was referenced Oct 2, 2026
gHashTag
added a commit
to gHashTag/trinity
that referenced
this pull request
Oct 2, 2026
…ed (#1202) Owner, 2026-10-01: every task from the mail visible to him when signed in, and to others only if he allowed it. - lib/ballBoard.ts reads the ball_board tool through the player's identity (one Authorization header, credentials omitted, no arguments). Links pass safeLink (https only); no counts from the server survive the reader. - The MAIL lane is drawn only when the server sent the mail source. A not_yours, unknown or missing status draws nothing -- no lane, no chip, no hint that a lane exists. Signed out sends no request. - Columns by whose move it is (ours / due / theirs / none); cards carry the client, the source, the title, why, and days waiting. - qa/ball-board-contract.mjs (59 checks) gates the wire, the refusals and the page structure; hive-board and clients-filter contracts learn the second private lane. Wired into website-checks. Server side: gHashTag/999-multibots-telegraf#3204, spec gHashTag/t27#5411. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
github-actions Bot
added a commit
to gHashTag/trinity
that referenced
this pull request
Oct 2, 2026
feat(website): the mail lane on /game/kanban -- the owner's, or granted (#1202) Owner, 2026-10-01: every task from the mail visible to him when signed in, and to others only if he allowed it. - lib/ballBoard.ts reads the ball_board tool through the player's identity (one Authorization header, credentials omitted, no arguments). Links pass safeLink (https only); no counts from the server survive the reader. - The MAIL lane is drawn only when the server sent the mail source. A not_yours, unknown or missing status draws nothing -- no lane, no chip, no hint that a lane exists. Signed out sends no request. - Columns by whose move it is (ours / due / theirs / none); cards carry the client, the source, the title, why, and days waiting. - qa/ball-board-contract.mjs (59 checks) gates the wire, the refusals and the page structure; hive-board and clients-filter contracts learn the second private lane. Wired into website-checks. Server side: gHashTag/999-multibots-telegraf#3204, spec gHashTag/t27#5411. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
specs/automation/ball-grants.t27decides who else, besides the owner, may see the mail cards on the ball board (automation/ball-board.t27). The answer is nobody, unless the owner grants it.Owner, 2026-10-01: every task from the mail is visible to the owner when signed in, and to others only if the owner allowed it. Privacy and security handled.
The laws (each one is a
testblock, bound to the host)Who grants. Only the owner, and never to themselves. A viewer is a telegram id, never a username, because usernames change hands.
What a grant covers. One linked client, or
*for every linked client. An unlinked matter never reaches a viewer.When it ends. Every grant expires: 30 days if no length is given, 90 at most.
What it opens. The mail and nothing else. Open work (private repos) stays owner-only.
What never leaves the server.
The t27.ai game token cannot open the board at all.
Audit. Each viewer read is stamped, and the owner's list shows who looked.
RUN_LIVE = false. The design is done and bound to the host, but not switched on yet.Host
gHashTag/999-multibots-telegraf, rendersrc/agent/ball-grants.tsplus the gate inball-board.ts. Bound bysrc/spec/ball-grants.test.ts: 8 tests, one per spec test.Closes #5387
🤖 Generated with Claude Code