ConcertedEngineering

OPEN-SOURCE SUBSTRATE · Apache-2.0 · PROTOCOL 0.1-DRAFT (EXPERIMENTAL)

OneMind working roadmap.

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.

REPOSITORYconcerted-engineering/onemind
LICENSE & PROTOCOLApache-2.0 · Protocol 0.1-draft (experimental)
WORKING ROADMAP
LOCAL PREREQUISITESPython 3.11+ · Git
CURRENT ENGINEERING OBJECTIVE · M2ANext implementation slice

Extend the hardened local substrate with bounded, read-only GitHub review-history ingestion. Produce inert evidence and trustworthy coverage reports; do not activate practices, publish PR comments, or begin prospective experiments. M0/M1 are documented as implemented; their current test status must be verified before further changes.

[E0] Timelines, thresholds and scenarios are proposed defaults or illustrations, not measured results. Evidence levels · CE-DEF-01 · design principle

01 / DECISION REGISTER & ARCHITECTURAL PRINCIPLES

Decision register and architectural principles

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.

Established

Accepted project direction or documented implementation decision.

Reported

Repository documents implementation, not a fresh execution of tests.

Proposed

Roadmap choice requiring an ADR or review.

Open

Unresolved decision.

Deferred

Deliberately outside the current scope.

EPISTEMIC GUARDRAIL

A green demo is not evidence of enterprise enforcement or improved engineering outcomes. CE-STATUS-01 · observation

Eight established architectural principles governing OneMind protocol, storage, and authority boundaries.
Established principleEngineering consequenceStatus
Original Concerted Engineering identityMaintain independent terminology, open interfaces and repository ownership.Established
Substrate firstCanonical knowledge and governance outlive any individual model, agent or workflow.Established
Local-first, open protocolM0/M1 work offline without accounts, telemetry or model downloads; storage is replaceable.Established
Evidence is not authorityObservations and candidates are inert; no model or imported text can activate a practice.Established
Explicit human governanceBind decisions to exact immutable target IDs and canonical digests; distinguish asserted local authority from verified repository approval.Established
Separation of meaning and executionPractices define intent; applications are independently versioned interpretations, with narrower or equal scope.Established
Deterministic replay and safe uncertaintyDerive effective state from committed records, time and policy; ambiguity or missing integrity evidence must not be treated as authorization.Established
Learning is measurableRecord outcomes separately; distinguish illustrative examples from independently measured improvement.Established
02 / COMPOSABLE ARCHITECTURE & RECORD PROTOCOL

Composable architecture

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.

COMPOSABLE ARCHITECTURE · TRANSPORT-INDEPENDENT COREEVIDENCE IS INERT · AUTHORITY IS EXTERNAL
  1. [S]Engineering sources→ A

    Local artifacts, retrospectives, and bounded read-only GitHub PR/review history.

  2. [A]SourceAdapter and Extractor→ E

    Retrieve bounded observations with provenance and normalize into inert candidates.

  3. [E]Inert evidence and candidates→ L

    Source-linked observations and normative proposals; never self-activating.

  4. [H]Human governance and authority verification→ L

    Bind approvals, suspensions, or retirements to exact immutable IDs and canonical digests.

  5. [L]Immutable canonical ledger→ R · → Q

    Append-only validated store of the seven protocol record kinds and integrity batches.

  6. [P]External versioned authority policy→ R

    Policy input governing how asserted vs. verified repository authority is evaluated.

  7. [R]Deterministic effective view→ C

    Pure projection EffectiveView(c, t, p) returning provenance and state, never a blind permission grant.

  8. [C]Approved scoped applications→ X

    Independently versioned preflight, linter, test, agent-context, or record-only interpretations.

  9. [X]External tools and audited checks→ O

    Downstream consumers and checkers operating outside the authority of evidence ingestion.

  10. [O]OutcomeSink→ L

    Appends authenticated, deduplicated outcome observations back to the canonical ledger.

  11. [Q]Query and Reporter

    Projects coverage, practices, and outcomes without conferring execution or governance authority.

