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
JobManager.getJobOutput(jobId) reads the full output file for the active session and returns an empty string if there is no active session or the file is missing.
JobManager has a getJobOutput method
Holds
notifications are composed and injected by packages/agent/src/jobs/job-notifications.ts and routed through JobManager.fanoutToInject().
JobManager has a fanoutToInject method
Holds
JobManager.finalizeJob() in packages/agent/src/jobs/job-manager.ts is an internal manager path.
JobManager has a finalizeJob method
Holds
workspaceReaper.dispose() routes through the container manager/shim release path, destroying the per-invocation container and removing /work.
WorkspaceReaper depends on ContainerManager
Holds
CompactionStrategy interface for extensibility
CompactionStrategy is a contract
Holds
All tools extend the abstract Tool class from src/tools/tool.ts:
11 rules from this sentence
BashTool, DelegateTool, FileEditTool and 7 more extend Toolchecks “All tools extend the abstract Tool class”
Holdsall 10
Tool is declared abstract
checks “abstract Tool class”
Holds
assertVersion(major) throws PluginVersionError unless major equals the kernel's plugin-contract major version (KERNEL_PLUGIN_VERSION, currently 1.0.0 → major 1).
PluginApi has an assertVersion method
Holds
Extend the abstract Tool class:
Tool is declared abstract
Holds
ToolContext.persona is the authoritative session identity, stamped server-side from the session's persona.
ToolContext has persona
Holds
To invoke a tool directly (e.g. in a test), call its publicexecute (not the protected executeValidated): tool.execute(args: unknown, ctx: ToolContext).
2 rules from this sentence
Tool has an execute method
checks “its public execute”
Holds
Tool has executeValidated
checks “the protected executeValidated”
Holds
the only required one is signal: AbortSignal.
ToolContext has signal
Holds
Field workingDirectory string, Use session cwd — resolve relative paths against it, fall back to process.cwd()
ToolContext has a workingDirectory field
Holds
Field threadId / projectId, Use session/project identity metadata
2 rules from this sentence
ToolContext has a threadId field
Holds
ToolContext has a projectId field
Holds
Field toolTempDir string, Use per-call scratch dir (via getToolTempDir(ctx) )
ToolContext has a toolTempDir field
Holds
Field processEnv NodeJS.ProcessEnv, Use env for subprocess execution
ToolContext has a processEnv field
Holds
A PreservedEntry is { role: string; content: string | Block[]; toolCalls?: unknown[]; toolResults?: unknown[] } where Block = { type: string; [k: string]: unknown }.
4 rules from this sentence
PreservedEntry has role
Holds
PreservedEntry has content
Holds
PreservedEntry has toolCalls
Holds
PreservedEntry has toolResults
Holds
PreservedEntryis exported from @lace/agent/compaction/toolkit — import the type rather than re-declaring it.
PreservedEntry is exported
Holds
inspect reads the in-process cache (and may be synchronous);
ContainerRuntime has inspect
Holds
daemonInspect hits the daemon and returns null when the container does not exist — that null case is how ContainerManager adopts boxes after a parent restart.
Method name is compact, not runCompaction (Important 6). The existing strategy interface (compaction/types.ts — CompactionStrategy.compact(events, ctx)) names this method compact;
CompactionStrategy has a compact method
Holds
The existing strategy interface (compaction/types.ts — CompactionStrategy.compact(events, ctx)) names this method compact;
CompactionStrategy is a contract
Holds
injectNotification() writes a context_injected durable event (<notification> wrapper, priority immediate), and optionally idle-wakes the session to run an internal turn (IdleWakeHooks: isActive / hasActiveTurn / triggerInternalTurn).
3 rules from this sentence
IdleWakeHooks has isActive
Holds
IdleWakeHooks has hasActiveTurn
Holds
IdleWakeHooks has triggerInternalTurn
Holds
RPC surface is unaffected — ent/personas/list → PersonaRegistry.listAvailablePersonas() → PersonaInfo[], which Part 0 preserves.
PersonaRegistry has a listAvailablePersonas method
Holds
Name-seam.ExecToolAdapter currently hard-sets this.name = descriptor.name with no override (exec-tool-adapter.ts).
ExecToolAdapter has name
Holds
the per-session SkillRegistry still feeds use_skill and SkillVariableProvider (the prompt skill list).
SkillVariableProvider depends on SkillRegistry
Holds
A plugin exports register(api) and (recommended) meta.
2 rules from this sentence
PluginModule has a register method
checks “A plugin exports register(api)”
Holds
PluginModule has meta
checks “and (recommended) meta”
Holds
extends Tool gives you input validation (your Zod schema is enforced before executeValidated runs) and result helpers (createResult, createError).
3 rules from this sentence
Tool has createResult
Holds
Tool has createError
Holds
Tool has executeValidated
Holds
ContainerRuntime is the heaviest contract (lifecycle + exec + inspect + adopt).
ContainerRuntime is a contract
Holds
The single registration site is ToolExecutor.registerAllAvailableTools in packages/agent/src/tools/executor.ts:283-311. The instance list lives at lines 287–303 — new BashTool(), new FileReadTool(), …, new ManageRemindersTool() — with UseSkillTool conditionally appended at 306–308 when a SkillRegistry is wired in.
ToolExecutor depends on UseSkillTool
Holds
The single registration site is ToolExecutor.registerAllAvailableTools in packages/agent/src/tools/executor.ts:283-311.
ToolExecutor has registerAllAvailableTools
Holds
All instances are then handed to this.registerTools(tools) at line 310.