Skip to main content

Configuration Reference

This page lists the configuration surfaces ASF50 reads at runtime. Only include values proven current; do not invent.

Goal contract fields

FieldTypeRequiredPurpose
goal_idstringyesUnique goal identifier.
parent_goal_idstringyesParent goal (program or program-derived).
goal_typeenumyesPROGRAM, IMPLEMENTATION_PHASE, INDEPENDENT_CODE_AUDIT, INDEPENDENT_REAUDIT, REPAIR_GOAL, DOCUMENTATION_PORTAL.
current_stateenumyesOne of the canonical states.
required_roleenumyesRole required for the next dispatch.
audit_targetstringyes (for auditor)40-char SHA or empty.
worktree_policyobjectyesmode, source_commit.
clean_checkout_policy.requiredboolyesWhether the worktree must be clean.
allowed_pathslistyesGlobs the goal may modify.
forbidden_pathslistyesGlobs the goal must not touch.
acceptance_gateslistyesAcceptance criteria.
evidence_requirementslistyesRequired evidence files.
model_classenumyesDETERMINISTIC, INDEPENDENT_AUDIT_HIGH, PLANNING_ARCHITECTURE_HIGH, STANDARD_ENGINEERING, FAST_LOW_COST.
preferred_modelstringyesPrimary model.
fallback_modelstringyesFallback model.
owner_gateslistyesDeclared owner gates.
next_action_policyobjectyeson_pass, on_repair, on_fail.
required_terminal_stateslistyesTerminal states for the goal.
contextpathyesPath to CONTEXT.yaml.
promptpathyesPath to PROMPT.md.
taskslistyesNon-empty list of task dicts.

Program contract fields

Same as goal contract fields plus:

FieldTypeRequiredPurpose
program_layerobjectyesProgram-roadmap layer descriptor.
execution_layerobjectyesExecution layer descriptor.
crosswalk_pathpathyesPath to PHASE_EXECUTION_CROSSWALK.yaml.
executable_sequencelistyesOrdered list of IMP-XX IDs.
predecessor_terminal_statestringyesTerminal state for predecessor.

Environment variables

VariableDefaultPurpose
ASF50_RUNTIME_ROOT(unset)Overrides the runtime root.
GIT_COMMIT(unset)Build-time commit hash for the docs site.

CLI flags

See CLI Reference → for the full CLI surface.

Policy constants

ConstantDefined inValue
VALID_SCOPESscoped_owner_gate.pyPAID_MODEL_DISPATCH_APPROVAL, MERGE_APPROVAL, TAG_APPROVAL, RELEASE_APPROVAL, PHASE_00_RESUME_APPROVAL, PRODUCTION_PROMOTION.
EXTERNAL_HUMAN_SOURCESscoped_owner_gate.pygithub-review-approval, owner-cli, signed-ticket.
APPROVAL_SCOPE_REQUIRESscoped_owner_gate.pyPer-scope allowed sources.
MODEL_CLASSESmodel_router.pyINDEPENDENT_AUDIT_HIGH, PLANNING_ARCHITECTURE_HIGH, STANDARD_ENGINEERING, FAST_LOW_COST.
PAID_ADAPTERSmodel_router.pycursor-agent, claude, claude_cli, codex.
PROGRAM_TERMINAL_STATESprogram_contracts.pyFROZEN_PASS, PROGRAM_PRODUCTION_CERTIFIED.
PROGRAM_DISPATCHABLE_STATESprogram_contracts.pyREADY_FOR_PLAN, PLANNED, READY_FOR_BUILD, READY_FOR_AUDIT, READY_FOR_RELEASE, DRAFT.

Git configuration

SurfacePathPurpose
Branch protectionGitHub UI / settingsmain is branch-protected.
Required status checksGitHub UICI workflows must pass before merge.
Code owners.github/CODEOWNERSReview routing.