This repository is the master roadmap, guide, and reference for making knowledge discoverable, understandable, retrievable, governable, and reusable by both people and AI agents.
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.
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.
Start with this README for the complete roadmap and decision framework. Retrieve the supporting documents only when the task needs their greater depth:
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.
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).
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.
A project may use different levels for different resources. Record the choice explicitly rather than implying that every planned layer is already implemented.
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.
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.
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.
Preserve heading paths and narrative order. They provide structural context, breadcrumb semantics, retrieval weighting, and support for later graph construction.
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.
Generate a compact `chunks.json` or equivalent artifact containing only fields that improve retrieval, continuity, rights handling, provenance, or later extensibility. Useful fields include:
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.
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.
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`.
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.
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.
| `.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) |
Treat newer or ecosystem-specific formats as evaluated additions, not assumed standards. Confirm current specifications before committing to names or contracts.
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.
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.
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.
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.
Repository activity is evidence of activity, not proof of a semantic change or release. Keep API-derived current state separate from reviewed change events.
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.
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.
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.
`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.
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.
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`.
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.
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.
Never store credentials in public content or repository discovery artifacts. Public catalogs must exclude private repositories and sensitive operational facts.
Use those repositories for executable details. Keep this README focused on the durable model, the decision framework, and lessons that should carry across implementations.
The following areas should continue to be evaluated and promoted into the main process only when specifications and working implementations justify them:
The central design question remains: does an artifact add a unique, operationally useful layer, or does it merely duplicate information already available elsewhere?
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.