This is a public, read-only report. Striff reads this repository's docs, turns each sentence that makes a claim about the code into a rule, and checks the rule against the code on the default branch. How this works
src/ai/claudeAgentChild.ts owns ChildAgent — the per-child plumbing (one spawned claude, its priming turn, stream-json parsing, signal-cancel, crash bookkeeping).
ChildAgent is in app/electron-client/src/ai
Holds
The IPC return shape is AiComponentIpcReply = { result: Result<AiComponentResponse>, usage: RequestUsage | null } — result carries the parsed/validated component (or an error), and usage carries inputTokens/outputTokens plus contextTokens (the API-reported input size for this turn — see "Context tokens" below).
2 rules from this sentence
AiComponentIpcReply has result
Holds
AiComponentIpcReply has usage
Holds
the session itself surfaces ENOENT through the watcher (synchronous spawner throws via firstSpawn, async 'error' events captured by ChildProcessHandle's exitError and forwarded through UnexpectedExitInfo).
ChildProcessHandle has exitError
Holds
Vue is the main GUI framework. Shared infrastructure — app shell, command palette, loading screen, cross-feature primitives, i18n, providers — lives at src/ directly (src/components/, src/providers/, etc.), not inside any feature subtree.
LoadingScreen is in app/gui/src
Holds
App.vue / ReactRoot.tsx / entrypoint.ts wire the subtrees together at the top level.
ReactRoot is in app/gui/src
Holds
Small Yjs-based bidirectional message channel library shared by ydoc-server, ydoc-shared, and the GUI.
3 rules from this sentence
something in app/ydoc-server depends on something in app/ydoc-channel
checks “shared by ydoc-server”
Holdsydoc-server → ydoc-channel
something in app/ydoc-shared depends on something in app/ydoc-channel
checks “shared by”
Holdsydoc-shared → ydoc-channel
something in app/gui depends on something in app/ydoc-channel
checks “shared by”
Holdsgui → ydoc-channel
WebSocket support comes from the engine host, not ws;
nothing in app/ydoc-server-polyglot may import ws
Holds
User name:Standard.Base.Data.Text.Text email:Standard.Base.Data.Text.Text id:Standard.Base.Data.Text.Text is_enabled:Standard.Base.Data.Boolean.Boolean root_directory_id:Standard.Base.Data.Text.Text organization_name:Standard.Base.Data.Text.Text