Triad docs + golden sample consciousness layer#3
Conversation
VISION.md, SPEC.md, BUILDING.md — the Triad documentation system tracking Milo from hackathon origin through present. Consciousness layer: 32 mind files (src/mind/), 274-line loader (electron/ai/mind/loader.ts), and system.ts rewired to compose prompts from consciousness files instead of static strings. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 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.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4a8c50ed2a
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| // ─── Root Path ─── | ||
|
|
||
| const MIND_ROOT = path.join(process.cwd(), 'src', 'mind') |
There was a problem hiding this comment.
Resolve mind files from app path, not process cwd
MIND_ROOT is built from process.cwd(), so prompt loading only works when the process is started from the repo root; in packaged or production launches, cwd is different and src/mind is not present (I checked package.json build config: only out/**/* and resources/**/* are shipped). Because readFile/readDir swallow errors and return '', this fails silently and the AI runs with an empty/partial system prompt across all prompt types.
Useful? React with 👍 / 👎.
Summary
Test plan
Generated with Claude Code