Skip to content

fix(kin): a continued room or teammate session re-reads teammates' status - #1099

Merged
GLDRoger merged 7 commits into
kinfrom
train-18-1129/step-8
Nov 29, 2026
Merged

GLDRoger merged 7 commits into
kinfrom
train-18-1129/step-8

Conversation

@GLDRoger

Copy link
Copy Markdown
Owner

A carried room or teammate turn kept the first turn's view of a teammate's live status (away, working now or off now, and open and late task counts). The confined session's key hashed only the stable keys, and a shared seat has no live-status section to update it, so the agent could state an old status as current.

  • The confined session's key now hashes the whole standing text. A teammate's status change starts the room or teammate session fresh (reason standing), and the new briefing states the new status.
  • Two tests pin it: a confined room starts fresh after a restart, and the tool-work reset with its ToolSearch exception.
  • Join fixes for train 18, in this PR's last two commits:
    • the keep-warm job reads kinInstructionPlacement and never pings under "system";
    • the ping sends the worded KEEP_WARM_PROMPT;
    • the daily figure counts a compaction as its own kind, never as a failed keep-warm;
    • the Usage line names other_chat ("another chat's text");
    • the eval runner's rule-change copy follows the renderer that no longer has an overflow bound;
    • keep-warm takes its time spans from durations.ts;
    • the instructions version is 122, one above kin's;
    • the pins follow from their tests.

People-change: A room or teammate chat no longer states a teammate's old status as current, a host that keeps instructions in the system prompt pays for no keep-warm pings, and the Usage line names a fresh start caused by another chat's text.

Checked as part of train 18's one check at the tip.

An independent review by Claude Opus 5.5 found the confined sessions LAND AFTER FIXES, and this PR carries those fixes.

🤖 Generated with Claude Code

GLDRoger and others added 7 commits November 29, 2026 18:07
…s changes

A shared seat has no seatNow section, so a teammate's away, working-now and
task-count facts live only in the standing text. The confined standing key
hashed the live-fact-free keys, so a carried room or teammate turn kept the
first turn's status while a fresh briefing showed the current one.

People-change: a room or teammate chat no longer continues a session that
states a teammate's old availability or task counts; it starts fresh instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Only the owner seat re-proves its saved tool roster before the new process
lists its tools, so a confined chat with unchanged readers takes the
tool_list reset on its first turn after a restart.

People-change: none; this records today's behaviour.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ption

No test drove the rule that a confined session whose previous turn called a
tool other than ToolSearch starts fresh; disabling the dynamic_tool clause in
confinedTranscriptProven left every case green.

People-change: none.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Joins the third review's fixes on feat/kin-cache-one-session (83f2cfd).

People-change: none

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ds its worded prompt, the day's figure names compaction apart, and pins follow

- The keep-warm job took the provider's fixed placement, so a host set to "system" still pinged;
  it now reads kinInstructionPlacement (check's input is the host setting), and the ping sends
  KEEP_WARM_PROMPT instead of the placeholder UPKEEP_LINE.
- cacheDaily counts a compaction (an upkeep row with carry_json $.action = 'compaction') as its
  own kind, never as a failed keep-warm ping.
- The Usage line labels other_chat, the code a confined chat's fresh start writes.
- The eval runner's rule-change copy no longer expects the overflow tag step 4 removed.
- bills.test.ts stores a .bin upload through a typed wrapper (the store's type is pdf | txt).
- Instructions version 123 -> 122: kin-branch-checks wants one above kin's 121.
- Pins from their failing tests: kinSharedInstructionsHash, nine provider snapshot hashes, the
  two eval request digests and REVIEWED_RUNNER.

People-change: A host that keeps instructions in the system prompt no longer pays for keep-warm pings, and the owner's Usage line names a fresh start caused by another chat's text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e-confirmed for train 18

The full src/kin run's cross-file guard (durations.test.ts) found step 3's own MINUTE constant in
host/sessionUpkeep.ts; it now uses MINUTE_MS and DAY_MS. Reply, discussion, send and tasks each
get a dated README line for the joined line.

People-change: none

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
People-change: none

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-29T15:36:26.161832Z b2dd94f PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@GLDRoger
GLDRoger merged commit 479ebdb into kin Nov 29, 2026
13 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant