Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Example enrichment package

Generated by `scripts/enrichment/build_example.py` from a synthetic document (`example-manual.pdf` does not exist). `raw/` is the authoritative deterministic extraction. `ai-navigation/` holds AI-generated navigation aids (canned example wording): `index.md`, `chapters/`, `topics/`, `navigation.json`, `generation.json`. Every AI file carries the AI-GENERATED NAVIGATION AID notice and discovery-only metadata. `raw/extraction.json` holds the authoritative extraction metadata.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
content_type: "ai_generated_navigation"
trust_level: "discovery_only"
authoritative: false
generated_from: "deterministic_extraction"
artifact_kind: "chapter"
source_document: "example-manual.pdf"
extracted_content: "../raw/extracted.md"
source_sha256: "example-source-sha256"
generation_model: "example-model"
prompt_version: "decompose-v1+summarise-v1+rollup-v1"
generation_timestamp: "2026-01-01T00:00:00+00:00"
source_pages: [1, 2]
uncertain_boundary: false
---

> **AI-GENERATED NAVIGATION AID**
> This content was generated to support knowledge discovery and may contain omissions, interpretation errors, or inaccurate summaries. Do not treat it as authoritative. Verify factual answers against the deterministic extracted content and the original source document.


# Leave

Rules for leave.

- [Leave requests and approval](../topics/01-leave-requests-and-approval.md) — pages 1-2
- Explains how to request leave, who approves it and how much notice each type needs.
- Keywords: leave, approval, notice, vacation, time off
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
content_type: "ai_generated_navigation"
trust_level: "discovery_only"
authoritative: false
generated_from: "deterministic_extraction"
artifact_kind: "chapter"
source_document: "example-manual.pdf"
extracted_content: "../raw/extracted.md"
source_sha256: "example-source-sha256"
generation_model: "example-model"
prompt_version: "decompose-v1+summarise-v1+rollup-v1"
generation_timestamp: "2026-01-01T00:00:00+00:00"
source_pages: [3, 3]
uncertain_boundary: false
---

> **AI-GENERATED NAVIGATION AID**
> This content was generated to support knowledge discovery and may contain omissions, interpretation errors, or inaccurate summaries. Do not treat it as authoritative. Verify factual answers against the deterministic extracted content and the original source document.


# Expenses

Rules for expense claims.

