@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,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "memorix-records"
|
|
3
|
+
type: "api"
|
|
4
|
+
title: "Memorix records API"
|
|
5
|
+
summary: "Read and conditionally write Memorix records with revision preconditions."
|
|
6
|
+
why: "Agents and services need exact revision-safe operations."
|
|
7
|
+
---
|
|
8
|
+
# Memorix records API
|
|
9
|
+
|
|
10
|
+
Read and conditionally write Memorix records with revision preconditions.
|
|
11
|
+
|
|
12
|
+
## Why
|
|
13
|
+
|
|
14
|
+
Agents and services need exact revision-safe operations.
|
|
15
|
+
|
|
16
|
+
## GET /api/records/{id}
|
|
17
|
+
|
|
18
|
+
Read a record envelope and content.
|
|
19
|
+
|
|
20
|
+
## PATCH /api/records/{id}
|
|
21
|
+
|
|
22
|
+
Conditionally update a record with expected revision.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "abstracts-bindings"
|
|
3
|
+
type: "concept"
|
|
4
|
+
title: "Abstracts and bindings"
|
|
5
|
+
summary: "An abstract is a virtual union projected through bindings — not stored rows."
|
|
6
|
+
problem: "Callers otherwise duplicate union queries across concrete types."
|
|
7
|
+
why: "Abstracts give stable read models without denormalizing storage."
|
|
8
|
+
mentalModel: "Bindings map concrete members into an abstract projection."
|
|
9
|
+
audiences: ["developers", "builders"]
|
|
10
|
+
related: ["people-union"]
|
|
11
|
+
next: ["people-union"]
|
|
12
|
+
---
|
|
13
|
+
# Abstracts and bindings
|
|
14
|
+
|
|
15
|
+
An abstract is a virtual union projected through bindings — not stored rows.
|
|
16
|
+
|
|
17
|
+
## Problem
|
|
18
|
+
|
|
19
|
+
Callers otherwise duplicate union queries across concrete types.
|
|
20
|
+
|
|
21
|
+
## Why
|
|
22
|
+
|
|
23
|
+
Abstracts give stable read models without denormalizing storage.
|
|
24
|
+
|
|
25
|
+
## Mental model
|
|
26
|
+
|
|
27
|
+
Bindings map concrete members into an abstract projection.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "agents-inheritance"
|
|
3
|
+
type: "concept"
|
|
4
|
+
title: "Agents and inheritance"
|
|
5
|
+
summary: "Child agents inherit definitions; Studio shows the effective result."
|
|
6
|
+
problem: "Reading only local files hides parent contributions and conflicts."
|
|
7
|
+
why: "Inheritance keeps shared definitions DRY while allowing replacement and additive behavior."
|
|
8
|
+
mentalModel: "Oldest-parent-first resolution into an effective model."
|
|
9
|
+
audiences: ["developers", "builders"]
|
|
10
|
+
prerequisites: ["org-agent-scope"]
|
|
11
|
+
related: ["effective-metadata"]
|
|
12
|
+
next: ["effective-metadata"]
|
|
13
|
+
---
|
|
14
|
+
# Agents and inheritance
|
|
15
|
+
|
|
16
|
+
Child agents inherit definitions; Studio shows the effective result.
|
|
17
|
+
|
|
18
|
+
## Problem
|
|
19
|
+
|
|
20
|
+
Reading only local files hides parent contributions and conflicts.
|
|
21
|
+
|
|
22
|
+
## Why
|
|
23
|
+
|
|
24
|
+
Inheritance keeps shared definitions DRY while allowing replacement and additive behavior.
|
|
25
|
+
|
|
26
|
+
## Mental model
|
|
27
|
+
|
|
28
|
+
Oldest-parent-first resolution into an effective model.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "analysis-objects"
|
|
3
|
+
type: "concept"
|
|
4
|
+
title: "Analysis objects"
|
|
5
|
+
summary: "Analysis captures evaluated evidence distinct from operational decisions."
|
|
6
|
+
problem: "Mixing analysis with decisions hides how conclusions formed."
|
|
7
|
+
why: "Separating analysis keeps auditability and replay."
|
|
8
|
+
mentalModel: "Evidence → analysis → (later) decision."
|
|
9
|
+
audiences: ["developers", "builders"]
|
|
10
|
+
related: ["decisions-content", "intelligence-proposals"]
|
|
11
|
+
---
|
|
12
|
+
# Analysis objects
|
|
13
|
+
|
|
14
|
+
Analysis captures evaluated evidence distinct from operational decisions.
|
|
15
|
+
|
|
16
|
+
## Problem
|
|
17
|
+
|
|
18
|
+
Mixing analysis with decisions hides how conclusions formed.
|
|
19
|
+
|
|
20
|
+
## Why
|
|
21
|
+
|
|
22
|
+
Separating analysis keeps auditability and replay.
|
|
23
|
+
|
|
24
|
+
## Mental model
|
|
25
|
+
|
|
26
|
+
Evidence → analysis → (later) decision.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "composition"
|
|
3
|
+
type: "concept"
|
|
4
|
+
title: "Same-subject composition"
|
|
5
|
+
summary: "Multiple content instances can belong to one subject when composition is explicit."
|
|
6
|
+
problem: "Callers otherwise assume one row per subject."
|
|
7
|
+
why: "Subjects accumulate history and alternate content types."
|
|
8
|
+
mentalModel: "Subject → composed bag of content instances."
|
|
9
|
+
audiences: ["developers", "builders"]
|
|
10
|
+
prerequisites: ["raw-records"]
|
|
11
|
+
related: ["people-union"]
|
|
12
|
+
---
|
|
13
|
+
# Same-subject composition
|
|
14
|
+
|
|
15
|
+
Multiple content instances can belong to one subject when composition is explicit.
|
|
16
|
+
|
|
17
|
+
## Problem
|
|
18
|
+
|
|
19
|
+
Callers otherwise assume one row per subject.
|
|
20
|
+
|
|
21
|
+
## Why
|
|
22
|
+
|
|
23
|
+
Subjects accumulate history and alternate content types.
|
|
24
|
+
|
|
25
|
+
## Mental model
|
|
26
|
+
|
|
27
|
+
Subject → composed bag of content instances.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "decisions-content"
|
|
3
|
+
type: "concept"
|
|
4
|
+
title: "Decisions"
|
|
5
|
+
summary: "Decisions record chosen actions distinct from analysis content."
|
|
6
|
+
problem: "If decisions are only implied in chats, systems cannot act reliably."
|
|
7
|
+
why: "Durable decisions drive workflows and audits."
|
|
8
|
+
mentalModel: "Analysis informs; decision commits."
|
|
9
|
+
audiences: ["developers", "builders"]
|
|
10
|
+
prerequisites: ["analysis-objects"]
|
|
11
|
+
related: ["intelligence-proposals"]
|
|
12
|
+
---
|
|
13
|
+
# Decisions
|
|
14
|
+
|
|
15
|
+
Decisions record chosen actions distinct from analysis content.
|
|
16
|
+
|
|
17
|
+
## Problem
|
|
18
|
+
|
|
19
|
+
If decisions are only implied in chats, systems cannot act reliably.
|
|
20
|
+
|
|
21
|
+
## Why
|
|
22
|
+
|
|
23
|
+
Durable decisions drive workflows and audits.
|
|
24
|
+
|
|
25
|
+
## Mental model
|
|
26
|
+
|
|
27
|
+
Analysis informs; decision commits.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "effective-metadata"
|
|
3
|
+
type: "concept"
|
|
4
|
+
title: "Effective metadata"
|
|
5
|
+
summary: "The resolved definitions after inheritance and installation."
|
|
6
|
+
problem: "Authors confuse source files with what the runtime actually uses."
|
|
7
|
+
why: "Readers and writers must see the effective model before mutating data."
|
|
8
|
+
mentalModel: "Installed + inherited → effective."
|
|
9
|
+
audiences: ["developers", "builders"]
|
|
10
|
+
prerequisites: ["explicit-metadata-installation", "agents-inheritance"]
|
|
11
|
+
related: ["org-agent-scope"]
|
|
12
|
+
---
|
|
13
|
+
# Effective metadata
|
|
14
|
+
|
|
15
|
+
The resolved definitions after inheritance and installation.
|
|
16
|
+
|
|
17
|
+
## Problem
|
|
18
|
+
|
|
19
|
+
Authors confuse source files with what the runtime actually uses.
|
|
20
|
+
|
|
21
|
+
## Why
|
|
22
|
+
|
|
23
|
+
Readers and writers must see the effective model before mutating data.
|
|
24
|
+
|
|
25
|
+
## Mental model
|
|
26
|
+
|
|
27
|
+
Installed + inherited → effective.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "explicit-metadata-installation"
|
|
3
|
+
type: "concept"
|
|
4
|
+
title: "Explicit metadata validation and installation"
|
|
5
|
+
summary: "Validation does not install; installation requires confirmation."
|
|
6
|
+
problem: "Auto-applying packs or proposals would silently change runtime behavior."
|
|
7
|
+
why: "Reviewable, deterministic, reversible configuration changes."
|
|
8
|
+
mentalModel: "Treat metadata packs like deployments."
|
|
9
|
+
audiences: ["builders", "developers"]
|
|
10
|
+
related: ["intelligence-proposals", "effective-metadata"]
|
|
11
|
+
---
|
|
12
|
+
# Explicit metadata validation and installation
|
|
13
|
+
|
|
14
|
+
Validation does not install; installation requires confirmation.
|
|
15
|
+
|
|
16
|
+
## Problem
|
|
17
|
+
|
|
18
|
+
Auto-applying packs or proposals would silently change runtime behavior.
|
|
19
|
+
|
|
20
|
+
## Why
|
|
21
|
+
|
|
22
|
+
Reviewable, deterministic, reversible configuration changes.
|
|
23
|
+
|
|
24
|
+
## Mental model
|
|
25
|
+
|
|
26
|
+
Treat metadata packs like deployments.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "intelligence-proposals"
|
|
3
|
+
type: "concept"
|
|
4
|
+
title: "Intelligence proposals"
|
|
5
|
+
summary: "Intelligence may propose metadata or actions but never auto-installs them."
|
|
6
|
+
problem: "Silent installation would violate reviewability."
|
|
7
|
+
why: "Humans remain the confirmation boundary for runtime-changing packs."
|
|
8
|
+
mentalModel: "Propose → review → explicit install or reject."
|
|
9
|
+
audiences: ["builders", "developers"]
|
|
10
|
+
prerequisites: ["explicit-metadata-installation"]
|
|
11
|
+
related: ["explicit-metadata-installation"]
|
|
12
|
+
---
|
|
13
|
+
# Intelligence proposals
|
|
14
|
+
|
|
15
|
+
Intelligence may propose metadata or actions but never auto-installs them.
|
|
16
|
+
|
|
17
|
+
## Problem
|
|
18
|
+
|
|
19
|
+
Silent installation would violate reviewability.
|
|
20
|
+
|
|
21
|
+
## Why
|
|
22
|
+
|
|
23
|
+
Humans remain the confirmation boundary for runtime-changing packs.
|
|
24
|
+
|
|
25
|
+
## Mental model
|
|
26
|
+
|
|
27
|
+
Propose → review → explicit install or reject.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "mappings-transforms"
|
|
3
|
+
type: "concept"
|
|
4
|
+
title: "Mappings and transforms"
|
|
5
|
+
summary: "Mappings describe how source shapes become Memory content."
|
|
6
|
+
problem: "Ad-hoc transforms hide field provenance."
|
|
7
|
+
why: "Explicit mappings make validation and recovery possible."
|
|
8
|
+
mentalModel: "Declared mapping, not implicit guesswork."
|
|
9
|
+
audiences: ["developers"]
|
|
10
|
+
related: ["raw-records"]
|
|
11
|
+
---
|
|
12
|
+
# Mappings and transforms
|
|
13
|
+
|
|
14
|
+
Mappings describe how source shapes become Memory content.
|
|
15
|
+
|
|
16
|
+
## Problem
|
|
17
|
+
|
|
18
|
+
Ad-hoc transforms hide field provenance.
|
|
19
|
+
|
|
20
|
+
## Why
|
|
21
|
+
|
|
22
|
+
Explicit mappings make validation and recovery possible.
|
|
23
|
+
|
|
24
|
+
## Mental model
|
|
25
|
+
|
|
26
|
+
Declared mapping, not implicit guesswork.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "object-content-category"
|
|
3
|
+
type: "concept"
|
|
4
|
+
title: "Object type, content type, and data category"
|
|
5
|
+
summary: "Identity, payload shape, and category are separate axes."
|
|
6
|
+
problem: "Collapsing them forces brittle one-size schemas."
|
|
7
|
+
why: "Memorix needs the same subject to carry multiple content shapes over time."
|
|
8
|
+
mentalModel: "Object identity × content type × category."
|
|
9
|
+
audiences: ["developers"]
|
|
10
|
+
related: ["raw-records", "composition"]
|
|
11
|
+
---
|
|
12
|
+
# Object type, content type, and data category
|
|
13
|
+
|
|
14
|
+
Identity, payload shape, and category are separate axes.
|
|
15
|
+
|
|
16
|
+
## Problem
|
|
17
|
+
|
|
18
|
+
Collapsing them forces brittle one-size schemas.
|
|
19
|
+
|
|
20
|
+
## Why
|
|
21
|
+
|
|
22
|
+
Memorix needs the same subject to carry multiple content shapes over time.
|
|
23
|
+
|
|
24
|
+
## Mental model
|
|
25
|
+
|
|
26
|
+
Object identity × content type × category.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "org-agent-scope"
|
|
3
|
+
type: "concept"
|
|
4
|
+
title: "Organization and agent scope"
|
|
5
|
+
summary: "Scope selects which organization and agent context reads and writes apply to."
|
|
6
|
+
problem: "Acting without explicit scope can touch the wrong workspace."
|
|
7
|
+
why: "Memorix isolates tenants and agent inheritance behind deliberate scope selection."
|
|
8
|
+
mentalModel: "Scope is a workspace lock, not decoration."
|
|
9
|
+
audiences: ["developers", "builders"]
|
|
10
|
+
related: ["agents-inheritance", "effective-metadata"]
|
|
11
|
+
next: ["agents-inheritance"]
|
|
12
|
+
---
|
|
13
|
+
# Organization and agent scope
|
|
14
|
+
|
|
15
|
+
Scope selects which organization and agent context reads and writes apply to.
|
|
16
|
+
|
|
17
|
+
## Problem
|
|
18
|
+
|
|
19
|
+
Acting without explicit scope can touch the wrong workspace.
|
|
20
|
+
|
|
21
|
+
## Why
|
|
22
|
+
|
|
23
|
+
Memorix isolates tenants and agent inheritance behind deliberate scope selection.
|
|
24
|
+
|
|
25
|
+
## Mental model
|
|
26
|
+
|
|
27
|
+
Scope is a workspace lock, not decoration.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "people-union"
|
|
3
|
+
type: "concept"
|
|
4
|
+
title: "People union"
|
|
5
|
+
summary: "People combines employees and contractors through explicit bindings."
|
|
6
|
+
problem: "UIs need one people list without merging tables by hand."
|
|
7
|
+
why: "Abstract projection preserves concrete types while enabling combined reads."
|
|
8
|
+
mentalModel: "employees ∪ contractors → People."
|
|
9
|
+
audiences: ["developers", "builders"]
|
|
10
|
+
prerequisites: ["abstracts-bindings"]
|
|
11
|
+
related: ["composition"]
|
|
12
|
+
---
|
|
13
|
+
# People union
|
|
14
|
+
|
|
15
|
+
People combines employees and contractors through explicit bindings.
|
|
16
|
+
|
|
17
|
+
## Problem
|
|
18
|
+
|
|
19
|
+
UIs need one people list without merging tables by hand.
|
|
20
|
+
|
|
21
|
+
## Why
|
|
22
|
+
|
|
23
|
+
Abstract projection preserves concrete types while enabling combined reads.
|
|
24
|
+
|
|
25
|
+
## Mental model
|
|
26
|
+
|
|
27
|
+
employees ∪ contractors → People.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "raw-records"
|
|
3
|
+
type: "concept"
|
|
4
|
+
title: "Raw records"
|
|
5
|
+
summary: "Raw retains the original payload beside envelope metadata."
|
|
6
|
+
problem: "Losing raw makes audits and remapping impossible."
|
|
7
|
+
why: "Memorix keeps evidence of what arrived."
|
|
8
|
+
mentalModel: "Envelope + raw body; choose views deliberately."
|
|
9
|
+
audiences: ["developers", "builders"]
|
|
10
|
+
related: ["composition", "object-content-category"]
|
|
11
|
+
---
|
|
12
|
+
# Raw records
|
|
13
|
+
|
|
14
|
+
Raw retains the original payload beside envelope metadata.
|
|
15
|
+
|
|
16
|
+
## Problem
|
|
17
|
+
|
|
18
|
+
Losing raw makes audits and remapping impossible.
|
|
19
|
+
|
|
20
|
+
## Why
|
|
21
|
+
|
|
22
|
+
Memorix keeps evidence of what arrived.
|
|
23
|
+
|
|
24
|
+
## Mental model
|
|
25
|
+
|
|
26
|
+
Envelope + raw body; choose views deliberately.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "record-revisions"
|
|
3
|
+
type: "concept"
|
|
4
|
+
title: "Record revisions and stale-write conflicts"
|
|
5
|
+
summary: "Writes carry an expected revision; stale writers cannot overwrite newer data."
|
|
6
|
+
problem: "Lost updates when concurrent writers race."
|
|
7
|
+
why: "Revision preconditions preserve newer data and force explicit recovery."
|
|
8
|
+
mentalModel: "Load → mutate → write with expected revision → reload on conflict."
|
|
9
|
+
audiences: ["developers", "builders"]
|
|
10
|
+
related: ["raw-records"]
|
|
11
|
+
---
|
|
12
|
+
# Record revisions and stale-write conflicts
|
|
13
|
+
|
|
14
|
+
Writes carry an expected revision; stale writers cannot overwrite newer data.
|
|
15
|
+
|
|
16
|
+
## Problem
|
|
17
|
+
|
|
18
|
+
Lost updates when concurrent writers race.
|
|
19
|
+
|
|
20
|
+
## Why
|
|
21
|
+
|
|
22
|
+
Revision preconditions preserve newer data and force explicit recovery.
|
|
23
|
+
|
|
24
|
+
## Mental model
|
|
25
|
+
|
|
26
|
+
Load → mutate → write with expected revision → reload on conflict.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "relationship-definitions"
|
|
3
|
+
type: "concept"
|
|
4
|
+
title: "Relationship definitions"
|
|
5
|
+
summary: "A relationship definition is metadata describing allowed links — not a stored edge on a record."
|
|
6
|
+
problem: "Confusing definitions with instances breaks traversal expectations."
|
|
7
|
+
why: "Definitions make forward/inverse traversal predictable."
|
|
8
|
+
mentalModel: "Definition first; references second."
|
|
9
|
+
audiences: ["developers"]
|
|
10
|
+
related: ["relationship-references", "traversal"]
|
|
11
|
+
---
|
|
12
|
+
# Relationship definitions
|
|
13
|
+
|
|
14
|
+
A relationship definition is metadata describing allowed links — not a stored edge on a record.
|
|
15
|
+
|
|
16
|
+
## Problem
|
|
17
|
+
|
|
18
|
+
Confusing definitions with instances breaks traversal expectations.
|
|
19
|
+
|
|
20
|
+
## Why
|
|
21
|
+
|
|
22
|
+
Definitions make forward/inverse traversal predictable.
|
|
23
|
+
|
|
24
|
+
## Mental model
|
|
25
|
+
|
|
26
|
+
Definition first; references second.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "relationship-references"
|
|
3
|
+
type: "concept"
|
|
4
|
+
title: "Stored relationship references"
|
|
5
|
+
summary: "Records store relationship references that point at targets under a definition."
|
|
6
|
+
problem: "Without stored refs, graphs cannot be rebuilt or verified."
|
|
7
|
+
why: "References are the durable facts; definitions are the schema."
|
|
8
|
+
mentalModel: "Record holds refs typed by definition id."
|
|
9
|
+
audiences: ["developers"]
|
|
10
|
+
prerequisites: ["relationship-definitions"]
|
|
11
|
+
related: ["resolved-unresolved"]
|
|
12
|
+
---
|
|
13
|
+
# Stored relationship references
|
|
14
|
+
|
|
15
|
+
Records store relationship references that point at targets under a definition.
|
|
16
|
+
|
|
17
|
+
## Problem
|
|
18
|
+
|
|
19
|
+
Without stored refs, graphs cannot be rebuilt or verified.
|
|
20
|
+
|
|
21
|
+
## Why
|
|
22
|
+
|
|
23
|
+
References are the durable facts; definitions are the schema.
|
|
24
|
+
|
|
25
|
+
## Mental model
|
|
26
|
+
|
|
27
|
+
Record holds refs typed by definition id.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "resolved-unresolved"
|
|
3
|
+
type: "concept"
|
|
4
|
+
title: "Resolved and unresolved relationships"
|
|
5
|
+
summary: "Unresolved targets are retained and shown — not silently dropped."
|
|
6
|
+
problem: "Hiding unresolved links loses operational truth."
|
|
7
|
+
why: "Operators need to repair, wait, or escalate deliberately."
|
|
8
|
+
mentalModel: "Absence of a target is a first-class state."
|
|
9
|
+
audiences: ["developers", "builders"]
|
|
10
|
+
prerequisites: ["traversal"]
|
|
11
|
+
related: ["relationship-references"]
|
|
12
|
+
---
|
|
13
|
+
# Resolved and unresolved relationships
|
|
14
|
+
|
|
15
|
+
Unresolved targets are retained and shown — not silently dropped.
|
|
16
|
+
|
|
17
|
+
## Problem
|
|
18
|
+
|
|
19
|
+
Hiding unresolved links loses operational truth.
|
|
20
|
+
|
|
21
|
+
## Why
|
|
22
|
+
|
|
23
|
+
Operators need to repair, wait, or escalate deliberately.
|
|
24
|
+
|
|
25
|
+
## Mental model
|
|
26
|
+
|
|
27
|
+
Absence of a target is a first-class state.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "sources-and-memory"
|
|
3
|
+
type: "concept"
|
|
4
|
+
title: "Sources and Memory"
|
|
5
|
+
summary: "Sources feed Memory; Memory holds durable product records."
|
|
6
|
+
problem: "Without a clear boundary, pipelines and storage blur."
|
|
7
|
+
why: "Separating ingest from durable memory keeps provenance and retries understandable."
|
|
8
|
+
mentalModel: "Source → validated content → Memory record."
|
|
9
|
+
audiences: ["developers", "builders"]
|
|
10
|
+
related: ["raw-records"]
|
|
11
|
+
---
|
|
12
|
+
# Sources and Memory
|
|
13
|
+
|
|
14
|
+
Sources feed Memory; Memory holds durable product records.
|
|
15
|
+
|
|
16
|
+
## Problem
|
|
17
|
+
|
|
18
|
+
Without a clear boundary, pipelines and storage blur.
|
|
19
|
+
|
|
20
|
+
## Why
|
|
21
|
+
|
|
22
|
+
Separating ingest from durable memory keeps provenance and retries understandable.
|
|
23
|
+
|
|
24
|
+
## Mental model
|
|
25
|
+
|
|
26
|
+
Source → validated content → Memory record.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "traversal"
|
|
3
|
+
type: "concept"
|
|
4
|
+
title: "Forward and inverse traversal"
|
|
5
|
+
summary: "Traversal follows definitions forward or inverse, optionally expanding targets."
|
|
6
|
+
problem: "Callers guess direction and miss inverse edges."
|
|
7
|
+
why: "Explicit direction matches authored relationship semantics."
|
|
8
|
+
mentalModel: "Pick definition → direction → expand or not."
|
|
9
|
+
audiences: ["developers"]
|
|
10
|
+
prerequisites: ["relationship-references"]
|
|
11
|
+
related: ["resolved-unresolved"]
|
|
12
|
+
---
|
|
13
|
+
# Forward and inverse traversal
|
|
14
|
+
|
|
15
|
+
Traversal follows definitions forward or inverse, optionally expanding targets.
|
|
16
|
+
|
|
17
|
+
## Problem
|
|
18
|
+
|
|
19
|
+
Callers guess direction and miss inverse edges.
|
|
20
|
+
|
|
21
|
+
## Why
|
|
22
|
+
|
|
23
|
+
Explicit direction matches authored relationship semantics.
|
|
24
|
+
|
|
25
|
+
## Mental model
|
|
26
|
+
|
|
27
|
+
Pick definition → direction → expand or not.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "agent-inheritance"
|
|
3
|
+
type: "diagram"
|
|
4
|
+
title: "Agent inheritance"
|
|
5
|
+
summary: "Parent and child agents resolve into effective definitions."
|
|
6
|
+
why: "Explains why Studio shows effective results, not only local files."
|
|
7
|
+
diagramType: "hierarchy"
|
|
8
|
+
---
|
|
9
|
+
# Agent inheritance
|
|
10
|
+
|
|
11
|
+
Parent and child agents resolve into effective definitions.
|
|
12
|
+
|
|
13
|
+
## Why
|
|
14
|
+
|
|
15
|
+
Explains why Studio shows effective results, not only local files.
|
|
16
|
+
|
|
17
|
+
## How to read
|
|
18
|
+
|
|
19
|
+
Parents contribute first; children may replace or add.
|
|
20
|
+
|
|
21
|
+
## Text alternative
|
|
22
|
+
|
|
23
|
+
Parent agent definitions flow to a child agent; the effective model is what runtime uses after resolution.
|
|
24
|
+
|
|
25
|
+
## Nodes
|
|
26
|
+
|
|
27
|
+
- **Parent agent** (`parent`)
|
|
28
|
+
- **Child agent** (`child`)
|
|
29
|
+
- **Effective definitions** (`effective`)
|
|
30
|
+
|
|
31
|
+
## Edges
|
|
32
|
+
|
|
33
|
+
- parent → child (inherit)
|
|
34
|
+
- child → effective (resolve)
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "intelligence-journey"
|
|
3
|
+
type: "diagram"
|
|
4
|
+
title: "Intelligence journey"
|
|
5
|
+
summary: "Evidence can yield analysis, decision, and proposals that still require explicit install."
|
|
6
|
+
why: "Keeps human confirmation on runtime-changing actions."
|
|
7
|
+
diagramType: "flow"
|
|
8
|
+
---
|
|
9
|
+
# Intelligence journey
|
|
10
|
+
|
|
11
|
+
Evidence can yield analysis, decision, and proposals that still require explicit install.
|
|
12
|
+
|
|
13
|
+
## Why
|
|
14
|
+
|
|
15
|
+
Keeps human confirmation on runtime-changing actions.
|
|
16
|
+
|
|
17
|
+
## How to read
|
|
18
|
+
|
|
19
|
+
Proposals do not skip the install confirmation gate.
|
|
20
|
+
|
|
21
|
+
## Text alternative
|
|
22
|
+
|
|
23
|
+
Source and content evidence can produce analysis and a decision. An intelligence proposal may follow but requires explicit human-controlled installation or operational action.
|
|
24
|
+
|
|
25
|
+
## Nodes
|
|
26
|
+
|
|
27
|
+
- **Evidence** (`evidence`)
|
|
28
|
+
- **Analysis** (`analysis`)
|
|
29
|
+
- **Decision** (`decision`)
|
|
30
|
+
- **Proposal** (`proposal`)
|
|
31
|
+
- **Explicit action** (`install`)
|
|
32
|
+
|
|
33
|
+
## Edges
|
|
34
|
+
|
|
35
|
+
- evidence → analysis
|
|
36
|
+
- analysis → decision
|
|
37
|
+
- decision → proposal
|
|
38
|
+
- proposal → install (confirm)
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "memorix-central-journey"
|
|
3
|
+
type: "diagram"
|
|
4
|
+
title: "Memorix central product journey"
|
|
5
|
+
summary: "Conceptual path from scope through metadata, records, relationships, analysis, and decisions."
|
|
6
|
+
why: "Orients every concept page in the same mental model."
|
|
7
|
+
diagramType: "journey"
|
|
8
|
+
audiences: ["developers", "builders"]
|
|
9
|
+
---
|
|
10
|
+
# Memorix central product journey
|
|
11
|
+
|
|
12
|
+
Conceptual path from scope through metadata, records, relationships, analysis, and decisions.
|
|
13
|
+
|
|
14
|
+
## Why
|
|
15
|
+
|
|
16
|
+
Orients every concept page in the same mental model.
|
|
17
|
+
|
|
18
|
+
## How to read
|
|
19
|
+
|
|
20
|
+
Left to right is conceptual learning order — not an auto-discovered runtime trace.
|
|
21
|
+
|
|
22
|
+
## Text alternative
|
|
23
|
+
|
|
24
|
+
Scope leads to explicit metadata and an effective model, then to concrete/raw data, composition and abstracts, relationships, analysis, and decisions/operation.
|
|
25
|
+
|
|
26
|
+
## Nodes
|
|
27
|
+
|
|
28
|
+
- **Scope** (`scope`)
|
|
29
|
+
- **Explicit metadata** (`metadata`)
|
|
30
|
+
- **Effective model** (`effective`)
|
|
31
|
+
- **Raw/concrete** (`raw`)
|
|
32
|
+
- **Composition/abstracts** (`compose`)
|
|
33
|
+
- **Relationships** (`rels`)
|
|
34
|
+
- **Analysis** (`analysis`)
|
|
35
|
+
- **Decisions** (`decisions`)
|
|
36
|
+
|
|
37
|
+
## Edges
|
|
38
|
+
|
|
39
|
+
- scope → metadata (select)
|
|
40
|
+
- metadata → effective (install/resolve)
|
|
41
|
+
- effective → raw (shape data)
|
|
42
|
+
- raw → compose (project)
|
|
43
|
+
- compose → rels (link)
|
|
44
|
+
- rels → analysis (evaluate)
|
|
45
|
+
- analysis → decisions (commit)
|
|
46
|
+
|
|
47
|
+
## Key takeaways
|
|
48
|
+
|
|
49
|
+
- Conceptual journey
|
|
50
|
+
- Each stage links to concepts
|
|
51
|
+
- Not a discovered trace
|