Skip to content

feat: teach every agent to draw a board with hide board - #7

Merged
HyunjunJeon merged 1 commit into
mainfrom
feat/board-teach
Nov 13, 2026
Merged

HyunjunJeon merged 1 commit into
mainfrom
feat/board-teach

Conversation

@HyunjunJeon

Copy link
Copy Markdown
Owner

Related: #3 (the hide board command), #6 (the board View)

Summary

Agents in Hide had no way to learn that hide board exists, so they kept answering long explanations in the chat.
Every agent's session start now carries one row that sends something with parts to a board, the hide skill moves to version 11 with the same row, and hide guide gains a short Boards section.
A parent learns to show a child's board by opening it from its own pane.

No screenshot: no screen changes; the diff is session-start text, a skill stub and the guide.

Review

  • Decide: the row's words, which every agent session reads on every start. The new row, as at head:

    | tell the operator something with parts (an explanation, a diagram, a table, quoted code, a decision) rather than a long chat answer | `hide board new --title <t> --file <board.json>` (`hide board help` lists the blocks): it opens as a board View that waits in the operator's Needs You as To look at, and `hide board edit <board>` changes what they see in place, even after they looked |
    

    and the end of the existing "collect what a delegated child opened" row, which now reads:

    … and to show it, open it again from your own pane (a board by the id in the child's report: `hide board open <id>`) |
    
  • Decide: the Boards section of hide guide (hided/assets/guide.md), as at head:

    - When what you have to tell the operator has parts (an explanation, a diagram, a table, code quoted from the checkout, a decision and its risks), draw a board rather than a long answer in your pane; `hide board help` lists the blocks, the limits and an example file. Write the blocks to a file and pass `--file`: `--json` can outgrow a command line, and PowerShell changes its quotes.
    - `new` opens the board as a board View, as `file open` opens a file, and it waits in the operator's Needs You as To look at until they look. Hide keeps it for your session, through a restart.
    - `edit` changes blocks and `set` replaces them all; what the operator sees changes in place, even after they looked, and asks for no second look: the answer's `unseen` says whether they have looked. `open <board>` brings it forward, or back once closed, and asks them to look again.
    - A delegated child's board does not wait for the operator: it marks your row to read, and the child's report gives its id. Read it with `hide board show <id>`, and when the operator should see it, run `hide board open <id>` from your own pane, so it waits for them as yours.
    - `delete <board>` deletes one of your own boards for good.
    

    It is preceded by hide board's usage block, the same text the command parses (board_cli::USAGE).

  • Risky files: hide-agent-hooks/src/runtime.rs - intent_table! is the text every session start of every runtime pays for; the row is one line.

  • Cost: one table row more in every SessionStart (about 400 bytes); no runtime work.

Tests

  • Layer: unit.
  • Catches: the row going missing, moving away from the file-open row, or spelling --json; a runtime's SessionStart output (Claude Code and Codex envelopes, the guidance and plugin context) losing it; the kit writing a skill stub other than version 11 or without the row in any of the three skill folders; hide guide losing the Boards section or spelling hide board other than the command parses. No defect was planted.
  • Waits: none.

Evidence

  • Verified: on macOS, scripts/verify-cargo.sh test-scoped -p hide-agent-hooks (138 integration and 286 unit tests), -p hide-kit (211), -p hided --lib guide:: (12, including the contract check of every taught command); fmt-check; clippy -p hide-agent-hooks -p hide-kit -p hided --all-targets -D warnings; the mission's full check at the head commit.
  • Verified: target/debug/hide guide prints the row and the Boards section.
  • Not verified: that a real model reaches for hide board by itself. The agent journey's fake model calls no tool, and no real agent session was run for this change; the operator sees it in their own sessions on a build with this change.
  • Not verified: Windows, Linux and a connected device beyond what the fork's CI jobs ran; the text is the same on every system and nothing here is system-specific.
  • Not verified: a paired private document. The mission's design names none for this change; with-hide/hide-private could not be opened from the fork to confirm.

The session-start table gains one row: something with parts goes to the
operator as a board rather than a long chat answer. The row about what a
delegated child opened names hide board open for a child's board. The hide
skill moves to version 11 and names a board in its description, and hide
guide gains a Boards section.
@HyunjunJeon
HyunjunJeon merged commit 5d10c0e into main Nov 13, 2026
94 of 96 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant