@x12i/memorix-docs 1.0.2 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/bundle.d.ts +4849 -3
- package/dist/generated/bundle.d.ts.map +1 -1
- package/dist/generated/bundle.js +7580 -45
- package/dist/generated/bundle.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/files/INDEX.md +84 -0
- package/files/SEARCH.json +3087 -0
- package/files/agent-manifest.json +1785 -0
- package/files/apis/memorix-records/overview.md +22 -0
- package/files/concepts/abstracts-bindings.md +27 -0
- package/files/concepts/agents-inheritance.md +28 -0
- package/files/concepts/analysis-objects.md +26 -0
- package/files/concepts/composition.md +27 -0
- package/files/concepts/decisions-content.md +27 -0
- package/files/concepts/effective-metadata.md +27 -0
- package/files/concepts/explicit-metadata-installation.md +26 -0
- package/files/concepts/intelligence-proposals.md +27 -0
- package/files/concepts/mappings-transforms.md +26 -0
- package/files/concepts/object-content-category.md +26 -0
- package/files/concepts/org-agent-scope.md +27 -0
- package/files/concepts/people-union.md +27 -0
- package/files/concepts/raw-records.md +26 -0
- package/files/concepts/record-revisions.md +26 -0
- package/files/concepts/relationship-definitions.md +26 -0
- package/files/concepts/relationship-references.md +27 -0
- package/files/concepts/resolved-unresolved.md +27 -0
- package/files/concepts/sources-and-memory.md +26 -0
- package/files/concepts/traversal.md +27 -0
- package/files/diagrams/agent-inheritance.md +34 -0
- package/files/diagrams/intelligence-journey.md +38 -0
- package/files/diagrams/memorix-central-journey.md +51 -0
- package/files/diagrams/metadata-lifecycle.md +40 -0
- package/files/diagrams/people-union-diagram.md +36 -0
- package/files/diagrams/record-content-model.md +43 -0
- package/files/diagrams/relationship-traversal.md +40 -0
- package/files/diagrams/revision-safe-write.md +39 -0
- package/files/examples/analysis-decision-records.md +11 -0
- package/files/examples/memorix-record-envelope.md +11 -0
- package/files/examples/metadata-pack-install.md +11 -0
- package/files/examples/people-abstract-query.md +11 -0
- package/files/examples/raw-vs-composed.md +11 -0
- package/files/examples/relationship-def-and-ref.md +11 -0
- package/files/examples/revision-conflict-response.md +11 -0
- package/files/examples/revision-safe-write.md +11 -0
- package/files/examples/traversal-resolved-unresolved.md +11 -0
- package/files/glossary/abstract.md +9 -0
- package/files/glossary/agent.md +9 -0
- package/files/glossary/analysis.md +9 -0
- package/files/glossary/binding.md +9 -0
- package/files/glossary/composition.md +9 -0
- package/files/glossary/content-type.md +9 -0
- package/files/glossary/data-category.md +9 -0
- package/files/glossary/decision.md +9 -0
- package/files/glossary/effective-metadata.md +9 -0
- package/files/glossary/intelligence-proposal.md +9 -0
- package/files/glossary/mapping.md +9 -0
- package/files/glossary/memory.md +9 -0
- package/files/glossary/object-type.md +9 -0
- package/files/glossary/relationship-definition.md +9 -0
- package/files/glossary/relationship-reference.md +9 -0
- package/files/glossary/revision.md +9 -0
- package/files/glossary/scope.md +9 -0
- package/files/glossary/source.md +9 -0
- package/files/glossary/traversal.md +9 -0
- package/files/guides/apply-scope.md +40 -0
- package/files/guides/choose-access-method.md +24 -0
- package/files/guides/compose-subject-ui.md +24 -0
- package/files/guides/define-traverse-relationship.md +26 -0
- package/files/guides/diagnose-unresolved.md +24 -0
- package/files/guides/evidence-to-decision.md +25 -0
- package/files/guides/first-revision-safe-write.md +30 -0
- package/files/guides/inspect-effective-metadata.md +30 -0
- package/files/guides/query-people-abstract.md +25 -0
- package/files/guides/reload-retry-conflict.md +32 -0
- package/files/guides/validate-install-pack.md +32 -0
- package/files/indexes/books.json +95 -0
- package/files/indexes/books.md +17 -0
- package/files/indexes/concepts.json +119 -0
- package/files/indexes/concepts.md +21 -0
- package/files/indexes/diagrams.json +53 -0
- package/files/indexes/diagrams.md +10 -0
- package/files/indexes/guides.json +71 -0
- package/files/indexes/guides.md +13 -0
- package/files/indexes/scenarios.json +41 -0
- package/files/indexes/scenarios.md +8 -0
- package/files/indexes/tutorials.json +47 -0
- package/files/indexes/tutorials.md +9 -0
- package/files/indexes/use-cases.json +239 -0
- package/files/indexes/use-cases.md +41 -0
- package/files/knowledge.json +2940 -0
- package/files/packs/concept/abstracts-bindings/PACK.md +11 -0
- package/files/packs/concept/abstracts-bindings/pack.json +13 -0
- package/files/packs/concept/agents-inheritance/PACK.md +11 -0
- package/files/packs/concept/agents-inheritance/pack.json +13 -0
- package/files/packs/concept/analysis-objects/PACK.md +11 -0
- package/files/packs/concept/analysis-objects/pack.json +14 -0
- package/files/packs/concept/composition/PACK.md +11 -0
- package/files/packs/concept/composition/pack.json +13 -0
- package/files/packs/concept/decisions-content/PACK.md +11 -0
- package/files/packs/concept/decisions-content/pack.json +13 -0
- package/files/packs/concept/effective-metadata/PACK.md +11 -0
- package/files/packs/concept/effective-metadata/pack.json +13 -0
- package/files/packs/concept/explicit-metadata-installation/PACK.md +11 -0
- package/files/packs/concept/explicit-metadata-installation/pack.json +14 -0
- package/files/packs/concept/intelligence-proposals/PACK.md +11 -0
- package/files/packs/concept/intelligence-proposals/pack.json +13 -0
- package/files/packs/concept/mappings-transforms/PACK.md +11 -0
- package/files/packs/concept/mappings-transforms/pack.json +13 -0
- package/files/packs/concept/object-content-category/PACK.md +11 -0
- package/files/packs/concept/object-content-category/pack.json +14 -0
- package/files/packs/concept/org-agent-scope/PACK.md +11 -0
- package/files/packs/concept/org-agent-scope/pack.json +14 -0
- package/files/packs/concept/people-union/PACK.md +11 -0
- package/files/packs/concept/people-union/pack.json +13 -0
- package/files/packs/concept/raw-records/PACK.md +11 -0
- package/files/packs/concept/raw-records/pack.json +14 -0
- package/files/packs/concept/record-revisions/PACK.md +11 -0
- package/files/packs/concept/record-revisions/pack.json +13 -0
- package/files/packs/concept/relationship-definitions/PACK.md +11 -0
- package/files/packs/concept/relationship-definitions/pack.json +14 -0
- package/files/packs/concept/relationship-references/PACK.md +11 -0
- package/files/packs/concept/relationship-references/pack.json +13 -0
- package/files/packs/concept/resolved-unresolved/PACK.md +11 -0
- package/files/packs/concept/resolved-unresolved/pack.json +13 -0
- package/files/packs/concept/sources-and-memory/PACK.md +11 -0
- package/files/packs/concept/sources-and-memory/pack.json +13 -0
- package/files/packs/concept/traversal/PACK.md +11 -0
- package/files/packs/concept/traversal/pack.json +13 -0
- package/files/packs/guide/apply-scope/PACK.md +11 -0
- package/files/packs/guide/apply-scope/pack.json +13 -0
- package/files/packs/guide/choose-access-method/PACK.md +11 -0
- package/files/packs/guide/choose-access-method/pack.json +15 -0
- package/files/packs/guide/compose-subject-ui/PACK.md +11 -0
- package/files/packs/guide/compose-subject-ui/pack.json +13 -0
- package/files/packs/guide/define-traverse-relationship/PACK.md +11 -0
- package/files/packs/guide/define-traverse-relationship/pack.json +14 -0
- package/files/packs/guide/diagnose-unresolved/PACK.md +11 -0
- package/files/packs/guide/diagnose-unresolved/pack.json +13 -0
- package/files/packs/guide/evidence-to-decision/PACK.md +11 -0
- package/files/packs/guide/evidence-to-decision/pack.json +14 -0
- package/files/packs/guide/first-revision-safe-write/PACK.md +11 -0
- package/files/packs/guide/first-revision-safe-write/pack.json +13 -0
- package/files/packs/guide/inspect-effective-metadata/PACK.md +11 -0
- package/files/packs/guide/inspect-effective-metadata/pack.json +13 -0
- package/files/packs/guide/query-people-abstract/PACK.md +11 -0
- package/files/packs/guide/query-people-abstract/pack.json +13 -0
- package/files/packs/guide/reload-retry-conflict/PACK.md +11 -0
- package/files/packs/guide/reload-retry-conflict/pack.json +13 -0
- package/files/packs/guide/validate-install-pack/PACK.md +11 -0
- package/files/packs/guide/validate-install-pack/pack.json +13 -0
- package/files/packs/scenario/choose-subject-view/PACK.md +11 -0
- package/files/packs/scenario/choose-subject-view/pack.json +11 -0
- package/files/packs/scenario/pack-valid-not-installed/PACK.md +11 -0
- package/files/packs/scenario/pack-valid-not-installed/pack.json +11 -0
- package/files/packs/scenario/scope-mismatch/PACK.md +11 -0
- package/files/packs/scenario/scope-mismatch/pack.json +11 -0
- package/files/packs/scenario/stale-revision-conflict/PACK.md +11 -0
- package/files/packs/scenario/stale-revision-conflict/pack.json +11 -0
- package/files/packs/scenario/traversal-direction/PACK.md +11 -0
- package/files/packs/scenario/traversal-direction/pack.json +11 -0
- package/files/packs/scenario/unresolved-relationship/PACK.md +11 -0
- package/files/packs/scenario/unresolved-relationship/pack.json +11 -0
- package/files/packs/tutorial/analysis-decision-lab/PACK.md +11 -0
- package/files/packs/tutorial/analysis-decision-lab/pack.json +14 -0
- package/files/packs/tutorial/compare-views/PACK.md +11 -0
- package/files/packs/tutorial/compare-views/pack.json +14 -0
- package/files/packs/tutorial/conflict-lab/PACK.md +11 -0
- package/files/packs/tutorial/conflict-lab/pack.json +13 -0
- package/files/packs/tutorial/first-revision-safe-record/PACK.md +11 -0
- package/files/packs/tutorial/first-revision-safe-record/pack.json +13 -0
- package/files/packs/tutorial/install-pack-lab/PACK.md +11 -0
- package/files/packs/tutorial/install-pack-lab/pack.json +13 -0
- package/files/packs/tutorial/relationships-lab/PACK.md +11 -0
- package/files/packs/tutorial/relationships-lab/pack.json +13 -0
- package/files/packs/tutorial/start-with-sample-data/PACK.md +11 -0
- package/files/packs/tutorial/start-with-sample-data/pack.json +13 -0
- package/files/sample-data/memorix-synthetic-basic.md +13 -0
- package/files/scenarios/choose-subject-view.md +36 -0
- package/files/scenarios/pack-valid-not-installed.md +33 -0
- package/files/scenarios/scope-mismatch.md +44 -0
- package/files/scenarios/stale-revision-conflict.md +38 -0
- package/files/scenarios/traversal-direction.md +30 -0
- package/files/scenarios/unresolved-relationship.md +31 -0
- package/files/tutorials/analysis-decision-lab.md +18 -0
- package/files/tutorials/compare-views.md +22 -0
- package/files/tutorials/conflict-lab.md +18 -0
- package/files/tutorials/first-revision-safe-record.md +18 -0
- package/files/tutorials/install-pack-lab.md +22 -0
- package/files/tutorials/relationships-lab.md +18 -0
- package/files/tutorials/start-with-sample-data.md +18 -0
- package/files/ui/clients/memorix-studio.md +9 -0
- package/files/use-cases/abstract-people-list.md +237 -0
- package/files/use-cases/ai-pipeline-fail-closed.md +117 -0
- package/files/use-cases/author-pipeline-e2e.md +339 -0
- package/files/use-cases/build-callable-service.md +347 -0
- package/files/use-cases/builder-acceptance-ops.md +112 -0
- package/files/use-cases/choose-access-method.md +111 -0
- package/files/use-cases/client-first-read-write.md +374 -0
- package/files/use-cases/compose-for-ui.md +97 -0
- package/files/use-cases/custom-kind-descriptors.md +137 -0
- package/files/use-cases/data-journey-evidence.md +115 -0
- package/files/use-cases/discriminated-content-writes.md +152 -0
- package/files/use-cases/embed-studio-host.md +165 -0
- package/files/use-cases/four-field-links.md +246 -0
- package/files/use-cases/http-process-compliance.md +225 -0
- package/files/use-cases/install-metadata-pack.md +180 -0
- package/files/use-cases/intelligence-propose-install.md +163 -0
- package/files/use-cases/knowx-claims-review.md +396 -0
- package/files/use-cases/learn-record-envelope.md +233 -0
- package/files/use-cases/lists-cursors-pagination.md +196 -0
- package/files/use-cases/local-acceptance-g12ops.md +160 -0
- package/files/use-cases/memory-hourly-ingest.md +276 -0
- package/files/use-cases/metadata-before-write.md +145 -0
- package/files/use-cases/migrate-associated-star.md +159 -0
- package/files/use-cases/openapi-typed-client.md +78 -0
- package/files/use-cases/ops-pack-fixtures.md +168 -0
- package/files/use-cases/orient-platform.md +172 -0
- package/files/use-cases/pipeline-retry-evidence.md +121 -0
- package/files/use-cases/relationship-rebuild-verify.md +128 -0
- package/files/use-cases/revision-stale-conflicts.md +194 -0
- package/files/use-cases/start-from-zero.md +171 -0
- package/files/use-cases/studio-design-types.md +122 -0
- package/files/use-cases/studio-explore-subject.md +89 -0
- package/files/use-cases/studio-operate-pipelines.md +100 -0
- package/files/use-cases/studio-review-intelligence.md +74 -0
- package/files/use-cases/studio-scope-isolation.md +67 -0
- package/files/use-cases/studio-stale-conflict-ui.md +54 -0
- package/files/use-cases/troubleshoot-http-matrix.md +164 -0
- package/files/use-cases/trusted-in-process-embed.md +94 -0
- package/files/use-cases/workflow-sibling-api.md +212 -0
- package/files/visuals/revision-conflict.md +19 -0
- package/files/visuals/scope-apply.md +19 -0
- package/package.json +4 -3
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "metadata-lifecycle"
|
|
3
|
+
type: "diagram"
|
|
4
|
+
title: "Metadata lifecycle"
|
|
5
|
+
summary: "Pack → validate → explicit install → effective resolution → runtime; proposals stay off the auto path."
|
|
6
|
+
why: "Separates proposal, approval, installation, and use."
|
|
7
|
+
diagramType: "flow"
|
|
8
|
+
---
|
|
9
|
+
# Metadata lifecycle
|
|
10
|
+
|
|
11
|
+
Pack → validate → explicit install → effective resolution → runtime; proposals stay off the auto path.
|
|
12
|
+
|
|
13
|
+
## Why
|
|
14
|
+
|
|
15
|
+
Separates proposal, approval, installation, and use.
|
|
16
|
+
|
|
17
|
+
## How to read
|
|
18
|
+
|
|
19
|
+
Follow the solid path; proposals branch and never auto-join install.
|
|
20
|
+
|
|
21
|
+
## Text alternative
|
|
22
|
+
|
|
23
|
+
A metadata pack is validated, then explicitly installed, resolved into the effective model, and consumed at runtime. Intelligence proposals require a separate explicit install path and never auto-install.
|
|
24
|
+
|
|
25
|
+
## Nodes
|
|
26
|
+
|
|
27
|
+
- **Pack** (`pack`)
|
|
28
|
+
- **Validate** (`validate`)
|
|
29
|
+
- **Explicit install** (`install`)
|
|
30
|
+
- **Effective** (`effective`)
|
|
31
|
+
- **Runtime** (`runtime`)
|
|
32
|
+
- **Intelligence proposal** (`proposal`)
|
|
33
|
+
|
|
34
|
+
## Edges
|
|
35
|
+
|
|
36
|
+
- pack → validate (check)
|
|
37
|
+
- validate → install (confirm)
|
|
38
|
+
- install → effective (resolve)
|
|
39
|
+
- effective → runtime (use)
|
|
40
|
+
- proposal → validate (review only)
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "people-union-diagram"
|
|
3
|
+
type: "diagram"
|
|
4
|
+
title: "People abstract union"
|
|
5
|
+
summary: "Employees and contractors bind into the People abstract projection."
|
|
6
|
+
why: "Shows virtual union without stored merged rows."
|
|
7
|
+
diagramType: "relationship-map"
|
|
8
|
+
---
|
|
9
|
+
# People abstract union
|
|
10
|
+
|
|
11
|
+
Employees and contractors bind into the People abstract projection.
|
|
12
|
+
|
|
13
|
+
## Why
|
|
14
|
+
|
|
15
|
+
Shows virtual union without stored merged rows.
|
|
16
|
+
|
|
17
|
+
## How to read
|
|
18
|
+
|
|
19
|
+
Concrete types feed bindings into People.
|
|
20
|
+
|
|
21
|
+
## Text alternative
|
|
22
|
+
|
|
23
|
+
Employees and contractors are bound into the People abstract. Combined reads return concrete members under the People projection.
|
|
24
|
+
|
|
25
|
+
## Nodes
|
|
26
|
+
|
|
27
|
+
- **employees** (`employees`)
|
|
28
|
+
- **contractors** (`contractors`)
|
|
29
|
+
- **Bindings** (`bindings`)
|
|
30
|
+
- **People** (`people`)
|
|
31
|
+
|
|
32
|
+
## Edges
|
|
33
|
+
|
|
34
|
+
- employees → bindings
|
|
35
|
+
- contractors → bindings
|
|
36
|
+
- bindings → people (project)
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "record-content-model"
|
|
3
|
+
type: "diagram"
|
|
4
|
+
title: "Record and content model"
|
|
5
|
+
summary: "Record identity relates to object type, content type, category, raw, snapshots, and composition."
|
|
6
|
+
why: "Keeps identity and payload axes distinct."
|
|
7
|
+
diagramType: "entity-relationship"
|
|
8
|
+
---
|
|
9
|
+
# Record and content model
|
|
10
|
+
|
|
11
|
+
Record identity relates to object type, content type, category, raw, snapshots, and composition.
|
|
12
|
+
|
|
13
|
+
## Why
|
|
14
|
+
|
|
15
|
+
Keeps identity and payload axes distinct.
|
|
16
|
+
|
|
17
|
+
## How to read
|
|
18
|
+
|
|
19
|
+
Center on the record; spokes are model axes and views.
|
|
20
|
+
|
|
21
|
+
## Text alternative
|
|
22
|
+
|
|
23
|
+
A record identity has an object type, content type, and data category. Raw content and snapshots are content instances that can be composed for the same subject.
|
|
24
|
+
|
|
25
|
+
## Nodes
|
|
26
|
+
|
|
27
|
+
- **Record identity** (`record`)
|
|
28
|
+
- **Object type** (`object`)
|
|
29
|
+
- **Content type** (`content`)
|
|
30
|
+
- **Data category** (`category`)
|
|
31
|
+
- **Raw** (`raw`)
|
|
32
|
+
- **Snapshot** (`snap`)
|
|
33
|
+
- **Composition** (`compose`)
|
|
34
|
+
|
|
35
|
+
## Edges
|
|
36
|
+
|
|
37
|
+
- record → object
|
|
38
|
+
- record → content
|
|
39
|
+
- record → category
|
|
40
|
+
- record → raw
|
|
41
|
+
- record → snap
|
|
42
|
+
- raw → compose
|
|
43
|
+
- snap → compose
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "relationship-traversal"
|
|
3
|
+
type: "diagram"
|
|
4
|
+
title: "Relationship definition to traversal"
|
|
5
|
+
summary: "Definition versus stored reference; forward/inverse; resolved versus unresolved."
|
|
6
|
+
why: "Prevents treating definitions as edges."
|
|
7
|
+
diagramType: "flow"
|
|
8
|
+
---
|
|
9
|
+
# Relationship definition to traversal
|
|
10
|
+
|
|
11
|
+
Definition versus stored reference; forward/inverse; resolved versus unresolved.
|
|
12
|
+
|
|
13
|
+
## Why
|
|
14
|
+
|
|
15
|
+
Prevents treating definitions as edges.
|
|
16
|
+
|
|
17
|
+
## How to read
|
|
18
|
+
|
|
19
|
+
Definition enables references; traversal yields resolved or unresolved targets.
|
|
20
|
+
|
|
21
|
+
## Text alternative
|
|
22
|
+
|
|
23
|
+
A relationship definition enables stored references. Traversal may go forward or inverse and can return resolved or unresolved targets.
|
|
24
|
+
|
|
25
|
+
## Nodes
|
|
26
|
+
|
|
27
|
+
- **Definition** (`def`)
|
|
28
|
+
- **Stored ref** (`ref`)
|
|
29
|
+
- **Forward** (`fwd`)
|
|
30
|
+
- **Inverse** (`inv`)
|
|
31
|
+
- **Resolved** (`resolved`)
|
|
32
|
+
- **Unresolved** (`unresolved`)
|
|
33
|
+
|
|
34
|
+
## Edges
|
|
35
|
+
|
|
36
|
+
- def → ref
|
|
37
|
+
- ref → fwd
|
|
38
|
+
- ref → inv
|
|
39
|
+
- fwd → resolved
|
|
40
|
+
- fwd → unresolved
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "revision-safe-write"
|
|
3
|
+
type: "diagram"
|
|
4
|
+
title: "Revision-safe write flow"
|
|
5
|
+
summary: "Load, write with expected revision, success or conflict with reload/retry."
|
|
6
|
+
why: "Makes stale-write recovery explicit."
|
|
7
|
+
diagramType: "state"
|
|
8
|
+
---
|
|
9
|
+
# Revision-safe write flow
|
|
10
|
+
|
|
11
|
+
Load, write with expected revision, success or conflict with reload/retry.
|
|
12
|
+
|
|
13
|
+
## Why
|
|
14
|
+
|
|
15
|
+
Makes stale-write recovery explicit.
|
|
16
|
+
|
|
17
|
+
## How to read
|
|
18
|
+
|
|
19
|
+
Conflict path returns to reload; success updates revision.
|
|
20
|
+
|
|
21
|
+
## Text alternative
|
|
22
|
+
|
|
23
|
+
Load a record and its revision. Write with that expected revision. On success the revision advances. On conflict, reload and retry or escalate; the record was not changed by the failed write.
|
|
24
|
+
|
|
25
|
+
## Nodes
|
|
26
|
+
|
|
27
|
+
- **Load** (`load`)
|
|
28
|
+
- **Write + expected rev** (`write`)
|
|
29
|
+
- **Success** (`ok`)
|
|
30
|
+
- **Conflict** (`conflict`)
|
|
31
|
+
- **Reload/retry** (`reload`)
|
|
32
|
+
|
|
33
|
+
## Edges
|
|
34
|
+
|
|
35
|
+
- load → write
|
|
36
|
+
- write → ok (match)
|
|
37
|
+
- write → conflict (stale)
|
|
38
|
+
- conflict → reload
|
|
39
|
+
- reload → write
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "analysis-decision-records"
|
|
3
|
+
type: "example"
|
|
4
|
+
title: "Analysis and decision records"
|
|
5
|
+
summary: "Keep analysis and decision content types distinct."
|
|
6
|
+
---
|
|
7
|
+
# Analysis and decision records
|
|
8
|
+
|
|
9
|
+
Keep analysis and decision content types distinct.
|
|
10
|
+
|
|
11
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "memorix-record-envelope"
|
|
3
|
+
type: "example"
|
|
4
|
+
title: "memorix-record/2 envelope"
|
|
5
|
+
summary: "Show identity, revision, and content envelope fields."
|
|
6
|
+
---
|
|
7
|
+
# memorix-record/2 envelope
|
|
8
|
+
|
|
9
|
+
Show identity, revision, and content envelope fields.
|
|
10
|
+
|
|
11
|
+
Envelope metadata is distinct from product payload.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "metadata-pack-install"
|
|
3
|
+
type: "example"
|
|
4
|
+
title: "Metadata-pack validation and explicit installation"
|
|
5
|
+
summary: "Evidence that validate ≠ install."
|
|
6
|
+
---
|
|
7
|
+
# Metadata-pack validation and explicit installation
|
|
8
|
+
|
|
9
|
+
Evidence that validate ≠ install.
|
|
10
|
+
|
|
11
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "relationship-def-and-ref"
|
|
3
|
+
type: "example"
|
|
4
|
+
title: "Relationship definition and stored reference"
|
|
5
|
+
summary: "Contrast metadata definition with stored ref."
|
|
6
|
+
---
|
|
7
|
+
# Relationship definition and stored reference
|
|
8
|
+
|
|
9
|
+
Contrast metadata definition with stored ref.
|
|
10
|
+
|
|
11
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "traversal-resolved-unresolved"
|
|
3
|
+
type: "example"
|
|
4
|
+
title: "Forward/inverse traversal with resolved and unresolved targets"
|
|
5
|
+
summary: "Show both target states."
|
|
6
|
+
---
|
|
7
|
+
# Forward/inverse traversal with resolved and unresolved targets
|
|
8
|
+
|
|
9
|
+
Show both target states.
|
|
10
|
+
|
|
11
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "apply-scope"
|
|
3
|
+
type: "guide"
|
|
4
|
+
title: "Select and apply organization/agent scope"
|
|
5
|
+
summary: "Set the workspace scope before reading or writing."
|
|
6
|
+
why: "Wrong scope violates isolation."
|
|
7
|
+
audiences: ["builders", "developers"]
|
|
8
|
+
related: ["org-agent-scope"]
|
|
9
|
+
invariants: ["Do not mutate another organization's data"]
|
|
10
|
+
confirmationRequired: false
|
|
11
|
+
---
|
|
12
|
+
# Select and apply organization/agent scope
|
|
13
|
+
|
|
14
|
+
Set the workspace scope before reading or writing.
|
|
15
|
+
|
|
16
|
+
## Why this path
|
|
17
|
+
|
|
18
|
+
Wrong scope violates isolation.
|
|
19
|
+
|
|
20
|
+
## Use this when
|
|
21
|
+
|
|
22
|
+
- Entering Studio or an API session
|
|
23
|
+
|
|
24
|
+
## Do not use this when
|
|
25
|
+
|
|
26
|
+
- You already confirmed the active scope matches the task
|
|
27
|
+
|
|
28
|
+
## Invariants
|
|
29
|
+
|
|
30
|
+
- Do not mutate another organization's data
|
|
31
|
+
|
|
32
|
+
## Steps
|
|
33
|
+
|
|
34
|
+
1. **Choose organization** — Org selected
|
|
35
|
+
2. **Choose agent** — Agent selected
|
|
36
|
+
3. **Apply scope** — UI/API uses that scope
|
|
37
|
+
|
|
38
|
+
## Verification
|
|
39
|
+
|
|
40
|
+
- Subsequent reads show the expected workspace
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "choose-access-method"
|
|
3
|
+
type: "guide"
|
|
4
|
+
title: "Choose raw, composed, or abstract access"
|
|
5
|
+
summary: "Pick the fidelity that matches the caller goal."
|
|
6
|
+
why: "Wrong view wastes work or loses detail."
|
|
7
|
+
audiences: ["developers"]
|
|
8
|
+
related: ["raw-records", "composition", "people-union"]
|
|
9
|
+
---
|
|
10
|
+
# Choose raw, composed, or abstract access
|
|
11
|
+
|
|
12
|
+
Pick the fidelity that matches the caller goal.
|
|
13
|
+
|
|
14
|
+
## Why this path
|
|
15
|
+
|
|
16
|
+
Wrong view wastes work or loses detail.
|
|
17
|
+
|
|
18
|
+
## Steps
|
|
19
|
+
|
|
20
|
+
1. **Match goal to raw vs composition vs abstract** — Access method chosen
|
|
21
|
+
|
|
22
|
+
## Verification
|
|
23
|
+
|
|
24
|
+
- Response shape matches the chosen view
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "compose-subject-ui"
|
|
3
|
+
type: "guide"
|
|
4
|
+
title: "Compose same-subject content for a UI"
|
|
5
|
+
summary: "Load composition for a subject the UI will render."
|
|
6
|
+
why: "UIs need the bag of content instances, not only raw."
|
|
7
|
+
audiences: ["developers", "builders"]
|
|
8
|
+
related: ["composition"]
|
|
9
|
+
---
|
|
10
|
+
# Compose same-subject content for a UI
|
|
11
|
+
|
|
12
|
+
Load composition for a subject the UI will render.
|
|
13
|
+
|
|
14
|
+
## Why this path
|
|
15
|
+
|
|
16
|
+
UIs need the bag of content instances, not only raw.
|
|
17
|
+
|
|
18
|
+
## Steps
|
|
19
|
+
|
|
20
|
+
1. **Request same-subject composition** — Composed payload
|
|
21
|
+
|
|
22
|
+
## Verification
|
|
23
|
+
|
|
24
|
+
- Expected content types present
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "define-traverse-relationship"
|
|
3
|
+
type: "guide"
|
|
4
|
+
title: "Define and traverse a relationship"
|
|
5
|
+
summary: "Author a definition, store a reference, traverse forward/inverse."
|
|
6
|
+
why: "Traversal is only predictable with explicit definitions."
|
|
7
|
+
audiences: ["developers"]
|
|
8
|
+
related: ["relationship-definitions", "traversal"]
|
|
9
|
+
---
|
|
10
|
+
# Define and traverse a relationship
|
|
11
|
+
|
|
12
|
+
Author a definition, store a reference, traverse forward/inverse.
|
|
13
|
+
|
|
14
|
+
## Why this path
|
|
15
|
+
|
|
16
|
+
Traversal is only predictable with explicit definitions.
|
|
17
|
+
|
|
18
|
+
## Steps
|
|
19
|
+
|
|
20
|
+
1. **Author relationship definition** — Definition installed
|
|
21
|
+
2. **Store relationship reference** — Ref on record
|
|
22
|
+
3. **Traverse with chosen direction** — Targets returned
|
|
23
|
+
|
|
24
|
+
## Verification
|
|
25
|
+
|
|
26
|
+
- Forward and inverse match the definition
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "diagnose-unresolved"
|
|
3
|
+
type: "guide"
|
|
4
|
+
title: "Diagnose an unresolved relationship target"
|
|
5
|
+
summary: "Distinguish intentional unresolved from broken targets."
|
|
6
|
+
why: "Unresolved is retained as a first-class state."
|
|
7
|
+
audiences: ["developers", "builders"]
|
|
8
|
+
related: ["resolved-unresolved"]
|
|
9
|
+
---
|
|
10
|
+
# Diagnose an unresolved relationship target
|
|
11
|
+
|
|
12
|
+
Distinguish intentional unresolved from broken targets.
|
|
13
|
+
|
|
14
|
+
## Why this path
|
|
15
|
+
|
|
16
|
+
Unresolved is retained as a first-class state.
|
|
17
|
+
|
|
18
|
+
## Steps
|
|
19
|
+
|
|
20
|
+
1. **Inspect unresolved marker and definition** — Cause classified
|
|
21
|
+
|
|
22
|
+
## Verification
|
|
23
|
+
|
|
24
|
+
- Chosen repair/wait/escalate path documented
|