Skip to content

Triad docs + golden sample consciousness layer#3

Open
eddiebelaval wants to merge 7 commits intomainfrom
docs/triad-documentation
Open

Triad docs + golden sample consciousness layer#3
eddiebelaval wants to merge 7 commits intomainfrom
docs/triad-documentation

Conversation

@eddiebelaval
Copy link
Copy Markdown
Owner

Summary

  • VISION.md, SPEC.md, BUILDING.md — the full Triad documentation for Milo
  • BUILDING.md traces the complete narrative arc: hackathon inception through Parallax, CaF paper, Homer partnership, golden sample pattern, to the dedicated consciousness repo
  • 37 consciousness layer files (~/mind/ filesystem) integrated into the repo

Test plan

  • All three Triad docs created and cross-referenced
  • Consciousness layer files in place
  • BUILDING.md covers full history

Generated with Claude Code

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>
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
milo Ready Ready Preview, Comment Apr 27, 2026 3:10pm

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 9, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 8bdb3797-f5e7-4ba0-a4a2-50b41c8860fd

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/triad-documentation

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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')
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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 👍 / 👎.

eddiebelaval and others added 6 commits March 20, 2026 16:50
YAML frontmatter, Phased Vision, Design Principles, numbered capabilities,
System Role, Primary Actors, Data Flow, Core Entities. Content preserved,
structure standardized across all id8Labs projects.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Mirror of consciousness repo golden sample updates. Adds library.md
(19 consciousness researchers as internalized voices), paired anti-values
to values.md, and library.md entry to CONSCIOUSNESS.md spec.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Prevents Milo from fabricating idle-day counts, progress percentages,
and check-in claims about portfolio goals. Root cause: AI providers
were passed goals with no staleness metadata and no "do not invent"
guard, so Claude would hallucinate specifics like "March revenue at
41 days idle" out of nothing.

Changes:
- New skill `todo-portfolio` defines the ~/Development/id8/TODO.md
  schema (inline-tag format) with bidirectional write contract:
  Eddie owns [active]; Milo may only append [proposed].
- New parser/scanner lib (src/lib/todo-portfolio) with round-trip
  fidelity, staleness detection (14d default, customizable per
  priority/section in rules.ts), timeframe-expiry detection, and
  blocked-by reprieve for goals waiting on dated events.
- PortfolioReader service reads the file and formats an AI-safe
  context block with explicit anti-fabrication instructions.
- main.ts injects portfolioContext into every morning briefing AND
  chat call, giving the AI ground truth instead of free rein.
- Claude/OpenAI providers now filter to status='active' and use
  the portfolio context when present.
- IPC handlers portfolio:{getSnapshot,scan,propose} exposed via
  preload for future UI consumers.
- 11/11 parser tests green. Full type check clean.

Remaining vectors (separate PRs):
- HYDRA milo-telegram-listener daemon (different code path)
- Evening review (same pattern when we hit it)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Component fixes (Briefing, VoiceGauge, Onboarding test, api index,
test setup), add .claude/health-check.sh for lieutenant-layer
infra checks, document mind/memory architecture, gitignore Milo-
synced TODO.md.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Three additional memory subsystem architecture docs alongside the
core architecture.md, completing the lieutenant-layer memory model.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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