One join graph, product-neutral.
Node and edge types, the identity rules, the interface layers between graphs, the gates a mesh must pass, nesting and peering, and the crosswalk to OTCS-0020's observation classes.
- Trajectory is identity: the identity specification
- OTCS-0020 Observation classesDRAFT · in deliberation · earliest decision 2026-12-11
- Join profiles between graphs: an OTCS proposal in draft, not yet public
Acequia, Inc. is an invented organization. These pages present a working design, not deployment results; its contracted stages and change freezes are illustrative. The sections below mirror the Governed Autonomy workbook (v0.50): its columns, rules, invariants and catalogs, as written, with the worked example's organization named as it is there. The deployment's own rows, parties, contract identifiers and configuration stay with the deployment; where a table's rows stay, its columns are shown.
01What the graph isworkbook tab 07 · Knowledge graph
What this is for. How to build the shared map of the case as plain files that any tool can read.
Each organization keeps its own graph. A shared map can sit inside a larger one or meet another as an equal, and each keeps its own names. How to use it. Read what to create, then the file layout, then the build order. A worked example and a checker ship with the specification.
One join graph across the six seats. Every node is a plain file: any graph store can load it, and no product is needed to rebuild it. A product's own graph is one source. A Join can sit inside a larger Join, or connect as a peer with another organization's Join. The (section 11) is the larger Join for Acequia: it joins every IT group with the Business and traces work to the Mission. The detail is in the knowledge graph specification. The starter kit at kg/ holds one worked Case and a validator.
1. What the graph is — one join graph, product-neutral
- ¶One graphThe join graph holds one Case and the shared identifiers on it: host, identity, service, venue, owner, journey, playbook step, field, and context object.
- ¶Product-neutralEvery node is a plain file. Any graph store can load it. No product is required to rebuild it.
- ¶Join identityThe join graph mints every join ID. A product ID is a mapping onto a join ID. It is never the join key.
- ¶SourcesA product's own graph, a case system, an ITSM, and a field model are sources. Each one maps onto join IDs.
- ¶Two or more graphsOrganizations keep their own graphs. Each one connects to a Join through a profile and a declared interface (section 7).
- ¶Nested and peer JoinsA Join is a graph too. It can nest inside a larger Join or peer with another organization's Join (section 10).
- ¶Mission JoinThis six-seat Join nests inside the Mission Join, which joins IT groups, business departments and the Mission through the work each does (section 11; Mission Join tab).
- ¶Not the program graphThe join graph is separate from the program graph at data/graph.json. A PTY:: code maps to an org:* identifier there.
- ¶Contractthe knowledge graph specification is the Markdown contract. This tab and that file say the same thing.
023. What to create — node typesworkbook tab 07 · Knowledge graph
- ¶CaseProcess spine state 0–7. One spine.
- ¶FindingQualification state. Raised by one Detection.
- ¶ObservableNormalized fact: IP, domain, hash, URL, user, host, session, email artifact, or composite identity event.
- ¶HostMember of the entity graph. IP, hostname, DNS, and asset tag are identifiers on the node.
- ¶IdentityKind: workforce, visitor/volunteer, service account, or privileged.
- ¶ServiceAccountable owner (PTY::).
- ¶VenueNetwork, access, and operational boundary.
- ¶JourneyEnd-to-end service path: participant, media, workforce, or visitor.
- ¶PartyFour digits, extensible to five. Main name and second name, both required.
- ¶Join seatExactly these six in this Join. A seat is not a party. The 's tiers are its own seats, not new seats here.
- ¶Context objectObservation class (, , , , ), domain, risk domain (node, neighborhood, or zone), , population (declared, stub, populated).
- ¶DetectionStable detection identity. Versioned logic lives on Detection version.
- ¶FieldField-contract model and field name.
- ¶Source contractTelemetry source a Detection requires.
- ¶playbook stepThe step on a playbook family procedure.
- ¶ITSM taskIncident, change, or request. Linked to one Case.
- ¶SessionPurpose, lineage, action class, revoke path. V3.
- ¶Platform releaseAs-of and validity horizon.
- ¶mission horizonAcequia, the next peak operating window, the peak operating window after it.
- ¶Source graphOwner (PTY::), profile, exchange pattern, and kind: source or join.
033. What to create — edge typesworkbook tab 07 · Knowledge graph
- ¶has-findingCase
- To
- Finding
- Rule
- A Finding sits on one Case.
- ¶has-observableCase
- To
- Observable
- Rule
- Many-to-many.
- ¶aboutFinding
- To
- Host, Identity, Service, Venue, or Journey
- Rule
- The Finding names the entities it describes.
- ¶raised-byFinding
- To
- Detection
- Rule
- Many-to-many.
- ¶on-caseCase
- To
- Host, Identity, Service, Venue, or Journey
- Rule
- The shared identifiers for this Case.
- ¶owned-byService or Case
- To
- Party
- Rule
- Owner is this edge. Owner is not a node type.
- ¶occupiesParty
- To
- Join seat
- Rule
- A party occupies one or more seats. A new party gets no new seat.
- ¶at-stepCase
- To
- playbook step
- Rule
- The playbook consumes the Case. The playbook is not the ontology.
- ¶opens-taskCase
- To
- ITSM task
- Rule
- Closing the task leaves the Case open until the acceptance authority closes it.
- ¶constrainsContext object
- To
- Case or Session
- Rule
- Written only when the is complete. It narrows. It never widens authority.
- ¶declared-byContext object
- To
- Party
- Rule
- The party that owns the object.
- ¶bindsSession
- To
- Context object
- Rule
- V3 writes declared objects onto the session.
- ¶attaches-releasePlatform release
- To
- mission horizon
- Rule
- A release attaches to a mission horizon. It does not open a joint version.
- ¶conflictEntity
- To
- Entity
- Rule
- Two canonical IDs for one real object. Both nodes remain. No silent merge.
- ¶published-bySource graph
- To
- Party
- Rule
- Each source graph has one owner.
- ¶connectsInterface
- To
- Source graph
- Rule
- A member interface connects source graphs through a Join. A peering interface connects Joins only.
- ¶nested-inJoin
- To
- Join
- Rule
- The child Join is a member of the parent Join. At most one parent per Join.
- ¶Detection links edgesDetection
- To
- Source, layer, field, entity, signal, outcome, technique, control
- Rule
- As specified on Detection links and in the detection ontology map.
043. What to create — identity rulesworkbook tab 07 · Knowledge graph
- ¶One canonical IDEach real object has one join ID. Other identifiers are properties on that node.
- ¶Conflict, not mergeA second canonical ID for the same object is a conflict edge. Both nodes stay.
- ¶Product IDs mapA product ID maps onto a join ID in mappings/. It never mints a join node.
- ¶Envelope firstA context object carries its before a constrains edge is written. , , , : subject, population, window. : subject, as-of, validity horizon.
- ¶UnknownA missing node, edge, membership, or source is written as unknown. Never zero, false, or no-risk.
- ¶Contract changeRenaming or removing a join ID is a contract change.
054. How to create — mesh rulesworkbook tab 07 · Knowledge graph
- ¶Links are IDsA link is a join ID. Paths and titles are not links.
- ¶Broken link failsA link to an ID with no node file fails the gate.
- ¶Absence is unknownAbsence is written as unknown.
- ¶Mappings never mintA product mapping never mints a join node.
- ¶Rename is a contract changeRenaming an ID is a contract change.
065. Build orderworkbook tab 07 · Knowledge graph
- ¶1Declare the schema
- Output
- kg/schema/node-types/ and kg/schema/edge-types/ match this tab.
- ¶2Mint identities
- Output
- One join ID per real object in kg/nodes/; conflicts written as conflict edges.
- ¶3Write the first wave
- Output
- Entity graph, evidence fitness, mission schedule, service catalog, authority; stubs declared, not populated.
- ¶4Write the edges
- Output
- Case join edges and Detection links edges, by ID.
- ¶5Add product mappings
- Output
- kg/mappings/<source>/ for each product, case system, and ITSM.
- ¶6Declare profiles and interfaces
- Output
- kg/profiles/ for each source graph; kg/interfaces/ for each connection.
- ¶7Gate
- Output
- kg/tools/validate.py passes every gate in section 8 and every competency question.
- ¶8Load
- Output
- Any graph store loads kg/ as files. No product is required.
077. Interfaces between graphs — layersworkbook tab 07 · Knowledge graph
- ¶IdentityIs it the same object?
- Artifact
- Crosswalk in kg/mappings/<source>/
- Rule
- Each pair carries asserted-by (PTY::), as-of, and evidence. Disagreement is a conflict edge.
- ¶MeaningIs it the same kind of thing?
- Artifact
- kg/profiles/<source>.md
- Rule
- Source types and edges map onto join types and onto actor, authority, action, environment, time, and evidence.
- ¶TrustWhose claim holds?
- Artifact
- Profile and interface
- Rule
- One authoritative party per node type or property, with and freshness window.
- ¶AccessWhat crosses?
- Artifact
- kg/interfaces/<a>--<b>.md
- Rule
- Purpose, node and edge types, expiry. The credential is issued per request (ASM-36).
- ¶ExchangeHow does it move?
- Artifact
- kg/interfaces/<a>--<b>.md
- Rule
- One declared pattern: federated query, published extract, or join-held.
087. Interfaces between graphs — coordinatesworkbook tab 07 · Knowledge graph
097. Interfaces between graphs — rulesworkbook tab 07 · Knowledge graph
- ¶Through a JoinSource graphs connect only through a Join. Joins connect by nesting or by peering. N graphs need N profiles, not a mapping per pair.
- ¶No profile, no mappingA source graph without a profile has no mapping.
- ¶No mintingProfiles and interfaces never mint join nodes.
- ¶Provenance or no constraintA cross-graph fact without asserted-by, as-of, and does not constrain.
- ¶Absence is unknownA fact the other graph does not supply is unknown, not no.
- ¶ExpiryAn expired interface supplies only unknown.
107. Interfaces between graphs — exchange patternsworkbook tab 07 · Knowledge graph
- ¶Federated queryEach graph answers queries against itself; the Join combines answers at query time.
- Fits when
- Data is sensitive or changes fast.
- ¶Published extractEach graph publishes the agreed nodes and edges as files on a schedule.
- Fits when
- A party needs an offline or audit copy.
- ¶Join-heldThe Join holds only shared identities and cross-graph edges, and points into each source.
- Fits when
- Many parties work one shared case. Not between peers.
118. Gates the mesh will passworkbook tab 07 · Knowledge graph
- ¶No dangling linkA link names an ID with no node file.
- Invariant
- Mesh rule
- ¶Declared types onlyA node or edge has a type not declared in kg/schema/.
- Invariant
- Mesh rule
- ¶Envelope before constrainsA constrains edge comes from a context object without a complete .
- Invariant
- KG-5
- ¶Exactly six seatsThis Join (the nested Case Join) has a seat other than CYB, ITO, APO, GOV, REG, or CMP.
- Invariant
- KG-2
- ¶No product join keyA product ID is used as a join ID, or a join node exists only through a mapping.
- Invariant
- ASM-38
- ¶Profile before mappingA mapping exists for a source graph with no profile.
- Invariant
- ASM-39
- ¶Complete interfaceAn interface connects fewer than two graphs, or lacks an owner, purpose, or expiry.
- Invariant
- ASM-39
- ¶Crosswalk provenanceA crosswalk pair has no asserted-by or as-of.
- Invariant
- ASM-39
- ¶Expired means unknownAn expired interface still supplies facts.
- Invariant
- ASM-39
129. Beyond the core — what each area settlesworkbook tab 07 · Knowledge graph
- ¶TimeEvery fact carries valid time and recorded time. Replay, diff, and trajectory answer what the Join knew at a decision.
- Spec section
- §13
- ¶Records and provenanceEvery node and edge is a record with asserting party, source graph, , evidence, label, and clocks.
- Spec section
- §14
- ¶Schema and serializationJSON Schema per type, a plain front-matter format, content hashes, and additive-only schema change.
- Spec section
- §15
- ¶Identity lifecycleIDs are opaque and never reused. Merge is same-as, split is derived-from, retirement is a tombstone.
- Spec section
- §16
- ¶DerivationA derived edge names its rule and rule version, and reads as derived, never observed.
- Spec section
- §17
- ¶Sensitivity and retentionEvery record carries a label and a retain-until date. An interface caps the label that crosses it.
- Spec section
- §18
- ¶Supply chainEvery input records producer, version, and content hash. Unsigned inputs are pending. Revoked inputs are suspended. Components, suppliers, concentration, exposure.
- Spec section
- §19
- ¶Views2D, 3D, and 4D are saved queries over kg/, regenerated by any tool.
- Spec section
- §20
- ¶PartitioningBy mission horizon, then Case. Never by tool, vendor, or organization chart.
- Spec section
- §21
- ¶Custody and durabilityA named steward, a handover record, signed commits as the ledger, and no vendor dependency.
- Spec section
- §22
- ¶Competency questionsSixteen questions the graph must answer, kept as regression tests.
- Spec section
- §23
- ¶Starter kitOne worked a playbook Case as plain files, with a validator. Placeholder data only.
- Spec section
- §24
1310. Nested and peer graphs — rulesworkbook tab 07 · Knowledge graph
- ¶Joins are graphsA Join is a source graph of kind join. Source graphs connect only through a Join. Joins connect by nesting or by peering.
- Invariant
- §25
- ¶NestingA child Join publishes a profile to its parent and holds one nested-in edge. The parent maps the child's IDs and never edits its records.
- Invariant
- KG-17
- ¶TreeA Join has at most one parent, and no Join is its own ancestor. Depth is not limited.
- Invariant
- KG-17
- ¶Qualified IDsA join ID belongs to the Join that minted it. Other Joins refer to it as GRAPH::<id>/<join ID> and never rewrite it.
- Invariant
- KG-18
- ¶Upward unchangedUnknown, expiry, pending, and suspended pass upward unchanged. Revoking a child Join suspends everything that came through it.
- Invariant
- KG-15, KG-17
- ¶PeeringJoins owned by different organizations connect as equals over a peering interface. Neither one mints or owns identity for the other.
- Invariant
- §25
- ¶Bilateral identityA peer identity match constrains only when both Joins assert it. A one-sided match is a claim and does not constrain.
- Invariant
- KG-19
- ¶No precedenceDisagreement between peers is a conflict edge. The interface names one authoritative party per scope.
- Invariant
- §12, §25
- ¶No join-held between peersA peering interface uses federated query or published extract. No single Join holds the shared identity.
- Invariant
- §25
- ¶No transitA fact that arrived over one peering interface does not leave over another. Each peer relationship is agreed directly.
- Invariant
- KG-20
- ¶Provenance chainA fact that crossed a nesting or peering hop names every graph it passed through, origin first.
- Invariant
- KG-21
1410. Nested and peer graphs — gatesworkbook tab 07 · Knowledge graph
- ¶Nesting is a treeA Join has two parents, or a nesting chain returns to its start.
- Invariant
- KG-17
- ¶Nesting connects JoinsA nested-in edge touches a graph that is not a Join.
- Invariant
- KG-17
- ¶Qualified ID resolvesA qualified ID names a Join that is neither nested with this Join nor peered with it.
- Invariant
- KG-18
- ¶Peer identity is bilateralA peer match marked bilateral is asserted by one side only.
- Invariant
- KG-19
- ¶Peering excludes join-heldA peering interface declares join-held, or connects a graph that is not a Join.
- Invariant
- KG-19
- ¶No transit across peersA fact from one peer is shared over another peering interface.
- Invariant
- KG-20
- ¶Chain after a hopA fact from a child or peer Join does not name the graphs it passed through.
- Invariant
- KG-21
1512. Observation classes — crosswalk to OTCS-0020workbook tab 07 · Knowledge graph
- ¶direct
- Statement
- One instrument samples a quantity. Same : subject, population, window.
- ¶counted
- Statement
- A figure computed over a counted set. It names its membership rule and that rule's version.
- ¶adjudicated
- Statement
- A named authority recorded it. The deployment is never its own adjudicator.
- ¶published
- Statement
- A third party's number. It keeps its publisher, series and vintage wherever it is used.
- ¶configured
- Statement
- A state read from a calendar, configuration or table, with as-of and validity horizon.
- ¶Derived edgenone
- Statement
- A derived edge keeps the class of its inputs and names its rule and rule version. It is not DER.
16Detection identity: the registry's fieldsworkbook tab 23 · Detection registry
- Detection key
- Detection name/title
- Data Analytics Provider detection ID
- Description
- App
- Release version
- Logic version
- Disabled
- Enablement status
- Configuration basis
- Owner
- Evidence link status
- Acceptance state
- Review date
- Created at
- Updated at
- Modified by
- Configuration
- Field contract
- Relationship map
- Migration archive
- Version history
17Detection schema: the field contractworkbook tab 25 · Detection schema
- ¶Detection registryDetection key
- Canonical type
- Identifier
- Null rule
- Required
- Lifecycle scope
- DURABLE
- Retirement
- Never retire
- ¶Detection registryDetection name/title
- Canonical type
- String
- Null rule
- Required
- Lifecycle scope
- DURABLE
- Retirement
- Never retire
- ¶Detection registryData Analytics Provider detection ID
- Canonical type
- Identifier
- Null rule
- Required
- Lifecycle scope
- DURABLE
- Retirement
- Never retire
- ¶Detection registryDescription
- Canonical type
- String
- Null rule
- Required
- Lifecycle scope
- DURABLE
- Retirement
- Never retire
- ¶Detection registryApp
- Canonical type
- Reference
- Null rule
- Required
- Lifecycle scope
- DURABLE
- Retirement
- Never retire
- ¶Detection registryRelease version
- Canonical type
- Version
- Null rule
- Required
- Lifecycle scope
- DURABLE
- Retirement
- Never retire
- ¶Detection registryLogic version
- Canonical type
- Version
- Null rule
- Required
- Lifecycle scope
- DURABLE
- Retirement
- Never retire
- ¶Detection registryDisabled
- Canonical type
- Boolean
- Null rule
- Required
- Lifecycle scope
- DURABLE
- Retirement
- Never retire
- ¶Detection registryEnablement status
- Canonical type
- Enum
- Null rule
- Required
- Lifecycle scope
- DURABLE
- Retirement
- Never retire
- ¶Detection registryConfiguration basis
- Canonical type
- Enum
- Null rule
- Required
- Lifecycle scope
- DURABLE
- Retirement
- Never retire
- ¶Detection registryOwner
- Canonical type
- Reference
- Null rule
- Required
- Lifecycle scope
- DURABLE
- Retirement
- Never retire
- ¶Detection registryEvidence link status
- Canonical type
- Enum
- Null rule
- Required
- Lifecycle scope
- DURABLE
- Retirement
- Never retire
- ¶Detection registryAcceptance state
- Canonical type
- Enum
- Null rule
- Required
- Lifecycle scope
- DURABLE
- Retirement
- Never retire
- ¶Detection registryReview date
- Canonical type
- Date
- Null rule
- Nullable until reviewed
- Lifecycle scope
- DURABLE
- Retirement
- Never retire
- ¶Detection registryCreated at
- Canonical type
- Timestamp
- Null rule
- Required
- Lifecycle scope
- DURABLE
- Retirement
- Never retire
- ¶Detection registryUpdated at
- Canonical type
- Timestamp
- Null rule
- Required
- Lifecycle scope
- DURABLE
- Retirement
- Never retire
- ¶Detection registryModified by
- Canonical type
- Reference
- Null rule
- Required
- Lifecycle scope
- DURABLE
- Retirement
- Never retire
- ¶Detection configurationScheduling status
- Canonical type
- Enum
- Null rule
- Required
- Lifecycle scope
- DURABLE
- Retirement
- Never retire
- ¶Detection configurationCron Schedule
- Canonical type
- Cron expression
- Null rule
- Required when scheduled
- Lifecycle scope
- DURABLE
- Retirement
- Never retire
- ¶Detection configurationEarliest Time
- Canonical type
- Data Analytics Provider relative time
- Null rule
- Required
- Lifecycle scope
- DURABLE
- Retirement
- Never retire
18Detection version: logic lineage and rollbackworkbook tab 27 · Detection version
- Detection key
- Logic version
- Effective from
- Version status
- search-language hash
- Supersedes
- Platform version ref
- Approved by
- Notes
- Detection registry






