feat(0pt): canonical-fact machine route + renumber migration to 022 (#484)
CI (SIAX Cloud) / sonar (push) Failing after 13s
Security Scan (SIAX Cloud) / security (push) Successful in 15s
CI (SIAX Cloud) / security (push) Successful in 20s
Release chain (G17, ADR-W16-003) / Build, push, G17 (SBOM/scan/attest/verify/evidence) (push) Successful in 1m54s
Deploy to Coolify / deploy (push) Successful in 2m0s
CI (SIAX Cloud) / integration (push) Successful in 9m49s
CI (SIAX Cloud) / quality (push) Successful in 10m4s
CI (SIAX Cloud) / sonar (pull_request) Skipped
masterplan-lock / check (pull_request) Successful in 7s
masterplan-lock / check (push) Successful in 7s
CI (SIAX Cloud) / security (pull_request) Successful in 20s
Security Scan (SIAX Cloud) / security (pull_request) Successful in 44s
CI (SIAX Cloud) / integration (pull_request) Successful in 1m28s
CI (SIAX Cloud) / quality (pull_request) Successful in 10m3s

This commit was merged in pull request #484.
This commit is contained in:
2026-11-05 19:16:13 +00:00
parent 03cdb7815e
commit c46ebbf810
7 changed files with 15 additions and 5 deletions
@@ -1,7 +1,7 @@
/**
* src/repositories/canonical-fact-repository.ts
* =============================================
* Storage seam for 0pt canonical entities/facts/relations (sql/020).
* Storage seam for 0pt canonical entities/facts/relations (sql/022).
* Same split as source-repository.ts: one interface, an in-memory
* implementation (dev/test) and a Postgres implementation (production),
* chosen once via resolveStoreMode.
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* src/services/canonical-fact-service.ts
* ======================================
* 0pt's canonical structured-observation write/read surface (sql/020).
* 0pt's canonical structured-observation write/read surface (sql/022).
*
* Ownership boundary: 0pt stores normalized OBSERVED facts (what a source
* said, when, from which artifact). L0RE owns epistemic propositions and
+1 -1
View File
@@ -264,7 +264,7 @@ export const activateSourceSchema = z.object({
actor_id: z.string().min(1).optional(),
});
/** POST /api/0pt/canonical/facts — canonical structured observation write (sql/020). */
/** POST /api/0pt/canonical/facts — canonical structured observation write (sql/022). */
const canonicalEntityInputSchema = z.object({
entity_type: z.string().min(1),
identity_namespace: z.string().min(1),