Evidence ingestion (S → A → E → L) and outcome recording (X → O → L) never confer authority; only verified human governance (H) and external policy (P) shape active resolution (R → C).
CORE LIBRARY PRIMITIVES

Five transport-independent operations

query
Inspect records, provenance, and projections without mutating state.
propose
Submit an inert practice candidate or versioned statement with lineage.
propose_from_source
Extract inert evidence and optional candidates from a bounded source.
resolve
Return provenance and effective state (none, active, ambiguous, suspended, indeterminate)—not a permission grant.
observe
Append deduplicated outcome events that inform future proposals without changing governance.
DETERMINISTIC RESOLUTION STATES

States returned by resolve

none
No applicable practice governs the queried scope at commit c and time t.
active
Unambiguous approved practice with valid integrity under policy p.
ambiguous
Unresolved contradiction or overlap between approved practices.
suspended
Explicitly suspended by governance decision; retained in history but inactive.
indeterminate
Missing or invalid integrity/coverage evidence; never treated as authorization.

Seven composable adapter and engine interfaces

InterfaceResponsibility
SourceAdapterRetrieve local or external source observations with provenance and bounded coverage.
ExtractorNormalize source observations and optionally propose inert candidates.
StoreValidate, append and retrieve immutable records; allow replacement without changing record semantics.
AuthorityVerifierVerify authority under external policy; never trust source text or self-asserted approval.
ApplicationAdapterInterpret approved scoped practices for a particular consumer or check.
OutcomeSinkAppend authenticated, deduplicated observations with traceable context.
ReporterProject coverage, practices and outcomes without conferring authority.
ESTABLISHED PROTOCOL · 0.1-DRAFT (EXPERIMENTAL)

Seven immutable record kinds

Established

Every record shares a canonical envelope containing schema_version, record_id, kind, created_at, actor, body.

01 · OBSERVATIONevidence

Source-linked observation, digest, source state and optional redacted snapshot.

Invariant: Always inert; cannot route checks or activate practices.

02 · PROPOSALpractice_candidate

Normative proposal with generator and evidence provenance.

Invariant: Never routes or activates without explicit human governance.

03 · NORMATIVE INTENTpractice_version

Versioned statement, owner, scope, lineage and supporting evidence.

Invariant: No self-asserted approval; requires a separate digest-bound governance_decision.

04 · HUMAN AUTHORITYgovernance_decision

Approve, suspend, restore, retire or adjudicate a target record.

Invariant: Bound to exact immutable target ID and canonical SHA-256 digest, authority and proof.

05 · PLURALISM & TENSIONconflict

Contradiction, overlap or possible exception between records.

Invariant: Candidate conflict alone cannot disable an approved practice; approved contradictions resolve as ambiguous.

06 · SCOPED EXECUTION VIEWapplication

Independently 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.

07 · MEASURED FEEDBACKoutcome_event

Deduplicated append-only observation with traceable context.

Invariant: Cannot mutate governance; retirement of a practice invalidates dependent applications.

ESTABLISHED TRUST MODEL · PURE PROJECTION

EffectiveView(c, t, p) & governance lifecycle

unapprovedapprovedsuspendedretired (terminal)

Pure deterministic projection

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.

Explicit lifecycle & terminal retirement

Lifecycle transitions follow unapproved → approved ↔ suspended → retired (terminal). Application suspension does not suspend its practice; retiring a practice invalidates dependent applications.

Safe uncertainty & advisory separation

Invalid integrity yields indeterminate; unresolved approved contradictions yield ambiguous. Local-owner assertions are explicitly advisory and cannot satisfy strict repository policy.

Cryptographic & semantic binding

RFC 8785 canonical JSON and SHA-256 bind governance approval to exact content; JSON Schema 2020-12 plus semantic validation enforce cross-record invariants.

CE-TRACE-01 · design principle
03 / FLAGSHIP MONOREPO & RUNTIME DATA

Repository structure

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.

concerted-engineering/onemind (documented repository layout)
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

Canonical repository-local runtime data & proposed M2A paths

.onemind/records/<kind>/<record_id>.jsonEstablished

Canonical repository-local immutable protocol records partitioned by kind.

.onemind/batches/<batch_id>/Established

