Skip to content
1 viewer
View

Document reference

5 pages, 9 routes, 8 connections and 2 CLI commands, generated from the declarations of Doc without reading storage or running anything.

AboutCode

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

Declared views
PageView idRoleRouteOrderParentEntityNavigation
Overviewdoc.homehome/view/doc0in navigation
Revision reviewdoc.revisioneditor/view/doc/revision0doc.librarydoc.takehidden
Listdoc.librarylist/view/doc/list20doc.documentin navigation
Createdoc.authoreditor/view/doc/create80doc.librarydoc.documentin navigation
Author documentdoc.author/view/doc/newin navigation
Stored documentdoc.document/view/doc/documentin navigation
6 rows

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.

Doc.Document.Edit input
FieldTypeRequiredDescriptionAllowed
document_idrequired
markdownoptional
leavesoptional
titleoptional
noteoptional
5 rows
Calls and output
  • 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.

Doc.Document.Generate input
FieldTypeRequiredDescriptionAllowed
titlerequired
genreoptional
premiseoptional
audienceoptional
voiceoptional
unitsoptional
seedoptional
use_llmoptional
modeloptional
document_idoptional
groundingoptional
debate_roundsoptional
12 rows
Calls and output

Doc.Get

Fetch a persisted document (spec + rendered markdown) by id.

Doc.Get input
FieldTypeRequiredDescriptionAllowed
document_idrequired
1 row
Calls and output
  • Output keydoc.result
  • Classificationroute_handler
  • POST /doc/document/getHTTP route

Doc.List

List persisted documents (lightweight summaries, newest first).

Calls and output
  • 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.

Doc.Revision.Apply input
FieldTypeRequiredDescriptionAllowed
revisionrequired
1 row
Calls and output
  • Output keydoc.result
  • Classificationroute_handler
  • POST /doc/revision/applyHTTP route

Doc.Status

Doc subsystem health + whether a default LLM provider is installed.

Calls and output

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.

Doc.Version.Restore input
FieldTypeRequiredDescriptionAllowed
document_idrequired
versionrequired
2 rows
Calls and output
  • 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.

Doc.Versions input
FieldTypeRequiredDescriptionAllowed
document_idrequired
versionoptional
2 rows
Calls and output
  • 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

Routes without a connection
MethodPathKind
GET/doc/document/exportraw handler
1 row

Schema and data model

Declared storage and kinds. Linked kinds open their app pages.

Declared storage
  • Authorityhyper
  • Preferred truthhyper
  • App ownerDoc
  • SQL projectionnone · DDL declarations: 0
Hyper vertex kinds read
Hyper vertex kinds written
  • doc.bible.fact
  • doc.corpus.source
  • doc.document
  • doc.take
  • doc.version
Hyper edge kinds written
  • None declared.
Asset namespaces read
  • None declared.
Asset namespaces minted
  • None declared.
Model warnings
  • No model warnings were reported.

Structure review · 2

Errors · 1
Warnings · 1
  • Doc · warningAn app with pages needs highlights and getting-started steps for its About page. (incomplete_intro)