849 lines
16 KiB
Markdown
849 lines
16 KiB
Markdown
# 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.
|