Skip to content

feat: distinguish boon-projects schedule append/list in the exec trajectory label - #247

Merged
convyusboy merged 2 commits into
boonfrom
ridho/eng-20405-schedule-trajectory-label
Sep 25, 2026
Merged

convyusboy merged 2 commits into
boonfrom
ridho/eng-20405-schedule-trajectory-label

Conversation

@convyusboy

@convyusboy convyusboy commented Sep 24, 2026 •

Copy link
Copy Markdown
Collaborator

Related: getboon/boon#15144, getboon/boon-skills#324 (ENG-20405)

What Problem This Solves

The agent-chat trajectory shows a friendly one-line label for each tool call so operators and eval judges can see what the agent did without exposing raw shell arguments. boon-projects schedule append (writes a fixture/panel schedule onto a project page) and boon-projects schedule list (reads one back) both fell through to the generic "working with project data" label — the same text shown for every other unmapped boon-projects subcommand, indistinguishable from unrelated calls like pages or documents.

This blocked a deterministic regression assertion: a companion boon PR (getboon/boon#15144) needs to prove an agent actually persisted a schedule reference, not just claimed to in prose, by checking the trajectory for a real schedule invocation. With the generic label there was no matchable text to assert on.

Why This Change Was Made

Added a case "schedule" to summarizeBoonExecCommand's boon-projects switch, distinguishing the write from the read: append → "storing the schedule", anything else (currently just list) → "checking the stored schedule". This follows the existing precedent in the same switch (e.g. create → "creating a project", upload → "uploading a document") where distinct labels already exist for other write vs. read actions.

User Impact

Operators reading an agent-chat trajectory (or the agent-regression eval's transcript viewer) now see a distinct, accurate label when the agent stores or reads a schedule, instead of a generic catch-all indistinguishable from any other project-data call.

Evidence

node scripts/run-vitest.mjs src/agents/tool-display-exec-boon.test.ts — 53/53 passed, including 3 new cases covering schedule append, schedule list, and the bare schedule (no action) fallback.

Existing scenario eval/agent-regression/scenarios/50-takeoff-group-name-readback.yaml in getboon/boon already asserts trajectory.step_present: {contains: "checking project data"} — confirming this exact friendly-label mechanism is what lands in matchable eval trajectory text, so this is the correct and only lever for the companion PR's new assert.

🤖 Generated with Claude Code


Summary by cubic

Distinguishes boon-projects schedule append from schedule list in the exec trajectory label so the agent-chat transcript shows a distinct, accurate label for writing a schedule versus reading one back.

Previously both fell through to the generic "working with project data" label, indistinguishable from unrelated boon-projects calls. This blocked a deterministic regression assert in the companion boon PR (ENG-20405) that needs to prove an agent actually persisted a schedule by matching trajectory text.

  • schedule append → "storing the schedule".
  • schedule list (or bare schedule) → "checking the stored schedule".

Follows existing precedent in the same switch where write vs. read actions already have distinct labels (e.g. create → "creating a project", upload → "uploading a document").

Written for commit 0992462. Summary will update on new commits.

Review in cubic

…xec trajectory label

`boon-projects schedule` had no case in summarizeBoonExecCommand, so
both `schedule append` (a write) and `schedule list` (a read) fell
through to the generic "working with project data" label -- the same
text as every other unmapped boon-projects subcommand.

This makes it impossible to write a deterministic trajectory assert
that a schedule was actually persisted (vs. only claimed in prose) --
exactly the gap flagged in review on getboon/boon#15144's
electrical-e2e-takeoff eval scenario (ENG-20405). Existing precedent
(scenario 50-takeoff-group-name-readback.yaml matching "checking
project data") confirms this friendly label is what actually lands in
matchable trajectory text, so adding a distinct pair of labels here is
what makes that assert possible.

`schedule append` -> "storing the schedule" (write)
`schedule list` (or unrecognized action) -> "checking the stored schedule" (read)

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@convyusboy
convyusboy requested a review from a team September 24, 2026 14:46

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 2 files

Heads up: you’re close to your included review allowance. Set a flex budget so reviews don’t pause.

Reply with feedback, questions, or to request a fix.

Fix all with cubic | Re-trigger cubic

Comment thread src/agents/tool-display-exec-boon.ts Resolved
Root AGENTS.md prohibits Linear ticket references (ENG-..., linear.app
links) in code, comments, or commit messages. Shortened per review.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

@augusteo augusteo left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the exact head 0992462114d6325ee224f177aba02d8d57e54169; no actionable code findings. Exact-head CI passed. The agentic-agents-core-tools shard included src/agents/tool-display-exec-boon.test.ts (65 test files passed; 1,215 tests passed, 4 skipped).

@convyusboy
convyusboy merged commit de685a8 into boon Sep 25, 2026
145 of 147 checks passed
@convyusboy
convyusboy deleted the ridho/eng-20405-schedule-trajectory-label branch September 25, 2026 09:08
convyusboy added a commit that referenced this pull request Sep 28, 2026
…249)

* chore(release): bump version 2026.6.11-boon.46 -> 2026.6.11-boon.47

Root version, 135 plugin manifests synced via scripts/sync-plugin-versions.ts, changed npm-shrinkwrap.json files regenerated, CHANGELOG section for boon.47.

Shipping: #236/#239 (a plugin tool's own execute() handler can now reliably schedule/unschedule a cron-backed session turn, fixing the browser-handoff recheck across three sequential live-found bugs), #240 (recheck backoff cap tightened 5m -> 2m), #242 (recheck messages the customer before attaching the browser), #241 (delivery.mode: "none" cron jobs can deliver an explicit message-tool send), #243 (Chrome MCP stderr drained before connect, not after), #247 (distinct exec-trajectory label for boon-projects schedule append/list), ENG-20030 (shared turn-resume-instruction wording for boon-core/anychat-boon-web), #248 (Docker build no longer OOMs 8 GB CI runners).

Base = 2026.6.11-boon.46. Gateway plus @openclaw/slack, @openclaw/msteams and @openclaw/diagnostics-prometheus bumped in lockstep; no separately published plugin source changed in this train, so a gateway roll delivers all of it.

Co-Authored-By: Claude Sonnet 5 <[email protected]>

* fix(release): regenerate stale extension npm-shrinkwrap.json versions for boon.47

pnpm plugins:sync bumps each plugin's package.json version but does not touch its checked-in npm-shrinkwrap.json, so 65 published extension shrinkwraps still embedded version 2026.6.11-boon.46 despite package.json already reading boon.47. Since npm-shrinkwrap.json ships inside the npm artifact, this would have published every affected plugin with a mismatched embedded version.

Bumped the version field(s) in all 65 (plus the openclaw peerDependency range where present) to 2026.6.11-boon.47, matching the pattern boon.46's bump commit already applied to these same files.

Co-Authored-By: Claude Sonnet 5 <[email protected]>

---------

Co-authored-by: Claude Sonnet 5 <[email protected]>
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.

2 participants