Skip to content

feat(engine): CC-9 fail-open advisory handoff (M3 / Tier 2) - #3

Merged
soltrinox merged 1 commit into
mainfrom
compass/cc9-advisory-handoff
Sep 5, 2026
Merged

soltrinox merged 1 commit into
mainfrom
compass/cc9-advisory-handoff

Conversation

@soltrinox

Copy link
Copy Markdown
Owner

Summary

  • Optional fail-open CC-9 inclusion of compass-advisory/v1 in _compose_additional_context / hook path
  • Fresh advisory appends a COMPASS_ADVISORY: line; missing / stale / corrupt files are ignored and never block Agent Chat
  • Documents CHAT_COMPRESSOR_ADVISORY_PATH in docs/HOOK_CONTRACT.md + engine/env.example
  • Evidence under test-results/cc-9-advisory/ (force-added for M3 exit)

Companion: comPASS serve/advisory.py writer (Tier 2 Advisor) lands in the sibling repo.

Test plan

  • pytest engine/tests/test_cc9_advisory.py — missing / stale / corrupt fail-open + fresh include
  • pytest engine/tests/test_hook_cli.py — existing hook contract still green
  • Sanitize: no /Users/rosario paths in changed engine/docs files
  • Do not merge until parent agent / reviewer confirms

Refs: Track B cc-9-advisory-handoff, Track C tier2-advisor-cc9, PROTOTYPE §14.3 CC-9, comPASS docs/API.md §2.

Optional compass-advisory/v1 file under the state root is appended to
additional_context when fresh. Missing, stale, or corrupt advisories are
ignored so the hook never blocks Agent Chat.
@soltrinox
soltrinox merged commit f2587c3 into main Sep 5, 2026
3 checks passed
@soltrinox
soltrinox deleted the compass/cc9-advisory-handoff branch September 5, 2026 08:17
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