feat(doctrine): distribute orchestrator directive via public doctrine seed#205
feat(doctrine): distribute orchestrator directive via public doctrine seed#205chitcommit wants to merge 1 commit into
Conversation
… seed
Adds an orchestrator_directive {version, text, sha256} object to the public
GET /api/v1/doctrine/seed response so the standing ORCHESTRATOR MODE directive
is distributed globally (no auth, no secret). ch1tty SessionStart hooks cache
.text and inject it each session, falling back to an embedded copy if the seed
is unreachable. sha256 covers the exact UTF-8 bytes of .text (len=605).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
chittyconnect | cb6a26d | May 28 2026, 03:05 PM |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe ChangesOrchestrator directive seed response
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
Adds a public orchestrator_directive block (version, sha256, text) to the GET /api/v1/doctrine/seed response so that downstream ch1tty SessionStart hooks can fetch and cache the standing ORCHESTRATOR MODE directive globally.
Changes:
- Inserts
orchestrator_directive { version, sha256, text }into the doctrine seed JSON. - Distributes the standing directive over the existing unauthenticated doctrine seed endpoint.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Actionable comments posted: 0 |
Summary
orchestrator_directive { version, text, sha256 }to the PUBLICGET /api/v1/doctrine/seedresponse (no auth, no secret)..textto~/.ch1tty/canon/cache/orchestrator-directive.txt, with embedded heredoc fallback.sha256covers the exact UTF-8 bytes of.text(len=605, byte-identical to the local hook heredoc):3c82749eccce0420fe2effd0e4a3279d3499a7a334c2a5b578f75ec00cdb9d86.Deploy blocker (needs operator action — NOT introduced by this PR)
wrangler deploy --env productionfails with a pre-existing binding error, independent of this one-field change:Root cause: wrangler.jsonc binds SVC_EVIDENCE -> service "chittyevidence", environment "production", but the deployed evidence worker is named chittyevidence-db with no named production env. Neither name nor env matches a live worker. This blocks every connect deploy. Resolution (rename binding to chittyevidence-db + drop environment field, or deploy a chittyevidence prod env) is left to the operator to avoid altering service wiring.
Test plan
🤖 Generated with Claude Code
Summary by CodeRabbit