Skip to content

Keep session severity help and tests anchored to one contract#355

Merged
NagyVikt merged 1 commit intomainfrom
agent/codex/prevent-session-severity-help-and-test-d-2026-04-23-00-01
Apr 22, 2026
Merged

Keep session severity help and tests anchored to one contract#355
NagyVikt merged 1 commit intomainfrom
agent/codex/prevent-session-severity-help-and-test-d-2026-04-23-00-01

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

The new session-severity report had already merged, but its help example and focused tests still repeated user-facing contract text in multiple places. This patch moves the usage tail, example args, and rubric summary into the report module so the CLI help and test inputs reuse one source while the scored-output expectations remain explicit.

Constraint: Preserve the existing session-severity scoring output while reducing help/example drift
Rejected: Snapshot the full help output in tests | too broad for a narrow T1 drift guard
Confidence: high
Scope-risk: narrow
Directive: Keep score expectations hard-coded in focused tests even when help/example text is shared from the module
Tested: node --test test/report.test.js test/cli-args-dispatch.test.js; node bin/multiagent-safety.js report help; node bin/multiagent-safety.js report session-severity --task-size narrow-patch --tokens 3850000 --exec-count 18 --write-stdin-count 6 --completion-before-tail yes --fragmentation 14 --finish-path 6 --post-proof 4; git diff --check
Not-tested: remote PR merge path until guarded finish completes
@NagyVikt NagyVikt merged commit abbbca3 into main Apr 22, 2026
@NagyVikt NagyVikt deleted the agent/codex/prevent-session-severity-help-and-test-d-2026-04-23-00-01 branch April 22, 2026 22:06
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