Immutable append batches with integrity manifests; historical mutation checks require an externally trusted base.

.onemind/policy.jsonEstablished

External versioned authority policy consumed by EffectiveView(c, t, p).

Proposed M2A additions (ADR-gated)Proposed

GitHub 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.

04 / MILESTONE ROADMAP & MVP BOUNDARY

MVP scope and implementation status

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.

M0Reported implemented

Protocol and trust model

Seven record kinds, canonicalization, schema/semantic validation, immutable Git store, trusted-base verification, deterministic governance and composable API.

M1Reported implemented

Five-minute offline experience

scan, inspect, propose, preview, validate; genuine pass/fail demo, explicit provenance, two unrelated adapter fixtures.

M2ANext implementation milestone

Real read-only input

Opt-in bounded GitHub history ingestion, inert evidence, safe capture, idempotent append and complete/explicitly incomplete coverage.

M2BDeferred; gate after M2A

Governed pilot

Verified human authority, protected merge proof, trusted-base preflight, fork-safe privilege separation, approved applications.

M2CProposed subdivision of deferred M2

Prospective learning evaluation

Held-out detector evaluation, immutable outcomes, stable randomized assignment, silent controls and preregistered analysis.

M3+Proposed, not committed

Expansion

Further sources, multi-repository trust, hosted administration, identity integrations and optional transports only after demonstrated demand.

MVP BOUNDARY & PREREQUISITES

Deliberate local-first scope

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.

REPOSITORY EVIDENCE & HISTORICAL BASELINE

Verify tests before marking work complete

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.

05 / VERIFICATION & EXIT GATES

Milestone acceptance criteria

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.

M0 & M1 · REGRESSION GATES

M0 and M1 regression gates

Regression check

Verify documented baseline implementation and offline guarantees before extending the substrate.

  • Run schema/semantic validation including duplicates, dangling references, version gaps, forged authority, bad digests, scope overreach and malformed timestamps.
  • Verify deterministic replay, conflict behavior, terminal retirement and strict/local authority separation.
  • Verify immutable append, concurrent writers, batch manifest integrity, crash recovery and trusted-base detection of historical changes.
  • Run the offline demo without credentials or network. Confirm real incompatible schema fails and compatible schema passes; candidate capture stays inert.
  • Verify adapters remain independent/removable and no external workflow or agent SDK is required.
M2A · ACTIVE OBJECTIVE

M2A read-only evidence ingestion

Current M2A exit

Bounded, privacy-preserving GitHub review-history capture producing inert evidence and explicit coverage accounting.

  • A bounded repository/time-window CLI fetches PRs, submitted reviews, inline review comments and conversation comments; distinguish source types and retain source IDs, revisions, timestamps, URLs and commit context where available.
  • Enforce max PR/page limits, pagination, loop detection, retries, rate limits and same trusted API origin; incomplete, inaccessible, truncated or failed sources are explicitly indeterminate.
  • Coverage reports include query/window, attempted/completed pages and PRs, observed counts by type, omissions, errors and time bounds. Zero observed in an incomplete source is never zero violations.
  • Repeated identical observations deduplicate regardless of traversal order; edited observations append new versions; reliable source-unavailable evidence may append, but missing items in partial responses never establish deletion.
  • Dry run is default and leaves the ledger unchanged; explicit --write persists validated evidence and coverage safely and atomically with trusted-base history checks.
  • Metadata-only default; explicit consent for redacted excerpts; never print or persist tokens, unredacted review bodies or sensitive diagnostics. Hostile text stays data.
  • Offline fixtures cover multi-page results, authorization errors, transient failures, retries, malicious redirects, malformed and oversized payloads, edits, partial failures, redaction, crash recovery and nonactivation. No live API requests in automated tests.
  • Existing quality checks and new tests run with exact results recorded; docs, ADR, status and blocker list updated; no claims of CI success without observed CI.
M2B & M2C · FUTURE RELEASE GATES

M2B and M2C release gates

Deferred gate

