Skip to content

test(conformance): script Terminus compaction replies - #6049

Closed
giuliolovisotto wants to merge 1 commit into
glovisotto/claude-code-scripted-compactionfrom
glovisotto/terminus-scripted-compaction
Closed

giuliolovisotto wants to merge 1 commit into
glovisotto/claude-code-scripted-compactionfrom
glovisotto/terminus-scripted-compaction

Conversation

@giuliolovisotto

Copy link
Copy Markdown
Contributor

Terminus 2 compaction probes now have a complete scripted schedule: 14 terminal commands, three sequential handoff helpers (summary, questions and answers), then completion and confirmation replies. The last tool reply reports 27,008 total tokens against a 32,768-token context and an 8,000-token proactive threshold.

This follows #6048 and targets its branch. The change adds only scenario settings and extends the existing terminal-protocol test. The adapter, shared provider and conformance checks are unchanged. No separate issue is needed for this focused follow-up.

Validation:

  • Full Linux Gym agent-session episode using pinned Harbor 0.22.0 and real tmux: executed all 14 terminal commands, made exactly 19 model requests, reused the summary, and completed verification.
  • The conformance verdict is not fulfilled. The report exposes missing canonical tool evidence, an accounting gap, unavailable token reconciliation, and failing compaction event/helper-reference/policy-turn checks. The three-helper native sequence remains visible; no checks were relaxed to accommodate it.
  • Fixture and independent compaction-checker tests with the locked Linux dependencies and HARNESS=terminus_2_sandboxed: 243 passed, 14 skipped. Initial macOS execution passed 241 tests but could not import Harbor for two adapter-schema tests; both pass in Linux.
  • pre-commit run --all-files: passed.

Kept as a draft for review. Completing the scripted interaction does not establish conformance while the retained-evidence checks fail.

@copy-pr-bot

copy-pr-bot Bot commented Nov 12, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@giuliolovisotto
giuliolovisotto force-pushed the glovisotto/terminus-scripted-compaction branch from 0bdd1e7 to 5dfe2c1 Compare November 12, 2026 11:53
@giuliolovisotto
giuliolovisotto marked this pull request as ready for review November 12, 2026 16:31
@nemo-automation-bot
nemo-automation-bot Bot requested a review from a team November 12, 2026 16:32
@giuliolovisotto
giuliolovisotto force-pushed the glovisotto/terminus-scripted-compaction branch from 5dfe2c1 to d630e15 Compare November 12, 2026 16:42
@giuliolovisotto
giuliolovisotto force-pushed the glovisotto/terminus-scripted-compaction branch from d630e15 to 903fc65 Compare November 12, 2026 17:02
@giuliolovisotto
giuliolovisotto force-pushed the glovisotto/claude-code-scripted-compaction branch from 5acc0ab to a414294 Compare November 12, 2026 17:02
@yaoyu-33
yaoyu-33 requested a review from ananthsub November 12, 2026 18:03
@giuliolovisotto
giuliolovisotto force-pushed the glovisotto/claude-code-scripted-compaction branch from a414294 to ded68e2 Compare November 13, 2026 10:15
@giuliolovisotto
giuliolovisotto force-pushed the glovisotto/terminus-scripted-compaction branch from 903fc65 to 8385f71 Compare November 13, 2026 10:15
@giuliolovisotto
giuliolovisotto removed this pull request from stack #6062 November 13, 2026 10:46
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