Inspector & CLI Actions
The right-hand inspector rail (380px wide by default) lets you examine the selected node’s metadata, claims, pins, warnings, and rationale prose, as well as trigger deccy CLI maintenance actions.
Tab Bar & Warning Status Strip
At the top of the right rail are two tabs:
Details— Node ID, CLI actions, claimed files, connector pins, and kind/type metadata.Rationale— Rendered rationale prose and aneditbutton for opening the rationale file in the built-in editor.
Immediately below the tab bar — and visible on both the Details and Rationale tabs — is the status strip showing all warning and problem badges for the currently selected node:
| Badge | Color | Meaning |
|---|---|---|
stale <n> | Amber warning | Connector has n pins whose target digest no longer matches the pinned at digest. |
drift <n> | Amber warning | Node has n claimed files whose on-disk contents differ from the recorded claim digest. |
unpinned <n> | Amber warning | Connector has n pins with no recorded at digest. |
dangling <n> | Red danger | Connector has n pins pointing to a target ID that does not exist in .deccy/nodes. |
missing <n> | Red danger | Node has n claimed files that cannot be read from disk. |
missing rationale | Red danger | Node’s record points to a rationale file under .deccy/ that is missing or unreadable. |
no rationale | Muted grey | Node has no rationale pointer set. |
Details Tab
With No Node Selected
When no card is selected on the graph, the Details tab shows:
- The
Actionssection containing store-wide commands (validate,validate --merge, andrepin all (n)ifnconnectors in the store currently have stale pins). - A muted
select a nodeprompt.
With a Node Selected
Selecting a card populates the Details tab from top to bottom:
- Title: The node’s full title in accent blue.
- ID & Copy Button: The full 32-character node ID in monospace alongside a
copy idbutton (shortcut:⌘con macOS,Ctrl+Con Linux/Windows). Copying places the full 32-character ID on the system clipboard and showscopied <8-char-prefix>in the bottom feedback bar for 2 seconds. Actions: Store-wide actions plus context-sensitive actions for the selected node (see Running CLI Actions below).Claims <n>: Lists each file path claimed by the node:- Left-click any claim path to open that file in the built-in code editor.
- Right-click a claim path to open a context menu with
open in editorandcopy claim path. - If a claimed file has changed on disk or cannot be read, a
drift(amber) ormissing(red) badge appears beneath its path.
Head <n>andTail <n>(Connectors Only): When a connector is selected, these sections list the abbreviated ID of every pinned target node along with per-pinstale,unpinned, ordanglingbadges. Decision nodes omit theHeadandTailsections.- Kind & Type Footer: Displayed at the bottom-right of the tab as
<kind> · <type>(for example,decision · textorconnector · non-contradiction). The second word (<type>) is the key used for custom card colors in.deccy/settings.json.
Rationale Tab
The Rationale tab displays the prose file referenced by the selected node’s rationale pointer (resolved relative to .deccy/):
editButton: When the selected node has a rationale pointer, a right-alignededitbutton appears at the top of the tab. Clicking it opens the rationale file in the built-in code editor.- Markdown Rendering: If the rationale path ends in
.md,.mdx, or.markdown(case-insensitive), it renders as formatted dark-themed Markdown with selectable text, syntax-highlighted code blocks, and clickable links (which open in your system browser). - Plain-Text Rendering: Any other file extension renders as wrapped monospace text, preserving exact characters and whitespace.
- Missing or Unset Rationale: Displays
no rationalein muted text when the node has no rationale pointer, or displays the filesystem read error in red if the referenced file is missing.
Context Menus
Right-clicking elements in the graph or inspector opens quick-action context menus:
Graph Card Context Menu (Right-Click a Card)
| Menu Item | Action |
|---|---|
copy id | Copy the card’s full 32-character node ID to the clipboard. |
open claims in editor | Open the node’s first claimed file in the built-in code editor (disabled if the node has no claims). |
open rationale in editor | Open the node’s rationale file in the built-in code editor (disabled if the node has no rationale pointer). |
validate store | Run deccy validate on the store. |
centre on card | Pan the graph viewport so this card is centered in the pane. |
Claim Row Context Menu (Right-Click a Claim Path in Details)
| Menu Item | Action |
|---|---|
open in editor | Open the claimed file in the built-in code editor. |
copy claim path | Copy the resolved filesystem path of the claimed file to the clipboard. |
Running CLI Actions
All structural maintenance commands are executed by spawning the discovered deccy CLI binary as a subprocess with the store root as its working directory.
| Button Label | When Shown in Details → Actions | Keyboard Shortcut | Exact deccy CLI Arguments |
|---|---|---|---|
validate | Always | v (in graph view) | deccy validate |
validate --merge | Always | — | deccy validate --merge |
repin | Selected node is a connector with stale > 0 | — | deccy link <id> --repin |
refresh claims | Selected node (decision or connector) has drift > 0 | — | deccy claim <id> --refresh |
repin all (n) | No node is selected, and n > 0 connectors in the store have stale > 0 | — | Runs deccy link <id> --repin sequentially for each stale connector in sorted ID order |
Execution Model & Output Logging
- Single Action Slot: Only one CLI action (or
repin allbatch) can run at a time, preventing concurrent writes to.deccy/. While an action is running, all action buttons are disabled and the bottom feedback bar displaysrunning <label>. - Automatic Reload: As soon as the CLI command (or the final command in
repin all) finishes,deccy-guireloads the store in the background and updates all cards, edges, and badges. - Inspecting Command Output: Every command run is recorded in the drawer’s
Outputstab with its exact$ <argv>, exit code (exit 0in green or non-zero in red), and capturedstdout/stderr. See Built-in Editor & Terminal Drawer for details.