Rosetta is Entif AI's open semantic and provenance constitution for meaning that has to survive change.
Models change. Tools change. Schemas change. Organizations disagree. A source is corrected after a summary has already been reused. A system translates the same event through text, graphs, APIs, memories, plans, and actions. Rosetta exists so those transformations do not quietly erase the distinctions that determine what a result actually means, where it came from, or what authority it carries.
The governing image is the Rosetta Stone, not a universal language. The Stone mattered because materially corresponding content survived across different scripts. It did not make those scripts identical. Rosetta applies the same idea to machine and institutional cognition: plural representations, explicit correspondence, preserved provenance, and no silent promotion of one representation into another kind of authority.
If Babel is the problem, the goal is not to abolish the tongues. It is to make Babel interoperable.
This repository is the constitutional monorepo for the Rosetta provenance kernel, the Source Substrate, the Ingress Refinery, the canonical corpus cache, conformance surfaces, and read-only projection adapters.
Think of it like a shipyard, not a showroom. The hull, engine mounts, and navigation rules matter first. Pretty passenger cabins come later.
Rosetta's Core is intentionally narrower than the larger Entif cognitive architecture. Its job is to preserve interoperable meaning and the evidence needed to reason about change.
That means keeping distinctions such as these explicit:
- source is not interpretation;
- interpretation is not evaluation;
- evaluation is not permission;
- a plan is not an effect;
- an effect request is not evidence that the world changed;
- repetition is not independent corroboration;
- confidence is not authority;
- a receipt records an event or relationship, not metaphysical truth.
Rosetta provides stable identity, provenance, uncertainty, ambiguity, rights, lineage, receipts, governed transformation, and extension points. Packs and Profiles can add domain structure or map external standards without forcing every useful concept into Core.
The protocol should let two systems say, in machine-readable form, not only "we agree," but also "we are talking about the same source through different interpretations," "this mapping is lossy," "these claims remain in conflict," or "this derived artifact lost a property the consumer needs."
Rosetta is the semantic narrow waist beneath a larger set of research programs. It does not become their proprietary brain merely because they use Rosetta-shaped information.
- Bilqis investigates whether explicit developmental semantics can make relational and compositional structure cheaper to learn.
- GNOSIS treats cognition as dependency-aware reusable computation.
- Akasha / Forget Me Not governs persistent state, inheritance, correction, revalidation, and rollback.
- Codito studies the metacognitive and orchestration connective tissue that composes those capabilities into task-local cognition.
- OMoC explores capability selection among deterministic operators, bounded learned functions, specialists, general models, tools, and humans.
- Commitment, Guard, and Tripwire separate recommendation, commitment, admission to effect, and independent interruption.
- Swarm Gnosis extends rights-aware reuse and correction across independently bounded participants.
- IndraNet provides a relational fabric among those participants, called Jewels at the UCA layer; its current reference work specializes that fabric for qualified physical context, sensing, simulation, rendering, and actuation.
Jewel is a UCA participant-level term, not a Rosetta Core kind. Rosetta may represent artifacts exchanged by a Jewel without requiring Core to absorb the architecture that produced them.
That boundary matters. Public Rosetta defines interoperable meaning. Private or project-specific implementations may optimize, specialize, route, learn, or outperform the public contract, but they may not silently redefine it.
docs/RFCs/Rosetta v3.0.0 Core Spine Specification.mdis the paramount internal authority for Rosetta/Entif meaning, nomenclature, identity, provenance, execution semantics, interoperability, and conformance until explicitly superseded.docs/governance/Genesis.mddefines the lean cross-project operating doctrine.docs/governance/genesis/SEMANTIC_ALIGNMENT.mddefines the terminology-inheritance and reconciliation process.docs/governance/genesis/SEMANTIC_AUDIT.mdrecords current schema/document mappings and unresolved semantic debt.docs/governance/PUBLIC_COMMONS_AND_PRIVATE_OPERATION_BOUNDARY.mdseparates the public interoperable contract from implementation-specific operational advantage.docs/governance/AUTHORITY_CLOSURE_AND_REQUIREMENTS_TRACEABILITY.mddefines how public and protected requirements remain coherent without collapsing their disclosure boundary.
Before introducing a durable term, schema, artifact family, state, relationship, or identifier, search those authorities and adopted external standards first. Repetition in code or prose does not grant semantic authority.
Rosetta's public surface should be open enough for independent implementers to construct, interpret, validate, exchange, and challenge Rosetta-shaped artifacts without needing Entif's private machinery.
That normally includes semantic and data models, provenance and uncertainty structures, schemas and serializations, compatibility and migration rules, conformance profiles and fixtures, interoperability mappings, lifecycle/failure semantics, and the public governance constraints necessary for ecosystem trust.
It does not require publication of every scoring formula, routing algorithm, model-selection strategy, optimization heuristic, private dataset, deployment topology, or adaptive-learning method used by one operator.
Open the language. Protect the cognition.
This bootstrap is intentionally headless and receipts-first:
- Rosetta tiles are canonicalized, hashed, and given stable content IDs.
- RRP receipts can be created, signed, bundled, and verified.
- Source systems, records, manifestations, packages, corrections, and trust matrices are modeled as first-class artifacts.
- The refinery turns fixture-backed source artifacts plus raw text into a canonical artifact and linked provenance receipts.
- The canonical cache clusters artifacts across byte, manifestation, record-family, and conceptual lanes without auto-merging the broader matches.
- OB1, Prism, and Mission Control are projected as read-only sidecar, shadow, and operator-shell views.
This is not yet a production ingestion platform:
- No live source adapters are fetching from DataCite, Crossref, Zenodo, or other upstream systems yet.
- No durable database-backed cache exists yet.
- No evidence-derived trust scoring engine exists yet; the trust matrix is currently a formal model plus bootstrap fixture values.
- No full SHACL or RDF execution engine is running yet; conformance is currently a lightweight required-field validator plus emitted SHACL-like shapes.
- No real OB1 or Prism runtime integration exists yet beyond projection contracts.
The honest label is: a working provenance-kernel prototype with source-aware bootstrap fixtures.
pnpm install --no-frozen-lockfile
pnpm run sync
pnpm run lint
pnpm run typecheck
pnpm run test
pnpm run build
pnpm run verify
pnpm run governance:semantic
pnpm run governance:semantic:test
pnpm run demo
pnpm run apiThe first researcher-facing workbench is fixture-backed and JSON-first. It lets you verify the bounded bootstrap chain, inspect explicit non-pass outcomes, and prove that two deliberate integrity defects are rejected.
pnpm install --no-frozen-lockfile
pnpm exec nx build rosetta-cli
node apps/rosetta-cli/dist/main.js verify
node apps/rosetta-cli/dist/main.js inspect bootstrap-gate --scenario=pass
node apps/rosetta-cli/dist/main.js tamperThe tamper command changes only cloned in-memory fixture artifacts. It passes when Rosetta detects both a signature-to-CID binding mismatch and a missing receipt-bundle closure member.
Machine-readable variants are available for scripting and notebooks:
node apps/rosetta-cli/dist/main.js verify --json
node apps/rosetta-cli/dist/main.js tamper --jsonSee apps/rosetta-cli/README.md for the command contract, exit codes, readiness limits, and API parity route.
New Codex or agent sessions should start here:
- Read this
README.md. - Read
docs/handoffs/CURRENT_HANDOFF.md. - Check branch state with
git status --short --branch. - If continuing merged work, sync
mainwithgit fetch originandgit pull --ff-only origin main. - Read the active GitHub issue/PR named in the handoff.
- Run the narrowest validation that matches the changed surface.
Every stable branch should update docs/handoffs/CURRENT_HANDOFF.md before its final push. If documentation changed, also run pnpm run docs:intake so the intake ledger stays current.
- Work on focused
codex/feature branches. - Compartmentalize unrelated work into separate branches and separate PRs. Do not bundle independent fixes, planning docs, feature work, and cleanup unless one change is required to validate the other.
- Treat each stable branch as a handoff boundary.
- Commit only coherent, validated slices.
- Follow Conventional Commits for every commit. Use scopes when they clarify ownership, for example
docs(handoff): ...,test(doc-intake): ..., orfeat(source-substrate): .... - Shape commit history for future semantic versioning and changelog automation.
nx releaseis not configured yet, but commit types should remain compatible with that path. - Use red/green TDD for code changes: add or update failing tests first, implement the smallest change that makes them pass, and keep those tests in the normal validation path.
- Do not add or refine functionality without tests covering the behavior and important failure/resilience cases.
- Keep
docs/handoffs/CURRENT_HANDOFF.mdcurrent enough that a new account or machine can resume without rereading the whole docs corpus. - Record published GitHub issue URLs and state changes in
docs/intake/github-issue-ledger.json. - Use local issue drafts under
docs/intake/issue-drafts/as the review gate before creating remote GitHub issues. - Do not perform large-scale Rosetta-native semantic corpus ingest until the Ingress Refinery and canonical corpus cache are ready.
- Do perform docs-intelligence extraction for planning now: read the repo's source documents for intent, requirements, architecture, technology choices, priorities, contradictions, dependencies, and issue candidates. This planning lane is not blocked by runtime ingestion readiness and must not be routed through Rosetta-native tile/tapestry conversion unless a specific issue asks for that product behavior.
- Prefer targeted validation during development; use
pnpm run verifywhen a branch changes shared contracts or before claiming a broad green state. - Before adding a durable semantic term or schema family, run
pnpm run governance:semanticand update the governing crosswalk in the same change.
docs/ARCHITECTURE.mdBrief layer map, current execution model, and explicit "real vs fixture-backed vs not yet" status.docs/governance/Genesis.mdLean cross-project operating doctrine.docs/governance/genesis/README.mdCompanion index for semantic alignment, engineering, security, assurance, delivery, interface, publication, and research practice.docs/governance/genesis/SEMANTIC_AUDIT.mdCurrent semantic/schema crosswalk and duplication-debt ledger.docs/governance/AUTHORITY_STACK.mdScoped semantic, operating, and bootstrap execution authority.docs/governance/REPO_SHAPE_AND_CONSTRAINTS.mdMonorepo structure and boundaries.docs/governance/DONOR_FIT_MAP.mdWhat was seeded from donor patterns and what was not.docs/governance/SERVICE_INVENTORY.mdCurrent services, packages, and roles.docs/governance/UPSTREAM_AND_BACKUP_PLAN.mdUpstream authority posture and backup expectations.docs/backlog/BOOTSTRAP_EXECUTION_TRACK.mdCurrent bootstrap delivery sequence and proof path.docs/packs/PACK_SUITE_INDEX.mdPack inventory.docs/handoffs/2026-04-13-bootstrap-handoff.mdHistorical bootstrap handoff record.docs/handoffs/CURRENT_HANDOFF.mdActive handoff record for future Codex and agent sessions.docs/intake/README.mdDocumentation intake workflow, local issue drafts, and GitHub issue ledger policy.docs/intake/DOCS_INTELLIGENCE_WORKFLOW.mdRequirements-mining workflow for turning repository docs into extracted knowledge, roadmap maps, GitHub issues, and project-board coordination.
packages/rosetta-canonDeterministic JSON and text normalization helpers.packages/rosetta-cidContent hashing and CID string helpers.packages/rosetta-coreTile envelope construction and integrity verification.packages/rosetta-schemasLightweight payload validation and conformance bundle emission.packages/rosetta-receiptsReceipt creation, signing, bundle construction, and verification.packages/rosetta-guardMinimal parse-only policy evaluator.packages/rosetta-tapestryReceipt-bundle tapestry compilation.packages/rosetta-storeIn-memory tile store with rights checks.packages/source-substrateSource-system, record, manifestation, package, correction, and trust-matrix models.packages/source-registryBootstrap registry/profile fixtures for Tier 0 and Tier 1 sources.packages/ingress-refineryFixture-backed parse-only refinement from source artifacts plus raw text into canonical artifacts and receipts.packages/canonical-cacheIn-memory clustering and lifecycle event retention.packages/projection-adaptersRead-only OB1, Prism, and Mission Control projection contracts.
Each package now has its own README.md describing purpose, current functionality, roadmap, and known limits.
apps/rosetta-cliRuns the aggregate demo, guarded-bootstrap inspection, verification, and tamper-negative proof.apps/rosetta-apiServes/health,/registry,/demo,/inspect/bootstrap-gate, and/schemasas read-only bootstrap inspection surfaces.apps/rosetta-operatorPlaceholder operator-shell surface, not the constitutional center.
- Local commits follow Conventional Commits.
- Commit-message enforcement is wired through Husky and commitlint.
nx releaseis not configured yet, but the commit history is being shaped so changelog/release automation can land cleanly later.