added
This commit is contained in:
1 parent
08c48d268c
commit
d8e8186597
9 files changed
+2132
-204
No files matched your search
@@ -0,0 +1,747 @@
|
||||
# Skill: AI Index Discovery Materialization
|
||||
|
||||
Human prompt to complete this skill:
|
||||
|
||||
Using the attached skill, referencing the completed markdown pages, chunks.json files, qa.json files, and README.md process document attached, create the ai-index.json discovery layer for this project. Reference the prior outputs for structural consistency. Also referfenced is the document structure for this corpus so you can properly reference where files exist.
|
||||
|
||||
---
|
||||
|
||||
# Overview
|
||||
|
||||
This skill generates the:
|
||||
|
||||
`ai-index.json`
|
||||
|
||||
discovery and routing layer for an AI-native publishing system.
|
||||
|
||||
This file acts as:
|
||||
|
||||
- the machine-readable entry point;
|
||||
- the discovery layer;
|
||||
- the routing layer;
|
||||
- the evaluation layer;
|
||||
- the trust signaling layer;
|
||||
- the economic discovery layer.
|
||||
|
||||
It helps AI systems determine:
|
||||
|
||||
1. What exists
|
||||
2. Where it exists
|
||||
3. Why it matters
|
||||
4. Why it is trustworthy
|
||||
5. Whether it is worth retrieving
|
||||
6. Whether it is worth paying for
|
||||
7. How to access it
|
||||
|
||||
This layer is intentionally lightweight.
|
||||
|
||||
It is NOT:
|
||||
|
||||
- the full corpus;
|
||||
- the full CIS envelope;
|
||||
- the full chunk database;
|
||||
- a vector database;
|
||||
- a semantic graph dump.
|
||||
|
||||
Instead:
|
||||
|
||||
`ai-index.json`
|
||||
|
||||
is a discovery-oriented semantic control surface.
|
||||
|
||||
Think of it as:
|
||||
|
||||
- a machine-readable table of contents;
|
||||
- a discovery manifest;
|
||||
- a semantic routing layer;
|
||||
- an AI-native sitemap with intelligence.
|
||||
|
||||
---
|
||||
|
||||
# Core Architectural Principle
|
||||
|
||||
The ai-index.json file exists to eliminate ambiguity.
|
||||
|
||||
Without it, AI systems must:
|
||||
|
||||
- parse HTML;
|
||||
- infer structure;
|
||||
- crawl pages;
|
||||
- guess importance;
|
||||
- infer trust;
|
||||
- infer access methods;
|
||||
- infer semantic relationships.
|
||||
|
||||
With it:
|
||||
|
||||
the publisher explicitly programs the discovery interface.
|
||||
|
||||
---
|
||||
|
||||
# Purpose Of ai-index.json
|
||||
|
||||
The ai-index.json layer should help AI systems answer:
|
||||
|
||||
- What knowledge exists?
|
||||
- What domains does this corpus cover?
|
||||
- What should I retrieve first?
|
||||
- What content is high-value?
|
||||
- What content is authoritative?
|
||||
- What content is free?
|
||||
- What content is paywalled?
|
||||
- What workflows exist?
|
||||
- What entities are important?
|
||||
- What systems are connected?
|
||||
- What is worth paying for?
|
||||
- What is the best route through this knowledgebase?
|
||||
|
||||
---
|
||||
|
||||
# Relationship To Other Layers
|
||||
|
||||
## Markdown / HTML
|
||||
|
||||
Human-readable canonical content.
|
||||
|
||||
---
|
||||
|
||||
## chunks.json
|
||||
|
||||
Semantic retrieval infrastructure.
|
||||
|
||||
Contains:
|
||||
|
||||
- chunk identity;
|
||||
- semantic segmentation;
|
||||
- summaries;
|
||||
- concepts;
|
||||
- tags;
|
||||
- retrieval metadata.
|
||||
|
||||
---
|
||||
|
||||
## qa.json
|
||||
|
||||
Semantic interaction infrastructure.
|
||||
|
||||
Contains:
|
||||
|
||||
- questions;
|
||||
- reasoning paths;
|
||||
- workflows;
|
||||
- synthesis;
|
||||
- interaction topology.
|
||||
|
||||
---
|
||||
|
||||
## ai-index.json
|
||||
|
||||
Discovery + routing layer.
|
||||
|
||||
Contains:
|
||||
|
||||
- discovery metadata;
|
||||
- access metadata;
|
||||
- trust signals;
|
||||
- evaluation hints;
|
||||
- corpus navigation;
|
||||
- retrieval prioritization;
|
||||
- economic routing;
|
||||
- semantic previews.
|
||||
|
||||
---
|
||||
|
||||
# Important Constraint
|
||||
|
||||
The ai-index.json file should NOT duplicate the full chunks or QA datasets.
|
||||
|
||||
It should contain:
|
||||
|
||||
decision-enabling metadata only.
|
||||
|
||||
This layer advertises the corpus.
|
||||
|
||||
It does not fully materialize it.
|
||||
|
||||
---
|
||||
|
||||
# Discovery Philosophy
|
||||
|
||||
The ai-index.json file exists to help AI systems make rational retrieval decisions.
|
||||
|
||||
The system should reduce:
|
||||
|
||||
- uncertainty;
|
||||
- ambiguity;
|
||||
- retrieval cost;
|
||||
- discovery friction.
|
||||
|
||||
The file should help AI systems evaluate:
|
||||
|
||||
- relevance;
|
||||
- authority;
|
||||
- applicability;
|
||||
- access method;
|
||||
- expected value.
|
||||
|
||||
---
|
||||
|
||||
# AI Discovery Questions
|
||||
|
||||
The ai-index.json layer should help answer:
|
||||
|
||||
## 1. What is this?
|
||||
|
||||
Describe:
|
||||
|
||||
- the corpus;
|
||||
- the page;
|
||||
- the subsystem;
|
||||
- the resource;
|
||||
- the domain.
|
||||
|
||||
---
|
||||
|
||||
## 2. Why should I trust it?
|
||||
|
||||
Include trust and credibility signals such as:
|
||||
|
||||
- author;
|
||||
- organization;
|
||||
- expertise;
|
||||
- citations;
|
||||
- connected systems;
|
||||
- usage signals;
|
||||
- reputation signals;
|
||||
- provenance hints.
|
||||
|
||||
Do NOT invent trust signals.
|
||||
|
||||
---
|
||||
|
||||
## 3. Why is it worth retrieving?
|
||||
|
||||
Include:
|
||||
|
||||
- semantic relevance;
|
||||
- uniqueness;
|
||||
- specialization;
|
||||
- workflow usefulness;
|
||||
- strategic importance;
|
||||
- synthesis value.
|
||||
|
||||
---
|
||||
|
||||
## 4. Why is it worth paying for?
|
||||
|
||||
If applicable, include:
|
||||
|
||||
- exclusivity;
|
||||
- operational value;
|
||||
- strategic insights;
|
||||
- workflow execution value;
|
||||
- decision-support value.
|
||||
|
||||
The goal is to make retrieval or purchase the obvious rational choice.
|
||||
|
||||
---
|
||||
|
||||
# Discovery Layer Scope
|
||||
|
||||
The ai-index.json file MAY include:
|
||||
|
||||
- page-level metadata;
|
||||
- semantic summaries;
|
||||
- trust signals;
|
||||
- access methods;
|
||||
- content classifications;
|
||||
- routing hints;
|
||||
- corpus relationships;
|
||||
- workflow previews;
|
||||
- semantic previews;
|
||||
- retrieval hints;
|
||||
- topic clusters;
|
||||
- economic signals;
|
||||
- content freshness;
|
||||
- content state;
|
||||
- semantic importance.
|
||||
|
||||
The ai-index.json file should NOT include:
|
||||
|
||||
- full chunk text;
|
||||
- full QA datasets;
|
||||
- large content payloads;
|
||||
- vector embeddings;
|
||||
- raw graph exports.
|
||||
|
||||
---
|
||||
|
||||
# Recommended Top-Level Structure
|
||||
|
||||
```json
|
||||
{
|
||||
"index": {
|
||||
"title": "",
|
||||
"description": "",
|
||||
"version": "",
|
||||
"generated_at": "",
|
||||
"publisher": "",
|
||||
"canonical_url": "",
|
||||
"discovery_type": "",
|
||||
"materialization_level": 1
|
||||
},
|
||||
|
||||
"corpus": {
|
||||
"domains": [],
|
||||
"topics": [],
|
||||
"entities": [],
|
||||
"audiences": []
|
||||
},
|
||||
|
||||
"resources": []
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
# Resource Entry Structure
|
||||
|
||||
Each page, document, or resource should include:
|
||||
|
||||
```json
|
||||
{
|
||||
"resource_id": "",
|
||||
"title": "",
|
||||
"slug": "",
|
||||
|
||||
"resource_type": "",
|
||||
|
||||
"summary": "",
|
||||
|
||||
"topics": [],
|
||||
"entities": [],
|
||||
"concepts": [],
|
||||
|
||||
"audience": [],
|
||||
|
||||
"trust_signals": {
|
||||
"author": "",
|
||||
"organization": "",
|
||||
"source_alignment": "",
|
||||
"credibility_hints": []
|
||||
},
|
||||
|
||||
"discovery": {
|
||||
"importance": "",
|
||||
"retrieval_priority": "",
|
||||
"semantic_density": "",
|
||||
"workflow_value": ""
|
||||
},
|
||||
|
||||
"access": {
|
||||
"access_type": "",
|
||||
"api_endpoint": "",
|
||||
"preview_available": false,
|
||||
"pricing": null
|
||||
},
|
||||
|
||||
"artifacts": {
|
||||
"markdown": "",
|
||||
"html": "",
|
||||
"chunks_json": "",
|
||||
"qa_json": "",
|
||||
"semantic_summary_json": ""
|
||||
},
|
||||
|
||||
"relationships": {
|
||||
"related_resources": [],
|
||||
"supports": [],
|
||||
"depends_on": [],
|
||||
"expands": []
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
# Resource Types
|
||||
|
||||
Recommended values:
|
||||
|
||||
- page
|
||||
- article
|
||||
- whitepaper
|
||||
- documentation
|
||||
- overview
|
||||
- research
|
||||
- workflow
|
||||
- dataset
|
||||
- transcript
|
||||
- faq
|
||||
- directory
|
||||
- policy
|
||||
- educational
|
||||
|
||||
---
|
||||
|
||||
# Discovery Metadata
|
||||
|
||||
## importance
|
||||
|
||||
Relative strategic importance.
|
||||
|
||||
Recommended values:
|
||||
|
||||
- low
|
||||
- medium
|
||||
- high
|
||||
- foundational
|
||||
- critical
|
||||
|
||||
---
|
||||
|
||||
## retrieval_priority
|
||||
|
||||
Recommended retrieval order.
|
||||
|
||||
Examples:
|
||||
|
||||
- primary
|
||||
- secondary
|
||||
- deep-reference
|
||||
- synthesis-layer
|
||||
|
||||
---
|
||||
|
||||
## semantic_density
|
||||
|
||||
Indicates conceptual richness.
|
||||
|
||||
Examples:
|
||||
|
||||
- light
|
||||
- moderate
|
||||
- dense
|
||||
- highly-connected
|
||||
|
||||
---
|
||||
|
||||
## workflow_value
|
||||
|
||||
Indicates operational usefulness.
|
||||
|
||||
Examples:
|
||||
|
||||
- informational
|
||||
- strategic
|
||||
- executable
|
||||
- workflow-support
|
||||
- agent-operational
|
||||
|
||||
---
|
||||
|
||||
# Identity Rule
|
||||
|
||||
The ai-index.json layer should reference existing authoritative identities whenever possible.
|
||||
|
||||
Avoid introducing new identity systems unless:
|
||||
- resources exist independently from documents;
|
||||
- external systems require separate IDs;
|
||||
- discovery objects are materially different from source documents.
|
||||
|
||||
Preferred order:
|
||||
|
||||
1. document_id
|
||||
2. knowledge_id
|
||||
3. existing canonical identifiers
|
||||
|
||||
Avoid duplicate identity namespaces.
|
||||
|
||||
---
|
||||
|
||||
# Access Layer
|
||||
|
||||
The access section should explain:
|
||||
|
||||
- whether content is open;
|
||||
- whether content is restricted;
|
||||
- how it is accessed;
|
||||
- whether previews exist;
|
||||
- whether API access exists.
|
||||
|
||||
Example:
|
||||
|
||||
```json
|
||||
"access": {
|
||||
"access_type": "open",
|
||||
"api_endpoint": "/data/open/pages/home/chunks.json",
|
||||
"preview_available": false,
|
||||
"pricing": null
|
||||
}
|
||||
```
|
||||
|
||||
Possible access types:
|
||||
|
||||
- open
|
||||
- preview
|
||||
- paid
|
||||
- restricted
|
||||
- licensed
|
||||
- api-only
|
||||
|
||||
---
|
||||
|
||||
# Trust Signals
|
||||
|
||||
Trust signals should remain lightweight.
|
||||
|
||||
Do NOT attempt full reputation scoring here.
|
||||
|
||||
Examples:
|
||||
|
||||
- author expertise;
|
||||
- connected systems;
|
||||
- publication history;
|
||||
- ecosystem participation;
|
||||
- citations;
|
||||
- workflow usage;
|
||||
- domain specialization.
|
||||
|
||||
---
|
||||
|
||||
# Corpus Rollup
|
||||
|
||||
The corpus section should aggregate:
|
||||
|
||||
- primary domains;
|
||||
- major entities;
|
||||
- conceptual areas;
|
||||
- intended audiences.
|
||||
|
||||
This helps AI systems rapidly determine:
|
||||
|
||||
- corpus scope;
|
||||
- specialization;
|
||||
- applicability.
|
||||
|
||||
---
|
||||
|
||||
# Relationship Mapping
|
||||
|
||||
The ai-index.json layer MAY include lightweight relationships.
|
||||
|
||||
Examples:
|
||||
|
||||
```json
|
||||
"relationships": {
|
||||
"related_resources": [
|
||||
"networksig-overview"
|
||||
],
|
||||
"supports": [],
|
||||
"depends_on": [],
|
||||
"expands": []
|
||||
}
|
||||
```
|
||||
|
||||
Purpose:
|
||||
|
||||
- routing;
|
||||
- navigation;
|
||||
- graph hinting;
|
||||
- retrieval expansion.
|
||||
|
||||
Avoid deep graph materialization here.
|
||||
|
||||
---
|
||||
|
||||
# Materialization Levels
|
||||
|
||||
## Level 1 — Lightweight Discovery Layer
|
||||
|
||||
Use for:
|
||||
|
||||
- simple websites;
|
||||
- early prototypes;
|
||||
- public static sites.
|
||||
|
||||
Includes:
|
||||
|
||||
- page discovery;
|
||||
- summaries;
|
||||
- artifact references;
|
||||
- access metadata.
|
||||
|
||||
Recommended default for small AI-native websites.
|
||||
|
||||
---
|
||||
|
||||
## Level 2 — Enhanced Discovery Layer
|
||||
|
||||
Adds:
|
||||
|
||||
- trust signals;
|
||||
- workflow hints;
|
||||
- retrieval prioritization;
|
||||
- semantic density;
|
||||
- relationship hints.
|
||||
|
||||
Recommended for structured knowledgebases.
|
||||
|
||||
---
|
||||
|
||||
## Level 3 — Economic Discovery Layer
|
||||
|
||||
Adds:
|
||||
|
||||
- pricing;
|
||||
- previews;
|
||||
- trust inheritance;
|
||||
- utility signals;
|
||||
- usage indicators;
|
||||
- retrieval economics.
|
||||
|
||||
Recommended for monetized systems.
|
||||
|
||||
---
|
||||
|
||||
## Level 4 — Agent Routing Layer
|
||||
|
||||
Adds:
|
||||
|
||||
- executable endpoints;
|
||||
- workflow invocation;
|
||||
- tool compatibility;
|
||||
- policy hints;
|
||||
- semantic contracts.
|
||||
|
||||
Recommended for agent ecosystems.
|
||||
|
||||
---
|
||||
|
||||
# Corpus-Specific Guidance
|
||||
|
||||
## Static Websites
|
||||
|
||||
Recommended level:
|
||||
|
||||
Level 1 or 2
|
||||
|
||||
Focus on:
|
||||
|
||||
- discoverability;
|
||||
- routing;
|
||||
- semantic summaries;
|
||||
- retrieval clarity.
|
||||
|
||||
Avoid excessive complexity.
|
||||
|
||||
---
|
||||
|
||||
## White Paper Libraries
|
||||
|
||||
Recommended level:
|
||||
|
||||
Level 2 or 3
|
||||
|
||||
Focus on:
|
||||
|
||||
- authority;
|
||||
- specialization;
|
||||
- conceptual density;
|
||||
- synthesis value.
|
||||
|
||||
---
|
||||
|
||||
## Monetized Knowledge Systems
|
||||
|
||||
Recommended level:
|
||||
|
||||
Level 3 or 4
|
||||
|
||||
Focus on:
|
||||
|
||||
- value signaling;
|
||||
- access methods;
|
||||
- previews;
|
||||
- retrieval economics;
|
||||
- workflow utility.
|
||||
|
||||
---
|
||||
|
||||
# Validation Requirements
|
||||
|
||||
After generating ai-index.json:
|
||||
|
||||
1. Verify all referenced files exist
|
||||
2. Verify all slugs match
|
||||
3. Verify all chunk and QA references are valid
|
||||
4. Verify no orphaned resources exist
|
||||
5. Verify access routes are internally consistent
|
||||
6. Verify trust signals are grounded in source content
|
||||
7. Verify no unsupported claims were added
|
||||
|
||||
A second AI agent should validate the output.
|
||||
|
||||
---
|
||||
|
||||
# Relationship To Discovery Files
|
||||
|
||||
The ai-index.json file complements:
|
||||
|
||||
- sitemap.xml
|
||||
- robots.txt
|
||||
- llms.txt
|
||||
- agents.md
|
||||
- skills.md
|
||||
|
||||
But unlike those files:
|
||||
|
||||
it is semantically structured for machine reasoning.
|
||||
|
||||
---
|
||||
|
||||
# Future Compatibility
|
||||
|
||||
This structure is intentionally designed to support future:
|
||||
|
||||
- vectorization;
|
||||
- embeddings;
|
||||
- graph databases;
|
||||
- retrieval ranking;
|
||||
- economic routing;
|
||||
- semantic trust systems;
|
||||
- AI agents;
|
||||
- autonomous retrieval systems;
|
||||
- programmable knowledge access.
|
||||
|
||||
---
|
||||
|
||||
# Important Architectural Principle
|
||||
|
||||
The ai-index.json file is:
|
||||
|
||||
a semantic discovery and routing layer
|
||||
|
||||
—not merely a sitemap replacement.
|
||||
|
||||
It is the programmable discovery interface for AI systems.
|
||||
|
||||
---
|
||||
|
||||
# Final Output Requirement
|
||||
|
||||
Output a COMPLETE valid `ai-index.json` file.
|
||||
|
||||
Do NOT output:
|
||||
|
||||
- markdown commentary;
|
||||
- explanations;
|
||||
- partial fragments;
|
||||
- pseudo-JSON.
|
||||
|
||||
The output should be:
|
||||
|
||||
- production-ready;
|
||||
- machine-readable;
|
||||
- semantically grounded;
|
||||
- suitable for direct ingestion into downstream systems.
|
||||
@@ -1,5 +1,9 @@
|
||||
# Skill: Author Content Structuring
|
||||
|
||||
Human prompt to complete this skill:
|
||||
|
||||
Using the attached skill, referencing the the <file-name> attached. Reference the attached README.md file for the overall process and where this skill fits in the process.
|
||||
|
||||
# Overview
|
||||
|
||||
This skill takes authored or original content and adds lightweight semantic structure to prepare it for additional enrichment and processing later.
|
||||
@@ -291,6 +295,7 @@ Example:
|
||||
|
||||
```yaml
|
||||
---
|
||||
document_id: "doc-indx-overview"
|
||||
title: "iNDX Overview"
|
||||
date: 2026-05-06
|
||||
slug: "indx-overview"
|
||||
|
||||
@@ -1,48 +1,8 @@
|
||||
## Table of Contents
|
||||
|
||||
- [Admin](#admin)
|
||||
- [Chunk Intelligence Signature (CIS)](#chunk-intelligence-signature-cis)
|
||||
- [CIS spec v0.1](#cis-spec-v01)
|
||||
- [I. Identity & Resolution (DiD)](#i-identity-resolution-did)
|
||||
- [II. Integrity & Versioning (CiD)](#ii-integrity-versioning-cid)
|
||||
- [III. Semantics & Meaning (SiD)](#iii-semantics-meaning-sid)
|
||||
- [Enrichment processing](#enrichment-processing)
|
||||
- [IV. Context & Applicability](#iv-context-applicability)
|
||||
- [V. Relationships & Knowledge Graph](#v-relationships-knowledge-graph)
|
||||
- [Enrichment processing](#enrichment-processing-1)
|
||||
- [VI. Provenance & Pedigree](#vi-provenance-pedigree)
|
||||
- [Enrichment processing](#enrichment-processing-2)
|
||||
- [VII. Rights, Permissions & Access](#vii-rights-permissions-access)
|
||||
- [VIII. Privacy, Safety & Compliance](#viii-privacy-safety-compliance)
|
||||
- [IX. Reputation, Utility & Signals](#ix-reputation-utility-signals)
|
||||
- [X. Execution & Operational Constraints](#x-execution-operational-constraints)
|
||||
- [XI. Decision & Derivative Outputs (Optional but Future-Proof)](#xi-decision-derivative-outputs-optional-but-future-proof)
|
||||
- [Final Definition (Refined)](#final-definition-refined)
|
||||
- [Re-chunking: do you rewrite CIS or create new DIDs?](#re-chunking-do-you-rewrite-cis-or-create-new-dids)
|
||||
- [Option 1 (recommended): Preserve old chunks, create new chunks](#option-1-recommended-preserve-old-chunks-create-new-chunks)
|
||||
- [Option 2: “Edit in place” (not recommended)](#option-2-edit-in-place-not-recommended)
|
||||
- [The Future - How Does Content Chunks and the CIS Layer Evolve And What Do You Need To Do?](#the-future-how-does-content-chunks-and-the-cis-layer-evolve-and-what-do-you-need-to-do)
|
||||
- [1. What becomes effectively immutable](#1-what-becomes-effectively-immutable)
|
||||
- [2. The key distinction: re-chunking vs re-interpreting](#2-the-key-distinction-re-chunking-vs-re-interpreting)
|
||||
- [Re-interpreting (common, ongoing)](#re-interpreting-common-ongoing)
|
||||
- [3. What happens after “you’re done” (the real future)](#3-what-happens-after-you’re-done-the-real-future)
|
||||
- [4. The most important insight (this is the crux)](#4-the-most-important-insight-this-is-the-crux)
|
||||
- [5. A simple rule of thumb](#5-a-simple-rule-of-thumb)
|
||||
- [6. Where this ultimately leads](#6-where-this-ultimately-leads)
|
||||
- [Other](#other)
|
||||
- [User Input](#user-input)
|
||||
- [JSON Agents](#json-agents)
|
||||
|
||||
# **Chunk Intelligence Signature (CIS)**
|
||||
|
||||
A compact, machine-readable metadata envelope used by AI systems as a trust, relevance, safety, and applicability filter.
|
||||
|
||||
Relevant AI discussions:
|
||||
|
||||
* [https://chatgpt.com/g/g-p-677b3deb4de88191b13665c04640f61c/c/693c5de5-3ce0-8328-bb11-2d29e12cf07d](https://chatgpt.com/g/g-p-677b3deb4de88191b13665c04640f61c/c/693c5de5-3ce0-8328-bb11-2d29e12cf07d)
|
||||
* [https://chatgpt.com/g/g-p-677b3deb4de88191b13665c04640f61c-indx/c/694af2c0-402c-8327-a7fe-9d8d826a22b5](https://chatgpt.com/g/g-p-677b3deb4de88191b13665c04640f61c-indx/c/694af2c0-402c-8327-a7fe-9d8d826a22b5)
|
||||
|
||||
# **CIS spec v0.1**
|
||||
# **CIS spec**
|
||||
|
||||
This is a complete, thorough, ideal CIS meta-document template that would accompany each chunk. This is written as a canonical, implementation-ready reference template—neutral to any one DID/CID/SID standard, but precise enough to be enforceable and machine-actionable. Think of this as the “full-fidelity CIS envelope”. In practice, many fields may be optional or sparsely populated, but this defines the *gold standard*.
|
||||
|
||||
@@ -214,6 +174,14 @@ 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.
|
||||
|
||||
We can use another method for ID's developed for NFT tokenization: these can be parsed to add descriptive information via the IDs themselves.
|
||||
|
||||
Products: https://docs.google.com/document/d/16JtMeXQcz2f8rCC6uYjLV9WqB-mM2mnmEMLYCeAZaYc/edit?tab=t.0#heading=h.gl91phwr7rwd
|
||||
|
||||
Places: https://docs.google.com/document/d/1mcT6TAR8pcWgepcBJ5q0lRcwJt3k7H6IuWQTIVSG51Y/edit?tab=t.0#heading=h.cvz1u3hiiwso
|
||||
|
||||
People, Events and Experiences: not yet created but use the above two as a model.
|
||||
|
||||
## II. Integrity & Versioning (CiD)
|
||||
|
||||
4. **Content Integrity (CID)**
|
||||
@@ -271,6 +239,39 @@ chunk ID is each chunk; knowledge ID is also applied to same chunk. If new chan
|
||||
|
||||
You want to build trust in evolving knowledge
|
||||
|
||||
You could add a page_version concept:
|
||||
|
||||
pages (
|
||||
slug,
|
||||
current_version,
|
||||
updated_at
|
||||
)
|
||||
|
||||
Then:
|
||||
|
||||
chunks (
|
||||
did_chunk,
|
||||
page_slug,
|
||||
version,
|
||||
status
|
||||
)
|
||||
What This Enables
|
||||
|
||||
You can:
|
||||
|
||||
- roll back to previous version instantly
|
||||
- compare versions
|
||||
- preserve usage history
|
||||
- train future models on evolution
|
||||
|
||||
More on this section:
|
||||
|
||||
"trust_inheritance": {
|
||||
"inherits_from": ["did:chunk:previous"],
|
||||
"inheritance_weight": 0.85,
|
||||
"method": "semantic_similarity | manual | hybrid"
|
||||
}
|
||||
|
||||
## III. Semantics & Meaning (SiD)
|
||||
|
||||
6. **Semantic Identity (SID)**
|
||||
@@ -429,6 +430,47 @@ You want to build trust in evolving knowledge
|
||||
|
||||
}
|
||||
|
||||
Semantic Continuity Signal
|
||||
✅ What it does
|
||||
|
||||
Quantifies whether meaning persisted across versions
|
||||
|
||||
📍 Where to add
|
||||
|
||||
Add under III. Semantics & Meaning (SiD) → near uncertainty
|
||||
|
||||
🔧 Field
|
||||
"semantic_continuity": {
|
||||
"previous_version_similarity": 0.92,
|
||||
"continuity_class": "high | medium | low"
|
||||
}
|
||||
💡 Why it matters
|
||||
Drives trust inheritance weighting
|
||||
Helps agents decide:
|
||||
“Is this an update or a new idea?”
|
||||
|
||||
Actionability Layer
|
||||
✅ What it does
|
||||
|
||||
Turns chunks from “information” into executable capabilities for agents
|
||||
|
||||
📍 Where to add
|
||||
|
||||
Add under Section III — Semantics & Meaning (SiD)
|
||||
|
||||
🔧 Field
|
||||
"actionability": {
|
||||
"is_actionable": true,
|
||||
"action_type": "instruction | procedure | decision_support | reference",
|
||||
"required_inputs": [],
|
||||
"expected_outputs": [],
|
||||
"preconditions": [],
|
||||
"postconditions": []
|
||||
}
|
||||
💡 Why it matters
|
||||
Enables agent execution planning
|
||||
Supports your agent-as-capability model
|
||||
Critical for future execution graphs
|
||||
|
||||
### *Enrichment processing*
|
||||
|
||||
@@ -796,6 +838,15 @@ Each assertion can have:
|
||||
|
||||
}
|
||||
|
||||
Human-authored fields vs AI-generated fields may also matter.
|
||||
|
||||
Meaning:
|
||||
|
||||
"summary": {
|
||||
"value": "...",
|
||||
"generated_by": "ai"
|
||||
}
|
||||
|
||||
### *Enrichment processing*
|
||||
|
||||
If you reprocess chunks for iterative enrichment to discover entities/keywords/topics/links across the corpus, and you find consistent labels (topics, entities, taxonomy tags), you want to know how the label was created, which goes in this section. For example:
|
||||
@@ -882,6 +933,26 @@ If you reprocess chunks for iterative enrichment to discover entities/keywords/t
|
||||
|
||||
See [ai.txt: A Domain-Specific Language for Guiding AI Interactions with the Internet](https://arxiv.org/abs/2505.07834?utm_source=chatgpt.com), which could be a top level instruction set for websites. It does what is included in this document but surfaces it higher up at the top level of a website. This is a proposed standard only at present.
|
||||
|
||||
Access Routing Metadata (API Layer)
|
||||
✅ What it does
|
||||
|
||||
Bridges CIS → your payment/API system
|
||||
|
||||
📍 Where to add
|
||||
|
||||
Extend VII. Rights, Permissions & Access
|
||||
|
||||
🔧 Field
|
||||
"access_routing": {
|
||||
"access_type": "open | preview | paid",
|
||||
"endpoint": "/api/chunks/{slug}",
|
||||
"preview_available": true,
|
||||
"preview_endpoint": "/data/open/previews/{slug}.json"
|
||||
}
|
||||
💡 Why it matters
|
||||
Connects CIS → ai-index.json + API
|
||||
Enables agents to act immediately
|
||||
|
||||
## VIII. Privacy, Safety & Compliance
|
||||
|
||||
21. **Privacy Controls**
|
||||
@@ -964,6 +1035,38 @@ See [ai.txt: A Domain-Specific Language for Guiding AI Interactions with the Int
|
||||
|
||||
}
|
||||
|
||||
Enhanced Usage Signals (Reputation Upgrade)
|
||||
✅ What it does
|
||||
|
||||
Improves your current:
|
||||
|
||||
"usage_metrics"
|
||||
|
||||
into something actually useful for AI decisions
|
||||
|
||||
📍 Where to add
|
||||
|
||||
Extend IX. Reputation, Utility & Signals
|
||||
|
||||
🔧 Add fields
|
||||
"usage_metrics": {
|
||||
"total_accesses": 0,
|
||||
"paid_accesses": 0,
|
||||
"unique_users": 0,
|
||||
"repeat_usage_rate": 0.0,
|
||||
"high_trust_agent_usage": 0,
|
||||
"task_success_signals": 0
|
||||
}
|
||||
💡 Why it matters
|
||||
|
||||
Agents care about:
|
||||
|
||||
who used it
|
||||
whether they paid
|
||||
whether it worked
|
||||
|
||||
Not just raw volume.
|
||||
|
||||
## X. Execution & Operational Constraints
|
||||
|
||||
26. **Execution & Locality Constraints**
|
||||
@@ -1000,6 +1103,33 @@ See [ai.txt: A Domain-Specific Language for Guiding AI Interactions with the Int
|
||||
|
||||
}
|
||||
|
||||
Agent Interaction Hints (Lightweight)
|
||||
✅ What it does
|
||||
|
||||
Helps agents prioritize and interpret chunks
|
||||
|
||||
📍 Where to add
|
||||
|
||||
Add under X. Execution & Operational Constraints
|
||||
|
||||
🔧 Field
|
||||
"agent_hints": {
|
||||
"priority": "high | medium | low",
|
||||
"typical_use_cases": [
|
||||
"definition",
|
||||
"decision_support",
|
||||
"comparison"
|
||||
],
|
||||
"recommended_for": [
|
||||
"llm_reasoning",
|
||||
"retrieval",
|
||||
"decision_engine"
|
||||
]
|
||||
}
|
||||
💡 Why it matters
|
||||
Improves agent efficiency
|
||||
Reduces unnecessary retrieval
|
||||
|
||||
## XI. Decision & Derivative Outputs (Optional but Future-Proof)
|
||||
|
||||
28. **Derived Artifact Tracking**
|
||||
@@ -1034,6 +1164,26 @@ See [ai.txt: A Domain-Specific Language for Guiding AI Interactions with the Int
|
||||
|
||||
}
|
||||
|
||||
Decision Impact Signals (Advanced, Optional)
|
||||
✅ What it does
|
||||
|
||||
Connects chunks to real-world outcomes
|
||||
|
||||
📍 Where to add
|
||||
|
||||
Add under XI. Decision & Derivative Outputs
|
||||
|
||||
🔧 Field
|
||||
"decision_impact": {
|
||||
"used_in": ["recommendation", "purchase_decision"],
|
||||
"confidence_delta": 0.35,
|
||||
"outcome_quality": "high | medium | low"
|
||||
}
|
||||
💡 Why it matters
|
||||
|
||||
This is the strongest future trust signal
|
||||
|
||||
“Using this chunk improves decisions”
|
||||
|
||||
# **Final Definition (Refined)**
|
||||
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
# Skill: CIS-Guided Semantic Chunk Materialization
|
||||
|
||||
Human prompt to complete this skill:
|
||||
|
||||
Using the attached skill, referencing the the <file-name> attached, create the chunks.json file. Reference the attached chunk-intelligence-signature.md file to accompany this skill. For more reference, see the attached README.md file for the overall process and where the chunks.json fits and where we are in this process. Reference the attached skills and prior outputs for structural consistency.
|
||||
|
||||
## Overview
|
||||
|
||||
This skill converts semantically structured authored content into machine-readable `chunks.json` files.
|
||||
@@ -17,6 +21,10 @@ This skill uses the Chunk Intelligence Signature (CIS) envelope as the reference
|
||||
|
||||
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.
|
||||
|
||||
This skill is the basis for an interative processed between the human and the AI to arrive at the right mix of CIS envelope metadata that should be included when creating `chunks.json` files.
|
||||
|
||||
Consider carefully the final outcome/intent of this project, and works backwards from there. It is possible we start with a limited set of metadata from the CIS envelope now, and later, re-process the `chunks.json` with more metadata.
|
||||
|
||||
The goal is to create a `chunks.json` file that is:
|
||||
|
||||
- useful now;
|
||||
@@ -175,16 +183,18 @@ Example added fields:
|
||||
"entities": [],
|
||||
"key_concepts": []
|
||||
}
|
||||
Level 3 — Ontology-Aware Retrieval
|
||||
```
|
||||
|
||||
## Level 3 — Ontology-Aware Retrieval
|
||||
|
||||
Use for:
|
||||
|
||||
AI-native knowledgebases;
|
||||
research corpora;
|
||||
industry intelligence systems;
|
||||
structured archives;
|
||||
policy libraries;
|
||||
technical reference systems.
|
||||
- AI-native knowledgebases;
|
||||
- research corpora;
|
||||
- industry intelligence systems;
|
||||
- structured archives;
|
||||
- policy libraries;
|
||||
- technical reference systems.
|
||||
|
||||
Purpose:
|
||||
|
||||
@@ -192,18 +202,19 @@ Make chunks more useful for graph traversal, ontology mapping, multi-hop reasoni
|
||||
|
||||
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.
|
||||
- ontology references;
|
||||
- controlled taxonomy labels;
|
||||
- explicit semantic assertions;
|
||||
- relationship mappings;
|
||||
- applicability context;
|
||||
- assumptions;
|
||||
- scope;
|
||||
- prerequisites;
|
||||
- basic provenance.
|
||||
|
||||
Example added fields:
|
||||
|
||||
```json
|
||||
"ontology": {
|
||||
"ontology_refs": [],
|
||||
"taxonomy_tags": [],
|
||||
@@ -215,16 +226,18 @@ Example added fields:
|
||||
"intended_audience": [],
|
||||
"prerequisites": []
|
||||
}
|
||||
Level 4 — Graph-Native Semantic Infrastructure
|
||||
```
|
||||
|
||||
## 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.
|
||||
- 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:
|
||||
|
||||
@@ -232,19 +245,20 @@ Create chunks that can support long-term semantic evolution, lineage, trust inhe
|
||||
|
||||
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.
|
||||
- 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:
|
||||
|
||||
```json
|
||||
"lineage": {
|
||||
"supersedes": [],
|
||||
"superseded_by": [],
|
||||
@@ -259,18 +273,20 @@ Example added fields:
|
||||
"contradicts": [],
|
||||
"summarizes": []
|
||||
}
|
||||
Level 5 — Full CIS Implementation
|
||||
```
|
||||
|
||||
## 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.
|
||||
- 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:
|
||||
|
||||
@@ -278,25 +294,25 @@ 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.
|
||||
- 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
|
||||
# 3. Human + AI Metadata Negotiation
|
||||
|
||||
Before generating the final chunks.json, the human operator and AI should agree on the metadata depth and schema.
|
||||
|
||||
@@ -308,7 +324,8 @@ legal, scientific, financial, or technical content;
|
||||
monetized content;
|
||||
agent-facing content;
|
||||
reusable knowledgebases.
|
||||
Step 1 — Identify Corpus Type
|
||||
|
||||
## Step 1 — Identify Corpus Type
|
||||
|
||||
The AI should determine or ask the human to confirm the corpus type.
|
||||
|
||||
@@ -324,7 +341,8 @@ product knowledgebase;
|
||||
internal company knowledgebase;
|
||||
public AI-readable knowledgebase;
|
||||
paywalled content library.
|
||||
Step 2 — Identify Intended Use
|
||||
|
||||
## Step 2 — Identify Intended Use
|
||||
|
||||
Determine what the chunk output will support.
|
||||
|
||||
@@ -342,7 +360,8 @@ graph traversal;
|
||||
compliance review;
|
||||
monetized access;
|
||||
future CIS integration.
|
||||
Step 3 — Select Materialization Level
|
||||
|
||||
## Step 3 — Select Materialization Level
|
||||
|
||||
Choose one of:
|
||||
|
||||
@@ -354,7 +373,7 @@ Level 5 — Full CIS Implementation
|
||||
|
||||
If uncertain, choose the lowest level that satisfies current needs while preserving future compatibility.
|
||||
|
||||
Step 4 — Select Fields
|
||||
## Step 4 — Select Fields
|
||||
|
||||
The AI should propose a field list based on the selected level.
|
||||
|
||||
@@ -362,17 +381,19 @@ The human should approve, remove, or add fields.
|
||||
|
||||
The final schema should be explicit before output generation.
|
||||
|
||||
Step 5 — Generate chunks.json
|
||||
## Step 5 — Generate chunks.json
|
||||
|
||||
Once the field list is approved, generate the final JSON.
|
||||
|
||||
4. Minimal vs Extended Schemas
|
||||
Minimal Schema
|
||||
# 4. Minimal vs Extended Schemas
|
||||
|
||||
## Minimal Schema
|
||||
|
||||
Use for Level 1.
|
||||
|
||||
Recommended default:
|
||||
|
||||
```json
|
||||
{
|
||||
"document": {
|
||||
"title": "",
|
||||
@@ -396,6 +417,7 @@ Recommended default:
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
Use this when the goal is:
|
||||
|
||||
@@ -403,12 +425,14 @@ simple AI readability;
|
||||
basic retrieval;
|
||||
static publishing;
|
||||
low operational complexity.
|
||||
Extended Schema
|
||||
|
||||
## Extended Schema
|
||||
|
||||
Use for Levels 2–4.
|
||||
|
||||
Example:
|
||||
|
||||
```json
|
||||
{
|
||||
"document": {
|
||||
"title": "",
|
||||
@@ -475,6 +499,8 @@ Example:
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
```
|
||||
|
||||
Use this when the goal is:
|
||||
|
||||
@@ -483,7 +509,8 @@ semantic filtering;
|
||||
ontology mapping;
|
||||
relationship discovery;
|
||||
future knowledge graph integration.
|
||||
Full CIS-Aligned Schema
|
||||
|
||||
## Full CIS-Aligned Schema
|
||||
|
||||
Use for Level 5 only.
|
||||
|
||||
@@ -491,7 +518,7 @@ The schema should be project-specific and derived directly from the full CIS env
|
||||
|
||||
Do not generate a full Level 5 schema unless the human explicitly requests it.
|
||||
|
||||
5. Corpus-Specific Semantic Strategies
|
||||
# 5. Corpus-Specific Semantic Strategies
|
||||
|
||||
Different corpora require different chunking and metadata strategies.
|
||||
|
||||
@@ -541,12 +568,14 @@ action items if present.
|
||||
|
||||
Useful optional fields:
|
||||
|
||||
```json
|
||||
"email_context": {
|
||||
"campaign": "",
|
||||
"audience": [],
|
||||
"original_send_date": "",
|
||||
"source_platform": ""
|
||||
}
|
||||
```
|
||||
|
||||
Goal:
|
||||
|
||||
@@ -591,12 +620,14 @@ version applicability.
|
||||
|
||||
Useful optional fields:
|
||||
|
||||
```json
|
||||
"task_context": {
|
||||
"task_type": "",
|
||||
"prerequisites": [],
|
||||
"systems": [],
|
||||
"dependencies": []
|
||||
}
|
||||
```
|
||||
|
||||
Goal:
|
||||
|
||||
@@ -694,12 +725,14 @@ knowledge_label="industriesig-findability"
|
||||
[content]
|
||||
|
||||
<!-- CHUNK END -->
|
||||
Output File
|
||||
|
||||
# Output File
|
||||
|
||||
The output should be a single machine-readable JSON file:
|
||||
|
||||
chunks.json
|
||||
Output Structure
|
||||
|
||||
# Output Structure
|
||||
|
||||
The top-level structure should follow this format:
|
||||
|
||||
@@ -707,8 +740,10 @@ The top-level structure should follow this format:
|
||||
"document": {},
|
||||
"chunks": []
|
||||
}
|
||||
Field Rules
|
||||
chunk_id
|
||||
|
||||
# Field Rules
|
||||
|
||||
## chunk_id
|
||||
|
||||
Represents the specific chunk instance.
|
||||
|
||||
@@ -716,7 +751,7 @@ Must preserve the authored UUID/DID-style identifier exactly.
|
||||
|
||||
Do NOT regenerate.
|
||||
|
||||
knowledge_id
|
||||
## knowledge_id
|
||||
|
||||
Represents the enduring conceptual identity.
|
||||
|
||||
@@ -724,7 +759,7 @@ Must preserve the authored UUID/DID-style identifier exactly.
|
||||
|
||||
Do NOT regenerate.
|
||||
|
||||
chunk_label
|
||||
## chunk_label
|
||||
|
||||
Human-readable structural label.
|
||||
|
||||
@@ -742,7 +777,7 @@ Represents the enduring meaning of the chunk.
|
||||
|
||||
Multiple chunks MAY reference the same knowledge_label.
|
||||
|
||||
order
|
||||
## order
|
||||
|
||||
Represents narrative sequence within the document.
|
||||
|
||||
@@ -751,7 +786,8 @@ Must preserve original document order.
|
||||
Starts at:
|
||||
|
||||
1
|
||||
heading_path
|
||||
|
||||
## heading_path
|
||||
|
||||
Represents the hierarchical heading structure above the chunk.
|
||||
|
||||
@@ -768,7 +804,8 @@ semantic hierarchy;
|
||||
contextual breadcrumbs;
|
||||
retrieval weighting;
|
||||
structural context.
|
||||
content
|
||||
|
||||
## content
|
||||
|
||||
Contains the full original chunk text.
|
||||
|
||||
@@ -780,7 +817,8 @@ summarize;
|
||||
paraphrase;
|
||||
rewrite;
|
||||
compress.
|
||||
summary
|
||||
|
||||
## summary
|
||||
|
||||
Generate a short semantic retrieval summary.
|
||||
|
||||
@@ -796,7 +834,8 @@ This is NOT marketing copy.
|
||||
Ideal length:
|
||||
|
||||
1–3 sentences.
|
||||
tags
|
||||
|
||||
## tags
|
||||
|
||||
Generate lightweight semantic tags.
|
||||
|
||||
@@ -814,7 +853,8 @@ Avoid excessive tagging.
|
||||
Ideal range:
|
||||
|
||||
3–10 tags.
|
||||
Output Constraints
|
||||
|
||||
# Output Constraints
|
||||
|
||||
Do NOT:
|
||||
|
||||
@@ -825,7 +865,8 @@ alter IDs;
|
||||
rewrite meaning;
|
||||
flatten heading hierarchy;
|
||||
add unsupported claims.
|
||||
Important Architectural Principle
|
||||
|
||||
# Important Architectural Principle
|
||||
|
||||
This layer represents:
|
||||
|
||||
@@ -835,7 +876,7 @@ 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
|
||||
# Final Output Requirement
|
||||
|
||||
Output a COMPLETE valid chunks.json file.
|
||||
|
||||
@@ -846,4 +887,15 @@ commentary;
|
||||
explanations;
|
||||
partial fragments.
|
||||
|
||||
The output should be production-ready JSON suitable for direct ingestion into downstream systems.
|
||||
The output should be production-ready JSON suitable for direct ingestion into downstream systems.
|
||||
|
||||
# Validation Requirements
|
||||
|
||||
After generating the chunk.json:
|
||||
|
||||
1. Verify all referenced files exist
|
||||
2. Verify all slugs match
|
||||
3. Verify no orphaned resources exist
|
||||
5. Verify access routes are internally consistent
|
||||
|
||||
A second AI agent should validate the output.
|
||||
@@ -0,0 +1,137 @@
|
||||
# Overview
|
||||
|
||||
A table/database, where each row contains the metadata for each chunk.
|
||||
|
||||
Authoritative only for mutable fields.
|
||||
|
||||
Recommended schema (conceptual)
|
||||
chunks (
|
||||
did_chunk PRIMARY KEY,
|
||||
page_slug,
|
||||
path,
|
||||
|
||||
-- Access control
|
||||
access_level ENUM('open','preview','paid'),
|
||||
price DECIMAL,
|
||||
currency TEXT,
|
||||
pricing_model TEXT,
|
||||
|
||||
-- Permissions
|
||||
can_train BOOLEAN,
|
||||
can_summarize BOOLEAN,
|
||||
can_redistribute BOOLEAN,
|
||||
|
||||
-- Ops
|
||||
status ENUM('active','deprecated'),
|
||||
last_updated TIMESTAMP
|
||||
)
|
||||
|
||||
usage_metrics (
|
||||
did_chunk,
|
||||
total_accesses,
|
||||
paid_accesses,
|
||||
unique_agents,
|
||||
repeat_usage_rate,
|
||||
updated_at
|
||||
)
|
||||
|
||||
# Process
|
||||
|
||||
1. Build chunks with CIS evelope data
|
||||
|
||||
2. Register each chunk in control plane
|
||||
|
||||
3. Control plane becomes authority for mutable fields
|
||||
|
||||
You change:
|
||||
|
||||
price
|
||||
access level
|
||||
permissions
|
||||
|
||||
ONLY in the table
|
||||
|
||||
4. Runtime merge
|
||||
|
||||
Instead of rewriting the chunk file directly every time:
|
||||
|
||||
merge DB values at serve time (or build time)
|
||||
|
||||
Option A (recommended early): build-time merge
|
||||
|
||||
When generating your site:
|
||||
|
||||
chunks.base.json (immutable)
|
||||
+ control-plane overrides
|
||||
→ chunks.resolved.json (served)
|
||||
|
||||
Option B (later): runtime merge via API
|
||||
|
||||
GET /api/chunks/{id}
|
||||
→ loads base chunk
|
||||
→ overlays DB values
|
||||
→ returns resolved CIS
|
||||
|
||||
Overlay, Not Mutation
|
||||
|
||||
Think of it like:
|
||||
|
||||
Base CIS (immutable)
|
||||
+
|
||||
Control Plane (mutable)
|
||||
=
|
||||
Resolved CIS (served)
|
||||
|
||||
Example
|
||||
|
||||
Base chunk (file)
|
||||
{
|
||||
"identity": { "did_chunk": "did:xyz" },
|
||||
"integrity": { "cid_chunk": "cid:abc" },
|
||||
"semantics": {...},
|
||||
"rights": {
|
||||
"usage_permissions": {
|
||||
"train": false,
|
||||
"summarize": true
|
||||
}
|
||||
}
|
||||
}
|
||||
Control plane row
|
||||
{
|
||||
"did_chunk": "did:xyz",
|
||||
"access_level": "paid",
|
||||
"price": "0.05",
|
||||
"currency": "USDC"
|
||||
}
|
||||
Served response
|
||||
{
|
||||
"identity": {...},
|
||||
"integrity": {...},
|
||||
"semantics": {...},
|
||||
"rights": {
|
||||
"usage_permissions": {...},
|
||||
"economic_terms": {
|
||||
"pricing_model": "per_use",
|
||||
"price": "0.05",
|
||||
"currency": "USDC"
|
||||
},
|
||||
"access": "paid"
|
||||
}
|
||||
}
|
||||
|
||||
# Control Plane Table Uses
|
||||
|
||||
Your table is not just admin—it becomes:
|
||||
|
||||
1. Pricing engine
|
||||
adjust prices dynamically
|
||||
test models (per-use vs subscription)
|
||||
2. Access control system
|
||||
open → preview → paid transitions
|
||||
3. Reputation aggregator
|
||||
usage metrics live here
|
||||
4. Analytics layer
|
||||
which chunks drive revenue
|
||||
which get reused
|
||||
|
||||
It is a control plane for knowledge economics, not just content management
|
||||
@@ -1,20 +0,0 @@
|
||||
{
|
||||
"questions": [
|
||||
{
|
||||
"q": "What does iNDX do?",
|
||||
"a": "iNDX builds AI-ready indexes that make people, businesses, products, places, events, and experiences discoverable so opportunity flows to the many, not just the few."
|
||||
},
|
||||
{
|
||||
"q": "Why is findability important in the AI era?",
|
||||
"a": "Findability determines whether what people create can be discovered by the right person at the right time, which is essential for economic participation in the AI-driven economy."
|
||||
},
|
||||
{
|
||||
"q": "What problem is iNDX solving?",
|
||||
"a": "iNDX addresses the bottleneck of findability that prevents small economic actors from being discovered and benefiting from the next wave of economic growth."
|
||||
},
|
||||
{
|
||||
"q": "Who is iNDX built for?",
|
||||
"a": "iNDX is designed to support small businesses, freelancers, solopreneurs, communities, and households."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,39 +0,0 @@
|
||||
You are generating an AI-consumable Q&A layer from structured content.
|
||||
|
||||
Input: Markdown document.
|
||||
|
||||
Instructions:
|
||||
- Extract the key ideas, concepts, and claims.
|
||||
- Generate 10–25 natural questions a user or AI agent would ask.
|
||||
- Questions should vary in phrasing and specificity.
|
||||
- Include both:
|
||||
- Direct questions (What is iNDX?)
|
||||
- Contextual questions (Why does findability matter in AI systems?)
|
||||
- Answers must:
|
||||
- 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:
|
||||
[
|
||||
{ "q": "...", "a": "..." }
|
||||
]
|
||||
@@ -0,0 +1,835 @@
|
||||
# Skill: Semantic QA Materialization
|
||||
|
||||
Human prompt to complete this skill:
|
||||
|
||||
Using the attached skill, referencing the chunks.json and the <file-name> attached, create the qa.json file. For more reference, see the attached README.md file for the overall process and where the qa.json fits, and if needed the cis-guided...skill.md file, which likely you will not need at this point, is added for context. Reference the attached skills and prior outputs for structural consistency.
|
||||
|
||||
## Overview
|
||||
|
||||
This skill generates a structured `qa.json` reasoning layer from semantically structured content.
|
||||
|
||||
The QA layer is not simply a FAQ system.
|
||||
|
||||
It is semantic interaction infrastructure for:
|
||||
|
||||
- AI retrieval;
|
||||
- semantic search;
|
||||
- embeddings;
|
||||
- RAG systems;
|
||||
- graph traversal;
|
||||
- agent interaction;
|
||||
- workflow execution;
|
||||
- ontology enrichment;
|
||||
- semantic routing;
|
||||
- future economic access systems.
|
||||
|
||||
The purpose of this layer is to help AI systems and humans:
|
||||
|
||||
- understand the content;
|
||||
- navigate the corpus;
|
||||
- synthesize ideas across chunks;
|
||||
- execute tasks;
|
||||
- identify workflows;
|
||||
- discover relationships;
|
||||
- interact with knowledge programmatically.
|
||||
|
||||
This skill is designed to work across:
|
||||
|
||||
- static websites;
|
||||
- documentation systems;
|
||||
- white papers;
|
||||
- newsletters;
|
||||
- transcripts;
|
||||
- research libraries;
|
||||
- educational systems;
|
||||
- product knowledgebases;
|
||||
- AI-native publishing systems;
|
||||
- agent-facing knowledge systems;
|
||||
- monetized knowledge systems.
|
||||
|
||||
---
|
||||
|
||||
# Core Architectural Principle
|
||||
|
||||
The QA layer is:
|
||||
|
||||
- a semantic retrieval layer;
|
||||
- a reasoning layer;
|
||||
- a routing layer;
|
||||
- an interaction layer;
|
||||
- an execution support layer.
|
||||
|
||||
It is NOT merely:
|
||||
|
||||
- marketing FAQs;
|
||||
- website support questions;
|
||||
- simplistic summarization.
|
||||
|
||||
Questions and answers should help AI systems understand:
|
||||
|
||||
- meaning;
|
||||
- relationships;
|
||||
- applicability;
|
||||
- workflows;
|
||||
- actions;
|
||||
- conceptual structure;
|
||||
- navigation paths;
|
||||
- operational next steps.
|
||||
|
||||
---
|
||||
|
||||
# Input Requirements
|
||||
|
||||
The source content should already be semantically structured.
|
||||
|
||||
Recommended inputs:
|
||||
|
||||
- Markdown with semantic chunk boundaries;
|
||||
- `chunks.json`;
|
||||
- CIS-informed metadata;
|
||||
- semantic labels;
|
||||
- heading hierarchy.
|
||||
|
||||
The preferred source is:
|
||||
|
||||
`chunks.json`
|
||||
|
||||
because it already contains:
|
||||
|
||||
- semantic structure;
|
||||
- summaries;
|
||||
- tags;
|
||||
- concepts;
|
||||
- entities;
|
||||
- context.
|
||||
|
||||
---
|
||||
|
||||
# QA Generation Principles
|
||||
|
||||
Generate questions that improve:
|
||||
|
||||
- retrieval;
|
||||
- semantic understanding;
|
||||
- synthesis;
|
||||
- navigation;
|
||||
- workflow execution;
|
||||
- ontology discovery;
|
||||
- agent usability.
|
||||
|
||||
Questions should vary across:
|
||||
|
||||
- specificity;
|
||||
- abstraction;
|
||||
- phrasing;
|
||||
- audience;
|
||||
- intent;
|
||||
- reasoning depth.
|
||||
|
||||
The QA layer should represent how humans and AI agents naturally interact with the knowledge.
|
||||
|
||||
---
|
||||
|
||||
# Types Of Questions To Generate
|
||||
|
||||
Generate a mix of:
|
||||
|
||||
## 1. Factual Questions
|
||||
|
||||
Direct retrieval questions.
|
||||
|
||||
Example:
|
||||
|
||||
- What is IndustrySIG?
|
||||
- What does SIG stand for?
|
||||
|
||||
Purpose:
|
||||
|
||||
- fast retrieval;
|
||||
- grounding;
|
||||
- direct lookup.
|
||||
|
||||
---
|
||||
|
||||
## 2. Conceptual Questions
|
||||
|
||||
Meaning and interpretation questions.
|
||||
|
||||
Example:
|
||||
|
||||
- Why does iNDX believe findability matters in the AI era?
|
||||
- How does AI-native indexing differ from traditional search visibility?
|
||||
|
||||
Purpose:
|
||||
|
||||
- reasoning;
|
||||
- conceptual understanding;
|
||||
- semantic synthesis.
|
||||
|
||||
---
|
||||
|
||||
## 3. Comparative Questions
|
||||
|
||||
Compare systems, concepts, or approaches.
|
||||
|
||||
Example:
|
||||
|
||||
- How does NetworkSIG differ from traditional professional networking platforms?
|
||||
- How do IndustrySIG and TerraSIG serve different functions?
|
||||
|
||||
Purpose:
|
||||
|
||||
- differentiation;
|
||||
- semantic mapping;
|
||||
- ontology development.
|
||||
|
||||
---
|
||||
|
||||
## 4. Procedural Questions
|
||||
|
||||
Explain workflows or operational steps.
|
||||
|
||||
Example:
|
||||
|
||||
- How can someone become an Industry Indexer?
|
||||
- How does someone participate in Snap For Science?
|
||||
|
||||
Purpose:
|
||||
|
||||
- task execution;
|
||||
- onboarding;
|
||||
- workflow support.
|
||||
|
||||
---
|
||||
|
||||
## 5. Navigational Questions
|
||||
|
||||
Help AI systems or users locate information.
|
||||
|
||||
Example:
|
||||
|
||||
- Where can I find the white paper about decentralized networking?
|
||||
- Which section explains ecological intelligence?
|
||||
|
||||
Purpose:
|
||||
|
||||
- routing;
|
||||
- corpus navigation;
|
||||
- retrieval optimization.
|
||||
|
||||
---
|
||||
|
||||
## 6. Strategic Questions
|
||||
|
||||
High-level implication or systems-thinking questions.
|
||||
|
||||
Example:
|
||||
|
||||
- Why is decentralized discoverability important for small businesses?
|
||||
- What role does structured discovery play in economic participation?
|
||||
|
||||
Purpose:
|
||||
|
||||
- strategic reasoning;
|
||||
- systems understanding;
|
||||
- long-range synthesis.
|
||||
|
||||
---
|
||||
|
||||
## 7. Synthesis Questions
|
||||
|
||||
Combine multiple chunks or systems into one answer.
|
||||
|
||||
Example:
|
||||
|
||||
- How do the four iNDX systems reinforce one another?
|
||||
- How do IndustrySIG and NetworkSIG work together?
|
||||
|
||||
Purpose:
|
||||
|
||||
- multi-hop reasoning;
|
||||
- graph traversal;
|
||||
- cross-chunk synthesis.
|
||||
|
||||
---
|
||||
|
||||
# Question Quality Rules
|
||||
|
||||
Questions should:
|
||||
|
||||
- sound natural;
|
||||
- reflect realistic user or agent behavior;
|
||||
- vary in phrasing;
|
||||
- vary in specificity;
|
||||
- avoid repetition;
|
||||
- improve retrieval diversity.
|
||||
|
||||
Generate both:
|
||||
|
||||
- broad questions;
|
||||
- narrow questions.
|
||||
|
||||
Include both:
|
||||
|
||||
- human phrasing;
|
||||
- AI-agent-style retrieval phrasing.
|
||||
|
||||
---
|
||||
|
||||
# Answer Rules
|
||||
|
||||
Answers must:
|
||||
|
||||
- remain grounded strictly in source content;
|
||||
- avoid hallucination;
|
||||
- avoid unsupported claims;
|
||||
- avoid speculation;
|
||||
- preserve original meaning.
|
||||
|
||||
Answers should:
|
||||
|
||||
- be concise but complete;
|
||||
- optimize for retrieval clarity;
|
||||
- preserve semantic fidelity;
|
||||
- support downstream embeddings.
|
||||
|
||||
Do NOT:
|
||||
|
||||
- rewrite the original meaning;
|
||||
- add external knowledge;
|
||||
- inject opinions;
|
||||
- infer unsupported relationships.
|
||||
|
||||
---
|
||||
|
||||
# Cross-Chunk Synthesis Rules
|
||||
|
||||
Questions MAY reference multiple chunks.
|
||||
|
||||
Use:
|
||||
|
||||
```json
|
||||
"knowledge_ids": []
|
||||
"chunk_ids": []
|
||||
```
|
||||
|
||||
to support:
|
||||
|
||||
- multi-hop reasoning;
|
||||
- semantic synthesis;
|
||||
- graph traversal;
|
||||
- cross-document retrieval.
|
||||
|
||||
Example:
|
||||
|
||||
```json
|
||||
"knowledge_ids": [
|
||||
"kid-123",
|
||||
"kid-456"
|
||||
]
|
||||
```
|
||||
|
||||
This is strongly encouraged when concepts naturally connect.
|
||||
|
||||
---
|
||||
|
||||
# QA Types
|
||||
|
||||
Each QA entry should include:
|
||||
|
||||
```json
|
||||
"qa_type": ""
|
||||
```
|
||||
|
||||
Recommended values:
|
||||
|
||||
- factual
|
||||
- conceptual
|
||||
- comparative
|
||||
- procedural
|
||||
- navigational
|
||||
- strategic
|
||||
- synthesis
|
||||
- workflow
|
||||
- glossary
|
||||
|
||||
Purpose:
|
||||
|
||||
- semantic routing;
|
||||
- retrieval weighting;
|
||||
- reasoning selection;
|
||||
- agent orchestration.
|
||||
|
||||
---
|
||||
|
||||
# Intent Classification
|
||||
|
||||
Each QA entry should include:
|
||||
|
||||
```json
|
||||
"intent": ""
|
||||
```
|
||||
|
||||
Recommended values:
|
||||
|
||||
- discover
|
||||
- understand
|
||||
- compare
|
||||
- evaluate
|
||||
- execute
|
||||
- navigate
|
||||
- participate
|
||||
- contribute
|
||||
- summarize
|
||||
- learn
|
||||
- research
|
||||
- implement
|
||||
|
||||
Purpose:
|
||||
|
||||
- agent routing;
|
||||
- workflow execution;
|
||||
- future monetization systems;
|
||||
- retrieval prioritization.
|
||||
|
||||
---
|
||||
|
||||
# Actionability Layer
|
||||
|
||||
If the content references:
|
||||
|
||||
- workflows;
|
||||
- templates;
|
||||
- tools;
|
||||
- operational processes;
|
||||
- onboarding flows;
|
||||
- participation systems;
|
||||
- execution steps;
|
||||
|
||||
then include an `actionability` object.
|
||||
|
||||
Example:
|
||||
|
||||
```json
|
||||
"actionability": {
|
||||
"has_workflow": true,
|
||||
"tools": [],
|
||||
"processes": [],
|
||||
"next_steps": []
|
||||
}
|
||||
```
|
||||
|
||||
This helps future systems:
|
||||
|
||||
- execute workflows;
|
||||
- guide users;
|
||||
- support AI agents;
|
||||
- generate next-step recommendations.
|
||||
|
||||
Do NOT invent workflows that are not supported by the source content.
|
||||
|
||||
---
|
||||
|
||||
# Entities And Concepts
|
||||
|
||||
Each QA entry should include lightweight semantic extraction:
|
||||
|
||||
```json
|
||||
"entities": [],
|
||||
"concepts": [],
|
||||
"tags": []
|
||||
```
|
||||
|
||||
Purpose:
|
||||
|
||||
- semantic filtering;
|
||||
- ontology enrichment;
|
||||
- embeddings;
|
||||
- graph construction;
|
||||
- retrieval ranking.
|
||||
|
||||
Avoid excessive tagging.
|
||||
|
||||
Prefer meaningful semantic signals.
|
||||
|
||||
---
|
||||
|
||||
# Audience Classification
|
||||
|
||||
If feasible, include:
|
||||
|
||||
```json
|
||||
"audience": []
|
||||
```
|
||||
|
||||
Examples:
|
||||
|
||||
- business owners
|
||||
- researchers
|
||||
- developers
|
||||
- industry participants
|
||||
- conservation leaders
|
||||
- educators
|
||||
- AI practitioners
|
||||
|
||||
Purpose:
|
||||
|
||||
- routing;
|
||||
- personalization;
|
||||
- retrieval refinement.
|
||||
|
||||
---
|
||||
|
||||
# Source Grounding
|
||||
|
||||
Each QA entry should include:
|
||||
|
||||
```json
|
||||
"source_chunks": []
|
||||
```
|
||||
|
||||
These should reference the literal chunk sources used to generate the answer.
|
||||
|
||||
Example:
|
||||
|
||||
```json
|
||||
"source_chunks": [
|
||||
"chk-abc123"
|
||||
]
|
||||
```
|
||||
|
||||
Purpose:
|
||||
|
||||
- provenance;
|
||||
- trust;
|
||||
- grounding;
|
||||
- future citations;
|
||||
- paywall preview systems.
|
||||
|
||||
---
|
||||
|
||||
# Related Questions
|
||||
|
||||
If useful, include:
|
||||
|
||||
```json
|
||||
"related_questions": []
|
||||
```
|
||||
|
||||
Purpose:
|
||||
|
||||
- graph traversal;
|
||||
- semantic expansion;
|
||||
- recommendation systems;
|
||||
- agent reasoning chains.
|
||||
|
||||
---
|
||||
|
||||
# Materialization Levels
|
||||
|
||||
## Level 1 — Lightweight QA Retrieval
|
||||
|
||||
Use for:
|
||||
|
||||
- simple websites;
|
||||
- blogs;
|
||||
- newsletters;
|
||||
- early prototypes.
|
||||
|
||||
Includes:
|
||||
|
||||
- question;
|
||||
- answer;
|
||||
- qa_type.
|
||||
|
||||
Purpose:
|
||||
|
||||
Simple semantic retrieval.
|
||||
|
||||
---
|
||||
|
||||
## Level 2 — Enhanced Semantic QA
|
||||
|
||||
Use for:
|
||||
|
||||
- structured websites;
|
||||
- knowledgebases;
|
||||
- white papers;
|
||||
- documentation.
|
||||
|
||||
Includes:
|
||||
|
||||
- qa_type;
|
||||
- intent;
|
||||
- tags;
|
||||
- concepts;
|
||||
- entities;
|
||||
- source_chunks.
|
||||
|
||||
Purpose:
|
||||
|
||||
Better retrieval and semantic routing.
|
||||
|
||||
Recommended default for most iNDX website pages.
|
||||
|
||||
---
|
||||
|
||||
## Level 3 — Graph-Aware QA
|
||||
|
||||
Use for:
|
||||
|
||||
- ontology-aware systems;
|
||||
- research libraries;
|
||||
- AI-native publishing systems;
|
||||
- agent-facing systems.
|
||||
|
||||
Includes:
|
||||
|
||||
- knowledge_ids;
|
||||
- chunk_ids;
|
||||
- relationships;
|
||||
- synthesis questions;
|
||||
- audience;
|
||||
- actionability.
|
||||
|
||||
Purpose:
|
||||
|
||||
Support graph traversal and multi-hop reasoning.
|
||||
|
||||
---
|
||||
|
||||
## Level 4 — Agent-Executable QA
|
||||
|
||||
Use for:
|
||||
|
||||
- operational agent systems;
|
||||
- workflow execution systems;
|
||||
- task automation systems.
|
||||
|
||||
Includes:
|
||||
|
||||
- executable workflows;
|
||||
- procedural decomposition;
|
||||
- tool references;
|
||||
- operational constraints;
|
||||
- execution hints.
|
||||
|
||||
Purpose:
|
||||
|
||||
Allow AI systems to execute tasks directly from QA structures.
|
||||
|
||||
---
|
||||
|
||||
## Level 5 — Economic And Policy-Aware QA
|
||||
|
||||
Use for:
|
||||
|
||||
- monetized systems;
|
||||
- regulated systems;
|
||||
- permissioned systems;
|
||||
- agent-to-agent commerce systems.
|
||||
|
||||
Includes:
|
||||
|
||||
- access rights;
|
||||
- economic terms;
|
||||
- permissions;
|
||||
- pricing;
|
||||
- trust metadata;
|
||||
- policy overlays.
|
||||
|
||||
Purpose:
|
||||
|
||||
Support programmable access and AI-native commerce.
|
||||
|
||||
---
|
||||
|
||||
# Recommended Default Schema
|
||||
|
||||
```json
|
||||
{
|
||||
"document": {
|
||||
"title": "",
|
||||
"slug": "",
|
||||
"materialization_level": 2,
|
||||
"generated_at": "",
|
||||
"source_document": ""
|
||||
},
|
||||
|
||||
"qa_pairs": [
|
||||
{
|
||||
"qa_id": "",
|
||||
|
||||
"question": "",
|
||||
"answer": "",
|
||||
|
||||
"qa_type": "",
|
||||
"intent": "",
|
||||
|
||||
"knowledge_ids": [],
|
||||
"chunk_ids": [],
|
||||
|
||||
"source_chunks": [],
|
||||
|
||||
"entities": [],
|
||||
"concepts": [],
|
||||
"tags": [],
|
||||
|
||||
"audience": [],
|
||||
|
||||
"related_questions": [],
|
||||
|
||||
"actionability": {
|
||||
"has_workflow": false,
|
||||
"tools": [],
|
||||
"processes": [],
|
||||
"next_steps": []
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
# Corpus-Specific Guidance
|
||||
|
||||
## Static Websites
|
||||
|
||||
Recommended level:
|
||||
|
||||
Level 2
|
||||
|
||||
Focus on:
|
||||
|
||||
- discoverability;
|
||||
- semantic retrieval;
|
||||
- navigation;
|
||||
- conceptual understanding.
|
||||
|
||||
Avoid excessive metadata complexity.
|
||||
|
||||
---
|
||||
|
||||
## Documentation
|
||||
|
||||
Recommended level:
|
||||
|
||||
Level 2 or 3
|
||||
|
||||
Include:
|
||||
|
||||
- workflows;
|
||||
- prerequisites;
|
||||
- dependencies;
|
||||
- execution steps.
|
||||
|
||||
---
|
||||
|
||||
## White Papers
|
||||
|
||||
Recommended level:
|
||||
|
||||
Level 2 or 3
|
||||
|
||||
Focus on:
|
||||
|
||||
- conceptual synthesis;
|
||||
- strategic implications;
|
||||
- ontology relationships;
|
||||
- research retrieval.
|
||||
|
||||
---
|
||||
|
||||
## Research Libraries
|
||||
|
||||
Recommended level:
|
||||
|
||||
Level 3 or 4
|
||||
|
||||
Focus on:
|
||||
|
||||
- graph traversal;
|
||||
- semantic lineage;
|
||||
- synthesis;
|
||||
- evidence relationships.
|
||||
|
||||
---
|
||||
|
||||
## Monetized Knowledge Systems
|
||||
|
||||
Recommended level:
|
||||
|
||||
Level 4 or 5
|
||||
|
||||
Include:
|
||||
|
||||
- previews;
|
||||
- permissions;
|
||||
- value signaling;
|
||||
- economic routing.
|
||||
|
||||
---
|
||||
|
||||
# Important Architectural Principle
|
||||
|
||||
The QA layer is:
|
||||
|
||||
semantic interaction infrastructure
|
||||
|
||||
—not merely FAQ generation.
|
||||
|
||||
Over time this layer may evolve into:
|
||||
|
||||
- executable workflows;
|
||||
- semantic APIs;
|
||||
- agent interaction contracts;
|
||||
- retrieval orchestration layers;
|
||||
- AI-native execution interfaces.
|
||||
|
||||
Design the QA layer with future graph and agent systems in mind.
|
||||
|
||||
---
|
||||
|
||||
# Final Output Requirement
|
||||
|
||||
Output a COMPLETE valid `qa.json` file.
|
||||
|
||||
Do NOT output:
|
||||
|
||||
- markdown commentary;
|
||||
- explanations;
|
||||
- partial fragments;
|
||||
- pseudo-JSON.
|
||||
|
||||
The final output should be:
|
||||
|
||||
- production-ready;
|
||||
- machine-readable;
|
||||
- semantically grounded;
|
||||
- suitable for direct ingestion into downstream systems.
|
||||
|
||||
# Chunk Coverage Validation
|
||||
|
||||
After QA generation completes:
|
||||
|
||||
1. Compare all chunk_id values in chunks.json
|
||||
2. Compare all referenced chunk_ids in qa.json
|
||||
3. Identify:
|
||||
- orphaned chunks;
|
||||
- over-referenced chunks;
|
||||
- under-referenced chunks.
|
||||
|
||||
Recommended minimum:
|
||||
|
||||
- every meaningful chunk should have at least one QA reference;
|
||||
- strategic chunks should have multiple QA references;
|
||||
- synthesis chunks should connect across multiple chunks.
|
||||
|
||||
Possible exclusions:
|
||||
|
||||
- placeholders;
|
||||
- decorative fragments;
|
||||
- empty UI scaffolding;
|
||||
- forms.
|
||||
|
||||
Reference in new issue
Block a user