internal/

directory
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2026 License: Apache-2.0

Directories

Path Synopsis
Package blob implements the content-addressed BlobStore (§31).
Package blob implements the content-addressed BlobStore (§31).
Package buildinfo reports what build this binary is, for `idea version`, the daemon's /api/v1/version endpoint and `idea doctor`.
Package buildinfo reports what build this binary is, for `idea version`, the daemon's /api/v1/version endpoint and `idea doctor`.
Package cli implements the idea command-line interface as a thin HTTP client to the daemon (Decision D1).
Package cli implements the idea command-line interface as a thin HTTP client to the daemon (Decision D1).
Package config loads and validates the portable project configuration (.idea-harness/project.yaml and harness.yaml) against embedded JSON Schemas (§28, §30).
Package config loads and validates the portable project configuration (.idea-harness/project.yaml and harness.yaml) against embedded JSON Schemas (§28, §30).
Package context implements the deterministic Context Compiler (§37).
Package context implements the deterministic Context Compiler (§37).
Package daemon implements the localhost control-plane HTTP server (§28–§29): token-authenticated, project-scoped REST + SSE over one user-level daemon.
Package daemon implements the localhost control-plane HTTP server (§28–§29): token-authenticated, project-scoped REST + SSE over one user-level daemon.
Package docparse extracts plain text from uploaded context documents.
Package docparse extracts plain text from uploaded context documents.
Command docsgen keeps the command table in docs/cli.md in sync with the CLI's own command table (internal/cli/cli.go).
Command docsgen keeps the command table in docs/cli.md in sync with the CLI's own command table (internal/cli/cli.go).
Package domain defines the typed entities and controlled vocabularies of the idea-harness product graph (Milestone 1 subset).
Package domain defines the typed entities and controlled vocabularies of the idea-harness product graph (Milestone 1 subset).
Package eval is `idea eval`: a fixed suite of small greenfield ideas run end to end through a real, in-process daemon -- idea → PRD review → plan → change set → apply → verify -- with an automatic judgment policy standing in for the human, reporting per case and in aggregate whether each review converged, where a human would have been needed, and what it cost.
Package eval is `idea eval`: a fixed suite of small greenfield ideas run end to end through a real, in-process daemon -- idea → PRD review → plan → change set → apply → verify -- with an automatic judgment policy standing in for the human, reporting per case and in aggregate whether each review converged, where a human would have been needed, and what it cost.
Package executor defines the worker abstraction (§48–§50).
Package executor defines the worker abstraction (§48–§50).
ohfake
Package ohfake is a fake OpenHands Agent Server for tests: the subset of the v1.54.0 API the openhands executor uses, over a real directory standing in for the server's filesystem.
Package ohfake is a fake OpenHands Agent Server for tests: the subset of the v1.54.0 API the openhands executor uses, over a real directory standing in for the server's filesystem.
Package fsdiff snapshots a directory tree and computes/applies/restores content-addressed file diffs (§36).
Package fsdiff snapshots a directory tree and computes/applies/restores content-addressed file diffs (§36).
Package git creates opt-in commits of an applied change set.
Package git creates opt-in commits of an applied change set.
Package id generates opaque identifiers and scoped human-readable codes.
Package id generates opaque identifiers and scoped human-readable codes.
Package integrations is the daemon's integration event bus: it turns the project's append-only event log -- the same source the SSE endpoint streams -- into a small vocabulary of typed domain events, and delivers them to subscribers (Slack, Linear) through a persistent outbox.
Package integrations is the daemon's integration event bus: it turns the project's append-only event log -- the same source the SSE endpoint streams -- into a small vocabulary of typed domain events, and delivers them to subscribers (Slack, Linear) through a persistent outbox.
email
Package email is the outbound email notifier: a bus Subscriber that sends each wanted domain event as a plain-text message over SMTP.
Package email is the outbound email notifier: a bus Subscriber that sends each wanted domain event as a plain-text message over SMTP.
linear
Package linear is the two-way Linear integration: outbound, an approved execution plan becomes one Linear issue per task under a parent issue per initiative, kept in sync as tasks and change sets move; inbound, a poll for issues carrying a label turns each into an initiative.
Package linear is the two-way Linear integration: outbound, an approved execution plan becomes one Linear issue per task under a parent issue per initiative, kept in sync as tasks and change sets move; inbound, a poll for issues carrying a label turns each into an initiative.
push
Package push delivers integration-bus events to browsers as Web Push notifications (RFC 8030 delivery, RFC 8291 encryption, RFC 8292 VAPID; the wire work is internal/webpush).
Package push delivers integration-bus events to browsers as Web Push notifications (RFC 8030 delivery, RFC 8291 encryption, RFC 8292 VAPID; the wire work is internal/webpush).
slack
Package slack is the Slack integration: an outbound notifier (a bus Subscriber posting Block Kit messages via chat.postMessage, threaded per initiative) and an inbound Socket Mode client (buttons and the /idea slash command) that routes every action through the daemon's own HTTP handlers, gated by a per-project allowlist of Slack user IDs.
Package slack is the Slack integration: an outbound notifier (a bus Subscriber posting Block Kit messages via chat.postMessage, threaded per initiative) and an inbound Socket Mode client (buttons and the /idea slash command) that routes every action through the daemon's own HTTP handlers, gated by a per-project allowlist of Slack user IDs.
Package mcp is a small, dependency-light Model Context Protocol server: the stdio transport (newline-delimited JSON-RPC 2.0), tools, and read-only resources.
Package mcp is a small, dependency-light Model Context Protocol server: the stdio transport (newline-delimited JSON-RPC 2.0), tools, and read-only resources.
Package model provides the provider abstraction (§40) and the centralized structured-output pipeline (§39).
Package model provides the provider abstraction (§40) and the centralized structured-output pipeline (§39).
Package project initializes the portable project configuration (.idea-harness/) and manages the global/per-project runtime layout (§30).
Package project initializes the portable project configuration (.idea-harness/) and manages the global/per-project runtime layout (§30).
Package projection computes the user-facing projections — Current Understanding (§5), Recommended Next Move (§6), and What Changed (§7) — deterministically from relational state.
Package projection computes the user-facing projections — Current Understanding (§5), Recommended Next Move (§6), and What Changed (§7) — deterministically from relational state.
Package quality holds the deterministic analyses behind `idea verify`'s quality dimensions (domain.QualityDimension): an OpenAPI 3 diff, a Go exported-API diff, documented-command extraction, docs and operational- readiness heuristics, and performance-budget arithmetic.
Package quality holds the deterministic analyses behind `idea verify`'s quality dimensions (domain.QualityDimension): an OpenAPI 3 diff, a Go exported-API diff, documented-command extraction, docs and operational- readiness heuristics, and performance-budget arithmetic.
Package review implements the review engine: deterministic PRD checks, the approval bar, and conversion of adversarial-review output into structured Findings (§11, §13–§16).
Package review implements the review engine: deterministic PRD checks, the approval bar, and conversion of adversarial-review output into structured Findings (§11, §13–§16).
Package risk computes a deterministic, tier-floored risk profile and a thin threat-model summary for an initiative's changes (§31).
Package risk computes a deterministic, tier-floored risk profile and a thin threat-model summary for an initiative's changes (§31).
Package roles loads versioned Role Contracts (§9).
Package roles loads versioned Role Contracts (§9).
Package schema embeds the structured-output JSON Schemas for each workflow stage's artifact (§39).
Package schema embeds the structured-output JSON Schemas for each workflow stage's artifact (§39).
Package security enforces security outside the LLM (§43): redaction, path guards, HTML sanitization, trust classification, and the local-API token.
Package security enforces security outside the LLM (§43): redaction, path guards, HTML sanitization, trust classification, and the local-API token.
Package store provides SQLite persistence with atomic state+event appends (§32).
Package store provides SQLite persistence with atomic state+event appends (§32).
Package textdiff computes a minimal unified line diff between two texts.
Package textdiff computes a minimal unified line diff between two texts.
Package tools implements executable capabilities (Tools, §49).
Package tools implements executable capabilities (Tools, §49).
Package web serves the built React UI, injecting the per-install token so the UI can call the authenticated API (§15).
Package web serves the built React UI, injecting the per-install token so the UI can call the authenticated API (§15).
Package webpush delivers Web Push messages to browser push services without a third-party dependency: payload encryption per RFC 8291 (the aes128gcm content coding of RFC 8188) and application-server identification per RFC 8292 (VAPID), built only on the standard library.
Package webpush delivers Web Push messages to browser push services without a third-party dependency: payload encryption per RFC 8291 (the aes128gcm content coding of RFC 8188) and application-server identification per RFC 8292 (VAPID), built only on the standard library.
Package workflow implements the deterministic M1 stage graph and the orchestrator that drives it (§6, §11).
Package workflow implements the deterministic M1 stage graph and the orchestrator that drives it (§6, §11).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL