internal/

directory
v0.0.0-...-5467d48 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT

Directories

Path Synopsis
Package adapter defines the Adapter interface and the global adapter registry.
Package adapter defines the Adapter interface and the global adapter registry.
backend/chi
Package chi implements the go:chi adapter.
Package chi implements the go:chi adapter.
backend/fastify
Package fastify implements the node:fastify adapter.
Package fastify implements the node:fastify adapter.
backend/gin
Package gin implements the go:gin adapter.
Package gin implements the go:gin adapter.
backend/gofiber
Package gofiber implements the go:fiber adapter.
Package gofiber implements the go:fiber adapter.
backend/rustaxum
Package rustaxum implements the rust:axum adapter.
Package rustaxum implements the rust:axum adapter.
frontend/astro
Package astro implements the ui:astro adapter.
Package astro implements the ui:astro adapter.
frontend/next
Package next implements the ui:next adapter.
Package next implements the ui:next adapter.
infra/postgres
Package postgres implements the db:postgres adapter.
Package postgres implements the db:postgres adapter.
Package aiagent provides the LLM-provider plumbing behind `acthur agent`: resolving an acthur.yml `ai:` block plus environment variables into a usable API key, a small Provider interface real providers implement, and a Context builder that turns the live graph/contract/config into the prompt context an AI-powered command sends the model.
Package aiagent provides the LLM-provider plumbing behind `acthur agent`: resolving an acthur.yml `ai:` block plus environment variables into a usable API key, a small Provider interface real providers implement, and a Context builder that turns the live graph/contract/config into the prompt context an AI-powered command sends the model.
Package config loads and validates acthur.yml into typed Go structs.
Package config loads and validates acthur.yml into typed Go structs.
Package container projects declarative adapter container specs onto local container runtime commands.
Package container projects declarative adapter container specs onto local container runtime commands.
Package contract is the safety layer of the Acthur kernel.
Package contract is the safety layer of the Acthur kernel.
Package deploy is the production half of the runtime: the pre-deploy gate, the deploy execution context, and the compose target.
Package deploy is the production half of the runtime: the pre-deploy gate, the deploy execution context, and the compose target.
artifacts
Package artifacts projects a sealed graph.Graph onto the production deploy artifacts Slice 1 of Phase 8 owns: a Dockerfile per Dockerizable service node and one docker-compose.prod.yml wiring the whole graph together.
Package artifacts projects a sealed graph.Graph onto the production deploy artifacts Slice 1 of Phase 8 owns: a Dockerfile per Dockerizable service node and one docker-compose.prod.yml wiring the whole graph together.
coolify
Package coolify is a minimal typed client for the Coolify v4 REST API, plus a deploy Target that pushes a project's docker-compose stack to a Coolify instance and waits for it to come up healthy (PRD phase-8 deploy-runtime, slice 3, tracker #52).
Package coolify is a minimal typed client for the Coolify v4 REST API, plus a deploy Target that pushes a project's docker-compose stack to a Coolify instance and waits for it to come up healthy (PRD phase-8 deploy-runtime, slice 3, tracker #52).
fly
Package fly is a minimal typed client for the Fly.io Machines API, plus a deploy Target that builds+pushes a project's Dockerized services to Fly's own registry and runs them as Fly Machines (PRD phase-9, tracker #64).
Package fly is a minimal typed client for the Fly.io Machines API, plus a deploy Target that builds+pushes a project's Dockerized services to Fly's own registry and runs them as Fly Machines (PRD phase-9, tracker #64).
railway
Package railway is a minimal typed client for Railway's public GraphQL API, plus a deploy Target that builds+pushes a project's Dockerized services to an external registry and runs them as Railway services (PRD phase-9, tracker #64).
Package railway is a minimal typed client for Railway's public GraphQL API, plus a deploy Target that builds+pushes a project's Dockerized services to an external registry and runs them as Railway services (PRD phase-9, tracker #64).
render
Package render is a minimal typed client for the Render REST API (https://api.render.com/v1), plus a deploy Target that builds+pushes a project's Dockerized services to an external registry and runs them as Render web services (PRD phase-9, tracker #64).
Package render is a minimal typed client for the Render REST API (https://api.render.com/v1), plus a deploy Target that builds+pushes a project's Dockerized services to an external registry and runs them as Render web services (PRD phase-9, tracker #64).
Package dns checks whether the hostnames `acthur dev` routes traffic through (the project's dev domain and its per-node subdomains) resolve to 127.0.0.1, and produces copy-pastable /etc/hosts instructions when they don't.
Package dns checks whether the hostnames `acthur dev` routes traffic through (the project's dev domain and its per-node subdomains) resolve to 127.0.0.1, and produces copy-pastable /etc/hosts instructions when they don't.
Package doctor checks whether the developer's machine meets all requirements for the given acthur.yml stack and can auto-fix many missing dependencies.
Package doctor checks whether the developer's machine meets all requirements for the given acthur.yml stack and can auto-fix many missing dependencies.
Package engine contains the dev and deploy orchestration engines.
Package engine contains the dev and deploy orchestration engines.
Package flags is the project's feature flag store backing `acthur flag create/list/enable/disable/toggle`.
Package flags is the project's feature flag store backing `acthur flag create/list/enable/disable/toggle`.
Package generate is the write engine behind acthur's generated code: it takes a set of plugin.GeneratedFile values (produced by acthur add's plugin generators, and — from Phase 7 slice 2 on — the contract→code pipeline) and persists them to disk idempotently, tracking what it wrote in a generated.lock file at the project root so repeat runs can tell "safe to regenerate" apart from "the user has since edited this by hand".
Package generate is the write engine behind acthur's generated code: it takes a set of plugin.GeneratedFile values (produced by acthur add's plugin generators, and — from Phase 7 slice 2 on — the contract→code pipeline) and persists them to disk idempotently, tracking what it wrote in a generated.lock file at the project root so repeat runs can tell "safe to regenerate" apart from "the user has since edited this by hand".
aicontext
Package aicontext generates AI coding-tool context files from the live Acthur graph, config, and contract registry — the "what is this project?" document described in acthur-prd.md §17.3, as opposed to the task-procedure skill files internal/generate/skillgen produces.
Package aicontext generates AI coding-tool context files from the live Acthur graph, config, and contract registry — the "what is this project?" document described in acthur-prd.md §17.3, as opposed to the task-procedure skill files internal/generate/skillgen produces.
ci
Package ci generates CI/CD pipeline configuration from the project graph.
Package ci generates CI/CD pipeline configuration from the project graph.
docsgen
Package docsgen generates living API documentation from the contract registry: one markdown page per contract (endpoints, methods, types) plus an index page linking all of them.
Package docsgen generates living API documentation from the contract registry: one markdown page per contract (endpoints, methods, types) plus an index page linking all of them.
gofiber
Package gofiber turns a parsed contract into framework-native go:fiber code: DTOs with constraint-derived validation, handlers, a service interface + skeleton, a pgx repository skeleton, route mounting, a contract-derived migration, and a test beside every source file.
Package gofiber turns a parsed contract into framework-native go:fiber code: DTOs with constraint-derived validation, handlers, a service interface + skeleton, a pgx repository skeleton, route mounting, a contract-derived migration, and a test beside every source file.
skillgen
Package skillgen generates a Claude Code skill scaffold (.claude/skills/<name>/SKILL.md) from the live project graph — the "how do I do X in this specific project?" procedure file described in acthur-prd.md §17.3/17.4, as opposed to internal/generate/aicontext's static "what is this project?" description.
Package skillgen generates a Claude Code skill scaffold (.claude/skills/<name>/SKILL.md) from the live project graph — the "how do I do X in this specific project?" procedure file described in acthur-prd.md §17.3/17.4, as opposed to internal/generate/aicontext's static "what is this project?" description.
visualize
Package visualize renders a graph.Graph as a Mermaid flowchart or a Graphviz DOT digraph for `acthur graph visualize`.
Package visualize renders a graph.Graph as a Mermaid flowchart or a Graphviz DOT digraph for `acthur graph visualize`.
Package graph is the kernel's brain.
Package graph is the kernel's brain.
Package health provides health check strategies for every node type.
Package health provides health check strategies for every node type.
Package mcp implements a Model Context Protocol server over stdio.
Package mcp implements a Model Context Protocol server over stdio.
Package output provides consistent, styled terminal output for all Acthur commands.
Package output provides consistent, styled terminal output for all Acthur commands.
Package plugin defines the Plugin interface, the KernelAPI that plugins are given access to, the kernel event bus, and the plugin loader.
Package plugin defines the Plugin interface, the KernelAPI that plugins are given access to, the kernel event bus, and the plugin loader.
builtin/admin
Package admin is the built-in "admin" plugin (Phase 9, tracker #65).
Package admin is the built-in "admin" plugin (Phase 9, tracker #65).
builtin/auth
Package auth is Acthur's built-in "auth" plugin (Phase 6 Slice 2).
Package auth is Acthur's built-in "auth" plugin (Phase 6 Slice 2).
builtin/featureflags
Package featureflags is the built-in "feature-flags" plugin (Phase 9, tracker #65).
Package featureflags is the built-in "feature-flags" plugin (Phase 9, tracker #65).
builtin/https
Package https is the built-in "https" plugin (Phase 9, tracker #65).
Package https is the built-in "https" plugin (Phase 9, tracker #65).
builtin/migrations
Package migrations is the built-in "migrations" plugin: it registers a generator that scaffolds a project's migrations/ directory with an initial golang-migrate-compatible pair, and exposes the database-command logic consumed by `acthur db migrate|rollback|status|create` (wired in cmd/acthur, since the plugin KernelAPI's CLICommand model registers only flat top-level commands — it has no notion of a command group, and `acthur db` already exists as a real cobra group in cmd/acthur/commands.go).
Package migrations is the built-in "migrations" plugin: it registers a generator that scaffolds a project's migrations/ directory with an initial golang-migrate-compatible pair, and exposes the database-command logic consumed by `acthur db migrate|rollback|status|create` (wired in cmd/acthur, since the plugin KernelAPI's CLICommand model registers only flat top-level commands — it has no notion of a command group, and `acthur db` already exists as a real cobra group in cmd/acthur/commands.go).
builtin/multitenancy
Package multitenancy is the built-in "multitenancy" plugin (Phase 6, Slice 4): schema-per-tenant multitenancy for go:fiber projects backed by Postgres.
Package multitenancy is the built-in "multitenancy" plugin (Phase 6, Slice 4): schema-per-tenant multitenancy for go:fiber projects backed by Postgres.
builtin/observability
Package observability is the built-in "observability" plugin (Phase 9, tracker #65).
Package observability is the built-in "observability" plugin (Phase 9, tracker #65).
builtin/rbac
Package rbac is the built-in "rbac" plugin: role-based access control for The go:fiber projects.
Package rbac is the built-in "rbac" plugin: role-based access control for The go:fiber projects.
builtin/security
Package security is the built-in "security" plugin (Phase 9, tracker #65).
Package security is the built-in "security" plugin (Phase 9, tracker #65).
builtin/testplugin
Package testplugin is the built-in "test" plugin: Phase 5's proof that a plugin's hook, command, and generator registrations all fire at the correct lifecycle points under the real kernel.
Package testplugin is the built-in "test" plugin: Phase 5's proof that a plugin's hook, command, and generator registrations all fire at the correct lifecycle points under the real kernel.
Package process manages child processes for all service nodes in the graph.
Package process manages child processes for all service nodes in the graph.
Package proxy implements the Acthur dev reverse proxy.
Package proxy implements the Acthur dev reverse proxy.
Package scaffold resolves adapter scaffold inputs from project config.
Package scaffold resolves adapter scaffold inputs from project config.
Package secrets is the project-scoped secret store backing `acthur secrets set/get/list/rm/rotate`.
Package secrets is the project-scoped secret store backing `acthur secrets set/get/list/rm/rotate`.
Package watcher implements a file system watcher that triggers graph-aware hot reload cascades when source files change.
Package watcher implements a file system watcher that triggers graph-aware hot reload cascades when source files change.

Jump to

Keyboard shortcuts

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