This is an AI-native, versioned knowledge system with structured discovery, reasoning layers, and an economic access layer. This is the process that would be used to structure content for AI to use.
This repo is an overview and would contain files not in another repo. Specific applications of this process - like publishing a website - would contain more relevant artifacts used for that application. I would clone an existing website publishing repo if I were to build a new website.
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
To engage AI with steps 2 and 3 below, the human should review this skill and guidance and direction on prompts and execution: execute-content-structuring-process-overview-skill.md
This step 2 parser can also take the place of the CIS envelope for simple content, like a small static website. We don't want to overcomplicate things when not needed. The CIS envelope and control plane described further is more advanced for larger content repositories.
Use author-content-structuring-skill.md for this step.
For UUID, use this skill. But later, when there is :
multiple agents
multiple ingestion pipelines
multiple authors
distributed systems
synchronization
re-chunking
lineage tracking
graph merges
cross-corpus references
then you want authoritative identity management.
At that point:
AI should REQUEST IDs and not invent them independently, from:, for example:
Core CIS is chunk-intelligence-signature - see .md file for it. Also called CIS envelope.
Here, we pull from the CIS envelope for reference depending on the content and application. It may not be treated as a full implementation requirement. If we have a simple static website, we only need what is required to improve retrieval, continuity, reasoning and futur extensibility. We build the schema based on this perspective for both chunks and qa .json.
This initial is an interative process between human and AI, referencing the CIS envelope to determine the labels that need to be used moving forward.
Once completed, validate that this task was completed according to the skill requirements using another AI agent. Verify that the ID's match throughout
### 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.
Once completed, validate that this task was completed according to the skill requirements using another AI agent.Verify that the ID's match throughout in the process outline in all the steps up to now. Sample prompt: I need you to verify that the ID's used in each of these documents match throughout. These documents represent a flow, with the source page enriched for frontmatter meaning, and the chunk and qa to follow with more meaning.
Once completed, validate that this task was completed according to the skill requirements using another AI agent.Verify that the ID's match throughout in the process outline in all the steps up to now.
### 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.
Once completed, validate that this task was completed according to the skill requirements using another AI agent. Verify that the ID's match throughout in the process outline in all the steps up to now.
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
Once completed, validate that this task was completed according to the skill requirements using another AI agent.Verify that the ID's match throughout in the process outline in all the steps up to now.
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.
This element needs to be built out in far greater detail. We take the above and use reasoning to enrich the artifacts above to help create the relationships, ontologies and mapping the edges between all the artifacts.
We may be thinking conceptually about this as follows, creating ontology across three different layers that mature over time, rather than trying to do all at once:
Enrichment is a process that probably never ends but keeps improving as more content is added to the corpus and understanding compounds, which means enrichment gets better and better.
This phase also introduces the need for a graph database.
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.
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