Files
ai-knowledge-structure-OPEN/README.md
T

432 lines
27 KiB
Markdown
Raw Normal View History

2026-08-15 11:49:05 -06:00
# Structuring Content for AI
2026-05-05 07:40:45 -06:00
2026-08-15 11:49:05 -06:00
This repository is the master roadmap, guide, and reference for making knowledge discoverable, understandable, retrievable, governable, and reusable by both people and AI agents.
2026-05-05 07:40:45 -06:00
2026-08-15 11:49:05 -06:00
It describes the overall system and records what has been learned across working implementations. It is intentionally broader than any one website, repository, knowledge base, agent, graph, or payment system. Implementation-specific code, templates, schemas, and operating instructions remain in their own repositories and are linked from this guide.
2026-05-13 14:32:11 -06:00
2026-08-15 11:49:05 -06:00
The goal is not to create every artifact for every project. The goal is to choose the smallest structure that makes the content clear and reliable now, while preserving a path to richer identity, lineage, policy, graph, retrieval, and economic layers later.
2026-05-05 07:40:45 -06:00
2026-08-15 11:49:05 -06:00
## How to Use This Repository
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
Start with this README for the complete roadmap and decision framework. Retrieve the supporting documents only when the task needs their greater depth:
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
- [`chunk-intelligence-signature.md`](chunk-intelligence-signature.md) defines the advanced Chunk Intelligence Signature (CIS) metadata model.
2026-10-11 17:00:46 -06:00
- [`poppy.md`](poppy.md) documents Personal Agent Protocol discovery, the ordinary-web profile, and the path to verified agent access.
2026-08-15 11:49:05 -06:00
- [`control-plane.md`](control-plane.md) explains the separation between canonical semantic content and mutable policy or runtime state.
2026-10-18 09:23:43 -06:00
- [`media-structuring.md`](media-structuring.md) applies the model to audio/video and routes to the media-specific builder, skills, and tools.
2026-08-15 11:49:05 -06:00
- [`docs/README.md`](docs/README.md) is the documentation index.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
This repository is guidance, not a turnkey publisher or runtime. Choose a maturity profile below, then use the linked reference implementations for executable skills, schemas, scripts, and website pipelines.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
For AI-assisted work, read [`AGENTS.md`](AGENTS.md), [`repository-variables.json`](repository-variables.json), and [`repository.json`](repository.json) before modifying the roadmap. Proposed future ideas belong in `UPDATES.md`; completed, versioned work belongs in [`CHANGELOG.md`](CHANGELOG.md).
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
## Core Principles
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
1. Structure content when it is created, not only after retrieval fails.
2. Keep human-readable source and machine-readable derivatives connected.
3. Separate content and meaning from policy, pricing, permissions, and runtime state.
4. Give documents, concepts, chunks, and repositories stable identities where stability matters.
5. Generate discovery artifacts deterministically from reviewed sources whenever possible.
6. Treat current state and change history as different products.
7. Preserve provenance, lineage, deprecation, and tombstones instead of silently deleting history.
8. Add complexity only when the corpus, risk, or use case justifies it.
9. Validate identifiers, links, schemas, source-to-output consistency, and privacy boundaries before publishing.
10. Make the next useful action obvious to both humans and agents.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
## The System in One View
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
A content resource can have several connected representations:
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
1. **Human source** — usually Markdown; sometimes source HTML or content exported from another platform.
2. **Human publication** — rendered HTML, a document, an application page, or another human-facing format.
3. **Semantic artifacts** — chunks, questions and answers, summaries, entities, relationships, rights, and provenance.
4. **Discovery metadata** — indexes and guidance that explain what exists, why it matters, how to access it, and what to retrieve first.
5. **Repository metadata** — machine-readable descriptions of the code, content, skills, schemas, inputs, outputs, ownership, and lifecycle behind the resource.
6. **Temporal metadata** — meaningful versions, timestamps, hashes, source commits, semantic change events, and tombstones.
7. **Policy overlay** — access, permissions, pricing, entitlement, status, and usage state.
8. **Retrieval and graph layers** — search, embeddings, entities, edges, ontology, ranking, and multi-hop reasoning.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
The common website case is:
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
```text
Markdown source
-> structured Markdown and stable IDs
-> chunks.json and qa.json
-> rendered HTML with JSON-LD and alternate links
-> ai-index.json and public discovery files
-> optional policy-resolved API, graph, and vector index
```
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
The repository and website should also point to each other:
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
```text
Website discovery layer
-> repository catalog or bridge page
-> each repository's repository.json
-> README, content-index.json, skills, schemas, and source
2026-05-09 15:09:37 -06:00
2026-08-15 11:49:05 -06:00
Repository manifest
-> canonical repository URL
-> related website, published artifacts, documentation, APIs, and feeds
```
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
## Choose a Maturity Profile
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
Do not force a small public site to implement a graph database, control plane, or payment system. Use a maturity profile that fits the project.
2026-05-07 15:43:51 -06:00
2026-08-15 11:49:05 -06:00
| Level | Use when | Minimum useful structure |
| --- | --- | --- |
| 1 — Clear source | Small guides and repositories | README, authoritative source, headings, front matter where useful, canonical URLs, license, sitemap for websites |
| 2 — Semantic publication | Content should be directly retrievable by agents | Stable document/chunk IDs, `chunks.json`, `qa.json`, HTML alternate links, JSON-LD, `ai-index.json`, `llms.txt` |
| 2.5 — Operational discovery | A growing site or cross-domain ecosystem needs freshness and lifecycle evidence | Resource registry, semantic change index, Atom feed, exact timestamps, hashes, source commits, repository manifests, repository inventory, tombstones |
| 3 — Governed corpus | Multiple authors, pipelines, access levels, or paid resources | Authoritative identity service, CIS metadata, control plane, permissions, pricing, resolved views, usage evidence |
| 4 — Graph-native intelligence | Cross-corpus reasoning and continuing enrichment are core capabilities | Domain and interpretive ontology, relationship provenance, graph database, hybrid retrieval, reconciliation jobs, trust propagation |
2026-05-07 15:43:51 -06:00
2026-08-15 11:49:05 -06:00
A project may use different levels for different resources. Record the choice explicitly rather than implying that every planned layer is already implemented.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
## Architecture
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
The full model resolves into nine separable layers:
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
1. **Authoring layer** — human-maintained source content.
2. **Structuring layer** — headings, front matter, chunk boundaries, stable IDs, and retrieval hints.
3. **Semantic layer** — chunks, Q&A, summaries, entities, claims, rights, provenance, and CIS metadata.
4. **Repository layer** — repository identity, entry points, contents, skills, schemas, validation, and lifecycle guidance.
5. **Temporal layer** — meaningful timestamps, versions, hashes, commits, events, lineage, deprecation, and tombstones.
6. **Discovery layer** — HTML links, JSON-LD, indexes, catalogs, sitemaps, feeds, and agent guidance.
7. **Control-plane layer** — permissions, pricing, status, entitlements, usage, and governance state.
8. **Serving layer** — static files, APIs, MCP servers, paid endpoints, and computed resolved views.
9. **Retrieval and reasoning layer** — keyword search, vector search, graph traversal, ranking fusion, and agent workflows.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
Each layer should have a clear source of truth and build direction. Generated publication artifacts must not silently become the authoring source.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
## End-to-End Process
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
### Phase A — Author and Structure
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
#### 1. Establish the source of truth
2026-05-06 15:36:59 -06:00
2026-08-15 11:49:05 -06:00
Prefer Markdown for new knowledge-heavy projects because it is portable, versionable, diffable, and easy for humans and agents to inspect. Existing WordPress, Shopify, or other platform HTML can remain the human layer; create corresponding semantic and discovery layers without requiring an immediate platform migration.
2026-05-06 15:36:59 -06:00
2026-08-15 11:49:05 -06:00
For a website, a useful convention is:
2026-05-06 15:36:59 -06:00
2026-08-15 11:49:05 -06:00
```text
/content/page.md authoritative source
/public/page/index.html generated human publication
/public/data/open/pages/page/ generated semantic artifacts
```
2026-05-06 15:36:59 -06:00
2026-08-15 11:49:05 -06:00
#### 2. Add document structure
2026-05-06 15:36:59 -06:00
2026-10-18 09:23:43 -06:00
For audio/video, the original recording plus TXT/VTT is the source set. Use a metadata interview, timed cue references, conceptual chunks, cited Q&A, and explicit draft → review → final approval. Preserve unknown metadata and original files; publication and embeddings are separate later decisions. See [media structuring](media-structuring.md) and [Structured Media Builder](https://projects.eddiesoehnel.com/adminprojects/structured-media-builder-OPEN) for the media-specific route.
2026-08-15 11:49:05 -06:00
Use descriptive headings, a stable document identifier, lightweight front matter, and explicit chunk boundaries where retrieval benefits. A chunk is a conceptual unit, not merely a fixed number of tokens.
2026-05-06 15:36:59 -06:00
2026-08-15 11:49:05 -06:00
```html
<!-- CHUNK id="k:why-findability" -->
```
2026-05-07 15:43:51 -06:00
2026-08-15 11:49:05 -06:00
Preserve heading paths and narrative order. They provide structural context, breadcrumb semantics, retrieval weighting, and support for later graph construction.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
For simple content, front matter and chunk markers may be enough. When multiple agents, authors, ingestion pipelines, distributed systems, synchronization, re-chunking, graph merges, or cross-corpus references appear, agents should request IDs from an authoritative registry or service rather than inventing them independently.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
### Phase B — Materialize Semantic Artifacts
2026-05-07 15:43:51 -06:00
2026-08-15 11:49:05 -06:00
#### 3. Generate chunks
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
Generate a compact `chunks.json` or equivalent artifact containing only fields that improve retrieval, continuity, rights handling, provenance, or later extensibility. Useful fields include:
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
- document ID and stable chunk ID;
- heading path and order;
- title, summary, and content;
- lightly used tags or concepts;
- canonical source URL;
- license and usage guidance;
- meaningful version, timestamps, and hashes when the project is mature enough;
- lineage fields when a chunk supersedes or derives from another resource.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
Avoid speculative trust scores, relationships, provenance claims, and taxonomies that have no evidence or operational use.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
#### 4. Generate questions, answers, and next actions
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
Generate `qa.json` or equivalent material that represents the questions an agent or user may actually ask. Answers can reference multiple knowledge and chunk IDs for synthesis and multi-hop reasoning.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
Where useful, include tools, processes, workflows, prerequisites, limitations, and practical next steps. This turns the reasoning layer into an action layer without mixing executable permissions into content.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
#### 5. Add a document-level semantic summary only when it is unique
2026-05-07 15:43:51 -06:00
2026-08-15 11:49:05 -06:00
A `semantic-summary.json` can aggregate document purpose, audience, major claims, resource relationships, and retrieval guidance. Do not create it if it merely repeats chunks, front matter, or `ai-index.json`.
2026-05-07 15:43:51 -06:00
2026-08-15 11:49:05 -06:00
### Phase C — Render Human Pages and Connect Their AI Representations
2026-05-07 15:43:51 -06:00
2026-08-15 11:49:05 -06:00
#### 6. Render HTML and JSON-LD
2026-05-07 15:43:51 -06:00
2026-08-15 11:49:05 -06:00
For websites, render HTML from reviewed source and include appropriate Schema.org JSON-LD. In the HTML `<head>`, add canonical links and `rel="alternate"` links to the page's semantic artifacts.
2026-05-07 15:43:51 -06:00
2026-08-15 11:49:05 -06:00
The HTML page, chunks, Q&A, and index entry should share canonical identity and compatible rights metadata. The current website-builder implementation generates these links and JSON-LD through a shared Hugo partial instead of hand-authoring each page.
2026-05-07 15:43:51 -06:00
2026-08-15 11:49:05 -06:00
### Phase D — Build Discovery
2026-05-07 15:43:51 -06:00
2026-08-15 11:49:05 -06:00
#### 7. Publish complementary discovery artifacts
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
No single file should carry every responsibility.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
| Artifact | Primary question it answers |
| --- | --- |
| HTML + JSON-LD | What is this page for humans and general web systems? |
| `sitemap.xml` | Which public URLs should crawlers visit, and when did their meaning last change? |
| `robots.txt` | What may automated crawlers access? |
| `llms.txt` | How should an AI approach and retrieve this site? |
| `ai-index.json` | What content exists now, why is it relevant, and where are its semantic artifacts? |
| `.well-known/ai-catalog.json` | Which public agent-usable resources, tools, or interfaces are advertised? |
2026-10-11 17:00:46 -06:00
| `.well-known/poppy.json` | How can a personal agent connect to this business? Emerging Personal Agent Protocol draft 0.1; see [`poppy.md`](poppy.md) |
2026-08-15 11:49:05 -06:00
| `.well-known/agent-card.json` | What agent-facing capabilities and endpoints does this system expose? |
| `agents.md` | What operating guidance, boundaries, and retrieval order should agents follow? |
| `skills.md` | Which skills, scripts, or workflows are available and when should they be used? |
| `change-index.json` | Which reviewed material changes happened, and why? |
| `changes.atom` | How can consumers subscribe to chronological change events? |
| `repository.json` | What is this repository, what does it contain, and how should it be used? |
| `content-index.json` | Which individual documents exist inside a content-heavy repository? |
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
Treat newer or ecosystem-specific formats as evaluated additions, not assumed standards. Confirm current specifications before committing to names or contracts.
2026-05-05 14:32:27 -06:00
2026-10-11 17:00:46 -06:00
Poppy is an optional business-access addition to the discovery and serving layers. Use ordinary website discovery first; add session-capable interfaces only after their runtime is implemented and verified. See [`poppy.md`](poppy.md) for the current contract and adoption workflow.
2026-08-15 11:49:05 -06:00
#### 8. Scale `ai-index.json` as an index of indexes
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
For a small corpus, one index may list every resource. As the corpus grows:
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
```text
/ai-index.json lightweight root router
/data/open/indexes/community.json section index
/data/open/indexes/research.json section index
/data/open/pages/<slug>/chunks.json resource detail
/data/open/pages/<slug>/qa.json resource reasoning layer
```
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
The root index should remain fast and decision-enabling. It should advertise current resources and route retrieval, not duplicate the full CIS envelope or every chunk.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
### Phase E — Make Repositories AI-Findable
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
#### 9. Give each repository a control surface
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
An AI-ready repository should expose predictable human and machine entry points. Select the smallest repository profile that fits, then consider:
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
- `README.md` — purpose, users, workflow, and human entry point;
- `AUTHOR.md` — verified authorship, publisher, maintainer, and attribution;
- `repository-variables.json` — reusable verified identity, rights, and publication facts;
- `repository.json` — authoritative machine-readable manifest;
- `content-index.json` — file-level catalog for content-heavy repositories;
- `AGENTS.md` — repository-scoped AI operating instructions;
- `skills.md` and `skills/` — available workflows and their triggers;
- `schemas/`, `templates/`, `examples/`, `scripts/`, and `tests/` when they have a real purpose;
- `UPDATES.md` for proposals and `CHANGELOG.md` for completed versioned work;
- `VERSION`, `CITATION.cff`, `SECURITY.md`, `CONTRIBUTING.md`, and `LICENSE` where appropriate.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
Keep identity aligned across manifests, author records, citation metadata, version files, licenses, and canonical URLs. Validate declared files, relative links, stable identifiers, and schema contracts deterministically.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
#### 10. Build the website-to-repository bridge
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
When a website and its implementation repositories live on different domains, create explicit paths in both directions:
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
1. Each repository publishes its own `repository.json` and canonical repository URL.
2. Repository manifests relate the repository to its website, documentation, data, APIs, feeds, and other repositories.
3. The website publishes a human-facing repository or Forge overview page.
4. The website publishes a machine-readable repository inventory generated from the Git host API when practical.
5. Inventory records include repository, API, clone, and raw `repository.json` URLs, plus status, visibility, topics, license, timestamps, commit/release evidence, and verification status.
6. Global HTML discovery links advertise the website AI index, change index, feed, sitemap, and relevant repository inventory.
7. `agents.md`, agent-use guidance, the repository overview, and the Git host API provide deeper routes.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
Do not make each repository edit the website's `ai-index.json`, and do not manually duplicate every repository in the site index. Each domain owns its source. A deterministic website-side catalog materializer aggregates public repository facts.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
Repository activity is evidence of activity, not proof of a semantic change or release. Keep API-derived current state separate from reviewed change events.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
### Phase F — Add Temporal Findability
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
#### 11. Separate current state from event history
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
Use distinct, related artifacts:
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
- a resource registry describes resources that exist now or are intentionally retired;
- `ai-index.json` presents the current public retrieval state;
- `change-index.json` is an append-only, reviewed semantic event ledger;
- `changes.atom` is generated from the same event ledger;
- Git and Git-host APIs provide source, commit, and release evidence.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
Do not reconstruct semantic history from filesystem modification times or commits alone. A deploy, formatting change, or build may not change meaning.
2026-05-07 15:43:51 -06:00
2026-08-15 11:49:05 -06:00
#### 12. Track meaningful resource and chunk changes
2026-05-07 15:43:51 -06:00
2026-08-15 11:49:05 -06:00
For each resource, track as justified:
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
- stable ID, status, and version;
- first declaration, creation, content update, and metadata update timestamps;
- exact UTC timestamp plus a declared display timezone;
- current and previous content hashes;
- source repository, path, branch, and commit;
- whether the working tree was modified during generation;
- superseded or derived-from relationships;
- tombstones for moved, archived, or deleted resources.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
For chunks, preserve the same stable `chunk_id` while the conceptual unit remains the same. Increment the chunk version and update the hash only when content changes. Record the superseded version where useful.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
Use semantic registry timestamps for sitemap `<lastmod>`, not deployment time. This lets agents distinguish actual freshness from rebuild noise.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
### Phase G — Add Identity, Lineage, and Trust
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
#### 13. Use a layered identity model
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
The CIS model distinguishes:
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
- `knowledge_id` — stable identity of the idea or conceptual unit;
- `did_chunk` — identity of a particular version;
- `cid_chunk` — content-derived hash or content identifier.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
The rule is: identity is authored or authoritatively assigned, versions are computed, and runtime state is managed.
2026-05-07 15:43:51 -06:00
2026-08-15 11:49:05 -06:00
For minor edits, preserve the knowledge ID and create a new version. For splits and merges, create appropriate new knowledge IDs and explicit lineage. For a replacement document, deprecate the old resource and link the new one; do not silently erase the old identity.
2026-05-07 15:43:51 -06:00
2026-08-15 11:49:05 -06:00
Semantic similarity may help reviewers assess continuity, but thresholds are heuristics, not an autonomous source of truth. Trust should transfer only to the degree that meaning and evidence persist.
2026-05-07 15:43:51 -06:00
2026-08-15 11:49:05 -06:00
### Phase H — Add Policy and Controlled Delivery
2026-05-07 15:43:51 -06:00
2026-08-15 11:49:05 -06:00
#### 14. Keep the control plane separate from canonical content
2026-05-07 15:43:51 -06:00
2026-08-15 11:49:05 -06:00
The control plane manages state such as:
2026-05-07 15:43:51 -06:00
2026-08-15 11:49:05 -06:00
- active, deprecated, or superseded status;
- access and permissions;
- pricing and entitlements;
- usage, delivery, payment, and outcome evidence;
- lineage and governance decisions.
2026-05-07 15:43:51 -06:00
2026-08-15 11:49:05 -06:00
It should not become the canonical store for content, identity, or authored structure.
2026-05-07 15:43:51 -06:00
2026-08-15 11:49:05 -06:00
```text
chunks.base.json + control-plane state -> chunks.resolved.json
```
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
`chunks.base.json` remains the stable semantic publication. `chunks.resolved.json` is a computed view, generated at build time or request time. Dynamic resolution is preferable when permissions or prices change frequently.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
Open and controlled routes can coexist:
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
```text
/data/open/pages/<slug>/chunks.json public content or preview
/api/chunks/<slug> authenticated, entitled, or paid content
```
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
Possible economic mechanisms include membership credentials, partner entitlements, accountless per-resource payment such as x402 or MPP, and event records for request, payment, and delivery. These are optional serving and policy concerns, not prerequisites for semantic structure.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
### Phase I — Enrich, Graph, and Retrieve
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
#### 15. Grow ontology in layers
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
Ontology should mature with the corpus:
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
1. **Structural ontology** — document, section, chunk, claim, answer, entity.
2. **Domain ontology** — project-specific types such as product, service, process, regulation, person, organization, location, or tool.
3. **Interpretive ontology** — relationships such as `supports`, `contradicts`, `depends_on`, `solves`, `applies_to`, `caused_by`, `prerequisite_for`, and `replacement_for`.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
Record provenance on edges: manual, front matter, deterministic extraction, model inference, or another source. Reconcile stale edges whenever content changes, retain unresolved references as enrichment triggers, and prefer soft deprecation and recovery over deletion.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
Useful later-stage patterns include:
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
- automatic link extraction after content writes;
- front-matter-to-edge mapping as a lightweight ontology;
- backlink and reputation signals in ranking;
- hybrid retrieval using keyword, vector, and graph signals with ranking fusion;
- background reinterpretation and enrichment jobs;
- compiled-current-truth views separated from timeline/event history.
2026-08-08 16:20:19 -06:00
2026-08-15 11:49:05 -06:00
#### 16. Add embeddings after structure and provenance
2026-08-08 16:20:19 -06:00
2026-08-15 11:49:05 -06:00
Vectorization improves semantic retrieval but does not replace stable identity, headings, metadata, provenance, keyword search, or graph edges. Embed reviewed semantic units, retain the source and embedding-model version, and rebuild selectively when content or models change.
2026-08-08 16:20:19 -06:00
2026-08-15 11:49:05 -06:00
## Validation and Operating Rules
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
Before publication or deployment:
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
1. Confirm the authoritative source and generated-output boundaries.
2. Parse and schema-validate JSON, XML, and feeds.
3. Verify stable IDs across source, chunks, Q&A, indexes, and change records.
4. Verify canonical URLs and all website-to-repository links in both directions.
5. Verify every declared path exists and every generated artifact maps to reviewed source.
6. Confirm meaningful timestamps, versions, hashes, commits, and tombstones.
7. Check that private repositories, credentials, internal infrastructure, logs, and unpublished data are not exposed.
8. Validate HTML canonical, alternate, JSON-LD, AI-index, feed, and sitemap links.
9. Run repository-native tests, deterministic validators, and credential/leak scans.
10. Have a human review meaning, rights, policy, pricing, and publication scope.
11. Use a second independent review pass for high-risk or large materializations, especially identifier and source-to-output consistency.
12. Review the complete diff before publishing.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
Never store credentials in public content or repository discovery artifacts. Public catalogs must exclude private repositories and sensitive operational facts.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
## Reference Implementations
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
These repositories contain the detailed, evolving implementations behind this guide:
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
| Repository or site | What it demonstrates | Link |
| --- | --- | --- |
| Structured Website Builder | Markdown-to-Hugo workflow, structured chunks and Q&A, HTML alternate links, JSON-LD, AI index generation, discovery files, schemas, skills, and validation | [Repository](https://projects.eddiesoehnel.com/adminprojects/structured-website-builder-OPEN) |
2026-10-18 09:23:43 -06:00
| Structured Media Builder | Recording + TXT/VTT intake, metadata interview, timed chunks, cited Q&A, chapters, local draft/review/final approval, checksums, keyword retrieval, and optional public export; API/MCP services and embeddings remain separate integrations | [Repository](https://projects.eddiesoehnel.com/adminprojects/structured-media-builder-OPEN) · [reference model and tool routes](media-structuring.md) |
2026-08-15 11:49:05 -06:00
| AI-Ready Repository Template | Repository profiles, `repository.json`, `repository-variables.json`, `content-index.json`, AI instructions, skills, schemas, deterministic validation, governance, and lifecycle conventions | [Repository](https://projects.eddiesoehnel.com/adminprojects/repo-template) |
| PaddleNET website and Forge bridge | Cross-domain website/repository discovery, repository inventory, temporal resource registry, reviewed change ledger, Atom feed, tombstones, source/commit provenance, and semantic timestamps | [Published website](https://paddlenet.earth/) · [public Forge](https://forge.paddlenet.earth/) |
| Master findability framework | Broader SEO, GEO, discovery, distribution, and submission context | [Repository](https://projects.eddiesoehnel.com/adminprojects/seo-geo) |
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
Use those repositories for executable details. Keep this README focused on the durable model, the decision framework, and lessons that should carry across implementations.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
## Research and Future Work
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
The following areas should continue to be evaluated and promoted into the main process only when specifications and working implementations justify them:
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
- current status and interoperability of emerging AI catalogs and agent-discovery conventions;
- MCP for exposing content and tools across a service boundary;
- WebMCP or equivalent page-scoped agent capabilities;
- authoritative distributed ID services and cross-corpus identity resolution;
- graph databases, edge reconciliation, and trust propagation;
- automated semantic continuity review for splits, merges, and revisions;
- paid previews, x402, MPP, credentials, entitlements, and outcome-based trust;
- privacy-preserving structure for internal knowledge assembled from files, NAS data, email, browser history, and other personal sources;
- synchronization and policy boundaries between the private internal brain, processing environments, public servers, and partner systems.
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
The central design question remains: does an artifact add a unique, operationally useful layer, or does it merely duplicate information already available elsewhere?
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
## High-Level Control Model
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
```text
ai-index.json
= public content discovery and routing
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
repository.json + repository inventory
= implementation discovery and cross-domain routing
2026-05-05 14:32:27 -06:00
2026-08-15 11:49:05 -06:00
CIS metadata
= identity, provenance, meaning, lineage, and optional policy descriptors
2026-07-14 10:15:24 -06:00
2026-08-15 11:49:05 -06:00
resource registry + change index
= current lifecycle state plus reviewed semantic history
2026-07-14 10:15:24 -06:00
2026-08-15 11:49:05 -06:00
chunk API or static semantic artifacts
= delivery
2026-07-14 10:15:24 -06:00
2026-08-15 11:49:05 -06:00
credentials, entitlements, x402, or MPP
= optional access and payment
2026-07-14 10:15:24 -06:00
2026-08-15 11:49:05 -06:00
event store
= request, payment, delivery, usage, and outcome evidence
2026-07-14 10:15:24 -06:00
2026-08-15 11:49:05 -06:00
control plane
= aggregated permissions, policy, pricing, usage, and governance state
```
2026-07-14 10:15:24 -06:00
2026-08-15 11:49:05 -06:00
## Repository Information
2026-07-14 10:15:24 -06:00
2026-08-15 11:49:05 -06:00
- **Profile:** Documentation/guide
2026-10-18 09:23:43 -06:00
- **Version:** [`0.3.0`](VERSION)
2026-08-15 11:49:05 -06:00
- **Author, publisher, and maintainer:** [Eddie Soehnel](AUTHOR.md)
- **Canonical repository:** [ai-knowledge-structure-OPEN](https://projects.eddiesoehnel.com/adminprojects/ai-knowledge-structure-OPEN)
- **License:** [MIT](LICENSE)
- **Contributions:** See [CONTRIBUTING.md](CONTRIBUTING.md)
- **Security and privacy:** See [SECURITY.md](SECURITY.md)
2026-07-14 10:15:24 -06:00
2026-08-15 11:49:05 -06:00
The repository is an evolving synthesis of implemented patterns and active research. External specifications and ecosystem conventions can change; verify current contracts before treating an emerging discovery format as stable.