nogg#926
Open
BasedGremlin wants to merge 4 commits into
Open
Conversation
Merge the strongest executable assets from the two uploaded handoff packages into one tree, de-duplicated by provenance analysis: - mainbrain/wordlib/: the OMEGA Megakernel WORDLIB tree (canonical). Supersedes the Babafile WORDLIB_v29_BASELINE, which contained zero unique files (verified by full recursive diff; all 8 differing files are strictly newer in OMEGA, e.g. deploy_check.py 319 -> 1,442 lines). - mainbrain/okcomputer-swarm/: OKComputer Swarm Integrated app (React/TS/tRPC/Drizzle + OpenAI Agents SDK planner, Claude critic, HF Transformers.js local router, Supabase control plane). - mainbrain/handoff/: conversation-handoff record (start-here docs, runtime/memory design conversations, MASTERZIP v11 domain spec, original-bundle integrity manifests). Byte-identical duplicates of files shipped inside the swarm app were dropped. - mainbrain/README.md + TOP5.md: architecture map, de-duplication decisions, and the top-5 conversations/models/code presentation. Fixes made during verification: - PatchPayload.patch_payload_hash now rejects the all-zeros sentinel digest (test_invalid_content_digest_format_blocked expected this CNS proof-gate behavior; the regex alone accepted the sentinel). - Added wordlib/pytest.ini so the vendored suite stops inheriting the host repo's pytest addopts (xdist flags broke collection). - mainbrain/.gitignore re-includes **/lib/ to counter the root .gitignore's unanchored lib/ pattern swallowing swarm app source. Test suite: 254/254 green (4 groups: 68 + 54 + 38 + 94). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HbihhqCH3c2tvHn1UjsDPx
- pytest: restrict collection to vibe's own tests/ via testpaths; the vendored wordlib suite is self-contained (own pytest.ini, own deps) and would otherwise error during collection in vibe's environment. - pre-commit: global exclude for mainbrain/ so lint/format/type/typos hooks neither fail on nor rewrite vendored code. Verified: uv run pytest --ignore tests/snapshots --collect-only collects 4995 tests with zero errors; check-toml and trailing-whitespace hooks pass without touching mainbrain files. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HbihhqCH3c2tvHn1UjsDPx
…ntime Top-5 item mistralai#4 was the only thread with no artifact in hand -- the v11 starter zip/wheel referenced by its design record was never present in any package. This implements the record's durability model as a pure stdlib package (mainbrain/ether-runtime), fully runnable and testable offline: - SQLite WAL task journal; terminal status is authoritative - Transactional outbox: submit writes task + outbox row in one transaction; publishers claim rows under a lease before publishing - Consumer-group stream with pending-entries list (XREADGROUP analog) and idle-entry reclaim at 60s (XAUTOCLAIM analog) - Per-task execution leases; expiry frees work from crashed workers - Retry ladder 1/2/4/8/16s with deterministic +/-20% jitter from SHA-256(task_id + attempt); validate_policy() re-derives the 31s-nominal < 60s-reclaim invariant at startup - At-least-once delivery, honestly labeled: the crash window between stream append and outbox delete is reproduced in a test and the duplicate is skipped via terminal-state dedup - Only the two validated task types from the v11 record (absorb_text requires a source; verify_artifact rejects path traversal); unknown kinds rejected at submit -- no arbitrary-execution path - CLI: submit-absorb / submit-verify / work / status / doctor Tests: 24/24 green (retry math, outbox atomicity, lease exclusion, reclaim, dead-lettering, CLI round trip). CLI also smoke-tested end-to-end. Docs updated (mainbrain/README.md layout, TOP5.md mistralai#4). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HbihhqCH3c2tvHn1UjsDPx
…ns-models-t3z66v Add MAINBRAIN: unified best-of-both build from Babafile + OMEGA packages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.