Document reference
5 pages, 9 routes, 8 connections and 2 CLI commands, generated from the declarations of Doc without reading storage or running anything.
Code · 0 files
No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.
Pages · 6
| Page | View id | Role | Route | Order | Parent | Entity | Navigation |
|---|---|---|---|---|---|---|---|
| Overview | doc.home | home | /view/doc | 0 | in navigation | ||
| Revision review | doc.revision | editor | /view/doc/revision | 0 | doc.library | doc.take | hidden |
| List | doc.library | list | /view/doc/list | 20 | doc.document | in navigation | |
| Create | doc.author | editor | /view/doc/create | 80 | doc.library | doc.document | in navigation |
| Author document | doc.author | /view/doc/new | in navigation | ||||
| Stored document | doc.document | /view/doc/document | in navigation |
Connections · 8
Doc.Document.Edit
Save new text for a stored document, from whole-document Markdown or per-passage replacements. The text being replaced is first kept as a doc.version.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| document_id | required | |||
| markdown | optional | |||
| leaves | optional | |||
| title | optional | |||
| note | optional |
- Output keydoc.result
- Classificationreal
- POST /doc/document/editHTTP route
Doc.Document.Generate
Author a long-form document (paper/novel/article) from a brief: build the outline tree, fill each leaf via the Intelligence LLM path (template fallback) grounded in any supplied facts, persist the DocumentSpec + a content-addressed prose take, and return the document + rendered Markdown.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| title | required | |||
| genre | optional | |||
| premise | optional | |||
| audience | optional | |||
| voice | optional | |||
| units | optional | |||
| seed | optional | |||
| use_llm | optional | |||
| model | optional | |||
| document_id | optional | |||
| grounding | optional | |||
| debate_rounds | optional |
- Output keydoc.result
- Classificationreal
- POST /doc/document/generateHTTP route
- doc generateCLI command
Doc.Get
Fetch a persisted document (spec + rendered markdown) by id.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| document_id | required |
- Output keydoc.result
- Classificationroute_handler
- POST /doc/document/getHTTP route
Doc.List
List persisted documents (lightweight summaries, newest first).
- Output keydoc.result
- Classificationroute_handler
- GET /doc/document/listHTTP route
Doc.Revision.Apply
Apply a doc.revision.v1 spec over persisted prose takes: keep/cut/rewrite/replace passages, return the revised markdown. The subtractive dual of generation.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| revision | required |
- Output keydoc.result
- Classificationroute_handler
- POST /doc/revision/applyHTTP route
Doc.Status
Doc subsystem health + whether a default LLM provider is installed.
- Output keydoc.result
- Classificationroute_handler
- GET /doc/statusHTTP route
- doc statusCLI command
Doc.Version.Restore
Make a saved version the stored document again. The current text is kept as a new version first, so a restore can be undone.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| document_id | required | |||
| version | required |
- Output keydoc.result
- Classificationreal
- POST /doc/version/restoreHTTP route
Doc.Versions
List a document's saved versions (newest first), or read one version in full.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| document_id | required | |||
| version | optional |
- Output keydoc.result
- Classificationroute_handler
- POST /doc/versionsHTTP route
CLI commands · 2
doc generate
Author a long-form document from a brief
doc generate
doc status
Check doc app status
doc status
Other routes · 1
| Method | Path | Kind |
|---|---|---|
| GET | /doc/document/export | raw handler |
Schema and data model
Declared storage and kinds. Linked kinds open their app pages.
- Authorityhyper
- Preferred truthhyper
- App ownerDoc
- SQL projectionnone · DDL declarations: 0
- doc.document
- doc.take
- doc.version
- doc.bible.fact
- doc.corpus.source
- doc.document
- doc.take
- doc.version
- None declared.
- None declared.
- None declared.
- No model warnings were reported.
Structure review · 2
- Doc · warningAn app with pages needs highlights and getting-started steps for its About page. (incomplete_intro)