Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
okfpub
command
Command okfpub mirrors an OKF bundle into a pluggable publishing backend (Notion first).
|
Command okfpub mirrors an OKF bundle into a pluggable publishing backend (Notion first). |
|
okftool
command
Command okftool is a small, deterministic CLI for authoring and maintaining Open Knowledge Format (OKF) bundles.
|
Command okftool is a small, deterministic CLI for authoring and maintaining Open Knowledge Format (OKF) bundles. |
|
internal
|
|
|
areas
Package areas loads a bundle's /areas.json — the repo-root registry that maps each content area to a directory or single file, its unified-database row type, and an optional role marker.
|
Package areas loads a bundle's /areas.json — the repo-root registry that maps each content area to a directory or single file, its unified-database row type, and an optional role marker. |
|
bundle
Package bundle discovers an OKF bundle root, parses its markdown files into a concept/index/log model, classifies and resolves links, and builds the concept link graph.
|
Package bundle discovers an OKF bundle root, parses its markdown files into a concept/index/log model, classifies and resolves links, and builds the concept link graph. |
|
command
Package command implements the okf subcommands (lint, index, fmt, new, graph) and their shared plumbing: global flags, bundle discovery/loading, and the human/JSON renderers.
|
Package command implements the okf subcommands (lint, index, fmt, new, graph) and their shared plumbing: global flags, bundle discovery/loading, and the human/JSON renderers. |
|
config
Package config loads per-bundle okf.toml configuration.
|
Package config loads per-bundle okf.toml configuration. |
|
fix
Package fix is the mechanical autofix engine: the transforms that rewrite a bundle's pages to satisfy the fixable rules (link style, citation numbering, wikilink expansion, frontmatter order, timestamps) and regenerate index pages.
|
Package fix is the mechanical autofix engine: the transforms that rewrite a bundle's pages to satisfy the fixable rules (link style, citation numbering, wikilink expansion, frontmatter order, timestamps) and regenerate index pages. |
|
gaps
Package gaps finds concepts semantically near a seed page but not yet linked to it — the candidate cross-links / bridges a bundle author might add to refine a topic.
|
Package gaps finds concepts semantically near a seed page but not yet linked to it — the candidate cross-links / bridges a bundle author might add to refine a topic. |
|
parser
Package parser turns a markdown file into a Document: its YAML frontmatter (kept both as a decoded map and as an order-preserving yaml.Node), its body, and the markdown links and headings found in the body.
|
Package parser turns a markdown file into a Document: its YAML frontmatter (kept both as a decoded map and as an order-preserving yaml.Node), its body, and the markdown links and headings found in the body. |
|
publish
Package publish is the umbrella for okfpub's publisher-only subtree.
|
Package publish is the umbrella for okfpub's publisher-only subtree. |
|
publish/backend
Package backend defines the generic, backend-neutral publishing interface.
|
Package backend defines the generic, backend-neutral publishing interface. |
|
publish/backend/backendtest
Package backendtest is the cross-backend conformance kit: one set of behavioural properties that EVERY publishing backend must satisfy, run against each backend's own harness.
|
Package backendtest is the cross-backend conformance kit: one set of behavioural properties that EVERY publishing backend must satisfy, run against each backend's own harness. |
|
publish/backend/fake
Package fake is a fully in-memory backend that implements all four publishing role interfaces.
|
Package fake is a fully in-memory backend that implements all four publishing role interfaces. |
|
publish/backend/fs
Package fs is a filesystem/export backend: a second, real backend that implements all four publishing role interfaces against the SAME seam Notion does, while stressing the OPPOSITE policy on every axis.
|
Package fs is a filesystem/export backend: a second, real backend that implements all four publishing role interfaces against the SAME seam Notion does, while stressing the OPPOSITE policy on every axis. |
|
publish/backend/gdocs
Package gdocs publishes an OKF bundle selection to a Google Doc: one tab per page, in one document, found-or-created inside a configured shared drive.
|
Package gdocs publishes an OKF bundle selection to a Google Doc: one tab per page, in one document, found-or-created inside a configured shared drive. |
|
publish/backend/notion
Package notion implements the generic publishing backend against the Notion API.
|
Package notion implements the generic publishing backend against the Notion API. |
|
publish/graph
Package graph is Stage 1 of the okfpub pipeline: concurrent generation of the backend-neutral operation dependency graph (op-DAG).
|
Package graph is Stage 1 of the okfpub pipeline: concurrent generation of the backend-neutral operation dependency graph (op-DAG). |
|
publish/optimize
Package optimize is Stage 2 of the okfpub pipeline: a pure, deterministic transform from the op-DAG into a transaction-DAG.
|
Package optimize is Stage 2 of the okfpub pipeline: a pure, deterministic transform from the op-DAG into a transaction-DAG. |
|
publish/pipeline
Package pipeline is okfpub's command-level glue: it loads the repo-root config surface (#156 contract), selects a publishing backend, and drives the three stages — Generation, Optimization, Transport — end to end for one publish.
|
Package pipeline is okfpub's command-level glue: it loads the repo-root config surface (#156 contract), selects a publishing backend, and drives the three stages — Generation, Optimization, Transport — end to end for one publish. |
|
publish/source
Package source resolves the source-repo web coordinates a mirrored page's generated-page disclaimer banner deep-links into (sigma/ideas ADR-0015).
|
Package source resolves the source-repo web coordinates a mirrored page's generated-page disclaimer banner deep-links into (sigma/ideas ADR-0015). |
|
publish/transport
Package transport is Stage 3 of the okfpub pipeline: it drains the transaction-DAG wavefront-by-wavefront against a backend Executor.
|
Package transport is Stage 3 of the okfpub pipeline: it drains the transaction-DAG wavefront-by-wavefront against a backend Executor. |
|
qmd
Package qmd integrates the optional qmd semantic-search tool for the qmd-backed extension rules (OKFEXT-QMD-01 near-duplicate, OKFEXT-QMD-02 staleness).
|
Package qmd integrates the optional qmd semantic-search tool for the qmd-backed extension rules (OKFEXT-QMD-01 near-duplicate, OKFEXT-QMD-02 staleness). |
|
rules
Package rules is the catalog of okf lint rules (docs/RULES.md).
|
Package rules is the catalog of okf lint rules (docs/RULES.md). |
|
schema
Package schema loads a bundle's /schema.json — the closed, authoritative declaration of the columns of a unified export database (the sigma/ideas Notion mirror, issue #117).
|
Package schema loads a bundle's /schema.json — the closed, authoritative declaration of the columns of a unified export database (the sigma/ideas Notion mirror, issue #117). |
Click to show internal directories.
Click to hide internal directories.