Skip to content

Batch 16: Shards, Slack output and shards panel - #32

Merged
sixvolts merged 2 commits into
mainfrom
ci/fix-16-shards
Sep 28, 2026
Merged

sixvolts merged 2 commits into
mainfrom
ci/fix-16-shards

Conversation

@sixvolts

@sixvolts sixvolts commented Sep 28, 2026 •

Copy link
Copy Markdown
Owner

Stacked on ci/fix-15-memory (PR 11 of 16 precedes it). Merge with "Create a merge commit" (squash or rebase would re-mint untested commits), one PR at a time, bottom-up. GitHub retargets this PR when the one below it merges and its branch is deleted.

fix(shards): honor temperature 0 and web_search, restrict ephemeral shards, tighten tokens and Slack output

  • The stored temperature is used as set, 0 included; create defaults to
    0.7 only when it is absent.
  • A shard that allowlists web_search gets a per-turn search budget.
  • The page-writing tools are classified as write-capable, so ephemeral
    shards can't use them.
  • Shard tokens get a longer lookup prefix; older tokens keep working
    until re-minted; token checks are concurrency-bounded.
  • PATCH can clear a shard's session idle window and schemas.
  • Slack output escapes model text and keeps autolinks; long replies
    split at safe boundaries; proactive sends are split.
  • Shard API streaming errors are OpenAI-style error events.
  • setup-slack.sh writes its env file 0600 and builds a new config from
    config.example.toml.

Tests cover each change.

fix(shards-panel): edits keep book confinement and the prompt, Cancel mints nothing

  • The book picker lists the owner's books (archived ones marked), keeps
    books it can't name, and an edit sends book_access only once the
    picker is touched.
  • A console-only shard keeps its system prompt.
  • Cancel on the token label mints nothing.
  • Shard rows open from the keyboard.
  • A blank temperature is omitted; emptying the idle window or a schema
    clears it.

Tests: shards-panel.spec.ts.

Testing

The icecube tiers passed on this PR's tree before a migration-lock commit was added under the stack, as the first commit of #21: Go tests without and with Postgres, Playwright without a model, and Playwright against a local model. That commit changes only internal/db/migrate.go and its test, and the db package's tests pass with Postgres at every commit of the stack. The CI run on this PR tests the head as pushed.

🤖 Generated with Claude Code

https://claude.ai/code/session_01UwpkZbULrgj6JLeSra78AT

sixvolts and others added 2 commits September 27, 2026 14:24
…hards, tighten tokens and Slack output

- The stored temperature is used as set, 0 included; create defaults to
  0.7 only when it is absent.
- A shard that allowlists web_search gets a per-turn search budget.
- The page-writing tools are classified as write-capable, so ephemeral
  shards can't use them.
- Shard tokens get a longer lookup prefix; older tokens keep working
  until re-minted; token checks are concurrency-bounded.
- PATCH can clear a shard's session idle window and schemas.
- Slack output escapes model text and keeps autolinks; long replies
  split at safe boundaries; proactive sends are split.
- Shard API streaming errors are OpenAI-style error events.
- setup-slack.sh writes its env file 0600 and builds a new config from
  config.example.toml.

Tests cover each change.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UwpkZbULrgj6JLeSra78AT
… mints nothing

- The book picker lists the owner's books (archived ones marked), keeps
  books it can't name, and an edit sends book_access only once the
  picker is touched.
- A console-only shard keeps its system prompt.
- Cancel on the token label mints nothing.
- Shard rows open from the keyboard.
- A blank temperature is omitted; emptying the idle window or a schema
  clears it.

Tests: shards-panel.spec.ts.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UwpkZbULrgj6JLeSra78AT
Base automatically changed from ci/fix-15-memory to main September 28, 2026 16:05
@sixvolts
sixvolts merged commit 0139b88 into main Sep 28, 2026
1 check passed
@sixvolts
sixvolts deleted the ci/fix-16-shards branch September 28, 2026 16:05
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