Documentation
Doqtri docs
Living documents. Executable mindmaps. Planned vs shipped, proven on-chain. This guide covers everything from connecting a wallet to reading a document’s record straight off the ledger.
Overview
Teams plan in documents and ship somewhere else, so the doc says “done” long after reality moved on. Doqtri keeps the plan as markdown, compiles its headings into a mindmap whose nodes carry a build status, and anchors both on Stellar. Anyone can check what was planned and what shipped without trusting our database.
- TestedEach mindmap node moves Planned → Building → Built → Verified.
- ShippedEvery semantic change is hashed (SHA-256) and bumps a version.
- AnchoredHashes and node status live in the DoqtriRegistry contract.
Quick start
- Install a Stellar wallet. Varial works best; xBull, Lobstr, Hana, Klever, OneKey and HOT are also supported. Switch it to Stellar Testnet.
- Connect. Click Connect wallet and pick your wallet. It then asks you to approve a sign-in message — this proves you own the account. It is not a transaction and costs nothing.
- Open your vault. Your notes, graph and mindmaps are private to your wallet.
- Fund the account. Anchoring sends real (test) transactions, so the account needs XLM. On testnet, use Fund with Friendbot in the ship panel; the account menu shows your balance.
Writing notes
Notes are markdown, and markdown is the source of truth — everything else is derived from it.
- Headings (
#to######) become mindmap nodes, nested by level under the note’s title. [[Another note]]links notes. Links build the global graph and each note’s backlinks.- Edits save automatically. The mindmap and hash are recomputed from the text, so nothing goes stale.
## Doc ingest
Import the spec and the pricing notes. See [[Pricing]].
## Mindmap
## Ship proof
### Audit page
Importing documents
Upload document turns a PDF, DOCX, PPTX or text file (up to 20 MB) into a note. The import runs in stages and shows each one as it happens:
- Upload — the original is archived privately first
- Extract — text and tables are pulled out
- Format — an AI pass adds headings and [[wikilinks]]
- Save — the note appears in your vault
- Mindmap — generated from the new headings
If a stage fails, the import can be retried from the archived original without uploading again.
Mindmaps
- Note mindmap — in a note’s Mindmap tab. Use Build mindmap (or Rebuild) and Open full mindmap for a full-screen view.
- Global mindmap — every note and the links between them, from the ribbon.
- Node ids are positional (
h0,h1, …), which is what the contract stores.
Anchoring on Stellar
The ship panel anchors a note: it computes the SHA-256 of the note’s markdown and records it in the DoqtriRegistry contract, signed by your wallet.
- Save & anchor — saves the note, then anchors exactly what was saved. The first anchor creates version
1with you as owner; each later one anchors the new hash as the next version. It stays disabled while the note matches its latest anchor. - The note’s text never goes on-chain, only its hash. Earlier versions stay in the ledger’s history.
Node status
For each node, the ship panel records a status, the tool that built it (n8n, Make, Retool, Langflow, …) and an artifact reference such as a workflow id. Status is tied to a version: if the note changed since it was anchored, update the hash first so the status describes the right plan.
Public audit
Every anchored document has a public page at /d/<docId> — no login needed. It reads the contract directly: current version, hash, owner, the version history, and each node’s status.
- Show headings on public page (ship panel) adds node labels, but only while your private note is byte-identical to the anchored version.
- Hash check — paste text or drop a file on the audit page to compare its SHA-256 with the anchored hash. It runs in your browser; nothing is uploaded.
Security & privacy
- Sign-in needs your signature. Knowing a wallet address isn’t enough: the wallet must sign a one-time, five-minute sign-in message.
- Notes are private. Row-level security limits every note and import to its owner; uploads sit in a private storage bucket.
- On-chain data is public and permanent. Your note’s text is never written. What is: hashes, document and node ids, statuses, tool names and artifact references (including the GitHub or qdit link behind a synced status), wallet addresses, and workspace and marketplace records. Anything anchored can’t be deleted from the ledger.
- Every write is yours. The contract requires the document owner’s signature for each change.
Contract reference
DoqtriRegistry on Stellar Testnet: CCCIDUCFQMTMAGESMPTB3MFW4TURS62ORSZNICFOE6MNQZO3MI7F6QRJ
| Function | Auth | What it does |
|---|---|---|
anchor(owner, doc_id, content_hash, nodes) | owner | Register or update the document (a new version only if the text changed) and set up to 32 node statuses, in one transaction. Used by Mark mindmap done. |
register_document(owner, doc_id, content_hash) | owner | Anchor a new document at version 1 |
update_document(doc_id, new_hash) | owner | Anchor a new hash; returns the next version |
set_node_status(doc_id, node_id, status, tool, artifact_ref) | owner | Record a node’s lifecycle step |
get_document(doc_id) | — | Read a document’s anchored state |
get_node(doc_id, node_id) | — | Read a node’s build record |
Events: (doqtri, register), (doqtri, update), (doqtri, node), each carrying the doc_id. Architecture diagrams are in the README.
FAQ
- Does signing in cost anything?
- No. The sign-in message is not a transaction. Only anchoring and node updates are transactions.
- My wallet says it can’t sign messages.
- Albedo and Rabet don’t support message signing yet. Use Varial or another supported wallet.
- Can I delete an anchored version?
- No. Once a note is anchored it can’t be deleted from your vault, and the hash and statuses already on the ledger stay there — that permanence is what makes them proof.
- Why does the public page show node ids instead of headings?
- Headings are private unless you turn on Show headings on public page and the note matches the anchored version exactly.