Strict authority verification, privilege separation, and preregistered experimental controls required before any governed pilot.

  • Verify exact reviewed digest and protected merge against trusted repository rules and qualifying human reviewers; reject post-approval changes, unauthorized self-approval and bypassed merges.
  • Separate trusted evaluator and narrowly privileged publisher; never execute untrusted PR/fork code with secrets or ledger-write credentials. Read PR diff as data.
  • For each preflight application, measure held-out precision, opportunity coverage, false-alert and indeterminate rates; route unreliable checks to record-only.
  • Authenticate immutable outcome batches; persist assignment before intervention and keep arm stable across PR revisions; ensure silent control-arm results never leak through any output path.
  • Preregister estimand, randomization unit, contamination handling, sample size/precision, stopping and censoring; pin deterministic reports to ledger, application, preregistration and analysis versions. Publish null/inconclusive outcomes honestly.
  • Approve privacy, retention and retraction policy before prospective collection. No M2 pilot activation until relevant blocker conformance and security review are complete.
CE-ASSURE-01 · design principle
06 / ARCHITECTURAL DECISION QUEUE · D01–D07

Open technical decisions

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 & gateDecision and proposed defaultRequired 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.
CE-GOV-01 · design principle
07 / LIVE BACKLOG & CODING-AGENT ASSIGNMENT

Prioritized coding-agent backlog

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.

  • P0 · A01

    Baseline audit

    OPEN · UNLINKED

    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.

  • P0 · A02

    M2A ADR

    OPEN · UNLINKED

    Resolve D01–D04; document authority boundary, run manifest, atomic writes, identity, privacy and coverage before network code. Add conformance tests.

  • P0 · A03

    HTTP + source adapter

    OPEN · UNLINKED

    Implement bounded REST transport, pagination, retries, injected clock/sleep, origin restrictions, normalized review/inline/conversation observations and coverage accounting. Use mocked transport tests.

  • P0 · A04

    Evidence and persistence

    OPEN · UNLINKED

    Generate valid inert records; deterministic dedup and revision handling; append coverage with integrity/atomicity and trusted-base checks; simulate crashes and reingestion.

  • P0 · A05

    Capture policy and adversarial tests

    OPEN · UNLINKED

    Metadata-only default, opt-in redaction, safe logs/JSON, hostile text handling and no token leaks; validate incomplete-source behavior.

  • P1 · A06

    CLI and reproducible fixture demo

    OPEN · UNLINKED

    Expose bounded dry-run ingestion; explicit write and token environment options; machine-readable exit/completeness states; offline demonstration and safe public example.

  • P1 · A07

    Regression and release evidence

    OPEN · UNLINKED

    Execute quality checks, report counts, changed files, ADRs, CLI commands, limitations, remaining M2 blockers and Git status; update docs. Stop before M2B.

  • P2 · B01

    Design verified governance and preflight

    OPEN · UNLINKED

    After M2A acceptance, resolve D05 and design proof/privilege boundaries; no live writes until reviewed.

  • P2 · C01

    Design measured pilot

    OPEN · UNLINKED

    Resolve D06, held-out detector set, outcome semantics, control isolation and preregistration before enrollment.

Ready-to-use next coding-agent assignment (M2A · A01–A07)
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.
Proposed CLI contract (not yet verified as implemented)
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, --write
CLI EXIT CONVENTIONS & SAFETY INVARIANTS
Exit 0Complete / pass
Exit 1Validated finding / error where applicable
Exit 2Invalid invocation / input
Exit 3Indeterminate / incomplete coverage

Never pass a credential as a CLI literal (use --token-env), and never make live network calls in automated offline tests.

CE-CTRL-01 · design principle
08 / MAINTENANCE DISCIPLINE & REFERENCE DOCUMENTS

Maintenance and evidence

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.

Repository reference documents

Prior project design and implementation prompts

Lineage across Concerted Engineering substrate iterations: 18 Nov practice-engine design, M0/M1 canonical prompt, and 23 Nov M2A next implementation prompt (which supplies the detailed M2A scope and stop conditions above).

Connect the substrate to the operating model

Explore how OneMind supports the Shared Engineering State, three versioned contracts, and bounded 90-day pilot evaluation.

Explore One Mind architecture Run a bounded pilot