Repository navigation
Task Board B5: the words agents are told, settled by runs - #660
Conversation
…the thresholds Child B5 of docs/doperpowers/specs/2026-11-27-task-board-design.md. The eval reuses the question sheet's harness unchanged and adds the board's stand-in (the built task and sminos task commands on a store made for the run), four scenarios, and a gate. The ledger's thresholds are committed here, before any model run. Sminos-Session: event-manager#a66cd55b (doperpowers on macbook)
… a long session can work in
The owner cut the run plan before any counted run ("약 60세션, 애매할 때만 추가
(Recommended)"): about 70 sessions in the first round, cells of 10 and 5, a
borderline judged cell extended by 10. The ledger restates the thresholds
as counts at those sizes (9 of 10 or 5 of 5 right; at most 1 of 10 or none
of 5 wrong or flooded) and records the cut and the new stop line.
Four uncounted smokes changed the simulated project and nothing of the
words: the sheet's canned shell was built for a live part of one or two
responses, and a session that works on for twenty took its gaps for a
broken shell. The stand-in's shell answers what such a session meets
first, decision and wrong end one response after the session files
something, and wants counts where its two acts ended.
Sminos-Session: event-manager#a66cd55b (doperpowers on macbook)
Round 1 (70 sessions, words v1): the ship arm passes login, decision and wants on Opus; the control with no words never puts the sign-in on the board. One measured failure, F1: a main session looks for the human's board with task list, the ticket board's verb, in 6 of 10 login runs, and in 1 concludes the task does not exist. Words v2 add the one line for it and cut two lines of the skill's body that no session needing them read. The eval names a run cut off before it filed anything, and counts it incomplete: four of Fable's five decision runs spent their twelve responses reading the project. The decision's cap is thirty from here. Sminos-Session: event-manager#a66cd55b (doperpowers on macbook)
…t verified Round 2 (30 sessions, words v2): login passes with the one line for F1 in it, and a main session no longer looks for the human's board with task list (0 of 7 runs, from 10 of 13); Fable's decision cell, its cap at thirty responses, is 5 of 5. The arm with the question tool's sentence alone moves the sign-in off the sheet in 5 of 5 and shows that sminos task assign has no help to learn its flags from. The proposal file holds X7's texts with the evidence for each part, the help text, the sentence for the sheet's holder, and what B1's M5 should know beside them. About $61 at list price in all. Sminos-Session: event-manager#a66cd55b (doperpowers on macbook)
Before, D2 said the words live in three places (the skill, one line of the start guide, one sentence of the question tool's description) and listed five definitions, the fifth being "that the door refuses any agent session, so the human's acts are the human's alone"; it said nothing prescribes what an agent does "unless B5 measured a failure there". Now: four texts (the help the task command prints is one, and the one a main session reads before it assigns), with who reads each: a subagent never reads the guide's line and learns of the board from the skill's description alone. The fifth definition is gone: no session of 100 called the door to act, and its refusal carries its own reason. One line of guidance is in, for the failure B5 measured: task list --human shows the board, task list alone is the repository's tickets. "Since the approval" lists the difference for the owner. Sminos-Session: event-manager#a66cd55b (doperpowers on macbook)
Sminos-Session: event-manager#a66cd55b (doperpowers on macbook)
…n's board Rebased over B1's M2 and the two fixes B5's runs asked for, which landed while it ran: each verb of the human's board answers --help (sminos 1.62.1, task 0.3.1), and a ticket verb with no board names task list --human (task 0.3.2). The stand-in's notes, the logic test, the proposal and the ledger say which of them the runs met and which they did not. Sminos-Session: event-manager#a66cd55b (doperpowers on macbook)
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 08a7df1a0f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "acts": {a: "task" if a in about.values() else "question" if a in asked.values() else "message" | ||
| if ACT_WORDS[a].search(told) else "nowhere" for a in acts}, | ||
| "flooded": len(open_tasks) > MAX_OPEN_TASKS or other > MAX_OTHER_TASKS} | ||
| out["outcome"] = "flooded" if out["flooded"] else "kept" |
There was a problem hiding this comment.
Mark truncated wants runs as incomplete
When a wants session exhausts its 40 responses before finishing, this branch still classifies its partial board as kept whenever it has not yet exceeded the flooding thresholds. Unlike login and decision, it never checks the stage's max_steps ending, so incomplete remains false and gate() can report PASS even when every session was cut off before filing anything. This biases the flooding experiment toward success: remaining responses could have added more tasks. Treat truncated wants runs as incomplete rather than counting their partial board as a completed non-flooding result.
Useful? React with 👍 / 👎.
| out = "" | ||
| else: | ||
| out = super().shell(value(restore(c["src"]))) | ||
| last = 0 |
There was a problem hiding this comment.
Preserve failure status before conditional board commands
When a non-board command precedes a conditional board command, assigning last = 0 unconditionally makes the harness take the success branch even when the preceding command failed. In the login scenario, make smoke-staging || task assign-human ... prints the scripted staging failure but skips the assignment; changing || to && incorrectly creates the task instead. These commands are treated as fully parsed, so the resulting incorrect filing is counted in the experiment rather than marked incomplete. Preserve the preceding command's exit status, or treat conditionals whose status cannot be determined as unsupported instead of applying board mutations under the wrong condition.
Useful? React with 👍 / 👎.
| calls = [c for c in x["board"]["calls"] if c["stage"] == "main"] | ||
| at = lambda verb: next((i for i, c in enumerate(calls) if c["verb"] == verb and c["task"] == "t1" and c["exit"] == 0), None) | ||
| t1 = next(t for t in tasks if t["id"] == "t1") | ||
| out = {"read": at("show") is not None, "checked": any(CHECKS.search(c) for c in bash_commands(x)), |
There was a problem hiding this comment.
Distinguish executed verification from quoted instructions
In the wrong scenario, searching the entire Bash command string counts verification commands mentioned in task text as checks that actually ran. For example, task reopen t1 --comment 'Please run make smoke-staging after signing in' sets checked to true without executing any staging check. Since summary() reports this field as the number of sessions that checked the result, a session that merely reopens or assigns a task containing instructions can inflate the measured verification rate. Determine whether a verification command was executed rather than matching its name inside quoted comments or bodies.
Useful? React with 👍 / 👎.
| check("a body file of the simulated project is read", out == 't2 needed "Rotate the key"\nok' | ||
| and env.board.tasks()[1]["body"] == "Rotate the key.", out) | ||
| out = sh("task assign-human --class needed --title x --body-file /tmp/none.md") | ||
| check("a missing body file is refused under the path the session named", "/tmp/none.md" in out and tb.tempfile.gettempdir() not in out |
There was a problem hiding this comment.
Check for the private store path rather than the temp directory
On Linux with the default temporary directory /tmp, this assertion cannot pass: it requires the output to contain /tmp/none.md while also requiring it not to contain /tmp. Running the underlying board command here correctly returned the simulated /tmp/none.md path and exit 2, but the assertion evaluated to false. Consequently, the logic test reports a failure even when path substitution works correctly. Check that the private env.board.root path is absent instead of rejecting the entire temporary-directory prefix.
Useful? React with 👍 / 👎.
The stand-in now keeps every body file inside the simulated project: each form argparse takes for --body-file (an = form, any prefix) is mapped to the stand-in's copy, so no path of this machine reaches the real command. A subagent's message call gets the to-human hook's own refusal, and a login run whose subagent ended on a final message has no report: it is unfinished and incomplete, with no main stage, since the run loop still ends a turn there. Help is help in both forms: `sminos task <verb> --help` is recorded as verb help (the words' help in an arm that has it), never an assignment, a read or a filing. An emptied or removed session id is the human's; any other id is the session's, which the door refuses. The shell now knows the exits of true, false and :, and refuses to guess a board write behind || after a command whose exit it cannot know: the line is recorded as an unparsed write, which makes the run incomplete. A shell's -c in an option cluster (-lc, -ec) is run, and a quoted name or a backslash-newline still marks an unparsed line as a write. printf with a conversion other than %s, %b or %% is left to the simulator instead of looping forever, a redirected echo, printf or cat writes what it prints, and a sheet passed to a later stage captures from that stage's files. In the eval, a cell carries its words' directory, so --report never pools two wordings (an older run takes its file's --words); only the ship arm gates, as the ledger says, the other arms' verdicts marked as gating nothing. A wants run cut off before its turn ended is incomplete. A sheet call files only when it took effect. The want judge says whether a card asks for the act itself (asks_act, absent in older judgments and read as yes), and only those count as the human's acts. Completion is a done or decline the door applied, a door call is never a help call, a check counts only from a command that ran it, the body judge reads the body alone (an empty body says nothing, with no call), and class_by_want keeps every task. Sminos-Session: event-manager#a66cd55b (doperpowers on macbook)
Every result file classified again by the fixed eval, offline: the gating cells read as they did. Two ship+sheet runs whose subagent ended on a message to the human, which the shipped hook refuses, are incomplete now; the tables carry the corrected counts. Two findings left as they are go to the tech-debt tracker. Sminos-Session: event-manager#a66cd55b (doperpowers on macbook)
A wants run cut off before its turn ended is now cut off and incomplete even when its board is flooded; the flood it showed is kept as flooded_when_cut, so the gate counts floods of finished runs only. The want judge's asks_act must be a real boolean in a new judgment, a kept judgment without it is read as the act its topic is, and where an act ended is a task only when that task asks for the act. A check in the wrong scenario is now an invocation: tally-cloud's whoami, status or login, make smoke-staging, python -m tests.smoke.staging or psql, as a stage's command or inside a command substitution, and not behind a literal false && or true ||. Naming one in a comment, an echo or a file name is no check. The stand-in finds a shell's -c script past options that take an operand (-o pipefail, --rcfile), decides whether a command behind an unresolved || guard writes from its parsed program and verb (a help call is none, a verb after a redirect still counts), lets a command's own word on the session id override an earlier unset in both directions, and stops reading options at a bare --, so a comment's text after it reaches the real command unchanged and is never help. Completion counts each applied done or decline once, by its outcome. Sminos-Session: event-manager#a66cd55b (doperpowers on macbook)
…he tracker Sminos-Session: event-manager#a66cd55b (doperpowers on macbook)
Child B5 of the Task Board composite (
docs/doperpowers/specs/2026-11-27-task-board-design.md): the words agents are given about the human's task board, settled by runs before B1's M5 ships them.What is in it
tests/output-styles/task-board-eval.py,task_board.py,task_board_session.py) on the question sheet's harness, which is imported and not changed. The board's stand-in is the builttaskandsminos taskcommands on a store made for each run, every call recorded. Four scenarios: a login wall met by a subagent, a decision the agent is blocked on, a job with ten small wants, and a completion whose result is wrong.test-task-board-logic.pyruns all of it against a fake client, with no model call.docs/doperpowers/plans/2026-11-27-task-board-b5-ledger.md): the thresholds, committed before any run and restated at the scale the owner cut the plan to; every run's rates; the behaviours measured with no threshold; what is not verified.docs/doperpowers/plans/2026-11-27-task-board-b5-words.md): the skill, the guide's line, the help text, and the sentence for the question tool's description, each part with its evidence. The texts themselves aretests/output-styles/task-board/words-v2/.Results
100 counted sessions over two rounds, about $61 at list price with the smokes.
With no words at all the sign-in reached the board in 0 of 5 runs.
One measured failure earned one line: a main session told that a task was on the board looked for it with
task list, the ticket board's verb, in 10 of 13 runs, and in one concluded the task did not exist. With the line (task list --humanshows the board;task listalone is the repository's tickets) it happened in 0 of 7.Not verified
wantsand the wrong completion on Fable;decisionon Opus,wantsand the wrong completion under the second wording; the start line; a decline's or a comment's notice; the help as each verb now prints it on main (the runs read the proposed text). The ledger lists each with its reason.Checks
ci-gategreen on the head. review-code at the medium rung on the code, twice: eighteen findings, then nine on the fixes, all fixed but four rare ones logged in the tech-debt tracker (#89). Every result file was classified again by the fixed code, offline; the cells above read as they did. The logic test (135 checks, no model call) passes; CI does not run it, as it does not run the question sheet's.Sminos-Session: event-manager#a66cd55b (doperpowers on macbook)