Skip to content

HolocronConfig

Defined in: cli/cli/src/config/config/config.type.ts:827

A holocron.config as a user writes it; defineConfig types it.

optional agent?: AgentName | [AgentName, AgentOptions]

Defined in: cli/cli/src/config/config/config.type.ts:994

Agent runtime that determines where skills are installed by holocron setup. Skills are installed to .agents/skills/<name>/ (canonical) with a relative symlink at the agent-specific path:

  • "claude" → .claude/skills/<name> → ../../.agents/skills/<name>
  • "codex" | "gemini" → logged as unsupported; skipped gracefully.

A name, or a name with options in the form providers use: ["claude", { dcg: true }]. dcg: true makes setup and sync merge a PreToolUse hook that runs the destructive command guard into .claude/settings.json, and probe generated check fails when it is missing. With no options nothing is written.


optional apps?: AppConfig[]

Defined in: cli/cli/src/config/config/config.type.ts:980

Applications in the repo.


optional ci?: CiConfig

Defined in: cli/cli/src/config/config/config.type.ts:969

Settings of the repo’s CI as a whole. ci.aggregate ("actions", the default, or "sentinel") says who posts the required ci / Required checks: with "sentinel" no ci.ci.yml caller and no ci.yml reusable are generated, because Sentinel posts the check for a commit whose own config says so (spec process-sentinel-posts-ci, SPEC-0099). Flip it in one pull request, after Sentinel’s shadow agrees with the Actions aggregate (holocron doctor ci --shadow).


optional credentials?: CredentialsConfig

Defined in: cli/cli/src/config/config/config.type.ts:1031

Which environment the credentials providers (providers.credentials) read this machine’s tokens from. The default for every provider; one provider can name its own with an environment option in its providers.credentials entry, which wins. The plugin never stores the name: the CLI passes it to read. Each provider needs one or the other when providers.credentials is set.

{ environment: "Demo" }

optional description?: string

Defined in: cli/cli/src/config/config/config.type.ts:831

A one-line description of the project.


optional dev?: DevConfig

Defined in: cli/cli/src/config/config/config.type.ts:1040

How holocron dev runs this directory’s application locally behind a development tunnel: the vault environment its variables come from, the tunnel’s name and hostname, the port and the command. Every field is optional here and can be given as a flag instead (a flag wins); holocron dev says which one is missing.

{ environment: "acme/app - dev", tunnel: { name: "sentinel-dev", hostname: "sentinel-dev.theholocron.dev" } }

optional docs?: DocsConfig

Defined in: cli/cli/src/config/config/config.type.ts:1011

GitHub Pages configuration. When present, holocron setup calls the Pages API using HOLOCRON_DEPLOY_TOKEN (requires pages:write + repo scope). When absent, Pages is left as-is.

{ build: "workflow", domain: "docs.theholocron.dev", https: true }

optional doctor?: DoctorConfig

Defined in: cli/cli/src/config/config/config.type.ts:982

Settings for holocron doctor.


optional domain?: string

Defined in: cli/cli/src/config/config/config.type.ts:846

Org canonical domain (e.g. "theholocron.dev"). Subdomains are derived from this — preview: true on a deploy workflow resolves the preview base domain as preview.<domain>, giving URLs like <repo>-pr-<n>.<domain>.


optional env?: EnvConfig

Defined in: cli/cli/src/config/config/config.type.ts:1021

Environment variable namespace configuration. Declares the prefix(es) this project uses for its env vars so that tooling can generate .env.example, validate required vars, and produce accurate documentation without hard-coding prefix strings.

{ namespaces: ["HOLOCRON", "MY_CLI"] }

optional eslint?: EslintConfig

Defined in: cli/cli/src/config/config/config.type.ts:1090

