This commit is contained in:
eddiesoehnel committed 2026-05-05 14:32:27 -06:00
1 parent d639f21146
commit 6086c024ba
4 files changed
+391 -3

No files matched your search

+303 -2
View File
@@ -2,6 +2,307 @@
This is an AI-native, versioned knowledge system with structured discovery, reasoning layers, and an economic access layer.
# Organization
It has four fundamental properties:
chunk-intelligence-signature.md: A compact, machine-readable metadata envelope used by AI systems as a trust, relevance, safety, and applicability filter.
1. Content is structured at creation
2. Meaning is separated from policy
3. Trust compounds over time
4. Access can be programmatically gated (free → paid)
Mental model:
Page =
1. Human version (Markdown or HTML if a website, or makdown is source of truth published into HTML for human website reading)
2. AI version (json + Q&A + chunks + CIS envelope).
# The Architecture (Layered Model)
The system resolves into six clean layers:
1. Authoring Layer → Markdown (human)
2. Structuring Layer → Chunked Markdown (parser)
3. Semantic Layer → Chunks + CIS (meaning + trust)
4. Control Plane → Policy + pricing + state
5. Serving Layer → Resolved JSON (content + policy)
6. Discovery Layer → ai-index.json, llms.txt, sitemap. This is for website, but could these also carry over to other knowledgebases? This would also be extended into vectorization/embeddings
Each layer has a single responsibility, which is why the system stays stable.
# Process
## Phase A — Creation
### Step 1: Author writes content
Ideal is markdown pages = website pages
But likely could be existing platforms like Wordpress or Shopify that produce HTML pages.
/content/home.md
- Human-readable narrative
- Becomes the source of truth
If produced in markdown and this is for a website, use a tool like Hugo to create the corresponding HTML page + JSON-LD
### Step 2: Parser structures the document
- Inserts chunk boundaries
- Assigns stable chunk ID and knowledge-level IDs
<!-- CHUNK id="k:why-findability" -->
This is a reasoning layer for AI to parse the document. Or, the author could just use a template.
Identity of the chunkcs are created here.
---
## Phase B — Structuring + Enrichment
### Step 3: Build process extracts chunks
For each chunk:
- knowledge_id → from chunk ID
- did_chunk → version ID
- cid_chunk → hash of content
Generates:
- chunks.base.json (immutable content + core CIS)
- qa.json (AI-generated questions/answers)
Core CIS is chunk-intelligence-signature - see .md file for it.
### Step 4: Q&A generation and Tools To Complete Tasks, Generation
content → AI → questions
Produces:
- Full QA dataset (reasoning layer)
- If feasible, identify tools, processes, workflows that can be used to help users complete tasks. Include them as part of answers that prompts users what to do next using the tools, proceses workflows identified.
- Subset used for JSON-LD (optional)
### Step 5: Semantic JSON Page - this may not be needed,
- A new page written in JSON format based on your HTML page, referenced by your HTML page.
- Explains what the content means
- Canonical source of truth
- It is useful only if it acts as a document-level aggregation layer for agents.
- Key question: is this file doing something unique or just repeating other layers.
- Call it what is is to be precise: semantic-summary.json
### Step 6: Ai-index,json - Discovery + Routing Layer. What exists, where is it, and how do I access it? This is a single page for all referenced pages in the system. This is for a website, but could exist for any knowledgebase, which is what a website rally is.
This is a machine-readable control plane. It replaces ambiguity from:
- sitemap (URLs only)
- llms.txt (text only)
Without ai-index.json, the agent has to:
- parse HTML
- guess structure using sitemap.xml and agents.md
- infer access rules
With it:
- You are explicitly programming the agent’s entry point
- Think of it as a table of contents, whereas the JSON chunk pages with the CIS metadata is the full book.
- You include only decision-enabling metadata, not the full CIS envelope (referenced above in chunks). The metadata is descriptive, evaluative.
- Think of it as advertising what is available.
1. What is this?
2. Why should I trust it?
3. Why is it worth paying for?
4. Pulling trust and value signals, economic terms, access routing and possibly even a preview if available, all of which is contained in each JSON chunk.
- What Drives Conversion (For Agents)? Agents will pay when they see:
1. Proof of use: “others paid for this”
2. Clear relevance: matches current task
3. Low uncertainty: high confidence signal
4. Low friction: simple endpoint + price
- ai-index.json should make buying the obvious rational choice, not a guess.
---
## Phase C — Control Plane Integration
### Step 7: Sync with control plane
The control plane is a relational database in tables. The CIS envelope metadata that accompanies each chunk is rolled up into colums and rows for filtering and sorting. This control plane references metadata in the chunks, but some metadata is controlled here, like pricing for chunks if they are paywalled. From here you would produce resolved chunks that have their chunked content, their CIS envelope metadata, the metadata from the control plane (which is the policy and governance layer). See below
This database stores:
- Chunk records
- Version + status (active/deprecated)
- Pricing + permissions
- Usage metrics
- Lineage (supersedes / derived_from)
Control plane manages state, not content
---
## Phase D — Versioning & Evolution
### Minor edits
- Same knowledge_id
- New did_chunk
- Old chunks → deprecated
- Trust carries forward
### Moderate structural changes (split/merge)
- New knowledge IDs
- Lineage recorded
- Partial trust inheritance
### Major revision (new document)
- New document_id
- Old document deprecated
- No automatic trust transfer
Rule: Never delete—only deprecate and supersede
### How to Detect This
You need a semantic continuity check
At build time, Compare old chunk ↔ new chunk.
Compute:
semantic_similarity = 0.0 → 1.0
Then apply rules:
- > 0.85 → same knowledge_id (inherit trust)
- 0.5–0.85 → partial inheritance
- < 0.5 → new knowledge_id (no inheritance)
Trust Migration Logic
Instead of “copying trust,” do this:
For each new chunk:
Case 1 — Strong match
{
"knowledge_id": "same",
"trust_inheritance": 0.9
}
Case 2 — Partial match
{
"knowledge_id": "same",
"trust_inheritance": 0.4
}
Case 3 — New concept
{
"knowledge_id": "new",
"trust_inheritance": 0.0
}
Trust should transfer only when meaning persists.
---
## Phase E — Policy Overlay
### Step 8: Merge content + policy
chunks.base.json + control plane data → chunks.resolved.json. As detailed above, here you produce resolved chunks from the original chunks and the control plane.
- Base chunks remain unchanged
- Resolved data is a computed view
- Not a new canonical document
---
## Phase F — Publishing
### Step 9: Generate outputs - this is specifically for a website, but could accompany any knowledgegage, of which a website is a form of it.
/public/data/open/... → free content
/api/chunks/... → paid content access
ai-index.json
sitemap.xml
llms.txt
agents.md
skills.md
(optional) JSON-LD
### Step 10: Previews of Paywalled Chunks
It is possible you can produce JSON previews of paywalled chunks to help sell them. This is another layer
### Step 11: Deploy
- Static files synced to server
- API endpoints handle paywalled access
## Phase E - Vectorization
THe above phases are for sturucturing content for AI, whether for a website or any knowledgebase. But if we want to connect our own AI model, then in this phase, we would further process the content via vectorization/embeddings.
---
# Public vs Paywalled Content Model
Open content:
/data/open/pages/home/chunks.json
Paid content:
GET /api/chunks/{slug}
→ 402 Payment Required
→ payment
→ 200 + data
---
# Discovery System
html+JSON-LD - if website
sitemap.xml - if website
robots.txt - if website
llms.txt → how to behave
ai-index.json → what exists
semantic json pages - if needed
QA json pages
preview json pages
skills.md
agents.md
The core content system would be in markdown/html pages for humans and in the resolved chunk json pages for AI. The above pieces are for discovery and evaluation by the AI agent to determine if it wants the resolved chunk json pages.
Relevant templates for websites for the discovery layer is in the seo-geo repo: https://projects.eddiesoehnel.com/adminprojects/seo-geo
---
# Trust System
Entity → Document → Knowledge ID → Chunk
Trust evolves through usage, repetition, and outcomes, which is aggregated into the ai-index.json page
Principle: Trust follows meaning, not structure
---
# Control Plane
Manages:
- Access
- Pricing
- Permissions
- Usage
- Version state
Does NOT manage:
- Content
- Identity
- Structure
---
# Identity Model
in the CIS envelope:
- knowledge_id → stable idea
- did_chunk → version
- cid_chunk → content hash
Rule: Identity is authored, versions are computed, state is managed
+48 -1
View File
@@ -70,6 +70,29 @@ When you reprocess chunks for iterative enrichment to discover entities/keywords
"identity": {
knowledge_objects (
knowledge_id PRIMARY KEY,
page_slug,
created_at
)
Example
Your page:
iNDX Overview
Actually contains multiple ideas:
1. What iNDX is
2. Why findability matters
3. Who it serves
4. Platform structure
Each of those should have its own:
knowledge_id
"did\_chunk": {
"id": "did:example:xyz123",
@@ -161,6 +184,19 @@ When you reprocess chunks for iterative enrichment to discover entities/keywords
}
}
"knowledge_id": "kid:indx:home-overview",
"version": "v2"
"trust_inheritance": {
"inherited_from": ["did:chunk:123"],
"confidence_transfer": 0.85
}
"semantic_similarity_to_previous": 0.92 - tracking similarity to previous chunk.
chunk ID is each chunk; knowledge ID is also applied to same chunk. If new changes, then knowledge ID carries forward, old chunk ID is deprecated, new chunk ID created. You could add trust inheritance confidence transfer or maybe better, the semantic similarity.
You want to build trust in evolving knowledge
## III. Semantics & Meaning (SiD)
@@ -755,7 +791,17 @@ If you reprocess chunks for iterative enrichment to discover entities/keywords/t
"currency": "",
"payment\_methods": \[\]
"payment_protocols": ["x402", "mpp"],
"access": "x402", "MMP"
"endpoint": "/api/chunks/paid-report",
"preview_endpoint": "/data/public/previews/paid-report.json"
"network": "base",
"description": "Access to the full structured chunk set for this page."
}
@@ -1240,3 +1286,4 @@ This extends to not just digital agents, but physical agents in robots. A compan
This is not just SEO or GEO. This is Capability Discoverability. It is turning knowledge and know how into a software asset so it can generate revenue. This is post-SAAS architecture. It is agent-as-a-licensed capability. This moves from hiring an expert to hiring an agent that the expert built. People and companies will not want to hire people but hire agents. In the AI era, where intelligence gets moved to AI, this is how people with skills and knowledge can monetize that, and actually, the only way they can monetize what they know. We are moving away from jobs to agents.
More at [https://chatgpt.com/c/6904025b-8e50-8324-8846-404f93cf494e](https://chatgpt.com/c/6904025b-8e50-8324-8846-404f93cf494e)
+20
View File
@@ -0,0 +1,20 @@
{
"questions": [
{
"q": "What does iNDX do?",
"a": "iNDX builds AI-ready indexes that make people, businesses, products, places, events, and experiences discoverable so opportunity flows to the many, not just the few."
},
{
"q": "Why is findability important in the AI era?",
"a": "Findability determines whether what people create can be discovered by the right person at the right time, which is essential for economic participation in the AI-driven economy."
},
{
"q": "What problem is iNDX solving?",
"a": "iNDX addresses the bottleneck of findability that prevents small economic actors from being discovered and benefiting from the next wave of economic growth."
},
{
"q": "Who is iNDX built for?",
"a": "iNDX is designed to support small businesses, freelancers, solopreneurs, communities, and households."
}
]
}
+20
View File
@@ -0,0 +1,20 @@
You are generating an AI-consumable Q&A layer from structured content.
Input: Markdown document.
Instructions:
- Extract the key ideas, concepts, and claims.
- Generate 10–25 natural questions a user or AI agent would ask.
- Questions should vary in phrasing and specificity.
- Include both:
- Direct questions (What is iNDX?)
- Contextual questions (Why does findability matter in AI systems?)
- Answers must:
- Be grounded strictly in the provided content
- Be concise but complete
- Avoid hallucination or adding new information.
Output JSON format:
[
{ "q": "...", "a": "..." }
]