feat(mosaic): add per-estate repository-backed brain #1061
Open
be-coder-07
wants to merge 16 commits from
feat/1051-mosaic-brain-installer into main
pull from: feat/1051-mosaic-brain-installer
merge into: :main
:main
:greenfield/fomo-lin
:feat/lease-promotion-and-harness-isolation
:fix/1099-pipefail-wake
:fix/1099-pipefail-tests
:fix/1099-pipefail-sweep
:fix/framework-shell-portability
:fix/1043-pane-git-identity
:fix/1081-issue-close-silent-comment-failure
:fix/1090-enrollment-wallclock-tolerance
:feat/1082-tea-stale-token-diagnostic
:fix/detect-platform-silent-128-outside-repo
:feat/1050-install-state-machine-red-fixture
:fix/pr-merge-message-field
:feat/1051-mosaic-brain-installer
:feat/1045-mosaic-cred
:remediation/state
:fix/1056-upgrade-rollback-control-race
:fix/1019-ci-queue-timeout-harness
:next
:feat/rm-02-gate-registry
:fix/rm-01-reproducible-checkout
:remediation/mission-setup
:fix/hygiene-inert-format-gate
:fix/1019-queue-guard-stdin
:feat/mos-ste-writing-standard
:fix/1007-suite-hermeticity
:fix/991-comment-url-scheme-normalise
:feat/push-guard-null-case-verification
:mos-comms-live
:docs/heartbeat-framework-layering-ms-lead
:feat/869-c4-version-coupling
:feat/869-c2-install-ordering-guard
:feat/869-c5-doctor-activation-check
:feat/per-agent-gitea-identity
:fix/875-belongs-case-insensitive-slug
:fix/ci-queue-wait-404-branch-absent
:feat/869-c1-activation-probe
:feat/869-c3-broker-supervisor
:fix/865-tea-cli-comment-invocation
:feat/glpi-skills
:fix/860-deflake-mutator-lease-gate
:fix/850-detect-platform-port-normalization
:fix/856-worktree-deps-preflight
:fix/835-pr-review-approve-reject-comment-flag
:fix/848-truthful-evidence
:fix/812-pr-review-comment
:fix/849-recovery-runtime-fixture-race
:docs/758-ledger-m5-001-sync
:feat/834-tc-server-side-doc
:feat/833-constrained-recovery-command
:feat/827-gate0-probe
:governance/gate0-probe3-amendment
:fix/795-codex-pr-diff
:fix/795-ci-base-jq
:fix/795-ci-base-git
:feat/791-pr3-fleet-regen
:feat/791-pr2-snapshot-restore
:fix/807-glpi-206
:fix/808-agent-send-false-sender
:feat/791-upgrade-config-protection
:feat/790-mosaic-yolo-claudex-pr2
:feat/790-mosaic-yolo-claudex
:feat/758-v1-v2-migrator
:fix/766-exact-fleet-comms
:test/758-reconciler-lifecycle-gates
:docs/771-kbn101-db-role-split
:test/758-example-profile-dispositions
:feat/758-shared-role-resolution
:feat/mos-logical-identity-fencing
:feat/769-kbn100-unified-schema
:docs/753-kbn010-threat-gate
:feat/758-roster-v2-compiler
:feat/756-official-discord-plugin
:docs/758-fleet-config-management
:fix/mos-option2-qualification-format
:docs/issue-758-m0
:docs/mos-option2-qualification
:mos-comms
:feat/tess-interaction-agent
:fix/tess-docs-format
:draft/mosaic-platform-prd
:fix/installer-provider-gate-and-local-gateway-redis
:release/mosaic-cli-0.0.37
:feat/framework-constitution-alpha
:fix/git-wrapper-repo-detection
:fix/woodpecker-wrapper-legacy-mosaic
:fix/t-a292e96f-gitea-pr-metadata
:fix/gitea-pr-metadata-login-t-a292e96f
:fix/t_a292e96f-pr-metadata-gitea
:fix/t_3a368a52-gitea-usc-login
:fix/bootstrap-hotfix
:fix/populate-known-packages-list
:fix/idempotent-init
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Implements the repository-backed, per-estate Mosaic brain for #1051: target-derived estate selection, MC-CRED-mediated validation, provider-verified durable ownership, private local storage, fail-closed diagnostics, exact-snapshot migration controls, and append-only push-on-write publication.
Current source head:
e91c8c06a5d49ac3443c02bafd53ec6259be5114(16 commits / 25 files againstmainat85d2108e4ed15c744ad3b87a5b629e7b2d39405a; all commits authored and committed bybe-coder-07).Hard dependency and verification scope
#1061 remains merge-ordered behind #1059 (MC-CRED), but a fresh checkout now tracks the provider-fetched canonical estate-registry seam and its DTO dependencies instead of relying on an untracked scaffold. History confirms the imports were intentional: commit
2451c2fintroduced both consumers, while the contemporaneous seam report explicitly marked the local 32-line parser as disposable and required MC-CRED's canonical implementation.Three DTO files are byte-identical to #1059 head
fbff4ffa. Author review found that the canonical parser accepted a trailing-slash origin which MB-BRAIN consumers concatenate into double-slash URLs; this branch adds a RED-first rejection control and requires the configured value to equalURL.origin. That hardening must be propagated to #1059 before dependency convergence.Full merged-system re-verification remains required after #1059 merges and MB-BRAIN rebases onto it. Reviewers remain held until then.
Evidence
/home/hermes/agent-work/be-coder-07/MB-BRAIN-REBASE-PATCH-ID-BEFORE.txtand/home/hermes/agent-work/be-coder-07/MB-BRAIN-REBASE-PATCH-ID-AFTER.txt/home/hermes/agent-work/be-coder-07/MB-BRAIN-REBASE-TRAILERS.log/home/hermes/agent-work/be-coder-07/REPORT-MB-BRAIN-FROZEN-HEAD.md/home/hermes/agent-work/be-coder-07/REPORT-MB-BRAIN-SECURITY-CONVERGENCE.md/home/hermes/agent-work/be-coder-07/MB-BRAIN-NULLABLE-MEASUREMENT-SWEEP.logAdvisory disposition
FIXED
.gitignore.0700are enforced and diagnosed.DEFERRED
rev-974/rev-security-02review remain held until the real MC-CRED dependency is tracked on the rebased branch.Delivery status
Refs #1051. Status remains believed-fixed, pending jarvis validation. The issue remains open through merge, and the source branch is preserved while deferred integration and validation remain outstanding.
Exact-head CI dependency remediation
Pipeline
#2222ata50b5a6bran the only pull-request-eligible workflow (ci, 1/3 defined workflows) and failedtypecheckwith twoTS2307errors before lint, format, or tests ran. Base pipeline#2221ran the byte-identicalci/typecheckworkflow at85d2108eand passed 45/45 tasks, proving the failure was introduced by #1061 rather than pre-existing.RED-first root typecheck reproduced the two missing-module errors. Tracking the canonical module returned typecheck to 45/45 tasks. R7 deleting the module returned RED with three missing-module errors; restoration returned GREEN. Author review's trailing-slash finding was separately RED-first and remediated. Final author advisories: code
approve, zero findings; security risknone, zero findings.With typecheck no longer suppressing downstream execution:
This is a second independent instance of the
#1068suppression class: an early integrity failure prevented all downstream stages carrying behavioral evidence while the aggregate workflow still looked like a completed check. Workflow ordering is not changed here; that remains #1068 scope.5b1717ac57toa50b5a6b4dView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.