ESLint bundle option overrides that Sentinel’s centralized static- analysis check (holocron#849) can’t otherwise see. Bucket 1 checks never read a PR’s own committed files for config — this is the declared source of truth Sentinel reads instead, so its check stays in sync with what each package’s own eslint.config.ts already enforces locally and in CI.


optional extraRequiredChecks?: string[]

Defined in: cli/cli/src/config/config/config.type.ts:962

Required status-check contexts not backed by a required task (codecov gates, the bundle-build check, …). holocron setup appends these to the task-derived list from astromech.requiredChecks().


optional githubApps?: GitHubAppConfig[]

Defined in: cli/cli/src/config/config/config.type.ts:1048

The registered GitHub App instances holocron doctor github-app checks: GitHub cannot change an existing App’s permissions or event subscriptions, so each instance is changed by hand and compared with its manifest here.

[{ name: "Sentinel", manifest: "apps/sentinel/github-app.manifest.json", environment: "Sentinel" }]

optional holocronScript?: string

Defined in: cli/cli/src/config/config/config.type.ts:956

The command the synced "holocron" package.json script runs. Default "holocron" (the installed bin). This repo overrides it to run its own build ("node cli/cli/dist/cli.mjs").


optional homepage?: string

Defined in: cli/cli/src/config/config/config.type.ts:833

Project homepage URL. Synced to package.json#homepage and the GitHub repo’s website field by holocron sync.


optional hooks?: boolean | { prePush?: boolean; }

Defined in: cli/cli/src/config/config/config.type.ts:976

Git hooks holocron setup installs. true / { prePush: true } writes .husky/pre-push (runs holocron run ci before every push); false / { prePush: false } opts out. Omitted → on for protection: "strict", off otherwise. --hooks / --no-hooks on holocron setup override.


optional ideas?: IdeasConfig

Defined in: cli/cli/src/config/config/config.type.ts:1056

The state that files an idea as an issue, for holocron sync ideas. Where the ideas are kept is providers.ideas; the older ideas.dir is deprecated and still read when providers.ideas is absent.

{ states: { file: "in-progress" } }

optional issueTypes?: OrgIssueType[]

Defined in: cli/cli/src/config/config/config.type.ts:848

The organization’s issue Types, from .holocron/org.* (OrgConfig.issueTypes) or set here.


optional log?: LogConfig

Defined in: cli/cli/src/config/config/config.type.ts:1064

Structured-logging config. Only the level belongs here — Axiom credentials come from env vars, never a committed file.

{ level: "debug" }

optional name?: string

Defined in: cli/cli/src/config/config/config.type.ts:829

Project name. Derived from package.json when absent.


optional notifications?: NotificationsConfig

Defined in: cli/cli/src/config/config/config.type.ts:1081

Notification settings that are not a provider’s: commandLog sets whether a command run is posted to Discord.

{ commandLog: "all" }

optional org?: string

Defined in: cli/cli/src/config/config/config.type.ts:840

Active org name for namespaced keyring lookup. When set, token resolution tries <service>.<org> before the unnamespaced <service> fallback, so a single machine can hold credentials for multiple GitHub orgs without collision. Overridden by --org CLI flag or HOLOCRON_ORG env var.


providers: RawProvidersConfig

Defined in: cli/cli/src/config/config/config.type.ts:978

Which provider backs each capability.


optional repo?: RepoConfig

Defined in: cli/cli/src/config/config/config.type.ts:855

Repository identity and metadata. When set, PluginLoader injects repo.name into every plugin’s RuntimeContext.repo so plugins that need a repo (github, etc.) don’t require --repo on every invocation. --repo on the command line still overrides.


optional repoValidation?: RepoValidationConfig

Defined in: cli/cli/src/config/config/config.type.ts:857

Per-repo switches for the repo-validation checks.


optional skills?: string[]

Defined in: cli/cli/src/config/config/config.type.ts:1002

Skill names from @theholocron/skills to install during holocron setup. Installed paths are gitignored and managed by setup — do not commit them.

["git-safety", "pr-workflow", "commit-standards"]

optional syncScripts?: boolean

Defined in: cli/cli/src/config/config/config.type.ts:950

Opt out of holocron sync’s package.json script writes. Default true.


optional tasks?: (string | TaskEntryConfig)[]

Defined in: cli/cli/src/config/config/config.type.ts:946

The task manifest — what this repo runs. Each entry is a task name (backed by a reusable workflow in theholocron/.github), or the object form to pass with: inputs. @theholocron/astromech reads this as the single source for holocron run / holocron run ci / the generated CI workflows / package.json scripts.

Supported values (intent-facing vocabulary — epic #672, D3): “verification.unitTests” | “verification.visualRegression” | “verification.typeSafety” | “verification.performance” | “sourceQuality.staticAnalysis” | “sourceQuality.formatting” | “sourceQuality.structuredDataValidation” | “sourceQuality.deadCodeAnalysis” | “security.secretDetection” | “security.codeScanning” | “security.tokenExpiry” | “delivery.build” | “delivery.publish” | “delivery.deploy” | “delivery.bundleSize” | “platform.repoSync” | “platform.notifyCheck” | “platform.commitStandards” | “platform.repoValidation” | “knowledge.wiki” | “knowledge.docs” | “knowledge.components” | “review” | “tag” | “stale” | “greetings” | “dependencies” | “bookkeeping”

holocron setup writes .github/workflows/<name>.yml for each entry, calling the corresponding reusable workflow in theholocron/.github. Files are overwritten on each run — they are generated artifacts.

delivery.deploy / knowledge.docs / knowledge.components

Section titled “delivery.deploy / knowledge.docs / knowledge.components”

delivery.deploy uses docs and/or storybook in with: — setup derives paths: automatically. docs: true uses the org-standard docs/ directory; docs: { path: "custom" } overrides it. knowledge.docs / knowledge.components are the same underlying mechanism, each dedicated to exactly one type — they imply the corresponding shorthand, so a repo using them never has to spell out docs: true / storybook: […] itself.

// Docs only (standard layout)
{ name: "delivery.deploy", with: { docs: true } }
// …or equivalently, the dedicated task:
"knowledge.docs"
// Docs + monorepo storybooks
{
name: "delivery.deploy",
with: {
docs: true,
storybook: [
{ name: "web", path: "apps/web" },
{ name: "ui", path: "packages/ui" },
],
},
}
// Non-standard docs location
{ name: "delivery.deploy", with: { docs: { path: "packages/site" } } }

Its own task, not a verification.unitTests sub-job (holocron#394/#1062) — GitHub evaluates a job’s if: before expanding its strategy.matrix, so no chromatic-projects default can make a disabled Chromatic job disappear from PR checks; only not generating the job at all does. Omit this task entirely for a repo that doesn’t use Chromatic — no workflow, no job, no check, not even a skipped one.

For a single-project repo, use a CHROMATIC_PROJECT_TOKEN repository secret with tokenName: "default":

{
name: "verification.visualRegression",
with: { "chromatic-projects": [{ tokenName: "default", workingDir: "." }] },
}

For monorepos with multiple Storybooks, list one entry per project:

{
name: "verification.visualRegression",
with: {
"chromatic-projects": [
{ tokenName: "WEB", workingDir: "apps/web" },
{ tokenName: "UI", workingDir: "packages/ui" },
],
},
}

Each tokenName maps to a repository secret named CHROMATIC_PROJECT_TOKEN_<TOKENNAME>.

["sourceQuality.staticAnalysis", { "name": "delivery.publish", "with": { "run-build": false } }]
{ "name": "delivery.deploy", "with": { "docs": true } }

optional telemetry?: TelemetryConfig

Defined in: cli/cli/src/config/config/config.type.ts:1074

CLI self-telemetry override layer. Env var (HOLOCRON_TELEMETRY=false) still wins; this is the committed way to opt a repo out or drop usage analytics while keeping error reporting.

{ enabled: false }
{ analytics: "none" }