evidenceSource-linked observation, digest, source state and optional redacted snapshot.
Invariant: Always inert; cannot route checks or activate practices.
OPEN-SOURCE SUBSTRATE · Apache-2.0 · PROTOCOL 0.1-DRAFT (EXPERIMENTAL)
OneMind is the original open-source engineering-intelligence substrate of Concerted Engineering research. Its purpose is to let teams learn from engineering experience once, preserve the evidence and authority behind that learning, and make approved practices available to every relevant tool and agent. It supports Discover → Define → Execute → Verify → Deliver → Learn without becoming an agent runtime, orchestration engine, CI replacement, or identity provider.
[E0] Timelines, thresholds and scenarios are proposed defaults or illustrations, not measured results. Evidence levels · CE-DEF-01 · design principle
Every roadmap claim and technical choice carries an explicit epistemic status so readers, contributors, and coding agents never confuse proposed designs or documented demos with independently verified outcomes.
Accepted project direction or documented implementation decision.
Repository documents implementation, not a fresh execution of tests.
Roadmap choice requiring an ADR or review.
Unresolved decision.
Deliberately outside the current scope.
A green demo is not evidence of enterprise enforcement or improved engineering outcomes. CE-STATUS-01 · observation
| Established principle | Engineering consequence | Status |
|---|---|---|
| Original Concerted Engineering identity | Maintain independent terminology, open interfaces and repository ownership. | Established |
| Substrate first | Canonical knowledge and governance outlive any individual model, agent or workflow. | Established |
| Local-first, open protocol | M0/M1 work offline without accounts, telemetry or model downloads; storage is replaceable. | Established |
| Evidence is not authority | Observations and candidates are inert; no model or imported text can activate a practice. | Established |
| Explicit human governance | Bind decisions to exact immutable target IDs and canonical digests; distinguish asserted local authority from verified repository approval. | Established |
| Separation of meaning and execution | Practices define intent; applications are independently versioned interpretations, with narrower or equal scope. | Established |
| Deterministic replay and safe uncertainty | Derive effective state from committed records, time and policy; ambiguity or missing integrity evidence must not be treated as authorization. | Established |
| Learning is measurable | Record outcomes separately; distinguish illustrative examples from independently measured improvement. | Established |
The core is a transport-independent library: query, propose, propose_from_source, resolve, and observe. resolve returns provenance and a state (none, active, ambiguous, suspended, indeterminate), not a permission grant.
Application execution is outside the authority of evidence ingestion. An outcome may inform a future proposal, but an observation or outcome event can never itself mutate governance.
Local artifacts, retrospectives, and bounded read-only GitHub PR/review history.
Retrieve bounded observations with provenance and normalize into inert candidates.
Source-linked observations and normative proposals; never self-activating.
Append-only validated store of the seven protocol record kinds and integrity batches.
Pure projection EffectiveView(c, t, p) returning provenance and state, never a blind permission grant.
Independently versioned preflight, linter, test, agent-context, or record-only interpretations.
Downstream consumers and checkers operating outside the authority of evidence ingestion.
Appends authenticated, deduplicated outcome observations back to the canonical ledger.
Projects coverage, practices, and outcomes without conferring execution or governance authority.
queryproposepropose_from_sourceresolveobserveresolvenoneactiveambiguoussuspendedindeterminate| Interface | Responsibility |
|---|---|
SourceAdapter | Retrieve local or external source observations with provenance and bounded coverage. |
Extractor | Normalize source observations and optionally propose inert candidates. |
Store | Validate, append and retrieve immutable records; allow replacement without changing record semantics. |
AuthorityVerifier | Verify authority under external policy; never trust source text or self-asserted approval. |
ApplicationAdapter | Interpret approved scoped practices for a particular consumer or check. |
OutcomeSink | Append authenticated, deduplicated observations with traceable context. |
Reporter | Project coverage, practices and outcomes without conferring authority. |
Every record shares a canonical envelope containing schema_version, record_id, kind, created_at, actor, body.
evidenceSource-linked observation, digest, source state and optional redacted snapshot.
Invariant: Always inert; cannot route checks or activate practices.
practice_candidateNormative proposal with generator and evidence provenance.
Invariant: Never routes or activates without explicit human governance.
practice_versionVersioned statement, owner, scope, lineage and supporting evidence.
Invariant: No self-asserted approval; requires a separate digest-bound governance_decision.
governance_decisionApprove, suspend, restore, retire or adjudicate a target record.
Invariant: Bound to exact immutable target ID and canonical SHA-256 digest, authority and proof.
conflictContradiction, overlap or possible exception between records.
Invariant: Candidate conflict alone cannot disable an approved practice; approved contradictions resolve as ambiguous.
applicationIndependently versioned preflight, linter, test, agent-context or record-only interpretation.
Invariant: Strict scope containment required (narrower or equal to its practice); application suspension does not suspend its practice.
outcome_eventDeduplicated append-only observation with traceable context.
Invariant: Cannot mutate governance; retirement of a practice invalidates dependent applications.
EffectiveView(c, t, p) & governance lifecycleunapprovedapprovedsuspendedretired (terminal)EffectiveView(c, t, p) is a pure function of ledger commit c, as-of time t, and external versioned authority policy p—using committed order rather than host-clock tie breakers.
Lifecycle transitions follow unapproved → approved ↔ suspended → retired (terminal). Application suspension does not suspend its practice; retiring a practice invalidates dependent applications.
Invalid integrity yields indeterminate; unresolved approved contradictions yield ambiguous. Local-owner assertions are explicitly advisory and cannot satisfy strict repository policy.
RFC 8785 canonical JSON and SHA-256 bind governance approval to exact content; JSON Schema 2020-12 plus semantic validation enforce cross-record invariants.
Established repository: single flagship OSS monorepo concerted-engineering/onemind. The layout below maps documented current paths; additions marked proposed are ADR-gated roadmap targets, not assertions that files already exist.
onemind/
├── src/onemind/
│ ├── api.py, engine.py, cli.py
│ ├── protocol/ # schema, canonicalization, validator, models, scope
│ ├── storage/ # base, git_store, mutation
│ ├── governance/ # authority, policy, projection
│ ├── adapters/ # interfaces, local_files, markdown_retro, json_observation
│ └── checks/ # audited checker registry
├── spec/ # record protocol and JSON Schema
├── examples/ # records.json, api-compat-demo, workflow-fixtures
├── tests/ # conformance, integration, adversarial tests
├── scripts/demo.sh
├── docs/
│ ├── architecture.md, security.md, IMPLEMENTATION_STATUS.md
│ ├── M2_BLOCKERS.md
│ └── decisions/ # accepted ADRs
└── README.md, CONTRIBUTING.md, SECURITY.md, LICENSE.onemind/records/<kind>/<record_id>.jsonEstablishedCanonical repository-local immutable protocol records partitioned by kind.
.onemind/batches/<batch_id>/EstablishedImmutable append batches with integrity manifests; historical mutation checks require an externally trusted base.
.onemind/policy.jsonEstablishedExternal versioned authority policy consumed by EffectiveView(c, t, p).
Proposed M2A additions (ADR-gated)ProposedGitHub source adapter, injectable HTTP transport, capture policy, coverage-manifest schema/store, and offline fixtures. Exact filenames and manifest locations are ADR decisions, not assertions that files already exist; a public RFC directory may be introduced when protocol changes need community review.
The distributable local-first M0/M1 core is the initial open-source product; M2A is the next vertical slice toward the first real learning use case: recurring pull-request review corrections.
Seven record kinds, canonicalization, schema/semantic validation, immutable Git store, trusted-base verification, deterministic governance and composable API.
scan, inspect, propose, preview, validate; genuine pass/fail demo, explicit provenance, two unrelated adapter fixtures.
Opt-in bounded GitHub history ingestion, inert evidence, safe capture, idempotent append and complete/explicitly incomplete coverage.
Verified human authority, protected merge proof, trusted-base preflight, fork-safe privilege separation, approved applications.
Held-out detector evaluation, immutable outcomes, stable randomized assignment, silent controls and preregistered analysis.
Further sources, multi-repository trust, hosted administration, identity integrations and optional transports only after demonstrated demand.
Python 3.11+ and Git are the documented local prerequisites. No hosted backend, multi-repo federation, automatic LLM mining, automatic approval, live PR enforcement, marketplace, or efficacy claims are required for the M0/M1 core or the M2A vertical slice.
The current main-branch README, implementation status (22 Nov), architecture guide, and ADR 0001 describe M0/M1 as implemented and tested and M2 as deferred. The prior 23 Nov coding-agent plan inspected b9aeeb15c438; treat this as a historical baseline rather than an assertion of today’s HEAD, reconcile newer commits, and execute checks directly.
Acceptance gates separate baseline offline conformance (M0/M1), bounded read-only evidence capture (M2A), and human-verified pilot governance and preregistered evaluation (M2B/M2C). Change acceptance gates only through an explicit decision—never by silently narrowing tests.
Verify documented baseline implementation and offline guarantees before extending the substrate.
Bounded, privacy-preserving GitHub review-history capture producing inert evidence and explicit coverage accounting.
Strict authority verification, privilege separation, and preregistered experimental controls required before any governed pilot.
Decisions D01–D04 must be resolved in an M2A ADR before writing network ingestion code; D05 and D06 gate M2B and M2C respectively; D07 preserves local-first storage until demonstrated need.
| ID & gate | Decision and proposed default | Required resolution |
|---|---|---|
| D01 M2A ADR | Ingestion coverage precedes practices. Prefer separately validated append-only IngestionRun manifests over fake OutcomeEvent context. | ADR before implementation; decide schema, manifest integrity and atomicity, trusted-base scope and migration path. Preserve seven kinds unless compelling evidence supports change. |
| D02 M2A ADR | Stable revision identity for edited/deleted external sources. Prefer source ID + revision/content digest, with separate observation time. | Define immutable dedup keys, deletion evidence threshold and deterministic canonicalization tests. |
| D03 M2A ADR | REST versus SDK. Prefer narrow injectable REST transport. | Document supported endpoints, time-window semantics, bounded retries, authorization and origin restrictions. |
| D04 M2A ADR | Privacy versus immutable history. Metadata only by default; redacted excerpt opt-in. | Define classifications, retention and retraction, secret/PII redaction limitations and what is safe to publish. |
| D05 M2B gate | Reviewer proof and branch protection. Verify provider proof against external policy rather than repository-local assertions. | Specify provider proof verification, identity mapping, trust root, policy version and post-merge verification; M2B gate. |
| D06 M2C gate | Outcome and experiment design. Preregistered evaluation with silent control isolation. | Preregister unit, estimand, contamination isolation and missing-data rules; M2C gate. |
| D07 Standing default | Transport/storage evolution. Keep current Git store and local API until a demonstrated scaling or integration need justifies alternatives. | No hosted commitment; revisit only on demonstrated operational demand. |
Checkboxes serve as the live task tracker. A task remains open until its acceptance evidence is linked to a specific commit. Priority P0 blocks the next milestone; P1 follows foundational work; P2 is future gated work.
Read README, status, blockers, protocol/schema, security, interface, API, validator, storage and tests. Verify HEAD and working tree, run existing checks and reconcile newer commits; do not revert them.
Resolve D01–D04; document authority boundary, run manifest, atomic writes, identity, privacy and coverage before network code. Add conformance tests.
Implement bounded REST transport, pagination, retries, injected clock/sleep, origin restrictions, normalized review/inline/conversation observations and coverage accounting. Use mocked transport tests.
Generate valid inert records; deterministic dedup and revision handling; append coverage with integrity/atomicity and trusted-base checks; simulate crashes and reingestion.
Metadata-only default, opt-in redaction, safe logs/JSON, hostile text handling and no token leaks; validate incomplete-source behavior.
Expose bounded dry-run ingestion; explicit write and token environment options; machine-readable exit/completeness states; offline demonstration and safe public example.
Execute quality checks, report counts, changed files, ADRs, CLI commands, limitations, remaining M2 blockers and Git status; update docs. Stop before M2B.
After M2A acceptance, resolve D05 and design proof/privilege boundaries; no live writes until reviewed.
Resolve D06, held-out detector set, outcome semantics, control isolation and preregistration before enrollment.
Implement M2A end to end in concerted-engineering/onemind. Inspect current HEAD and run baseline checks; reconcile newer work rather than overwriting it. Implement the P0/P1 tasks A01–A07 in the Engineering Roadmap. Write the ingestion ADR before network calls. Preserve the seven-record experimental protocol and existing trust boundaries; do not fabricate practice/application context for coverage. Prefer bounded read-only REST with injectable transport, metadata-only capture, dry-run default, explicit --write, immutable dedup/version handling and complete or indeterminate coverage. Test all paths offline, including hostile text and pagination, privacy, incomplete data, crashes and trusted-base mutation checks. Run ruff check src tests; mypy src/onemind; pytest -q; ./scripts/demo.sh; onemind validate . --records-file examples/records.json. Report actual results, exact reproduction commands, changed files, ADR decisions, Git status and remaining blockers. Update the repository docs. Stop before verified approval, PR publication, active enforcement or experimentation. Do not push or change repository settings without authorization.onemind ingest github \
--repository OWNER/REPO --store . \
--since 2026-10-01 --until 2026-11-01 \
--max-prs 100 --json
# Optional: --max-pages, --token-env GITHUB_TOKEN,
# --capture-policy metadata-only|redacted-excerpt, --writeExit 0Complete / passExit 1Validated finding / error where applicableExit 2Invalid invocation / inputExit 3Indeterminate / incomplete coverageNever pass a credential as a CLI literal (use --token-env), and never make live network calls in automated offline tests.
At each milestone review, record the review date, exact commit SHA, actual commands and observed results, artifact links, resolved ADRs, remaining risks, and the next bounded assignment.
Keep milestone and component status as Reported or Proposed until acceptance evidence is directly verified. Change acceptance gates only through an explicit documented decision, never by silently narrowing tests. Source code remains in Git; this roadmap tracks architectural decisions, priorities, and completion evidence.
Overview, local prerequisites (Python 3.11+ & Git), and quickstart.
Documented M0/M1 status (22 Nov) and deferred M2 scope.
Composable interfaces, trust model, and deterministic replay design.
Specification of the shared envelope and seven immutable record kinds.
Accepted M0/M1 protocol and trust-boundary architectural decisions.
Conformance and security blockers gating M2 pilot activation.
Commit b9aeeb15c438b1534158f92f19d60c8e703c8555 inspected in the prior agent plan.
Explore how OneMind supports the Shared Engineering State, three versioned contracts, and bounded 90-day pilot evaluation.