- [Expense claims](../topics/02-expense-claims.md) — pages 3-3 *(uncertain boundary/title)*
- Covers submitting expense claims, the signature rule and when payment arrives.
- Keywords: expenses, reimbursement, claims, refund
- Related: [Leave requests and approval](../topics/01-leave-requests-and-approval.md) — both depend on manager approval
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"approved": true,
"provider": "host-agent (example)",
"scope": "document",
"estimated_tokens": 500,
"recorded": "2026-11-04T10:32:43-07:00"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
{
"prompt_version": "decompose-v1",
"source_document": "example-manual.pdf",
"source_sha256": "example-source-sha256",
"extraction_sha256": "06fa110a2bfa1de0b6ac33e58a7d69115bcd106671a3a13f73ca122c2bf3a899",
"windows": {
"001": {
"window": [
0,
417
],
"status": "done",
"attempts": 1,
"error": null
}
},
"topics": [
{
"window_id": "001",
"title": "Leave requests and approval",
"start": 0,
"end": 259,
"uncertain": false
},
{
"window_id": "001",
"title": "Expense claims",
"start": 259,
"end": 417,
"uncertain": true
}
],
"model": "example-model",
"generation_timestamp": "2026-01-01T00:00:00+00:00",
"manifest": [
{
"file": "topics/01-leave-requests-and-approval.md",
"title": "Leave requests and approval",
"start": 0,
"end": 259,
"source_pages": [
1,
2
],
"uncertain": false
},
{
"file": "topics/02-expense-claims.md",
"title": "Expense claims",
"start": 259,
"end": 417,
"source_pages": [
3,
3
],
"uncertain": true
}
],
"summaries": {
"topics/01-leave-requests-and-approval.md": {
"summary": "Explains how to request leave, who approves it and how much notice each type needs.",
"keywords": [
"leave",
"approval",
"notice"
],
"synonyms": [
"vacation",
"time off"
]
},
"topics/02-expense-claims.md": {
"summary": "Covers submitting expense claims, the signature rule and when payment arrives.",
"keywords": [
"expenses",
"reimbursement"
],
"synonyms": [
"claims",
"refund"
]
}
},
"rollup": {
"document_summary": "A short staff guide to taking leave and claiming expenses.",
"groups": [
{
"title": "Leave",
"summary": "Rules for leave.",
"topics": [
"topics/01-leave-requests-and-approval.md"
]
},
{
"title": "Expenses",
"summary": "Rules for expense claims.",
"topics": [
"topics/02-expense-claims.md"
]
}
],
"relations": [
{
"from": "topics/02-expense-claims.md",
"to": "topics/01-leave-requests-and-approval.md",
"reason": "both depend on manager approval"
}
]
},
"navigation_files": [
"chapters/01-leave.md",
"chapters/02-expenses.md",
"index.md"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
content_type: "ai_generated_navigation"
trust_level: "discovery_only"
authoritative: false
generated_from: "deterministic_extraction"
artifact_kind: "index"
source_document: "example-manual.pdf"
extracted_content: "../raw/extracted.md"
source_sha256: "example-source-sha256"
generation_model: "example-model"
prompt_version: "decompose-v1+summarise-v1+rollup-v1"
generation_timestamp: "2026-01-01T00:00:00+00:00"
source_pages: [1, 3]
uncertain_boundary: false
---

> **AI-GENERATED NAVIGATION AID**
> This content was generated to support knowledge discovery and may contain omissions, interpretation errors, or inaccurate summaries. Do not treat it as authoritative. Verify factual answers against the deterministic extracted content and the original source document.


# Document index

Source: `example-manual.pdf` · authoritative extraction: [../raw/extracted.md](../raw/extracted.md)

## Document summary

A short staff guide to taking leave and claiming expenses.

## Chapters and topics

### [Leave](chapters/01-leave.md) — pages 1-2

Rules for leave.

- [Leave requests and approval](topics/01-leave-requests-and-approval.md) — pages 1-2
- Explains how to request leave, who approves it and how much notice each type needs.
- Keywords: leave, approval, notice, vacation, time off

### [Expenses](chapters/02-expenses.md) — pages 3-3

Rules for expense claims.

- [Expense claims](topics/02-expense-claims.md) — pages 3-3 *(uncertain boundary/title)*
- Covers submitting expense claims, the signature rule and when payment arrives.
- Keywords: expenses, reimbursement, claims, refund
- Related: [Leave requests and approval](topics/01-leave-requests-and-approval.md) — both depend on manager approval
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"content_type": "ai_generated_navigation",
"authoritative": false,
"source_document": "example-manual.pdf",
"source_sha256": "example-source-sha256",
"document_summary": "A short staff guide to taking leave and claiming expenses.",
"groups": [
{
"title": "Leave",
"summary": "Rules for leave.",
"topics": [
"topics/01-leave-requests-and-approval.md"
]
},
{
"title": "Expenses",
"summary": "Rules for expense claims.",
"topics": [
"topics/02-expense-claims.md"
]
}
],
"relations": [
{
"from": "topics/02-expense-claims.md",
"to": "topics/01-leave-requests-and-approval.md",
"reason": "both depend on manager approval"
}
],
"topics": [
{
"file": "topics/01-leave-requests-and-approval.md",
"title": "Leave requests and approval",
"start": 0,
"end": 259,
"source_pages": [
1,
2
],
"uncertain": false,
"summary": "Explains how to request leave, who approves it and how much notice each type needs.",
"keywords": [
"leave",
"approval",
"notice"
],
"synonyms": [
"vacation",
"time off"
]
},
{
"file": "topics/02-expense-claims.md",
"title": "Expense claims",
"start": 259,
"end": 417,
"source_pages": [
3,
3
],
"uncertain": true,
"summary": "Covers submitting expense claims, the signature rule and when payment arrives.",
"keywords": [
"expenses",
"reimbursement"
],
"synonyms": [
"claims",
"refund"
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
content_type: "ai_generated_navigation"
trust_level: "discovery_only"
authoritative: false
generated_from: "deterministic_extraction"
artifact_kind: "topic"
source_document: "example-manual.pdf"
extracted_content: "../raw/extracted.md"
source_sha256: "example-source-sha256"
generation_model: "example-model"
prompt_version: "decompose-v1"
generation_timestamp: "2026-11-04T10:32:44-07:00"
source_pages: [1, 2]
uncertain_boundary: false
---

> **AI-GENERATED NAVIGATION AID**
> This content was generated to support knowledge discovery and may contain omissions, interpretation errors, or inaccurate summaries. Do not treat it as authoritative. Verify factual answers against the deterministic extracted content and the original source document.


# Leave requests and approval

Leave requests must be filed before the leave starts.

Managers approve or decline a request within five working days.

| Leave type | Notice |
| --- | --- |
| Annual | 10 days |
| Sick | As soon as possible |

Unused annual leave carries over for one year.

Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
content_type: "ai_generated_navigation"
trust_level: "discovery_only"
authoritative: false
generated_from: "deterministic_extraction"
artifact_kind: "topic"
source_document: "example-manual.pdf"
extracted_content: "../raw/extracted.md"
source_sha256: "example-source-sha256"
generation_model: "example-model"
prompt_version: "decompose-v1"
generation_timestamp: "2026-11-04T10:32:44-07:00"
source_pages: [3, 3]
uncertain_boundary: true
---

> **AI-GENERATED NAVIGATION AID**
> This content was generated to support knowledge discovery and may contain omissions, interpretation errors, or inaccurate summaries. Do not treat it as authoritative. Verify factual answers against the deterministic extracted content and the original source document.
> The title and boundaries of this section were inferred and are marked uncertain.


# Expense claims

Expense claims are submitted with receipts attached.

Claims over the travel limit need a director's signature.

Reimbursement is paid in the next pay cycle.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Leave requests must be filed before the leave starts.

Managers approve or decline a request within five working days.

| Leave type | Notice |
| --- | --- |
| Annual | 10 days |
| Sick | As soon as possible |

Unused annual leave carries over for one year.

Expense claims are submitted with receipts attached.

Claims over the travel limit need a director's signature.

Reimbursement is paid in the next pay cycle.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"content_type": "deterministic_extraction",
"trust_level": "authoritative_extraction",
"authoritative": true,
"source_document": "example-manual.pdf",
"source_sha256": "example-source-sha256"
}
Loading
Loading