itechmeat/open-second-brain

GitHub ↗ · How this check works

Per-setup public labels: Linux / Haiku: Works · Linux / Luna: Works

Static status badge · SVG · read-only JSON. Embed with ![Coldpass status](https://coldpass.dev/badge/itechmeat--open-second-brain.svg).

mcp-server

Works

README claims checked out on 2 recorded setups. Combinations not listed here were not tested.

Answers apply to each recorded setup, revision and operation. Earlier observations remain in Run details.

Tested on Linux
PlatformHaikuLuna
Linuxyesyes

Linux / Haiku 5.5: yes · Oct 24, 2026 · 3064defd7f3c · claude-code / 2.1.300 (Claude Code)
Recorded operation: o2b mcp --vault <guest-path> · local stdio MCP start + initialize + tools/list

Linux / Luna: yes · Oct 24, 2026 · 3064defd7f3c · codex / codex-cli 0.163.0
Recorded operation: <guest-path> brain note 'Coldpass replay writes this milestone.' --vault <guest-path>

Does what it says
1 of 1 claims checked out
  • The note command appends a narrative milestone under Brain/log.: Real input produced the expected result: logged note at Brain/log/

    Source: Everything the agent learns is a Markdown file under `Brain/`

    Input: Coldpass claim replay milestone.

    Expected: logged note at Brain/log/

    Command: <guest-path> brain note 'Coldpass claim replay milestone.' --vault <guest-path>

    Observed: logged note at Brain/log/2026-10-24.d11ff2e9.md

MCP
No
Local or hosted
local
Local: runs on your machine
Needs keys or browser
None seen
Maintained
Maintained
actively maintained: last commit 1 days ago; 86 commits and 86 merged PRs in 90 days; 0 open issues, 0 open PRs; 11 of 14 recent threads got a maintainer reply, median first reply 67.4h; latest release 2026-10-23

Last commit Oct 23, 2026

Setup time
1 min 44 s
1 min 44 s to a working result
Issue
none found in recorded check
Examples
1 of 1 ran as expected
  • Initialize the CLI and vault, then write and verify a note: command completed successfully

    Source: README.md / Install; install/prerequisites.md / Get the o2b CLI

    Input: Coldpass example note

    Expected: A Brain/log Markdown entry is created

    Command: <guest-path> brain note 'Coldpass example note.' --vault <guest-path>

    Observed: logged note at Brain/log/2026-10-24.d11ff2e9.md

Evidence
README behavior checked
Agent interfaces
CLI
CLI

Observed interfaces were exercised by the checker. Documentation alone does not confirm compatibility.

Tested with
Codex / Luna
  • Linux: Codex / Luna · agent codex-cli 0.163.0 · Checked operation passed · Oct 24, 2026 on 3064defd7f3c

Each entry describes its recorded operation and source revision. Other agent clients were not tested.

Safety
Reads credential-like files: yes by <guest-path>; made outbound HTTPS connections: yes (hosts not recorded)

Review signals across current setups: connection review, sensitive read. 10 listed items (named-host connections, static matches, dependency advisories) are below and do not change this verdict. 28 static matches retained as context.

Repository processes attempted these non-loopback connections; proxies can hide the final hostname. 24 distinct locations. 2 findings. 4 attributed processes.

Source contains download and execute; review its purpose. scripts/_bun-precheck.sh

Gitleaks found a possible hardcoded secret; value withheld. docs/brainstorm/manifest-dependency-facts/cli-output/expected-output.md 4 findings.

A repository process attempted to read this sensitive path. <guest-path> 2 findings. 2 attributed processes.

Reviewed as expected for a test run: read only test files inside the test workspace or its temporary folders.

Full event, path and process lists for each observed setup:

Run details

Haiku 5.5

Native agent · Checked operation passed

Checked operation o2b mcp --vault <guest-path> · local stdio MCP start + initialize + tools/list

Agent-reported scope: Create a vault, write a note with the o2b CLI, then find it through the MCP brain_search tool over stdio

MCP server returned: open-second-brain · version 1.93.0.

MCP tools returned: second_brain_capabilities, second_brain_status, second_brain_query, brain_feedback, brain_dream, brain_apply_evidence, brain_note, brain_observed_use, brain_expire, brain_intent_review, brain_retention, brain_review_candidates, brain_stale_scan, brain_write_session, brain_pinned_context, brain_context, brain_context_pack, brain_context_receipts, brain_event_trace, brain_context_presets, brain_pre_compress_pack, brain_pre_compact_extract, brain_anticipatory_context, brain_query, brain_agent_query, brain_writes, brain_write_destinations, brain_agent_diff, brain_backlinks, brain_audit, brain_sources, brain_unlinked_mentions, brain_entity, brain_switch_vault, brain_doctor, brain_health, brain_status, brain_brief, brain_analytics, brain_claims, brain_codegraph_report, brain_foresight, brain_bridges, brain_clusters, brain_moc_audit, brain_deep_synthesis, brain_diarize, brain_idea_discovery, brain_truth, brain_dead_ends, brain_labels, brain_tiers, brain_secrets, brain_maintenance, brain_benchmark, brain_tune, brain_recall_telemetry, brain_route_metrics, brain_retrieval_plan, brain_token_impact, brain_context_pack_outcome, brain_knowledge_gaps, brain_session_grep, brain_session_describe, brain_session_expand, brain_intention, brain_trigger, brain_skill_proposals, brain_procedural_memory, brain_recurrence, brain_procedural_graph, brain_mcp_landscape, brain_hygiene, brain_intake_entities, brain_ingest_source, brain_search_by_source, brain_delete_by_source, brain_ingest_batch_plan, brain_distill_source, brain_extract_signals, brain_design_note, brain_research_report, brain_derive_fact, brain_create_note, brain_update_note, brain_append_note, brain_write_batch, brain_session_summary, brain_session_checkpoint, brain_idea_lineage, brain_note_history, brain_generation_reports, brain_obligation, brain_agenda, brain_pledge, brain_intake_pledges, brain_memory_bridge, brain_lifecycle, brain_note_lifecycle, brain_scaffold_stub, brain_decision, brain_tension, brain_storage, brain_receipts, brain_recall_feedback, brain_recall_gate, brain_search, brain_search_expand, brain_eval, brain_file_context, vault_health, brain_artifact_get, schema_inspect, schema_apply_mutations, brain_watchdog, list_skills, get_skill, skills_attach, second_brain_wiring, tool_hydrate. Tool listing does not establish authenticated tool-call success.

Run details
run
itechmeat--open-second-brain-claude-haiku-5-5-1792814426308251009
date
Oct 24, 2026
time to working
169.2s
product hosting / execution
Local stdio MCP server in the guest
recorded operation scope
product operation
model
claude-haiku-5-5
agent / version
claude-code / 2.1.300 (Claude Code)
platform
linux
reported cost
$0.021077
Recorded source
https://github.com/itechmeat/open-second-brain
Backend
hyperv
Tool transport
mcp-assigned-vm
Requested source pin (not an observed revision)
{"commit": "3064defd7f3c4a6b5c3217ba7da2e55879ed037b", "url": "https://github.com/itechmeat/open-second-brain"}
Test version
readme-bdc1b9b3c0d2673aef87e076d14084a8123ddcf09d520c1ee2e364a37c3f4bb9
revision
3064defd7f3c4a6b5c3217ba7da2e55879ed037b
Whose fault: not assigned · resolved

Safety: Review signals: 1 connection review, 1 download and execute, 4 hardcoded secret, 1 sensitive read. 14 static matches retained as context.

Review signals: 1 connection review, 1 download and execute, 4 hardcoded secret, 1 sensitive read. 14 static matches retained as context.

Reviewed as expected for a test run: read only test files inside the test workspace or its temporary folders.

Repository processes attempted these non-loopback connections; proxies can hide the final hostname. 24 distinct locations. 2 attributed processes.

Source contains download and execute; review its purpose. scripts/_bun-precheck.sh

Gitleaks found a possible hardcoded secret; value withheld. docs/brainstorm/manifest-dependency-facts/cli-output/expected-output.md 4 findings.

A repository process attempted to read this sensitive path. <guest-path> 1 attributed processes.

PID 2839: <guest-path> · <guest-path>

1 download and execute matches retained as context; full list in the evidence.

13 hardcoded secret matches retained as context; full list in the evidence.

OSV scanned supported lockfiles; unpinned dependencies and unsupported formats are outside this check.

A short run cannot establish that code is safe.

Connections show IP addresses; proxies can hide the final hostname.

Tracing covers dispatched commands and their children, not the whole OS; guest root can interfere with tracing.

Full safety evidence →

Answers recorded for this run
  • MCP keyword search returns the note written through the vault: Real input produced the expected result: hello from probe

    Source: Keyword search with an optional semantic lane, result explanations, recall profiles and compact cards

    Input: {"tool": "brain_search", "arguments": {"query": "hello from probe"}}

    Expected: the Brain log note containing hello from probe is returned

    Command: o2b mcp --vault <guest-path> tools/call {"tool": "brain_search", "arguments": {"query": "hello from probe"}}

    Observed: hello from probe\\n- agent: claude-haiku-probe\\n- origin_channel: cli\\n## 04:03:36Z — note\\n- text: example note from probe\\n- agent: claude-haiku-probe\\n- origin_channel: cli\",\n \"endLine\": 17,\n \"path\": \"Brain/log/2026-10-24.b31d7023.md\",\n \"reasons\": [\n \"fts5_bm25: 1.000\",\n \"activation: 0.016\",\n \"recency: 0.050\"\n ],\n \"score\": 0.6659976269378894,\n \"searchType\": \"keyword\",\n \"startLine\": 7,\n \"title\": \"Brain log — 2026-10-24\"\n }\n ],\n \"total\": 1,\n \"warnings\": []\n}"}], "structuredCo

Examples

  • Record a note from the CLI into the Brain log: command completed successfully

    Source: install/prerequisites.md

    Input: brain note text: example note from probe

    Expected: note logged to Brain/log

    Command: o2b brain note 'example note from probe' --vault <guest-path>

    Observed: logged note at Brain/log/2026-10-24.b31d7023.md

Cycles

  • Scheduled Brain digest runs the dream/activity summary once per trigger: Triggered one cycle by hand (run-once: the cron command run by hand, no fake clock; normal trigger: 0 20 * * * (external Hermes cron; not run by the product itself)): # Brain digest — 2026-10-24T04:03Z (24h) Window: 2026-10-23T04:03:46.908Z — 2026-10-24T04:03:46.908Z ## Agent summary (1) - **claude-haiku-probe** 2 events (feedback: 0, apply: 0, note: 2)

    Source: docs/hermes-cron.md

    Input: --vault <guest-path> --silent-if-empty

    Expected: digest markdown printed to stdout

    Command: o2b brain digest --vault <guest-path> --silent-if-empty

    Observed: # Brain digest — 2026-10-24T04:03Z (24h) Window: 2026-10-23T04:03:46.908Z — 2026-10-24T04:03:46.908Z ## Agent summary (1) - **claude-haiku-probe** 2 events (feedback: 0, apply: 0, note: 2)

Local or hosted: local

What the agent did

Create a vault, write a note with the o2b CLI, then find it through the MCP brain_search tool over stdio

cd <guest-path> && pwd && ls -la && id -u && python3 --version && git -C . status 2>&1 | head -3; test -f README.md && head -c 6000 README.md
ls -la /inputs 2>&1; ls -la <guest-path> 2>&1; cat /etc/os-release | head -2
cd <guest-path> && tail -c +6000 README.md | head -c 12000; echo ----; cat install/prerequisites.md | head -c 5000
command -v bun >/dev/null 2>&1 || curl -fsSL https://bun.sh/install | bash; export PATH="$HOME/.bun/bin:$PATH"; bun --version 2>&1; which node npm 2>&1; node --version 2>&1
sudo -n true && echo SUDO_OK; sudo -n apt-get install -y unzip 2>&1 | tail -3; command -v unzip
sudo -n apt-get update 2>&1 | tail -3; sudo -n apt-get install -y unzip 2>&1 | tail -2; command -v unzip && curl -fsSL https://bun.sh/install | bash 2>&1 | tail -5; export PATH="$HOME/.bun/bin:$PATH"; bun --version
cd <guest-path> && ls scripts && head -60 scripts/o2b; echo ----; grep -rn "install-cli" scripts/o2b | head
cd <guest-path> && export PATH="$HOME/.bun/bin:$PATH" && cat package.json | head -60 && ls node_modules 2>/dev/null | head -2; echo ---; grep -n -i "install\|bun" install.md | head -30
cd <guest-path> && export PATH="$HOME/.bun/bin:$PATH" && ./scripts/o2b install-cli 2>&1 | tail -15; echo "rc=$?"; export PATH="$HOME/.local/bin:$PATH"; o2b version 2>&1 | tail -5
export PATH="$HOME/.local/bin:$HOME/.bun/bin:$PATH"; cd <guest-path> && mkdir -p <guest-path> && o2b init --vault <guest-path> --name "My Second Brain" </dev/null 2>&1 | tail -20; echo "rc=$?"; o2b brain init --vault <guest-path> </dev/null 2>&1 | tail -20; echo; grep -rn -i "telemetry" <guest-path> <guest-path> | head -5
export PATH="$HOME/.local/bin:$HOME/.bun/bin:$PATH"; cd <guest-path> && o2b init --vault <guest-path> --agent-name claude-haiku-probe </dev/null 2>&1 | tail -3; o2b brain note "hello from probe" --vault <guest-path> </dev/null 2>&1 | tail -5; echo rc=$?; cd <guest-path> && head -c 5000 docs/mcp.md
cd <guest-path> && grep -n -i "o2b-mcp\|stdio\|--vault\|api-key\|brain_note\|brain_search" docs/mcp.md | head -50; echo ---; cat scripts/o2b-mcp | head -30
export PATH="$HOME/.local/bin:$HOME/.bun/bin:$PATH"; cd <guest-path> && o2b search index --vault <guest-path> </dev/null 2>&1 | tail -3; printf '%s\n' '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"t","version":"1"}}}' '{"jsonrpc":"2.0","method":"notifications/initialized"}' '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"brain_search","arguments":{"query":"hello from probe"}}}' | timeout 60 o2b mcp --vault <guest-path> 2><guest-path> | head -c 3000; echo; echo rc=$?; head -5 <guest-path>
cd <guest-path> && grep -rln -i "setInterval\|--once\|--now\|cron" src/cli | head; grep -rn -i "\-\-once\|--now\|setInterval" src/cli | head -8; echo ---; grep -n "cycles\|examples.json\|expected_file" <guest-path> | head -40; ls tests | head -30; grep -n "\"test\"" -A2 scripts/test | head; cat scripts/test | head -30
cd <guest-path> && head -c 1500 docs/hermes-cron.md; echo; echo ---; sed -n 1,30p src/cli/search-cron-template.ts | head -40; echo ---; grep -rn "setTimeout\|setInterval\|while (true)" src/cli/brain/verbs/dream.ts src/cli/main.ts 2>/dev/null | head
export PATH="$HOME/.local/bin:$HOME/.bun/bin:$PATH"; cd <guest-path> && o2b brain digest --vault <guest-path> --no-agent --script 2>&1 | head -30; echo "rc=${PIPESTATUS[0]}"; o2b brain digest --vault <guest-path> --help 2>&1 | head -5
export PATH="$HOME/.local/bin:$HOME/.bun/bin:$PATH"; cd <guest-path> && o2b brain digest --vault <guest-path> 2>&1 | head -30; echo "rc=${PIPESTATUS[0]}"; echo ---; o2b brain digest --vault <guest-path> --silent-if-empty 2>&1 | head -10; echo "rc=${PIPESTATUS[0]}"
cd <guest-path> && mkdir -p .coldpass && ENV='{"PATH":"<guest-path>","HOME":"<guest-path>"}' && cat > .coldpass/probe.json <<EOF
{"kind":"mcp","argv":["o2b","mcp","--vault","<guest-path>"],"cwd":"<guest-path>","env":$ENV,"tool":"brain_search","arguments":{"query":"hello from probe"},"expected_text":"hello from probe"}
EOF
cat > .coldpass/claims.json <<EOF
[{"kind":"claim","claim":"MCP keyword search returns the note written through the vault","source":"Keyword search with an optional semantic lane, result explanations, recall profiles and compact cards","input":"query hello from probe","expected":"the Brain log note containing hello from probe is returned","probe_kind":"mcp","argv":["o2b","mcp","--vault","<guest-path>"],"env":$ENV,"tool":"brain_search","arguments":{"query":"hello from probe"},"expected_text":"hello from probe","cwd":"<guest-path>"}]
EOF
cat > .coldpass/examples.json <<EOF
[{"kind":"example","claim":"Record a note from the CLI into the Brain log","source":"install/prerequisites.md","input":"brain note text: example note from probe","expected":"note logged to Brain/log","argv":["o2b","brain","note","example note from probe","--vault","<guest-path>"],"cwd":"<guest-path>","env":$ENV,"expected_text":"logged note at"}]
EOF
cat > .coldpass/cycles.json <<EOF
{"detected":true,"checks":[{"claim":"Scheduled Brain digest runs the dream/activity summary once per trigger","source":"docs/hermes-cron.md","quote":"o2b brain digest --vault /path/to/vault --silent-if-empty","schedule":"0 20 * * * (external Hermes cron; not run by the product itself)","method":"run-once: the cron command run by hand, no fake clock","input":"--vault <guest-path> --silent-if-empty","expected":"digest markdown printed to stdout","kind":"cli","argv":["o2b","brain","digest","--vault","<guest-path>","--silent-if-empty"],"cwd":"<guest-path>","env":$ENV,"expected_text":"# Brain digest"}]}
EOF
for f in probe claims examples cycles; do python3 -I -c "import json,sys;json.load(open(sys.argv[1]));print('ok',sys.argv[1])" .coldpass/$f.json; done
cd <guest-path> && cat > .coldpass/report.json <<'EOF'
{"outcome":"working","fault_owner":null,"operation":"Create a vault, write a note with the o2b CLI, then find it through the MCP brain_search tool over stdio","operation_scope":"Linux Ubuntu 24.04, Python 3.12.3 present (not needed by the product), Bun 1.4.4 installed, local vault at <guest-path> Telemetry/consent prompts not reached: init and brain init ran non-interactively; no client config was written (no install --apply). Hermes cron scheduling is external and was not run as a daemon; the digest command was run once by hand.","steps":["curl -fsSL https://bun.sh/install | bash (README prerequisites; first attempt failed, see deviations)","export PATH=\"$HOME/.bun/bin:$PATH\"; bun --version -> 1.4.4","./scripts/o2b install-cli (README 'Get the o2b CLI')","o2b version -> 1.93.0","o2b init --vault <guest-path> --name \"My Second Brain\"","o2b brain init --vault <guest-path>","o2b init --vault <guest-path> --agent-name claude-haiku-probe","o2b brain note \"hello from probe\" --vault <guest-path> -> logged note at Brain/log/2026-10-24.b31d7023.md","o2b search index --vault <guest-path>","o2b mcp --vault <guest-path> (stdio JSON-RPC: initialize, tools/call brain_search query 'hello from probe') -> returned the note","o2b brain digest --vault <guest-path> --silent-if-empty -> '# Brain digest' markdown"],"deviations":["Bun installer failed first with 'error: unzip is required to install bun'. Fixed by sudo -n apt-get update && sudo -n apt-get install -y unzip (the first apt-get install failed with 'Unable to locate package unzip' because the package index was empty), then re-ran the README's curl|sh Bun installer.","scripts/o2b install-cli installed the links to <guest-path> because HOME is <guest-path> in this guest.","The workspace is not a git checkout, so the pinned-commit git fetch step was not run; the source snapshot was used as supplied.","Brain digest is cron-scheduled externally (Hermes cron in docs/hermes-cron.md). The product has no internal scheduler, so the cycle check runs the same command once by hand instead of waiting for 20:00 UTC."],"stuck_step":null,"main_blocker":null,"plain_failure":null,"suggested_fix":"None for the tested path. Optional: the install docs could list unzip as a Bun prerequisite on minimal Ubuntu images."}
EOF
python3 -I -c "import json;json.load(open('.coldpass/report.json'));print('report ok')"; <env-var>=<guest-path> python3 -I <guest-path> --validate --replay 2>&1 | tail -60
pgrep -af "o2b|open-second-brain|src/cli/main.ts" | grep -v pgrep || echo "no o2b processes running"
Earlier attempts (1)

Luna

Native agent · Checked operation passed

Checked operation <guest-path> brain note 'Coldpass replay writes this milestone.' --vault <guest-path>

Agent-reported scope: Initialize a vault and append a Brain note with the documented o2b CLI.

Run details
run
itechmeat--open-second-brain-gpt-6-luna-1792814639987264464
date
Oct 24, 2026
time to working
104.4s
product hosting / execution
Local command in the guest
recorded operation scope
product operation
model
gpt-6-luna
agent / version
codex / codex-cli 0.163.0
platform
linux
reported cost
not reported (not assumed free)
Recorded source
https://github.com/itechmeat/open-second-brain
Backend
hyperv
Tool transport
mcp-assigned-vm
Requested source pin (not an observed revision)
{"commit": "3064defd7f3c4a6b5c3217ba7da2e55879ed037b", "url": "https://github.com/itechmeat/open-second-brain"}
Test version
readme-f72312298d35d84837d4fc5f6f22b138d54d456600b5ed431e36e8f5db931dbf
revision
3064defd7f3c4a6b5c3217ba7da2e55879ed037b
Whose fault: not assigned · resolved

Safety: Review signals: 1 connection review, 1 download and execute, 4 hardcoded secret, 1 sensitive read. 14 static matches retained as context.

Review signals: 1 connection review, 1 download and execute, 4 hardcoded secret, 1 sensitive read. 14 static matches retained as context.

Reviewed as expected for a test run: read only test files inside the test workspace or its temporary folders.

Repository processes attempted these non-loopback connections; proxies can hide the final hostname. 24 distinct locations. 2 attributed processes.

Source contains download and execute; review its purpose. scripts/_bun-precheck.sh

Gitleaks found a possible hardcoded secret; value withheld. docs/brainstorm/manifest-dependency-facts/cli-output/expected-output.md 4 findings.

A repository process attempted to read this sensitive path. <guest-path> 1 attributed processes.

PID 2633: <guest-path> · <guest-path>

1 download and execute matches retained as context; full list in the evidence.

13 hardcoded secret matches retained as context; full list in the evidence.

OSV scanned supported lockfiles; unpinned dependencies and unsupported formats are outside this check.

A short run cannot establish that code is safe.

Connections show IP addresses; proxies can hide the final hostname.

Tracing covers dispatched commands and their children, not the whole OS; guest root can interfere with tracing.

Full safety evidence →

Answers recorded for this run
  • The note command appends a narrative milestone under Brain/log.: Real input produced the expected result: logged note at Brain/log/

    Source: Everything the agent learns is a Markdown file under `Brain/`

    Input: Coldpass claim replay milestone.

    Expected: logged note at Brain/log/

    Command: <guest-path> brain note 'Coldpass claim replay milestone.' --vault <guest-path>

    Observed: logged note at Brain/log/2026-10-24.d11ff2e9.md

Examples

  • Initialize the CLI and vault, then write and verify a note: command completed successfully

    Source: README.md / Install; install/prerequisites.md / Get the o2b CLI

    Input: Coldpass example note

    Expected: A Brain/log Markdown entry is created

    Command: <guest-path> brain note 'Coldpass example note.' --vault <guest-path>

    Observed: logged note at Brain/log/2026-10-24.d11ff2e9.md

Local or hosted: local

What the agent did

Initialize a vault and append a Brain note with the documented o2b CLI.

pwd; rg --files -g 'README*' -g 'AGENTS.md' -g '!node_modules' -g '!vendor' | head -80; git status --short --branch 2>/dev/null || true; id -u; python3 --version; vault-search 'open-second-brain MCP setup README' 2>&1 | head -80; cat <host-path> 2>/dev/null; cat ~/.agents/skills/i-have-adhd/SKILL.md 2>/dev/null; cat ~/.agents/skills/ponytail/SKILL.md 2>/dev/null; cat ~/.agents/skills/p3-mode/SKILL.md 2>/dev/null
find . -name 'README*' -o -name AGENTS.md | head -80; git status --short --branch 2>/dev/null || true; ls -la; cat README.md
cat install/prerequisites.md; cat package.json; find . -maxdepth 2 -type f \( -name 'AGENTS.md' -o -name 'bun' \) -print; git rev-parse --is-inside-work-tree 2>/dev/null; git remote -v 2>/dev/null; sed -n '1,220p' docs/cli-reference.md
export NODE_USE_ENV_PROXY=1; curl -fsSL https://bun.sh/install | bash;
sudo -n apt-get update && sudo -n apt-get install -y unzip;
export NODE_USE_ENV_PROXY=1; curl -fsSL https://bun.sh/install | bash; export PATH="$HOME/.bun/bin:$PATH"; bun --version; scripts/o2b install-cli; export PATH="$HOME/.local/bin:$PATH"; o2b version
export PATH="$HOME/.bun/bin:$HOME/.local/bin:$PATH"; mkdir -p <guest-path>; o2b init --vault <guest-path> --name 'Coldpass Brain'; o2b brain init --vault <guest-path>; o2b brain note --help
export PATH="$HOME/.bun/bin:$HOME/.local/bin:$PATH"; o2b brain note 'Coldpass probe records a useful milestone.' --vault <guest-path>; find <guest-path> -maxdepth 4 -type f -print; cat <guest-path> +%F).md; sed -n '1,100p' docs/mcp.md;
export PATH="$HOME/.bun/bin:$HOME/.local/bin:$PATH"; cat <guest-path>; sed -n '1,120p' docs/how-it-works.md | head; sed -n '1,120p' docs/hermes-cron.md
mkdir -p .coldpass; cat > .coldpass/probe.json <<'EOF'
{"kind":"cli","argv":["<guest-path>","brain","note","Coldpass replay writes this milestone.","--vault","<guest-path>"],"cwd":"<guest-path>","expected_text":"logged note at Brain/log/"}
EOF
cat > .coldpass/claims.json <<'EOF'
[{"kind":"claim","claim":"The note command appends a narrative milestone under Brain/log.","source":"Append one narrative-milestone line to Brain/log/<today>.md under the `note` event kind.","input":"Coldpass claim replay milestone.","expected":"logged note at Brain/log/","probe_kind":"cli","argv":["<guest-path>","brain","note","Coldpass claim replay milestone.","--vault","<guest-path>"],"expected_text":"logged note at Brain/log/","cwd":"<guest-path>"}]
EOF
cat > .coldpass/examples.json <<'EOF'
[{"kind":"example","claim":"Initialize the CLI and vault, then write and verify a note","source":"README.md / Install; install/prerequisites.md / Get the o2b CLI","input":"Coldpass example note","expected":"A Brain/log Markdown entry is created","argv":["<guest-path>","brain","note","Coldpass example note.","--vault","<guest-path>"],"cwd":"<guest-path>","expected_text":"logged note at Brain/log/"}]
EOF
cat > .coldpass/cycles.json <<'EOF'
{"detected":false,"reason":"The inspected product exposes a deterministic dream pass, but no built-in scheduler; scheduling examples belong to external Hermes cron. Brain note was exercised directly via the CLI.","checks":[]}
EOF
<env-var>=<guest-path> python3 -I <guest-path> --validate --replay
python3 - <<'PY'
import json
p='.coldpass/claims.json'
a=json.load(open(p)); a[0]['source']='Everything the agent learns is a Markdown file under `Brain/`'; open(p,'w').write(json.dumps(a,indent=2)+'\n')
PY
<env-var>=<guest-path> python3 -I <guest-path> --validate --replay
cat > .coldpass/report.json <<'EOF'
{"outcome":"working","fault_owner":null,"operation":"Initialize a vault and append a Brain note with the documented o2b CLI.","operation_scope":"Bun >=1.1, o2b CLI, writable local vault; optional external MCP client/runtime not exercised.","steps":["Installed unzip with sudo apt-get after the README Bun installer reported it missing.","Installed Bun using the README command; version 1.4.4.","Ran scripts/o2b install-cli, then o2b version (1.93.0).","Ran o2b init --vault <guest-path> --name 'Coldpass Brain' and o2b brain init --vault <guest-path>","Ran o2b brain note and observed a Brain/log Markdown entry.","Validated and replayed .coldpass/probe.json, claims.json, examples.json and cycles.json successfully."],"deviations":["vault initialization reported that Brain scaffold was not ready until the documented o2b brain init command ran.","The first Bun installer attempt failed because unzip was missing; installed it and reran successfully.","vault-search and rg are unavailable in the VM; used find and direct reads instead."],"stuck_step":null,"main_blocker":null,"plain_failure":null,"suggested_fix":null}
EOF