added
This commit is contained in:
1 parent
ec91dde6e8
commit
08c48d268c
5 files changed
+1563
-2
No files matched your search
@@ -1,6 +1,6 @@
|
||||
# Overview
|
||||
|
||||
This is an AI-native, versioned knowledge system with structured discovery, reasoning layers, and an economic access layer. This a is the process that would be used to structure content for AI to use.
|
||||
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.
|
||||
|
||||
It has four fundamental properties:
|
||||
|
||||
@@ -54,6 +54,41 @@ This is a reasoning layer for AI to parse the document. Or, the author could ju
|
||||
|
||||
Identity of the chunkcs are created here.
|
||||
|
||||
This step is converting the markdown itself into:
|
||||
|
||||
- authored knowledge graph structure
|
||||
- semantic retrieval structure
|
||||
- reasoning topology
|
||||
|
||||
not just content.
|
||||
|
||||
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:
|
||||
a py UUID service
|
||||
a database
|
||||
an API
|
||||
a registry
|
||||
a microservice
|
||||
|
||||
---
|
||||
|
||||
## Phase B — Structuring + Enrichment
|
||||
@@ -71,7 +106,23 @@ 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.
|
||||
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.
|
||||
|
||||
Use:
|
||||
|
||||
knowledge_ids: []
|
||||
chunk_ids: []
|
||||
|
||||
as arrays for:
|
||||
- multi-hop reasoning;
|
||||
- cross-chunk answers;
|
||||
- synthesis answers
|
||||
|
||||
|
||||
|
||||
### Step 4: Q&A generation and Tools To Complete Tasks, Generation
|
||||
|
||||
|
||||
@@ -0,0 +1,569 @@
|
||||
# Skill: Author Content Structuring
|
||||
|
||||
# Overview
|
||||
|
||||
This skill takes authored or original content and adds lightweight semantic structure to prepare it for additional enrichment and processing later.
|
||||
|
||||
It converts human-authored content into an AI-native semantic publishing structure.
|
||||
|
||||
The goal is not to rewrite content.
|
||||
|
||||
The goal is to:
|
||||
|
||||
- preserve the author’s original meaning and voice;
|
||||
- enrich the content with semantic structure;
|
||||
- create stable reasoning boundaries for AI systems;
|
||||
- prepare content for downstream chunk extraction, JSON generation, embeddings, retrieval, and knowledge graph operations.
|
||||
|
||||
This process works for:
|
||||
|
||||
- websites;
|
||||
- knowledgebases;
|
||||
- white papers;
|
||||
- documentation;
|
||||
- reports;
|
||||
- emails;
|
||||
- transcripts;
|
||||
- research libraries;
|
||||
- educational systems;
|
||||
- AI retrieval systems.
|
||||
|
||||
This skill creates the initial authored knowledge graph structure.
|
||||
|
||||
---
|
||||
|
||||
# Core Principles
|
||||
|
||||
## 1. Meaning Over Formatting
|
||||
|
||||
Chunk boundaries are semantic boundaries, not formatting boundaries.
|
||||
|
||||
Do NOT split content simply because:
|
||||
|
||||
- a heading exists;
|
||||
- a paragraph is short;
|
||||
- a section visually changes.
|
||||
|
||||
Instead, split content where:
|
||||
|
||||
- reasoning shifts;
|
||||
- concepts change;
|
||||
- retrieval value changes;
|
||||
- independent understanding becomes possible.
|
||||
|
||||
---
|
||||
|
||||
## 2. Preserve Original Content
|
||||
|
||||
Do NOT:
|
||||
|
||||
- rewrite;
|
||||
- summarize;
|
||||
- shorten;
|
||||
- paraphrase;
|
||||
- optimize for marketing;
|
||||
- alter tone.
|
||||
|
||||
Only:
|
||||
|
||||
- structure;
|
||||
- annotate;
|
||||
- enrich.
|
||||
|
||||
The authored content remains the canonical source.
|
||||
|
||||
---
|
||||
|
||||
## 3. IDs
|
||||
|
||||
All semantic chunk boundaries must use the following structure:
|
||||
|
||||
```html
|
||||
<!-- CHUNK START
|
||||
chunk_id="chk-550e8400-e29b-41d4-a716-446655440000"
|
||||
knowledge_id="kid-7c9e6679-7425-40de-944b-e07fc1f90ae7"
|
||||
|
||||
chunk_label="industriesig-overview"
|
||||
knowledge_label="industriesig-findability"
|
||||
-->
|
||||
|
||||
[content]
|
||||
|
||||
<!-- CHUNK END -->
|
||||
```
|
||||
|
||||
### Identity Model
|
||||
|
||||
This system intentionally separates:
|
||||
|
||||
- infrastructure identity;
|
||||
- semantic meaning;
|
||||
- human readability.
|
||||
|
||||
This distinction is critical for:
|
||||
|
||||
- long-term knowledge graph stability;
|
||||
- semantic evolution;
|
||||
- version lineage;
|
||||
- trust inheritance;
|
||||
- embeddings;
|
||||
- retrieval systems;
|
||||
- future CIS integration.
|
||||
|
||||
---
|
||||
|
||||
### UUID/DID-Based IDs
|
||||
|
||||
The following fields are permanent infrastructure identities:
|
||||
|
||||
- `chunk_id`
|
||||
- `knowledge_id`
|
||||
|
||||
These should use UUID/DID-style identifiers.
|
||||
|
||||
Examples:
|
||||
|
||||
```text
|
||||
chunk_id="chk-550e8400-e29b-41d4-a716-446655440000"
|
||||
knowledge_id="kid-7c9e6679-7425-40de-944b-e07fc1f90ae7"
|
||||
```
|
||||
|
||||
These IDs are:
|
||||
|
||||
- stable;
|
||||
- durable;
|
||||
- opaque;
|
||||
- non-semantic;
|
||||
- location-independent;
|
||||
- intended for long-term graph continuity.
|
||||
|
||||
These identifiers should NOT encode meaning directly.
|
||||
|
||||
They exist to preserve stable references even if:
|
||||
|
||||
- chunk structures change;
|
||||
- wording changes;
|
||||
- ontologies evolve;
|
||||
- semantic labels are renamed;
|
||||
- documents are re-chunked later.
|
||||
|
||||
#### UUID Generation
|
||||
|
||||
The AI should generate valid UUIDv4 identifiers for:
|
||||
|
||||
- hunk_id
|
||||
- knowledge_id
|
||||
|
||||
Example:
|
||||
|
||||
chunk_id="chk-550e8400-e29b-41d4-a716-446655440000"
|
||||
knowledge_id="kid-7c9e6679-7425-40de-944b-e07fc1f90ae7"
|
||||
|
||||
---
|
||||
|
||||
### Human-Readable Semantic Labels
|
||||
|
||||
The following fields exist for readability and semantic interpretation:
|
||||
|
||||
- `chunk_label`
|
||||
- `knowledge_label`
|
||||
|
||||
Examples:
|
||||
|
||||
```text
|
||||
chunk_label="industriesig-overview"
|
||||
knowledge_label="industriesig-findability"
|
||||
```
|
||||
|
||||
These labels help:
|
||||
|
||||
- authors;
|
||||
- editors;
|
||||
- debugging;
|
||||
- ontology mapping;
|
||||
- retrieval interpretation;
|
||||
- AI reasoning.
|
||||
|
||||
These labels are semantic and human-readable.
|
||||
|
||||
Unlike UUID-based IDs, semantic labels MAY evolve over time if naming conventions or ontology structures improve.
|
||||
|
||||
---
|
||||
|
||||
### Conceptual Distinction
|
||||
|
||||
#### `chunk_id`
|
||||
|
||||
Represents:
|
||||
|
||||
- a specific chunk instance;
|
||||
- a particular structural segmentation of content.
|
||||
|
||||
Chunk IDs may change later if:
|
||||
|
||||
- chunk boundaries change;
|
||||
- content is re-segmented;
|
||||
- structural chunking improves.
|
||||
|
||||
---
|
||||
|
||||
#### `knowledge_id`
|
||||
|
||||
Represents:
|
||||
|
||||
- the enduring underlying concept or meaning.
|
||||
|
||||
Knowledge IDs should persist across:
|
||||
|
||||
- re-chunking;
|
||||
- restructuring;
|
||||
- minor edits;
|
||||
- semantic enrichment.
|
||||
|
||||
Multiple chunks MAY reference the same `knowledge_id`.
|
||||
|
||||
---
|
||||
|
||||
### Future CIS Compatibility
|
||||
|
||||
This identity structure is intentionally designed to align with future CIS envelope architecture, including:
|
||||
|
||||
- DID_chunk;
|
||||
- CID_chunk;
|
||||
- version lineage;
|
||||
- semantic inheritance;
|
||||
- trust migration;
|
||||
- graph relationships;
|
||||
- provenance systems;
|
||||
- decentralized resolution;
|
||||
- economic access systems.
|
||||
|
||||
This skill creates the initial authored identity layer that later systems will build upon.
|
||||
|
||||
---
|
||||
|
||||
### Important Constraint
|
||||
|
||||
At this stage:
|
||||
|
||||
- IDs may initially be generated directly by the AI structuring process;
|
||||
- future systems may replace this with authoritative ID generation services or registries.
|
||||
|
||||
The goal in this stage is to establish stable identity early in the publishing pipeline so downstream systems inherit continuity automatically.
|
||||
|
||||
---
|
||||
|
||||
## 4. Structure Content For AI Retrieval
|
||||
|
||||
The output should improve:
|
||||
|
||||
- AI parsing;
|
||||
- semantic retrieval;
|
||||
- embeddings;
|
||||
- reasoning;
|
||||
- future knowledge graph construction;
|
||||
- downstream chunk extraction.
|
||||
|
||||
---
|
||||
|
||||
# Output Requirements
|
||||
|
||||
The skill outputs a NEW enriched markdown document.
|
||||
|
||||
The original content remains intact but is enriched with:
|
||||
|
||||
- frontmatter;
|
||||
- semantic chunk boundaries;
|
||||
- chunk IDs;
|
||||
- knowledge IDs.
|
||||
|
||||
The file may overwrite the original `.md` file because no original authored content is removed.
|
||||
|
||||
---
|
||||
|
||||
# Output Structure
|
||||
|
||||
## Step 1 — Add Frontmatter
|
||||
|
||||
Insert YAML frontmatter at the top of the document.
|
||||
|
||||
Example:
|
||||
|
||||
```yaml
|
||||
---
|
||||
title: "iNDX Overview"
|
||||
date: 2026-05-06
|
||||
slug: "indx-overview"
|
||||
summary: "Overview of the iNDX platform and its interconnected systems."
|
||||
tags:
|
||||
- ai
|
||||
- indexing
|
||||
- discovery
|
||||
- findability
|
||||
author: "Eddie Soehnel"
|
||||
document_type: "overview"
|
||||
status: "published"
|
||||
---
|
||||
```
|
||||
|
||||
### Frontmatter Rules
|
||||
|
||||
#### `title`
|
||||
|
||||
Human-readable document title.
|
||||
|
||||
---
|
||||
|
||||
#### `date`
|
||||
|
||||
Use:
|
||||
|
||||
- publication date if known;
|
||||
- otherwise current date.
|
||||
|
||||
Format:
|
||||
|
||||
```text
|
||||
YYYY-MM-DD
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
#### `slug`
|
||||
|
||||
Lowercase kebab-case identifier.
|
||||
|
||||
Example:
|
||||
|
||||
```text
|
||||
indx-overview
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
#### `summary`
|
||||
|
||||
1–2 sentence semantic summary describing:
|
||||
|
||||
- what the document is;
|
||||
- what it helps explain.
|
||||
|
||||
Do NOT generate marketing copy.
|
||||
|
||||
---
|
||||
|
||||
#### `tags`
|
||||
|
||||
Generate semantic tags for:
|
||||
|
||||
- concepts;
|
||||
- industries;
|
||||
- technologies;
|
||||
- systems;
|
||||
- domains.
|
||||
|
||||
Avoid excessive tags.
|
||||
|
||||
Usually:
|
||||
|
||||
- 3–10 tags.
|
||||
|
||||
---
|
||||
|
||||
#### `author`
|
||||
|
||||
Use provided author if known.
|
||||
|
||||
---
|
||||
|
||||
#### `document_type`
|
||||
|
||||
Examples:
|
||||
|
||||
- overview
|
||||
- article
|
||||
- whitepaper
|
||||
- email
|
||||
- transcript
|
||||
- faq
|
||||
- documentation
|
||||
- research
|
||||
|
||||
---
|
||||
|
||||
#### `status`
|
||||
|
||||
Examples:
|
||||
|
||||
- draft
|
||||
- published
|
||||
- archived
|
||||
|
||||
Default:
|
||||
|
||||
```text
|
||||
published
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Step 2 — Insert Semantic Chunk Boundaries
|
||||
|
||||
Insert chunk boundaries at semantic transitions.
|
||||
|
||||
Use BOTH start and end markers.
|
||||
|
||||
Format:
|
||||
|
||||
```html
|
||||
<!-- CHUNK START
|
||||
id="chunk:industriesig-overview"
|
||||
knowledge="k:industriesig-findability"
|
||||
-->
|
||||
|
||||
[content]
|
||||
|
||||
<!-- CHUNK END -->
|
||||
```
|
||||
|
||||
### Chunk Boundary Rules
|
||||
|
||||
A chunk should represent:
|
||||
|
||||
- a coherent reasoning unit;
|
||||
- a retrievable concept;
|
||||
- an independently understandable idea;
|
||||
- a stable semantic block.
|
||||
|
||||
Avoid chunks that are:
|
||||
|
||||
- too small;
|
||||
- too fragmented;
|
||||
- purely visual;
|
||||
- dependent on surrounding chunks for meaning.
|
||||
|
||||
Ideal chunk size:
|
||||
|
||||
- 1–8 paragraphs;
|
||||
- sometimes larger if conceptually unified.
|
||||
|
||||
---
|
||||
|
||||
## Chunking Guidance
|
||||
|
||||
### GOOD Chunk Boundary
|
||||
|
||||
A reasoning shift occurs:
|
||||
|
||||
- macroeconomic framing → platform architecture;
|
||||
- platform overview → IndustrySIG;
|
||||
- IndustrySIG → NetworkSIG.
|
||||
|
||||
Each can stand independently for retrieval.
|
||||
|
||||
---
|
||||
|
||||
### BAD Chunk Boundary
|
||||
|
||||
Do NOT split merely because:
|
||||
|
||||
- a bullet list starts;
|
||||
- a paragraph is long;
|
||||
- a heading exists without semantic change.
|
||||
|
||||
---
|
||||
|
||||
# Handling Headings
|
||||
|
||||
Preserve original markdown headings.
|
||||
|
||||
Do NOT:
|
||||
|
||||
- rewrite;
|
||||
- renumber;
|
||||
- flatten hierarchy.
|
||||
|
||||
Headings are human structure.
|
||||
|
||||
Chunks are semantic structure.
|
||||
|
||||
These are NOT the same thing.
|
||||
|
||||
---
|
||||
|
||||
# Links
|
||||
|
||||
Preserve all original links exactly.
|
||||
|
||||
Do NOT:
|
||||
|
||||
- shorten;
|
||||
- rewrite;
|
||||
- replace;
|
||||
- remove tracking parameters unless explicitly instructed.
|
||||
|
||||
---
|
||||
|
||||
# HTML Preservation
|
||||
|
||||
Preserve inline HTML when present.
|
||||
|
||||
Examples:
|
||||
|
||||
- forms;
|
||||
- underline tags;
|
||||
- embedded snippets.
|
||||
|
||||
Do NOT sanitize unless instructed.
|
||||
|
||||
---
|
||||
|
||||
# Future Compatibility
|
||||
|
||||
This structure is intentionally designed to support future systems including:
|
||||
|
||||
- chunk extraction;
|
||||
- vectorization;
|
||||
- embeddings;
|
||||
- semantic search;
|
||||
- retrieval augmented generation (RAG);
|
||||
- trust systems;
|
||||
- CIS envelopes;
|
||||
- knowledge graphs;
|
||||
- AI agents;
|
||||
- economic access layers;
|
||||
- AI-native publishing systems.
|
||||
|
||||
---
|
||||
|
||||
# Important Constraint
|
||||
|
||||
This skill creates ONLY the authored semantic structure layer.
|
||||
|
||||
This skill does NOT:
|
||||
|
||||
- generate embeddings;
|
||||
- create vector databases;
|
||||
- generate JSON outputs;
|
||||
- generate Q&A datasets;
|
||||
- create CIS envelopes;
|
||||
- assign trust scores;
|
||||
- apply policy overlays;
|
||||
- implement economic access systems.
|
||||
|
||||
Those occur later in the pipeline.
|
||||
|
||||
---
|
||||
|
||||
# Final Output Requirement
|
||||
|
||||
Output a COMPLETE enriched markdown document.
|
||||
|
||||
Do NOT output:
|
||||
|
||||
- partial fragments;
|
||||
- explanations;
|
||||
- summaries;
|
||||
- commentary.
|
||||
|
||||
The output should be production-ready markdown that can directly replace the original source file.
|
||||
@@ -50,6 +50,40 @@ When you reprocess chunks for iterative enrichment to discover entities/keywords
|
||||
|
||||
## I. Identity & Resolution (DiD)
|
||||
|
||||
Use:
|
||||
|
||||
knowledge_ids: []
|
||||
chunk_ids: []
|
||||
|
||||
as arrays for:
|
||||
- multi-hop reasoning;
|
||||
- cross-chunk answers;
|
||||
- synthesis answers
|
||||
|
||||
Standardization:
|
||||
|
||||
I would standardize ALL future semantic object IDs like this:
|
||||
|
||||
Object Type Prefix
|
||||
chunk chk-
|
||||
knowledge kid-
|
||||
qa qa-
|
||||
document doc-
|
||||
entity ent-
|
||||
relationship rel-
|
||||
source src-
|
||||
ontology ont-
|
||||
|
||||
reserve:
|
||||
|
||||
v-
|
||||
|
||||
for future version IDs.
|
||||
|
||||
Example: v-550e8400-e29b-41d4-a716-446655440000
|
||||
|
||||
all lowercase, no underscores, no spaces, kebab-case labels.
|
||||
|
||||
1. **Canonical Chunk Identity (DID\_chunk)**
|
||||
|
||||
* Permanent, location-independent identifier for the chunk
|
||||
@@ -141,6 +175,45 @@ knowledge_id
|
||||
|
||||
}
|
||||
|
||||
We are using UUIDs for knowledge and chunk IDs But later, could be better as follows:
|
||||
|
||||
Do NOT generate random UUIDs inside the LLM forever.
|
||||
|
||||
Eventually:
|
||||
|
||||
the LLM should REQUEST IDs
|
||||
from an authoritative ID service/script
|
||||
|
||||
Why?
|
||||
|
||||
Because:
|
||||
|
||||
collision prevention
|
||||
lineage tracking
|
||||
deterministic generation
|
||||
graph consistency
|
||||
distributed synchronization
|
||||
|
||||
matter.
|
||||
|
||||
So v1:
|
||||
|
||||
AI can generate UUIDs.
|
||||
|
||||
Later:
|
||||
|
||||
authoritative registry service should issue them.
|
||||
|
||||
Here are examples of the structure for ID's that are parsed in the step between author content and initial structuring (see author-content-structuring-skill.md)
|
||||
|
||||
chunk_id="chk:550e8400-e29b-41d4-a716-446655440000"
|
||||
knowledge_id="kid:7c9e6679-7425-40de-944b-e07fc1f90ae7"
|
||||
|
||||
chunk_label="industriesig-overview"
|
||||
knowledge_label="industriesig-findability"
|
||||
|
||||
The knowledge label is for human readbility. This carries into the process and into the CIS envelope, so we want to add this field.
|
||||
|
||||
## II. Integrity & Versioning (CiD)
|
||||
|
||||
4. **Content Integrity (CID)**
|
||||
|
||||
@@ -0,0 +1,849 @@
|
||||
# Skill: CIS-Guided Semantic Chunk Materialization
|
||||
|
||||
## Overview
|
||||
|
||||
This skill converts semantically structured authored content into machine-readable `chunks.json` files.
|
||||
|
||||
The input content should already contain:
|
||||
|
||||
- frontmatter;
|
||||
- semantic chunk boundaries;
|
||||
- `chunk_id`;
|
||||
- `knowledge_id`;
|
||||
- `chunk_label`;
|
||||
- `knowledge_label`.
|
||||
|
||||
This skill uses the Chunk Intelligence Signature (CIS) envelope as the reference model for metadata, but it does not require every project to implement the full CIS envelope.
|
||||
|
||||
Instead, this skill helps the human operator and AI determine the appropriate level of CIS-guided metadata depth for the corpus, use case, and downstream systems.
|
||||
|
||||
The goal is to create a `chunks.json` file that is:
|
||||
|
||||
- useful now;
|
||||
- easy to inspect;
|
||||
- semantically meaningful;
|
||||
- compatible with future enrichment;
|
||||
- compatible with future CIS expansion;
|
||||
- suitable for retrieval, embeddings, knowledge graphs, QA generation, and AI agents.
|
||||
|
||||
This skill is universal and may be used for:
|
||||
|
||||
- websites;
|
||||
- knowledgebases;
|
||||
- documentation;
|
||||
- white papers;
|
||||
- reports;
|
||||
- newsletters;
|
||||
- transcripts;
|
||||
- research libraries;
|
||||
- educational systems;
|
||||
- legal archives;
|
||||
- scientific corpora;
|
||||
- AI-native publishing systems;
|
||||
- paywalled or economically gated knowledge systems.
|
||||
|
||||
---
|
||||
|
||||
# 1. CIS-Guided Semantic Materialization
|
||||
|
||||
## Purpose
|
||||
|
||||
This skill treats `chunks.json` as a selective materialization of CIS-informed metadata.
|
||||
|
||||
The CIS envelope is the broad reference model.
|
||||
|
||||
The `chunks.json` file is the practical output layer.
|
||||
|
||||
This means the chunk file should not blindly include every possible CIS field. Instead, it should include only the fields that are appropriate for the current corpus and use case.
|
||||
|
||||
## Core Principle
|
||||
|
||||
`chunks.json` is not the full CIS envelope.
|
||||
|
||||
It is a selected semantic projection of the CIS envelope.
|
||||
|
||||
For simple content, this projection may be light.
|
||||
|
||||
For high-value, high-risk, research, legal, scientific, economic, or agent-facing content, this projection may be much deeper.
|
||||
|
||||
## CIS Areas To Consider
|
||||
|
||||
When deciding which metadata to include, evaluate whether the corpus needs metadata from these CIS areas:
|
||||
|
||||
1. Identity and resolution
|
||||
2. Integrity and versioning
|
||||
3. Semantics and meaning
|
||||
4. Context and applicability
|
||||
5. Relationships and knowledge graph
|
||||
6. Provenance and pedigree
|
||||
7. Rights, permissions, and access
|
||||
8. Privacy, safety, and compliance
|
||||
9. Reputation, utility, and signals
|
||||
10. Execution and operational constraints
|
||||
11. Decision and derivative outputs
|
||||
|
||||
Not every project needs every area.
|
||||
|
||||
The human operator and AI should select the correct depth before generating the final `chunks.json`.
|
||||
|
||||
---
|
||||
|
||||
# 2. Materialization Levels
|
||||
|
||||
Before generating `chunks.json`, determine the desired materialization level.
|
||||
|
||||
The level may be selected by the human operator or recommended by the AI based on the corpus type and project goals.
|
||||
|
||||
## Level 1 — Lightweight Semantic Retrieval
|
||||
|
||||
Use for:
|
||||
|
||||
- simple static websites;
|
||||
- blogs;
|
||||
- newsletters;
|
||||
- basic public pages;
|
||||
- early prototypes;
|
||||
- small documentation sets.
|
||||
|
||||
Purpose:
|
||||
|
||||
Create clean, lightweight semantic chunks for AI retrieval and indexing without operational complexity.
|
||||
|
||||
Includes:
|
||||
|
||||
- document metadata;
|
||||
- chunk IDs;
|
||||
- knowledge IDs;
|
||||
- chunk labels;
|
||||
- knowledge labels;
|
||||
- order;
|
||||
- heading path;
|
||||
- content;
|
||||
- short summary;
|
||||
- tags.
|
||||
|
||||
Does NOT include:
|
||||
|
||||
- provenance chains;
|
||||
- trust scoring;
|
||||
- rights management;
|
||||
- economic terms;
|
||||
- ontology assertions;
|
||||
- semantic lineage;
|
||||
- privacy constraints;
|
||||
- reputation signals.
|
||||
|
||||
Recommended for the initial iNDX static website.
|
||||
|
||||
---
|
||||
|
||||
## Level 2 — Enhanced Semantic Retrieval
|
||||
|
||||
Use for:
|
||||
|
||||
- larger websites;
|
||||
- structured knowledgebases;
|
||||
- internal documentation;
|
||||
- white paper libraries;
|
||||
- educational content;
|
||||
- research notes;
|
||||
- product documentation.
|
||||
|
||||
Purpose:
|
||||
|
||||
Improve retrieval, filtering, semantic classification, and AI summarization.
|
||||
|
||||
Includes everything in Level 1, plus optional:
|
||||
|
||||
- content type;
|
||||
- primary topic;
|
||||
- domain;
|
||||
- entities;
|
||||
- key concepts;
|
||||
- intended audience;
|
||||
- source alignment;
|
||||
- confidence level;
|
||||
- basic relationship hints.
|
||||
|
||||
Example added fields:
|
||||
|
||||
```json
|
||||
"semantic_core": {
|
||||
"content_type": "analysis",
|
||||
"domain": ["ai", "publishing"],
|
||||
"primary_topic": "AI-native findability",
|
||||
"entities": [],
|
||||
"key_concepts": []
|
||||
}
|
||||
Level 3 — Ontology-Aware Retrieval
|
||||
|
||||
Use for:
|
||||
|
||||
AI-native knowledgebases;
|
||||
research corpora;
|
||||
industry intelligence systems;
|
||||
structured archives;
|
||||
policy libraries;
|
||||
technical reference systems.
|
||||
|
||||
Purpose:
|
||||
|
||||
Make chunks more useful for graph traversal, ontology mapping, multi-hop reasoning, and domain-specific AI agents.
|
||||
|
||||
Includes everything in Levels 1 and 2, plus optional:
|
||||
|
||||
ontology references;
|
||||
controlled taxonomy labels;
|
||||
explicit semantic assertions;
|
||||
relationship mappings;
|
||||
applicability context;
|
||||
assumptions;
|
||||
scope;
|
||||
prerequisites;
|
||||
basic provenance.
|
||||
|
||||
Example added fields:
|
||||
|
||||
"ontology": {
|
||||
"ontology_refs": [],
|
||||
"taxonomy_tags": [],
|
||||
"semantic_assertions": []
|
||||
}
|
||||
"context": {
|
||||
"scope": "",
|
||||
"assumptions": [],
|
||||
"intended_audience": [],
|
||||
"prerequisites": []
|
||||
}
|
||||
Level 4 — Graph-Native Semantic Infrastructure
|
||||
|
||||
Use for:
|
||||
|
||||
serious knowledge graph systems;
|
||||
high-value research libraries;
|
||||
multi-author corpora;
|
||||
agent-facing knowledge systems;
|
||||
evolving AI-native reference systems;
|
||||
corpora where trust and lineage matter.
|
||||
|
||||
Purpose:
|
||||
|
||||
Create chunks that can support long-term semantic evolution, lineage, trust inheritance, relationship density, and graph-native reasoning.
|
||||
|
||||
Includes everything in Levels 1–3, plus optional:
|
||||
|
||||
version lineage;
|
||||
supersedes / superseded_by;
|
||||
derived_from;
|
||||
semantic similarity to prior chunk;
|
||||
trust inheritance hints;
|
||||
cross-chunk links;
|
||||
interpretive relationships;
|
||||
assertion records;
|
||||
provenance records;
|
||||
enrichment workflow metadata.
|
||||
|
||||
Example added fields:
|
||||
|
||||
"lineage": {
|
||||
"supersedes": [],
|
||||
"superseded_by": [],
|
||||
"derived_from": [],
|
||||
"semantic_similarity_to_previous": null,
|
||||
"trust_inheritance": null
|
||||
}
|
||||
"relationships": {
|
||||
"supports": [],
|
||||
"depends_on": [],
|
||||
"expands": [],
|
||||
"contradicts": [],
|
||||
"summarizes": []
|
||||
}
|
||||
Level 5 — Full CIS Implementation
|
||||
|
||||
Use for:
|
||||
|
||||
paywalled knowledge systems;
|
||||
regulated content;
|
||||
legal or compliance systems;
|
||||
scientific datasets;
|
||||
high-value commercial corpora;
|
||||
decentralized knowledge infrastructure;
|
||||
agent-to-agent economic access systems;
|
||||
content requiring permissions, trust, provenance, and auditability.
|
||||
|
||||
Purpose:
|
||||
|
||||
Implement the CIS envelope as a full metadata infrastructure layer.
|
||||
|
||||
Includes everything in Levels 1–4, plus:
|
||||
|
||||
DID_chunk;
|
||||
CID_chunk;
|
||||
CID_source;
|
||||
full provenance;
|
||||
ownership history;
|
||||
origin purity;
|
||||
rights and permissions;
|
||||
economic terms;
|
||||
privacy and compliance controls;
|
||||
reputation and utility signals;
|
||||
execution constraints;
|
||||
derivative artifact tracking;
|
||||
attribution requirements;
|
||||
policy overlays;
|
||||
payment or access metadata.
|
||||
|
||||
This level is not recommended for simple static websites unless there is a clear need.
|
||||
|
||||
3. Human + AI Metadata Negotiation
|
||||
|
||||
Before generating the final chunks.json, the human operator and AI should agree on the metadata depth and schema.
|
||||
|
||||
This is especially important when working with:
|
||||
|
||||
large corpora;
|
||||
specialized domains;
|
||||
legal, scientific, financial, or technical content;
|
||||
monetized content;
|
||||
agent-facing content;
|
||||
reusable knowledgebases.
|
||||
Step 1 — Identify Corpus Type
|
||||
|
||||
The AI should determine or ask the human to confirm the corpus type.
|
||||
|
||||
Examples:
|
||||
|
||||
static website;
|
||||
documentation;
|
||||
newsletter archive;
|
||||
white paper library;
|
||||
scientific corpus;
|
||||
legal archive;
|
||||
product knowledgebase;
|
||||
internal company knowledgebase;
|
||||
public AI-readable knowledgebase;
|
||||
paywalled content library.
|
||||
Step 2 — Identify Intended Use
|
||||
|
||||
Determine what the chunk output will support.
|
||||
|
||||
Examples:
|
||||
|
||||
AI retrieval;
|
||||
semantic search;
|
||||
embeddings;
|
||||
RAG;
|
||||
public discovery;
|
||||
website indexing;
|
||||
internal knowledge management;
|
||||
agent reasoning;
|
||||
graph traversal;
|
||||
compliance review;
|
||||
monetized access;
|
||||
future CIS integration.
|
||||
Step 3 — Select Materialization Level
|
||||
|
||||
Choose one of:
|
||||
|
||||
Level 1 — Lightweight Semantic Retrieval
|
||||
Level 2 — Enhanced Semantic Retrieval
|
||||
Level 3 — Ontology-Aware Retrieval
|
||||
Level 4 — Graph-Native Semantic Infrastructure
|
||||
Level 5 — Full CIS Implementation
|
||||
|
||||
If uncertain, choose the lowest level that satisfies current needs while preserving future compatibility.
|
||||
|
||||
Step 4 — Select Fields
|
||||
|
||||
The AI should propose a field list based on the selected level.
|
||||
|
||||
The human should approve, remove, or add fields.
|
||||
|
||||
The final schema should be explicit before output generation.
|
||||
|
||||
Step 5 — Generate chunks.json
|
||||
|
||||
Once the field list is approved, generate the final JSON.
|
||||
|
||||
4. Minimal vs Extended Schemas
|
||||
Minimal Schema
|
||||
|
||||
Use for Level 1.
|
||||
|
||||
Recommended default:
|
||||
|
||||
{
|
||||
"document": {
|
||||
"title": "",
|
||||
"slug": "",
|
||||
"document_type": "",
|
||||
"author": "",
|
||||
"created_at": "",
|
||||
"tags": []
|
||||
},
|
||||
"chunks": [
|
||||
{
|
||||
"chunk_id": "",
|
||||
"knowledge_id": "",
|
||||
"chunk_label": "",
|
||||
"knowledge_label": "",
|
||||
"order": 1,
|
||||
"heading_path": [],
|
||||
"content": "",
|
||||
"summary": "",
|
||||
"tags": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Use this when the goal is:
|
||||
|
||||
simple AI readability;
|
||||
basic retrieval;
|
||||
static publishing;
|
||||
low operational complexity.
|
||||
Extended Schema
|
||||
|
||||
Use for Levels 2–4.
|
||||
|
||||
Example:
|
||||
|
||||
{
|
||||
"document": {
|
||||
"title": "",
|
||||
"slug": "",
|
||||
"document_type": "",
|
||||
"author": "",
|
||||
"created_at": "",
|
||||
"updated_at": "",
|
||||
"summary": "",
|
||||
"tags": [],
|
||||
"source_path": "",
|
||||
"canonical_url": ""
|
||||
},
|
||||
"chunks": [
|
||||
{
|
||||
"chunk_id": "",
|
||||
"knowledge_id": "",
|
||||
"chunk_label": "",
|
||||
"knowledge_label": "",
|
||||
"order": 1,
|
||||
"heading_path": [],
|
||||
"content": "",
|
||||
"summary": "",
|
||||
"tags": [],
|
||||
|
||||
"semantic_core": {
|
||||
"content_type": "",
|
||||
"domain": [],
|
||||
"primary_topic": "",
|
||||
"entities": [],
|
||||
"key_concepts": [],
|
||||
"confidence_level": ""
|
||||
},
|
||||
|
||||
"context": {
|
||||
"scope": "",
|
||||
"assumptions": [],
|
||||
"intended_audience": [],
|
||||
"prerequisites": []
|
||||
},
|
||||
|
||||
"relationships": {
|
||||
"supports": [],
|
||||
"depends_on": [],
|
||||
"expands": [],
|
||||
"contradicts": [],
|
||||
"summarizes": []
|
||||
},
|
||||
|
||||
"lineage": {
|
||||
"supersedes": [],
|
||||
"superseded_by": [],
|
||||
"derived_from": [],
|
||||
"semantic_similarity_to_previous": null,
|
||||
"trust_inheritance": null
|
||||
},
|
||||
|
||||
"provenance": {
|
||||
"creation_method": "",
|
||||
"source_alignment": "",
|
||||
"tooling": [],
|
||||
"workflows": []
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Use this when the goal is:
|
||||
|
||||
better AI retrieval;
|
||||
semantic filtering;
|
||||
ontology mapping;
|
||||
relationship discovery;
|
||||
future knowledge graph integration.
|
||||
Full CIS-Aligned Schema
|
||||
|
||||
Use for Level 5 only.
|
||||
|
||||
The schema should be project-specific and derived directly from the full CIS envelope.
|
||||
|
||||
Do not generate a full Level 5 schema unless the human explicitly requests it.
|
||||
|
||||
5. Corpus-Specific Semantic Strategies
|
||||
|
||||
Different corpora require different chunking and metadata strategies.
|
||||
|
||||
Static Websites
|
||||
|
||||
Recommended level:
|
||||
|
||||
Level 1
|
||||
|
||||
Include:
|
||||
|
||||
document metadata;
|
||||
chunk identity;
|
||||
semantic labels;
|
||||
content;
|
||||
summaries;
|
||||
tags;
|
||||
heading paths.
|
||||
|
||||
Avoid:
|
||||
|
||||
full provenance;
|
||||
trust scoring;
|
||||
rights systems;
|
||||
economic terms;
|
||||
deep ontology mapping.
|
||||
|
||||
Goal:
|
||||
|
||||
Make pages easy for AI systems to find, understand, summarize, and route.
|
||||
|
||||
Newsletter or Email Archives
|
||||
|
||||
Recommended level:
|
||||
|
||||
Level 1 or Level 2
|
||||
|
||||
Include:
|
||||
|
||||
publication date;
|
||||
topic tags;
|
||||
audience;
|
||||
summary;
|
||||
referenced links;
|
||||
key concepts;
|
||||
action items if present.
|
||||
|
||||
Useful optional fields:
|
||||
|
||||
"email_context": {
|
||||
"campaign": "",
|
||||
"audience": [],
|
||||
"original_send_date": "",
|
||||
"source_platform": ""
|
||||
}
|
||||
|
||||
Goal:
|
||||
|
||||
Make past communications searchable, reusable, and AI-readable.
|
||||
|
||||
White Paper Libraries
|
||||
|
||||
Recommended level:
|
||||
|
||||
Level 2 or Level 3
|
||||
|
||||
Include:
|
||||
|
||||
primary topic;
|
||||
claims;
|
||||
entities;
|
||||
assumptions;
|
||||
scope;
|
||||
intended audience;
|
||||
source alignment;
|
||||
ontology references if available.
|
||||
|
||||
Goal:
|
||||
|
||||
Support research, synthesis, citation, and conceptual retrieval.
|
||||
|
||||
Documentation
|
||||
|
||||
Recommended level:
|
||||
|
||||
Level 2 or Level 3
|
||||
|
||||
Include:
|
||||
|
||||
task type;
|
||||
prerequisites;
|
||||
steps;
|
||||
dependencies;
|
||||
affected systems;
|
||||
related docs;
|
||||
version applicability.
|
||||
|
||||
Useful optional fields:
|
||||
|
||||
"task_context": {
|
||||
"task_type": "",
|
||||
"prerequisites": [],
|
||||
"systems": [],
|
||||
"dependencies": []
|
||||
}
|
||||
|
||||
Goal:
|
||||
|
||||
Help AI agents and humans retrieve the right operational instructions.
|
||||
|
||||
Scientific or Technical Corpora
|
||||
|
||||
Recommended level:
|
||||
|
||||
Level 3, Level 4, or Level 5
|
||||
|
||||
Include:
|
||||
|
||||
domain;
|
||||
entities;
|
||||
methods;
|
||||
evidence type;
|
||||
confidence;
|
||||
claims;
|
||||
uncertainty;
|
||||
citations;
|
||||
provenance;
|
||||
relationships;
|
||||
applicability limits.
|
||||
|
||||
Goal:
|
||||
|
||||
Support high-confidence reasoning and careful scientific interpretation.
|
||||
|
||||
Legal, Policy, or Compliance Archives
|
||||
|
||||
Recommended level:
|
||||
|
||||
Level 4 or Level 5
|
||||
|
||||
Include:
|
||||
|
||||
jurisdiction;
|
||||
effective dates;
|
||||
authority;
|
||||
normative status;
|
||||
applicability;
|
||||
exceptions;
|
||||
conflicts;
|
||||
supersession;
|
||||
provenance;
|
||||
rights and restrictions.
|
||||
|
||||
Goal:
|
||||
|
||||
Support careful, auditable retrieval where context and applicability matter.
|
||||
|
||||
Monetized or Paywalled Knowledge Systems
|
||||
|
||||
Recommended level:
|
||||
|
||||
Level 4 or Level 5
|
||||
|
||||
Include:
|
||||
|
||||
access rights;
|
||||
pricing;
|
||||
preview metadata;
|
||||
usage permissions;
|
||||
economic terms;
|
||||
provenance;
|
||||
reputation signals;
|
||||
attribution requirements.
|
||||
|
||||
Goal:
|
||||
|
||||
Allow agents to evaluate whether content is worth accessing or paying for.
|
||||
|
||||
Input Requirements
|
||||
|
||||
The input markdown document should already contain:
|
||||
|
||||
YAML frontmatter;
|
||||
semantic chunk boundaries;
|
||||
chunk_id;
|
||||
knowledge_id;
|
||||
chunk_label;
|
||||
knowledge_label.
|
||||
|
||||
Example:
|
||||
|
||||
<!-- CHUNK START
|
||||
chunk_id="chk:550e8400-e29b-41d4-a716-446655440000"
|
||||
knowledge_id="kid:7c9e6679-7425-40de-944b-e07fc1f90ae7"
|
||||
|
||||
chunk_label="industriesig-overview"
|
||||
knowledge_label="industriesig-findability"
|
||||
-->
|
||||
|
||||
[content]
|
||||
|
||||
<!-- CHUNK END -->
|
||||
Output File
|
||||
|
||||
The output should be a single machine-readable JSON file:
|
||||
|
||||
chunks.json
|
||||
Output Structure
|
||||
|
||||
The top-level structure should follow this format:
|
||||
|
||||
{
|
||||
"document": {},
|
||||
"chunks": []
|
||||
}
|
||||
Field Rules
|
||||
chunk_id
|
||||
|
||||
Represents the specific chunk instance.
|
||||
|
||||
Must preserve the authored UUID/DID-style identifier exactly.
|
||||
|
||||
Do NOT regenerate.
|
||||
|
||||
knowledge_id
|
||||
|
||||
Represents the enduring conceptual identity.
|
||||
|
||||
Must preserve the authored UUID/DID-style identifier exactly.
|
||||
|
||||
Do NOT regenerate.
|
||||
|
||||
chunk_label
|
||||
|
||||
Human-readable structural label.
|
||||
|
||||
Used for:
|
||||
|
||||
debugging;
|
||||
retrieval interpretation;
|
||||
ontology reasoning;
|
||||
graph inspection.
|
||||
knowledge_label
|
||||
|
||||
Human-readable conceptual label.
|
||||
|
||||
Represents the enduring meaning of the chunk.
|
||||
|
||||
Multiple chunks MAY reference the same knowledge_label.
|
||||
|
||||
order
|
||||
|
||||
Represents narrative sequence within the document.
|
||||
|
||||
Must preserve original document order.
|
||||
|
||||
Starts at:
|
||||
|
||||
1
|
||||
heading_path
|
||||
|
||||
Represents the hierarchical heading structure above the chunk.
|
||||
|
||||
Example:
|
||||
|
||||
[
|
||||
"The iNDX Platform",
|
||||
"IndustrySIG"
|
||||
]
|
||||
|
||||
This preserves:
|
||||
|
||||
semantic hierarchy;
|
||||
contextual breadcrumbs;
|
||||
retrieval weighting;
|
||||
structural context.
|
||||
content
|
||||
|
||||
Contains the full original chunk text.
|
||||
|
||||
Preserve original formatting when possible.
|
||||
|
||||
Do NOT:
|
||||
|
||||
summarize;
|
||||
paraphrase;
|
||||
rewrite;
|
||||
compress.
|
||||
summary
|
||||
|
||||
Generate a short semantic retrieval summary.
|
||||
|
||||
Purpose:
|
||||
|
||||
retrieval hinting;
|
||||
embedding context;
|
||||
semantic ranking;
|
||||
AI understanding.
|
||||
|
||||
This is NOT marketing copy.
|
||||
|
||||
Ideal length:
|
||||
|
||||
1–3 sentences.
|
||||
tags
|
||||
|
||||
Generate lightweight semantic tags.
|
||||
|
||||
Tags should represent:
|
||||
|
||||
concepts;
|
||||
domains;
|
||||
systems;
|
||||
technologies;
|
||||
industries;
|
||||
major semantic themes.
|
||||
|
||||
Avoid excessive tagging.
|
||||
|
||||
Ideal range:
|
||||
|
||||
3–10 tags.
|
||||
Output Constraints
|
||||
|
||||
Do NOT:
|
||||
|
||||
invent missing content;
|
||||
merge chunks;
|
||||
split chunks;
|
||||
alter IDs;
|
||||
rewrite meaning;
|
||||
flatten heading hierarchy;
|
||||
add unsupported claims.
|
||||
Important Architectural Principle
|
||||
|
||||
This layer represents:
|
||||
|
||||
stable semantic retrieval infrastructure
|
||||
|
||||
It does not replace the CIS envelope.
|
||||
|
||||
It is a practical, selected projection of CIS-informed metadata into a usable chunk file.
|
||||
|
||||
Final Output Requirement
|
||||
|
||||
Output a COMPLETE valid chunks.json file.
|
||||
|
||||
Do NOT output:
|
||||
|
||||
markdown;
|
||||
commentary;
|
||||
explanations;
|
||||
partial fragments.
|
||||
|
||||
The output should be production-ready JSON suitable for direct ingestion into downstream systems.
|
||||
@@ -13,6 +13,25 @@ Instructions:
|
||||
- Be grounded strictly in the provided content
|
||||
- Be concise but complete
|
||||
- Avoid hallucination or adding new information.
|
||||
- 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.
|
||||
|
||||
QA Types
|
||||
|
||||
Type Purpose
|
||||
factual direct retrieval
|
||||
conceptual reasoning
|
||||
action task execution
|
||||
navigational discovery/routing
|
||||
|
||||
Example Types
|
||||
factual
|
||||
What is TerraSIG?
|
||||
conceptual
|
||||
Why does iNDX believe findability matters in the AI era?
|
||||
action
|
||||
How can someone participate as an Industry Indexer?
|
||||
navigational
|
||||
Where can I find the white paper about decentralized networking?
|
||||
|
||||
Output JSON format:
|
||||
[
|
||||
|
||||
Reference in new issue
Block a user