Skip to content

Integrate DM-036 collective-memory adapters - #115

Closed
nicoechaniz wants to merge 7 commits into
dm-083-two-host-dogfoodfrom
dm036-dm083-integration
Closed

Integrate DM-036 collective-memory adapters#115
nicoechaniz wants to merge 7 commits into
dm-083-two-host-dogfoodfrom
dm036-dm083-integration

Conversation

@nicoechaniz

Copy link
Copy Markdown
Contributor

Refs #27

Deployment: not deployed; candidate uses only synthetic isolated local and remote scratch state

Outcome

Integrates the completed DM-036 inbound collective-source and outbound reviewed-publication adapters on top of the current DM-083 candidate. The directions have separate identities, credentials, journals, receipts and authority. Imported content remains attributed external-source quarantine; outbound bytes require exact subject consent and independent exact-byte review.

The adapter is pinned to the hardened public collective-memory exchange contract 3e3b39416917f8e3c2bc5ca69362b20296205938. That dependency is still awaiting independent review and merge in Mar-IA-no/collective-memory#3, so this PR remains a stacked draft and does not claim or close DM-036 yet.

Invariants

  • Matrix remains authority for identity, personal memory, consent, review and adoption.
  • Collective-memory remains authority for its corpus, generations, index and Atlas projections.
  • Preview is effect-free; apply/reconcile/recover are content-bound, monotonic and idempotent.
  • Failures preserve the prior complete generation; imported content cannot become autobiography.
  • No live corpus, runtime, private database, credential or service configuration was read or changed.

Validation

  • Semantic merge: 56f79a1a9128284ef53c4289343162ba84020ad7.
  • Verification receipt: docs/verification/dm036-dm083-integration.md.
  • Registry: 101 required scenarios at digest 12f01cb1704e9943b7f2069ba41fa3f7f9b153c8cf5a22f506e404ac918b963f.
  • Installed conformance ran twice byte-identically with release_ready=true.
  • Exact candidate passed remotely under a unique cleaned /tmp root on daimonmatrix; live service states were unchanged.

Tests

  • COLLECTIVE_MEMORY_CONTRACT_ROOT=... PYTHONPATH=src python -W error::ResourceWarning -m unittest tests.test_dm036_collective_memory -q: 23 passed locally and 23 passed remotely.
  • COLLECTIVE_MEMORY_CONTRACT_ROOT=... PYTHONPATH=src python -W error::ResourceWarning -m unittest discover -s tests -q: 566 passed, 19 skipped.
  • Exact workflow Ruff format/check and strict mypy lanes: clean.
  • DM-036/041/042/061/070/081/082 deterministic generators, compileall and git diff --check: clean.
  • Reproducible wheel 18f6524733da7a1592f0e8a762c520ddaaee0117f571ec1af71081ede89c8e32; sdist 58654f643fdbac1ec74d3d0c16a2bbcfb981d4eaa848c4730c62ec0f9f862111.
  • Distribution allowlist and repository/artifact/report secret scans: clean.
  • Installed 101-scenario conformance twice: transcript 1e4db1a2609ea995f5512ab14f2206ee9ab56b835e984f909c6652d752b16e81; byte-identical report cc95be312cd8617fcba98e060c18d9fcc95b72274adf5d3c0aee2da236f53b75.

Security and rollback

This adds no deployment and grants no live capability. Before any accepted exchange exists, rollback is removal or disablement of the unused adapters and schemas. After future accepted imports/publications, rollback must disable capabilities and write explicit successors/tombstones while preserving Matrix ledger, source, consent, review and external receipt history.

Remaining gate

Independent upstream review/merge, then a valid signed Matrix coordination claim and independent Matrix review. This draft intentionally has no Claim-ID or closing keyword until those gates are real; the coordination audit is expected to remain non-green while it is only a blocked candidate.

@nicoechaniz

Copy link
Copy Markdown
Contributor Author

Final candidate qualification at ba1a52df22d74abb70922fbeacec46ef5ea38ee4: Actions run 31464079808 passed all Python 3.11–3.14 test lanes, Hermes contract, installed package smoke and deterministic conformance. The coordination check remains intentionally non-green because this is a blocked draft without a fabricated Claim-ID; upstream Mar-IA-no/collective-memory#3 still requires independent review/merge before the canonical Matrix claim/review transition.

@nicoechaniz

Copy link
Copy Markdown
Contributor Author

Downstream stack qualification: exact DM-036/083 head ba1a52df22d74abb70922fbeacec46ef5ea38ee4 merges cleanly with exact DM-074 head e0b06b9a9385fb231515841d644e8782d130c1f4.

The integration-only branch is dm074-dm083-dm036-integration at 17e82371de66da2fc2dc9644aadcdba1e34643cf (qualified merge d0d8fde6419dfed56a26e2585bf7a6064820fdd7). Its complete gate passed 576 tests/19 skips, strict static checks including both new DM-074 files, all deterministic generators, identical reproducible package bytes, clean scans and twice-deterministic installed conformance with release_ready=true.

No new PR or claim was created for the integration branch. DM-036 remains blocked on the upstream independent review/merge and this draft retains its separate coordination boundary.

@nicoechaniz

Copy link
Copy Markdown
Contributor Author

Superseded and fully absorbed by consolidated PR #117, merged as e855148. The exact consolidated source head is 306900c; CI, coordination audit, and adversarial review are recorded on #117.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant