Skip to content

Commit 1492785

Browse files
committed
ogar-vocab: mint ConceptDomain::Automation (0x0C) — MARS/Automation classids
Resolves docs/MARS-TRANSCODING.md §1's deferred classid mint via the 5+3 codebook-hardening pass. One domain 0x0C spanning the MARS structural CMDB (A→R→S→M dependsOn backbone) AND the Automation DO-arm actuators — the Auth precedent (heterogeneous shapes, one cross-app concern; render prefix is the hi-u16 skin, the domain byte is the lo-u16 shared-concept half). 9 concepts (load-bearing only; the speculative rest reserved): 0x0C01 mars_application 0x0C02 mars_resource 0x0C03 mars_software 0x0C04 mars_machine 0x0C05 knowledge_item 0x0C06 mars_node_template 0x0C07 action_handler 0x0C08 action_applicability 0x0C09 automation_trigger Atomic lockstep (per runtime-archaeologist's 11-site checklist) across: - ogar-vocab: CODEBOOK + ConceptDomain enum + canonical_concept_domain arm + domain-byte doc block + class_ids consts + class_ids::ALL + 9 builder fns + all_promoted_classes() + count/routing tests. - ogar-class-view: import list + all_canonical_classes() (the drift-gate that broke CI for the Anatomy mint — every_codebook_id_appears_in_class_ids_all). Opportunistically fixed pre-existing doc drift the doctrine-keeper flagged: DIV-1 (Anatomy missing from APP-CLASS-CODEBOOK-LAYOUT domain map) + DIV-2 (stale 0x0A/0x0B in the lib.rs doc block; missing 0x0B Auth line). 5+3 hardening: theorem-checker (PASS) / doctrine-keeper / integration-lead / runtime-archaeologist savants + cargo fmt/test/clippy gates. ogar-vocab 94 + ogar-class-view 11 tests green, clippy-clean on new code. Docs: MARS-TRANSCODING §1 re-graded provisional→minted; D-MARS-CLASSID ledger row; EPIPHANIES E-MARS-AUTOMATION-MINT; APP-CLASS-CODEBOOK-LAYOUT domain map. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EYvNjD8M8LMNYbRy3gq2FP
1 parent 624f899 commit 1492785

6 files changed

Lines changed: 389 additions & 23 deletions

File tree

.claude/board/EPIPHANIES.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,48 @@
77
88
---
99

10+
## 2026-06-24 — E-MARS-AUTOMATION-MINT — the MARS/Automation classids are minted: `ConceptDomain::Automation` (0x0C), the deferred 5+3 codebook pass
11+
12+
**Status:** FINDING (grounded `[G]` — shipped + drift-guard-green).
13+
14+
`docs/MARS-TRANSCODING.md` §1 deferred the MARS classid mint ("provisional…
15+
after the 5+3 codebook pass"). This is that pass. Outcome: **one domain
16+
`0x0C` = `ConceptDomain::Automation`**, spanning the MARS structural CMDB
17+
(`mars_application/resource/software/machine`, the A→R→S→M `dependsOn` backbone)
18+
and the Automation DO-arm actuators (`knowledge_item`, `mars_node_template`,
19+
`action_handler`, `action_applicability`, `automation_trigger`) — 9 concepts,
20+
0x0C01–0x0C09.
21+
22+
**Why one domain, not two** (the load-bearing decision): MARS (`ogit.MARS:`) and
23+
Automation (`ogit.Automation:`) are different OGIT namespaces but the same HIRO
24+
IT-automation stack. The render prefix (`ogit-mars` / `ogit-automation`) is the
25+
hi-u16 skin; the **domain byte is the lo-u16 shared-concept half**. The Auth
26+
family (`0x0B`: `auth_store` + per-IdP profiles) is the precedent — heterogeneous
27+
shapes, one cross-app concern, one domain. The DO arm (`ActionDef`) and the THINK
28+
arm (the MARS `Class`es) **meet** at this domain (cf. E-HIRO-IS-OGAR-DO-ARM:
29+
ActionHandler is where DO meets auth/RBAC). Infrastructure config, **not PHI**
30+
same public-reference posture as Anatomy `0x0A`.
31+
32+
**The 5+3 hardening that gated it** (CLAUDE.md): theorem-checker (PASS — 0x0C
33+
free, ids collision-free/well-formed, the mint is a 4-part atomic edit);
34+
doctrine-keeper (one domain, satisfies the §1 deferral, RESERVE-DON'T-RECLAIM
35+
honored, flagged pre-existing doc drift DIV-1/DIV-2 fixed here); integration-lead
36+
(OGAR-only correct for the string-keyed DO-arm, BUT mirror the `ConceptDomain`
37+
routing arm into lance-graph `ogar_codebook.rs` to avoid soft-fail wire drift —
38+
same branch, Anatomy precedent); runtime-archaeologist (the precise 11-site /
39+
2-file lockstep checklist + every drift-guard test named — the Anatomy-break gate
40+
is `every_codebook_id_appears_in_class_ids_all` in `ogar-class-view`). The +3
41+
reviewers = `cargo fmt` + the full drift-guard suite (ogar-vocab 94 / ogar-class-view
42+
11 green) + clippy-clean on the new code.
43+
44+
**Discipline:** minted only the 9 load-bearing concepts (each grounded by a real
45+
vendored TTL entity AND used by the shipped structural or DO-arm lift). The rest
46+
(`action_capability`, `intent`, `automation_issue`, `variable`, `mars_node`,
47+
`mars_model`) are RESERVED — minted when a lift/consumer references them (the
48+
anti-premature-commitment rule). Ledger: `DISCOVERY-MAP.md` D-MARS-CLASSID.
49+
50+
---
51+
1052
## 2026-06-23 — E-HIRO-IS-OGAR-DO-ARM — HIRO's Automation domain is a production, externally-validated instance of OGAR's DO arm; the lossless rule is identity-points-to-body
1153

1254
**Status:** FINDING (shape, grounded `[G]`) + CONJECTURE (executable equivalence,

crates/ogar-class-view/src/lib.rs

Lines changed: 71 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,16 +64,67 @@ use lance_graph_contract::{
6464
ontology::{DisplayTemplate, FieldRef, ObjectView},
6565
};
6666
use ogar_vocab::{
67-
Class, accounting_account, anatomical_structure, auth_ory_keto, auth_store, auth_zanzibar,
68-
auth_zitadel, billable_work_entry, billing_party, bone, canonical_concept_id,
69-
commercial_document, commercial_line_item, currency_policy, diagnosis, joint, lab_value,
70-
medication, patient, payment_record, priority, product, project, project_actor,
71-
project_attachment, project_changeset, project_comment, project_custom_field,
72-
project_custom_value, project_enabled_module, project_forum, project_journal,
73-
project_member_role, project_membership, project_message, project_news, project_query,
74-
project_relation, project_repository, project_role, project_status, project_type,
75-
project_version, project_watcher, project_wiki_page, project_work_item, skeleton, tax_policy,
76-
treatment, visit, vital_sign,
67+
Class,
68+
accounting_account,
69+
// 0x0CXX — automation (HIRO MARS CMDB + DO-arm actuators)
70+
action_applicability,
71+
action_handler,
72+
anatomical_structure,
73+
auth_ory_keto,
74+
auth_store,
75+
auth_zanzibar,
76+
auth_zitadel,
77+
automation_trigger,
78+
billable_work_entry,
79+
billing_party,
80+
bone,
81+
canonical_concept_id,
82+
commercial_document,
83+
commercial_line_item,
84+
currency_policy,
85+
diagnosis,
86+
joint,
87+
knowledge_item,
88+
lab_value,
89+
mars_application,
90+
mars_machine,
91+
mars_node_template,
92+
mars_resource,
93+
mars_software,
94+
medication,
95+
patient,
96+
payment_record,
97+
priority,
98+
product,
99+
project,
100+
project_actor,
101+
project_attachment,
102+
project_changeset,
103+
project_comment,
104+
project_custom_field,
105+
project_custom_value,
106+
project_enabled_module,
107+
project_forum,
108+
project_journal,
109+
project_member_role,
110+
project_membership,
111+
project_message,
112+
project_news,
113+
project_query,
114+
project_relation,
115+
project_repository,
116+
project_role,
117+
project_status,
118+
project_type,
119+
project_version,
120+
project_watcher,
121+
project_wiki_page,
122+
project_work_item,
123+
skeleton,
124+
tax_policy,
125+
treatment,
126+
visit,
127+
vital_sign,
77128
};
78129

79130
/// All promoted canonical concepts: `(canonical_concept_name, Class)`.
@@ -138,6 +189,16 @@ fn all_canonical_classes() -> Vec<(&'static str, Class)> {
138189
("auth_zitadel", auth_zitadel()),
139190
("auth_zanzibar", auth_zanzibar()),
140191
("auth_ory_keto", auth_ory_keto()),
192+
// ── 0x0CXX — automation (HIRO MARS CMDB + DO-arm actuators) ──
193+
("mars_application", mars_application()),
194+
("mars_resource", mars_resource()),
195+
("mars_software", mars_software()),
196+
("mars_machine", mars_machine()),
197+
("knowledge_item", knowledge_item()),
198+
("mars_node_template", mars_node_template()),
199+
("action_handler", action_handler()),
200+
("action_applicability", action_applicability()),
201+
("automation_trigger", automation_trigger()),
141202
]
142203
}
143204

0 commit comments

Comments
 (0)