Skip to main content

Module agent_architect

Module agent_architect 

Source
Expand description

Exposes Architect webapp-owned agent worker services.

StructsΒ§

ArchitectEditorProjectDeleteResult
Result details for one Architect editor project deletion and cleanup.
ArchitectEditorProjectDuplicateResult
Result details for one Architect editor project duplicate operation.
ArchitectEditorProjectRenameResult
Result details for one Architect editor project rename operation.
ArchitectEditorRollbackResult
Result of one Architect editor rollback operation.
ArchitectEditorSelectedSource
Escaped-by-caller source content payload selected for editor display.
ArchitectEditorSourceAppImportResult
Result details for one source app imported into an Architect-owned editable project.
ArchitectEditorSourceEditApplyResult
Result of applying one approved Architect source edit.
ArchitectEditorSourceEditPlan
One planned bounded source edit recorded for human review before apply/validation.
ArchitectEditorSourceFile
One text-display-safe source file entry for the Architect editor.
ArchitectEditorSourceView
Read-only source view for one Architect editor version snapshot.
ArchitectEditorStructuredEditPlan
Result of one typed Architect editor operation that staged source changes.
ArchitectLlmVendorVaultPaths
ArchitectSourceExport
Result of one bounded Architect source export operation.
ArchitectSourceExportDownload
Result of one safe Architect source-export download lookup.
ArchitectTaskApplyResult
Result details for one browser-approved Architect apply and validation pass.
ArchitectTaskDeleteResult
Result details for one Architect task deletion and artifact cleanup.
ArchitectWorkerLoopRun
Result of one bounded Architect worker loop.
ArchitectWorkerRun
Result of one Architect worker pass over the app-owned task queue.
ArchitectWorkerTaskResult
Result details for one processed Architect builder task.
RootArchitectLifecycleTools πŸ”’
RootArchitectLlmSecretProvider πŸ”’

EnumsΒ§

ArchitectSourceExportKind

FunctionsΒ§

apply_architect_editor_source_edit
Applies one approved planned source edit through the generic Architect store.
apply_architect_editor_source_edit_inner πŸ”’
apply_architect_editor_source_edit_with_injected_failure
Applies one approved planned source edit with an injected post-validation failure for local rollback proof.
approve_architect_task_plan
Applies one browser-approved Architect task plan and runs local lifecycle validation.
architect_database_storage
Resolves typed Architect entities through the configured primary database adapter.
architect_worker_store
Loads the worker’s declared Architect entities through one configured adapter.
export_architect_source
Exports one owned generated app source tree into a deterministic JSON source bundle.
export_kind_slug
Returns the database/export slug for one source export kind.
load_architect_editor_source_view_from_root
Loads a bounded read-only source view from a caller-resolved generated app source root.
load_architect_editor_source_view_in_store
Loads a validated Architect editor version through the logical database store.
normalize_architect_preview_app_id
Marks one task as ready for browser review after deterministic synthesis and change planning. Validates one generated app id before resolving a browser preview path.
parse_source_export_kind
Parses a public Architect source export kind.
plan_architect_task_for_auto_build πŸ”’
prepare_architect_editor_source_edit_in_store
Plans one source-file edit against the current validated editor version.
prepare_architect_editor_structured_edit_in_store
Plans a declarative entity, field, or layout edit through the same source ledger.
prepare_architect_task_plan
Prepares one Architect review workspace, source scaffold, bounded change plan, and review summary.
queue_or_retry_architect_task
Queues a new Architect build task or resets the latest failed same-app task for a clean retry.
read_architect_source_export
Verifies one unexpired source export bundle before handing its local path to a caller.
rename_architect_editor_project_for_app
Renames an Architect project through the app’s configured primary backend.
repo_relative_path πŸ”’
Converts an output path into a repository-relative, traversal-free string.
resolve_repo_root πŸ”’
Resolves the current Pharos repository root for Architect worker path checks.
run_architect_task_to_validated
Runs one Architect task from browser submission through local app validation.
run_architect_worker_loop
Runs a bounded Architect worker loop for service supervisors.
run_architect_worker_once
Runs one bounded Architect worker iteration against the configured database.
run_architect_worker_once_with_llm_vendor_vault
Runs one bounded Architect worker iteration with optional external LLM vendor vault access.
source_export_relative_path_allowed
Checks one source-export relative path against contamination and traversal rules.
validate_existing_architect_task_source
validate_installed_state_path πŸ”’
validate_source_export_id
Validates an Architect-generated source export id before using it in a filename.
validate_worker_output_root πŸ”’
Converts bytes into lower-case hex text.