Skip to main content

Module hubs

Module hubs 

Source
Expand description

Recognized project hub Markdown files at the workspace root.

Rust / open-source norms:

Optional planning surfaces (agent HITL — never required for a healthy brain):

  • ROADMAP.md, BACKLOG.md — priorities / unshipped work

These are indexed under stable node ids (readme, changelog, …) so agents can query and context-pack them reliably when the files exist. Absence is fine: doctor tips are info-level only. Rustbrain never invents changelog entries or plan tasks — it only densifies what is already on disk after sync.

Enums§

ProjectHub
Which hub (if any) a workspace-relative path maps to.

Constants§

HUB_BACKLOG
Stable node id for an optional root BACKLOG.
HUB_CHANGELOG
Stable node id for the root CHANGELOG hub (Keep a Changelog).
HUB_README
Stable node id for the root README hub.
HUB_ROADMAP
Stable node id for an optional root ROADMAP.

Functions§

changelog_latest_heading
Keep a Changelog: first ## […] heading as a short summary (latest section).
changelog_version_aliases
Version labels from Keep a Changelog headings, newest first, capped.
detect_project_hub
Detect a root-level project hub from a workspace-relative path.
is_hub_node_id
True when id is a recognized project hub node.
is_planning_intent
True for planning / prioritization agent prompts (roadmap, backlog, kanban-ish).
is_release_intent
True for release / history / version-oriented agent prompts.