Skip to content

Architecture assessment reference

Look up assessment intents, modes, stages, evidence surfaces, permissions, output fields, confidence, and profiler limits.

architect-assess evaluates an implemented repository or system. It returns a correctable current-state model, evidence coverage, attention hotspots, bounded investigations, findings, and action waves. It does not design the future state, draw a diagram as the main outcome, or review an already supplied artifact.

IntentDecision supported
Baseline / understandingWhat exists, how it works, and where uncertainty remains
Hardening / risk reductionWhich mechanisms threaten a required safety, reliability, privacy, or readiness outcome
Optimize current outcomesWhere the current mission loses latency, cost, operability, or delivery performance
Growth / scale readinessWhether the architecture can absorb future load, product, data, or team pressure
Transformation / modernizationWhich retained, incremental, replatform, re-architect, or rewrite path fits the evidence
Rationalization / disposition / due diligenceWhether to retain, invest, consolidate, acquire/integrate, replace, or retire

One intent is primary. Secondary intents are explicit. Changing intent changes required decision data, not facts already observed.

ModeStagesResult
SurveyFrame → Map → FocusCorrected model, evidence ledger, attention heat, hypotheses, recommended drill-downs; no completed findings or action plan
StandardAll six stagesBounded path investigations, findings/strengths/unknowns, and traced action waves
DeepStandard plus approved evidenceAdds named runtime, operational, stakeholder, production-data, or experimental evidence

Standard is the default for “assess architecture and provide an action plan.”

Map checkpoint: correct boundaries, responsibilities, or missing dependencies; continue accepts the model.

Focus checkpoint: add, remove, or redirect hotspots; continue accepts the recommended drill-down set.

Close: decide whether evidence is sufficient, which action wave to accept, what additional proof is needed, and whether to save or route into design.

Every run status-labels:

SurfaceTypical evidence
DocumentationArchitecture descriptions, ADRs, runbooks, maintained guides
SourceImplemented components, boundaries, policies, state transitions
TestsContracts, construction checks, integration/fault/recovery behavior
Manifests/dependenciesPackage/workspace manifests, locks, platform contracts
CI/CDBuild, test, release, policy, and promotion paths
Deployment/release/IaCDeployables, topology, identity, configuration, rollback
Schemas/migrationsData ownership, compatibility, lifecycle, migration safety
Runtime configurationEnvironment-specific switches and binding behavior
Operational evidenceSLOs, traces, incidents, recovery exercises, cost/capacity
Read-only historyCurrent local-ref churn and decision/change context

Status values are observed, missing, unavailable, denied, out of scope, or not applicable. Absence is never reported as “green.”

Target evidence establishes target observations. Enterprise context supplies attributed local facts and constraints. Pack knowledge supplies reusable questions, mechanisms, counter-evidence, and confirmation scenarios. The three remain separate in the final coverage statement.

Eligible surfaces: in-repo documentation or an exposed, pre-authenticated, connector-scoped capability with a governed destination and authorization boundary.

Rejected surfaces: public web search, generic browser/fetch, arbitrary URLs, repository-supplied URLs, unknown destinations, or any path that requires the skill to discover credentials or authenticate.

Before private retrieval, the agent names the surface and the smallest selected subset of: business/domain meaning; current landscape; interfaces/contracts; operational reality; constraints/standards; local patterns/reference architectures; decisions/rationale; in-flight work/roadmap. The user authorizes the query.

Each retained result records area, claim, surface/locator, retrieval date, authority/freshness, applicability, confidence/corroboration, sensitivity, and conflict. Empty, denied, stale, sensitive, malformed, conflicting, or single-source context lowers affected coverage.

Reads without asking: ordinary repository files inside the accepted boundary and current local Git metadata/history, subject to the active permission profile.

Asks first: repository code/build/test execution, migrations, deployment, project-native analyzers, private knowledge queries, runtime or operational access, stakeholder evidence, experiments, production data, and any write.

Never reads: credentials, browser profiles, protected secret configuration, or out-of-root link targets. It creates no connector or authentication mechanism.

Writes: none by default. On explicit approval, a current-state report resolves current-architecture; a remediation/future-change report resolves architecture-design; mixed output needs an explicit role choice. The saved path is <resolved destination>/<topic-slug>/assessment.md. Compatible repositories use Core’s semantic-surface-resolution.v1; standalone user-pack operation remains chat-only or uses an exact confined personal root; a repository without compatible Core produces a portable handoff and stops with zero writes until Core returns a confined result. An exact personal file is refused because the assessment retains its per-effort folder. Approved profiler output may sit beside the report or in an explicitly approved workspace/temporary root.

Current-state views cover context; deployable/runtime; module/capability; data; interaction; delivery/operations; and trust/identity. Elements are labeled observed, inferred, reported, or unknown.

Heat dimensions are consequence, pressure, concentration/coupling, verification weakness, operational/data/security exposure, and evidence confidence. Values are low, medium, high, or unknown. They are never summed into a composite score. Heat chooses investigation priority; it does not prove a defect or assign severity.

A finding records classification; stakeholder or quality scenario; scope; evidence and counter-evidence; mechanism; consequence; severity; confidence; validation gap; and smallest safe response. Strengths and evidence-backed non-risks remain alongside problems.

An action wave records intended outcome; included finding IDs; prerequisites; completion proof; rollback or containment; owner class; and non-goals.

Each applicable base, intent, shape, workload, quality, and enterprise lens is assessed, partially assessed, not assessed, or not applicable with an evidence pointer. A missing or invalid generated knowledge corpus lowers lens coverage but does not block the repository-grounded method.

Agentic and knowledge platforms must cover material run lifecycle, identity, model access, tools/credentials, knowledge provenance/isolation, memory, evaluation, and traces before receiving a readiness conclusion.

The optional profile_repo.py helper is standard-library-only. It accepts an explicit root, defaults to stdout, executes no repository code, follows no link-like entry, reads no special file, accesses no network, and emits only repository-relative paths. It inventories evidence surfaces, content tags, file concentration, bounded current-ref Git churn, and exact Python AST imports. It produces no architecture model, severity, or composite score.

Credential-like paths and browser-profile classes are excluded before classification or content reads and appear only as redacted exclusions. Paths with unsafe control, terminal, Markdown-delimiter, or invalid Unicode forms are also redacted rather than emitted. One shared deadline covers directory enumeration, semantic reads and AST parsing, and Git collection.

LimitDefault
Files inspected20,000
Directory entries enumerated200,000
Bytes read from one semantic source file1,048,576
Elapsed total profiler work30 seconds
Current local Git commits considered200
Git output bytes retained4,194,304
Distinct Git paths retained50,000

Reaching a limit returns partial with the uncovered scope. Unsupported languages retain generic evidence. An explicit output needs both --output and --approved-output-root; otherwise output remains on stdout. Approved writes use a descriptor-confined temporary file and atomic replacement; a platform without that primitive fails closed and can still use stdout.

  1. Bottom line
  2. Assessment charter
  3. Conceptual current state
  4. Evidence coverage
  5. Attention heat map
  6. Hotspot drill-downs
  7. Findings, strengths, and unknowns
  8. Action waves
  9. Coverage and confidence
  10. Next decision

For the task flow and realistic repository variations, see Assess a repository and turn evidence into action.