{"id":"8d4c578a-1183-46a6-a8a1-059f95ad5104","shortId":"kruFtW","kind":"skill","title":"implementing-architecture","tagline":"Use when: about to write code and docs/architecture/ exists with STATUS: APPROVED in architecture.yaml. Not when: no approved architecture yet (use compiling-architecture first), or architecture.yaml lacks STATUS: APPROVED header.","description":"# Architecture Pattern Implementer\n\n## Overview\n\nTranslates approved architecture artifacts into working code. The architecture folder is the authoritative source for HOW to build — which services, which config, which constraints. It does NOT replace functional requirements, which tell you WHAT to build (business logic, features, API contracts). You need both.\n\n---\n\n## Repo Structure — Read This First\n\nTreat the compiler repo as having this contract:\n\n```text\narch-compiler/\n├── README.md\n├── AGENTS.md\n├── README-AGENTS.md\n├── tools/        <-- read-only for agents\n├── schemas/      <-- read-only for agents\n├── config/       <-- read-only for agents\n├── scripts/      <-- read-only for agents\n├── patterns/     <-- read-only for agents\n└── skills/\n    ├── using-arch-compiler/\n    │   └── SKILL.md\n    ├── compiling-architecture/\n    │   └── SKILL.md\n    └── implementing-architecture/\n        └── SKILL.md\n```\n\nBefore acting:\n\n1. Read `AGENTS.md` for repo-wide agent rules and boundaries.\n2. Read this `SKILL.md` for the task-specific workflow.\n3. Treat `tools/`, `schemas/`, `config/`, and `patterns/` as read-only unless the human explicitly asks for compiler-maintenance work in this repo.\n4. Use this skill only when `docs/architecture/` already exists and is approved. If architecture is missing or unapproved, switch to `skills/compiling-architecture/SKILL.md` instead of inventing architecture choices.\n\nThe important split is:\n- `AGENTS.md` = global agent rules for this repo\n- `skills/using-arch-compiler/SKILL.md` = workflow router\n- `skills/compiling-architecture/SKILL.md` = how to compile and finalise architecture\n- `skills/implementing-architecture/SKILL.md` = how to implement an already-approved architecture\n\n---\n\n## When to Use\n\n- You have a `docs/architecture/` folder with approved artifacts\n- You are about to write code and need to know which technology choices are authorised\n- You have an existing prototype or codebase and need to refactor it to conform to an approved architecture\n\n## When NOT to Use\n\n- No `docs/architecture/` folder exists — a compiled and approved architecture must be produced first (see `skills/compiling-architecture/SKILL.md` if available)\n- The `architecture.yaml` has no `STATUS: APPROVED` header — do not implement an unapproved architecture\n- You have architecture artifacts but no functional requirements — ask the human for features, user stories, design doc, or API specs before writing application code. The architecture tells you which database to use; functional requirements tell you what to store in it.\n- Planning or pre-flight reveals unresolved provider/runtime/auth-boundary/retention/message-path decisions that would materially change `constraints.*`, `constraints.saas-providers`, `patterns.*`, or accepted risk posture — that is architecture work, not implementation. Stop and return to `skills/compiling-architecture/SKILL.md`.\n- Do not treat an existing prototype or codebase as architectural authority. Existing code that conflicts with the approved artifacts must be refactored to match, or raised as an architecture mismatch. Do not silently treat the prototype as the source of truth.\n- Do not use this skill if making the existing prototype fit the system would require changing the approved architecture itself. That is architecture work and must return to `skills/compiling-architecture/SKILL.md`.\n- If the human explicitly wants existing prototype choices to replace approved providers, boundaries, or selected patterns, treat that as architecture work immediately instead of starting implementation and discovering the stop condition later.\n\n**Brownfield rule:** existing code is still implementation scope when the job is to bring it into compliance with an approved architecture. This skill applies to both greenfield implementation and brownfield refactoring. The stop condition is not \"code already exists\"; the stop condition is \"the approved architecture itself must change.\"\n\nExample:\n> A prototype stores files on local disk and uses ad hoc session auth, but the approved architecture selects object storage and managed OAuth/OIDC. Refactoring the prototype to use the approved storage and auth stack is implementation work, so this skill applies.\n\n---\n\n## What the Artifacts Contain\n\n| File | What to use it for |\n|------|--------------------|\n| `architecture.yaml` | All decisions explicit at top-level — constraints, NFR targets, pattern configs at `patterns.<id>.*`. No `assumptions` section; every field is intentional. |\n| `selected-patterns.yaml` | The approved pattern list — every pattern here must be reflected in the implementation |\n| `patterns/<id>.json` | Full pattern detail — read this before implementing each pattern |\n\nInside each `patterns/<id>.json`:\n- `description` — what the pattern is\n- `defaultConfig` — the specific services/values chosen; use these directly\n- `configSchema` — descriptions and trade-off explanations for each config option; read this to understand why a value was chosen and what the alternatives mean\n- `provides` — capabilities the implementation must exhibit\n- `requires` — what must be in place before this pattern can work\n- `tags` — useful for finding official documentation\n\n> **`docs/architecture/` is read-only.** You may not edit any file in this folder — not `architecture.yaml`, not `selected-patterns.yaml`, not pattern JSONs. These files are compiler output. Their `STATUS: APPROVED` header reflects a human decision made against a specific compiler run. A hand-edited `architecture.yaml` is not an approved architecture — it is drift with an approval header on it.\n>\n> If you spot a discrepancy between files in `docs/architecture/` (e.g. `architecture.yaml` lists a pattern not in `selected-patterns.yaml`, or has wrong config for a variant): **stop. Do not fix it yourself.** Tell the human what is mismatched. Then: if you have the `compiling-architecture` skill, propose the input spec changes, get human confirmation, apply them, re-run the compiler, and present the output for re-approval. If you do not have that skill, ask the human to update the input spec and re-run the compiler themselves. Either way, human re-approval of the compiler output is required before you continue.\n>\n> The temptation to \"just update the date and fix the field\" is the exact failure mode this constraint prevents.\n\n---\n\n## Implementation Workflow\n\n### Step 1 — Read the artifacts\n\nBefore writing any code:\n\n1. Read `architecture.yaml` — every field is explicit; note `constraints` (cloud, language, platform), `nfr` targets, and `patterns.<id>.*` for pattern-specific config\n2. Read `selected-patterns.yaml` — get the full list of pattern IDs\n3. For each pattern ID, read `patterns/<id>.json` — `defaultConfig` gives approved values; `configSchema` explains the trade-offs\n\n### Step 1.5 — Pre-flight check before writing any code\n\n**You MUST perform this check yourself. Do not delegate it to a subagent.** Subagents optimise for \"no blocking errors\" and resolve flags creatively rather than raising them — which defeats the purpose. A subagent returning \"Overall Status: GREEN\" is not a substitute for your own verification.\n\nBefore the detailed pattern-by-pattern checks below, run the shared workflow preflight helper:\n\n```bash\npython3 ~/.codex/arch-compiler/tools/archcompiler_preflight.py --app-repo <app-repo> --mode implement\n```\n\nIf it fails, stop and fix the reported issue before continuing.\n\nAfter reading all pattern JSONs in Step 1, and **before writing a single line of code**, go through every pattern and verify:\n\n1. **`requires` is satisfiable** — every capability listed in `requires` is either provided by another selected pattern or already exists in the environment. If a required capability (e.g. `metrics-collection`, `distributed-tracing`, `time-series-database`) has no provider anywhere in the architecture, flag it.\n\n   **Before flagging a gap**, check `schemas/capability-vocabulary.yaml` if it exists in the project. Capabilities with `category: environment` are always satisfied by the deployment environment — skip them entirely, do not raise them as gaps. Examples: `internet-connectivity`, `git-repository`, `compute`, `persistent-storage`, `network-connectivity`, `cloud-infrastructure`, `storage`, `infrastructure`, `data-storage`, `system-architecture`.\n2. **`provides` is deliverable** — you can concretely implement every capability listed in `provides` given the current constraints (cloud, language, platform). If delivering a capability would need infrastructure or tooling not present in the architecture, flag it.\n3. **Pattern integrity** — if a pattern's `requires` lists a capability that the same pattern's own `supports_nfr`, `provides`, or description explicitly states it cannot deliver, that is a registry bug. Flag it as: \"Pattern X requires capability Y but its own NFR section declares it cannot support Y — this looks like a pattern authoring bug.\"\n4. **Runtime semantics are compatible with the selected patterns** — check whether the chosen runtime is stateless, ephemeral, edge-restricted, or otherwise hostile to process-local assumptions. If a pattern implementation would rely on durable in-process state, sticky sessions, local filesystem persistence, or long-lived memory, either bind it to a persistent store or flag it before planning proceeds.\n\nCollect **all** flags across all patterns, then raise them together with the human before proceeding. Do not start implementing and discover blockers mid-way — a partial codebase with unresolved blockers is harder to reason about than a clean pre-implementation conversation.\n\n**A flag means: raise to the human — not find a creative interpretation that allows you to proceed.** The following are NOT resolutions:\n- \"The platform has logs\" is not `monitoring`\n- \"Deployment logs exist\" is not `audit-logging`\n- \"We can do it manually\" is not a provided capability\n- \"It's close enough\" is not satisfiable\n\n**Architecture-binding flags are a stop signal, not plan TODOs.** If pre-flight exposes unresolved choices such as:\n- which provider actually satisfies a selected pattern\n- where auth is enforced\n- which transport implements async delivery semantics\n- how retention/deletion is operationalised\n- whether an external AI provider changes accepted risk posture\n\nthen stop and route back to the compiling skill. Do not keep planning around the ambiguity.\n\nIf you catch yourself reasoning that a thin platform feature satisfies a `requires: optional: false` entry, stop. That is a flag.\n\nExample raise:\n> \"`ops-low-cost-observability` requires `metrics-collection`, `distributed-tracing`, and `time-series-database` — none of these are provided by any other selected pattern. `ops-slo-error-budgets` similarly requires SLO tracking infrastructure. Neither can be fully implemented as the architecture stands. Should I add them to `disallowed-patterns` and recompile, or do you want to add an observability stack first?\"\n\nExample integrity flag:\n> \"`pattern-x` requires `audit-logging` (optional: false) but its own `supports_nfr` declares `audit_logging` must equal `false` because the pattern has no built-in access tracking. This is a contradiction in the pattern registry — should I raise a fix, and how do you want to handle the missing audit trail?\"\n\nExample runtime-semantics flag:\n> \"`resilience-circuit-breaker` is selected, but the target runtime is stateless Lambda-style execution. A module-global circuit breaker will reset across invocations and does not provide durable breaker state. Should I back it with a persistent store, or should we re-evaluate whether this pattern belongs in the approved architecture?\"\n\n**Human gate — required even when no flags found.** After completing Steps 1.5, 1.6, and 1.7, present a summary to the human regardless of whether flags were raised:\n\n> \"Pre-flight complete. No blocking gaps found. Summary:\n> - Requires/provides: all satisfied\n> - NFR targets: [list each and whether the selected service meets it]\n> - Functional requirements: [list each and the task that covers it]\n> - Known limitations accepted: [list any thin implementations]\n>\n> Ready to proceed to the plan?\"\n\nWait for explicit human confirmation before writing the plan. A clean pre-flight is not implicit approval to proceed.\n\n### Step 1.6 — NFR feasibility check\n\nAfter Step 1.5, verify that the **selected services** can actually satisfy each NFR target in `architecture.yaml`. The `requires`/`provides` check only confirms pattern compatibility — it does not confirm that real-world services meet real-world targets.\n\n**Do not treat the table below as exhaustive.** After verifying the listed fields, iterate through every field under `nfr.*` in `architecture.yaml` and confirm there is a plan task that delivers it. Any `nfr.*` field with no corresponding task is a gap — flag it. Common examples not in the table: `data.retention_days` requires a cleanup mechanism (scheduled job, TTL policy, or soft-expiry at read time) — a schema comment is not an implementation.\n\nFor each NFR field, look up the selected service's actual capability:\n\n| NFR field | What to verify against the actual service |\n|-----------|------------------------------------------|\n| `nfr.rpo_minutes` | What is the backup frequency of the selected `db-*` provider on the chosen plan? If it exceeds `rpo_minutes`, **flag it** — do not assume it will be fine. |\n| `nfr.availability.target` | Does the selected hosting provider's SLA meet or exceed the target on the chosen plan tier? |\n| `nfr.latency.p95Milliseconds` | Are function timeout budgets set within this value? Does the selected region minimise latency? |\n| `nfr.data.compliance.*` | Does the selected provider offer the required compliance certifications on the chosen plan? |\n| `nfr.data.retention_days` | Is there a scheduled cleanup job, TTL policy, or equivalent? A note in a comment is not a plan task. |\n\n**A service limitation is a flag — not a creative interpretation.** Example:\n> \"`nfr.rpo_minutes: 60` but Neon free tier performs daily backups (1440 min). This NFR cannot be met on the current plan. Should we upgrade the plan, relax the RPO, or accept the gap explicitly?\"\n\n### Step 1.7 — Functional requirements cross-check\n\n**Before consulting any heuristic list, locate and read the primary source of functional requirements** — this may be a design doc, user stories, feature specs, a requirements list, or any combination. Extract requirements verbatim from whatever source exists. Also extract anything the source explicitly marks as **out of scope** and record that list alongside requirements.\n\nOnly if no source of any kind exists should you fall back to the \"common silent misses\" heuristics below. A heuristic-based gap that the source material explicitly marks out of scope is not a gap — do not flag it.\n\nFor each requirement, confirm a specific plan task will deliver it. Any requirement with no assigned task is a gap — flag it before proceeding.\n\n**Common silent misses** (fallback only — apply when no requirements source exists):\n- Navigation/header UI linking between pages\n- Sign-in / sign-out flow and unauthenticated landing state\n- Error states and retry flows (e.g. retry button on failed jobs)\n- Empty states (e.g. \"no pets detected\", \"no history yet\")\n- Per-user data scoping (history visible only to owner)\n\n**Functional coverage matrix** — every plan document must include this table:\n\n| Functional requirement | Task that delivers it |\n|------------------------|----------------------|\n| [requirement from design doc] | Task N: [name] |\n\nIf any row has no task, stop and either add the task or flag the gap to the human.\n\n**When the human says \"accept the gap\":** implement the pattern but add an explicit named comment at the point of implementation — not a silent acceptance. Example:\n```\n// NOTE: monitoring (requires: optional: false) is not provided by this architecture.\n// Kill switches must be triggered manually — no automated alerting will signal when to use them.\n```\n\n**When the human says \"add a note to the architecture\":** you cannot — `docs/architecture/` is read-only for implementing agents. Ask the human to update `architecture.yaml` themselves, then confirm before proceeding.\n\n### When generating a plan with an upfront planning tool (e.g. writing-plans)\n\n**MUST-DO before finalising any plan:**\n\nEvery plan document must include a **Pattern Coverage Matrix** in addition to the functional coverage matrix:\n\n| Selected pattern | Task that delivers it | Concrete artifact(s) |\n|------------------|-----------------------|----------------------|\n| `pattern-id` | Task N: [name] | `path/to/file`, infrastructure resource type/name, config file, migration, named test function, or other concrete artifact |\n\nThe artifact column must name something concrete: a source file, infrastructure resource type/name, configuration file, migration, named test function, runbook, or other durable implementation artifact. A pattern mapped only to an area such as \"backend\", \"infra\", or \"observability\" is not coverage. An environment variable reference, a client call that assumes an externally-created resource, or a comment that mentions a resource without defining it is also not coverage.\n\nFor EVERY selected pattern, immediately before writing that pattern's task in the plan:\n\n1. Read `patterns/<id>.json` — specifically the `provides` array\n2. List every `provides` capability explicitly inside that task's steps\n3. Verify each capability has a named, testable step and at least one concrete artifact target — not just a table entry\n4. Add or update the Pattern Coverage Matrix row for that pattern\n5. Do NOT add a pattern to any \"done\" or summary table unless its task delivers ALL capabilities in `provides`\n\n**This resolves the planning/coding tension:** \"read pattern JSON immediately before writing its code\" means immediately before writing that pattern's *task in the plan* — not deferred to implementation time. The plan is the first form of code.\n\n**Red flags during plan writing:**\n- Writing a \"done\" summary table before writing the tasks\n- Mapping a pattern to an \"area of code\" without listing its `provides` capabilities\n- Mapping a pattern to a task without naming any concrete artifact it will produce\n- Any pattern whose only plan entry is a one-liner in a summary table\n- Leaving the Pattern Coverage Matrix incomplete or with vague artifact targets\n- Finishing the plan before checking every pattern's `provides` array\n\n**A pattern in a summary table without a task that delivers ALL its `provides` capabilities is a silent skip.**\n\n### After drafting the plan — Adversarial review\n\nOnce the plan is drafted and before presenting it to the human, dispatch a subagent with an adversarial mandate. This is the one exception to the \"do not delegate verification to a subagent\" rule in Step 1.5. The difference: the subagent here is forbidden from producing a pass/fail verdict and must assume the plan is incomplete. Its only output is a gap list.\n\n**Why \"forbidden from pass/fail\" is the key mechanism:** A reviewer asked \"does the plan cover X?\" will find creative ways to confirm coverage. A reviewer told \"find what's missing\" and forbidden from positive statements cannot return green without lying — which forces genuine fault-finding instead of validation theatre.\n\n**Subagent prompt — copy and fill in the bracketed paths:**\n\n> You are an adversarial plan reviewer. Your job is to find gaps — not to validate. You are explicitly forbidden from producing a pass/fail verdict or any positive summary statement.\n>\n> Read:\n> 1. Functional requirements source: `[path or inline content — design doc, user stories, feature specs, or any combination]`\n> 2. `docs/architecture/architecture.yaml`\n> 3. The drafted plan: `[path/to/plan.md]`\n>\n> For each area below, produce a numbered list of questions and concerns. If you find nothing to question in an area, look harder — do not leave an area blank.\n>\n> **Area 1 — Functional requirements:** For each requirement in the source, ask: \"Where exactly in the plan is this implemented — which file, function, and test?\" If the answer is not obvious from the plan text, flag it. Also extract any items the source explicitly marks out of scope — do not flag those.\n>\n> **Area 2 — NFR completeness:** For every field under `nfr.*` in `architecture.yaml`, ask: \"Where in the plan is this enforced with code?\" A comment, a note, or a documentation file is not an implementation. Pay attention to fields outside the common set: `data.retention_days`, `data.pii`, `consistency.*`, `durability.*`, `throughput.*`.\n>\n> **Area 3 — Pattern provides delivery:** For each selected pattern, read its `provides` array in `docs/architecture/patterns/<id>.json`. For each capability, ask: \"Which specific step in which task delivers this?\" If a pattern appears only in a summary table with no task that walks through its `provides` capabilities, flag it.\n>\n> **Area 3.5 — Concrete artifact coverage:** For each selected pattern, ask: \"What concrete artifact will exist after implementation?\" Acceptable answers include a code file, infrastructure resource type/name, migration, configuration file, named test function, or runbook. If the plan only names a subsystem or workstream and not an artifact, flag it. If the answer is only an environment variable reference, a client call that assumes an externally-created resource, or a comment, flag it as non-implementation.\n>\n> **Area 4 — Runtime and API compatibility:** For each pattern with runtime-specific `defaultConfig` values (`function_runtime`, `edge_functions`, `compute_type`), ask: \"Do the packages and APIs chosen in the plan actually work in this runtime?\" Name the specific API or package you are questioning.\n>\n> **Area 5 — Error and edge cases:** For each main user-facing flow in the requirements source, ask: \"Where does the plan handle the failure scenario?\" Look for: upload failures, external API timeouts, empty results, retry flows, unauthenticated access attempts. Additionally, for any state that persists across page reloads (poll results, uploaded image URLs, job status), ask: \"Does the plan preserve or re-fetch this state from a durable source — or does it survive only in-memory or in a URL parameter that is unavailable after a reload?\"\n>\n> Output ONLY this structure — no preamble, no verdict, no positive statements:\n>\n> ```\n> ## Adversarial Review — Gaps and Questions\n>\n> ### Area 1: Functional requirements\n> 1. [Requirement text]: [Specific question]. Not visible in plan because: [what's absent].\n>\n> ### Area 2: NFR completeness\n> 1. nfr.[field]: [Specific question]. Not visible in plan because: [what's absent].\n>\n> ### Area 3: Pattern provides delivery\n> 1. [pattern-id] provides [capability]: [Specific question].\n>\n> ### Area 3.5: Concrete artifact coverage\n> 1. [pattern-id]: [Specific question about missing concrete artifact].\n>\n> ### Area 4: Runtime and API compatibility\n> 1. [pattern-id] sets [config key]: [value]. Plan uses [package/API]. Question: [compatibility concern].\n>\n> ### Area 5: Error and edge cases\n> 1. Flow [name], failure scenario [x]: [Specific question].\n> ```\n>\n> If you find yourself writing a positive statement, delete it and find another gap instead.\n\n**Resolving the gap list:**\n\nFor each item the reviewer raises, respond with exactly one of:\n\n- **Covered — cite it:** \"Covered at Task N, Step M, file `path/to/file.ts`.\" If you cannot cite a specific location, the item is a real gap.\n- **Gap confirmed:** add the missing task or step to the plan before presenting to the human.\n\nDo not dismiss items with vague reassurances (\"handled by the framework\", \"implied by the pattern\", \"standard practice\"). If it is not explicitly in the plan, it is a gap.\n\nAfter resolving, note in the human-facing summary what the adversarial review found and what was added.\n\n**Final Verification must be structured as numbered tasks, not prose.** After resolving adversarial-review gaps, write a `Final Verification` section in the plan as explicitly numbered tasks with exact commands and expected output. A prose appendix is not a task and will not be tracked by plan executors.\n\nAt minimum, `Final Verification` must include:\n1. A smoke-test task that starts the service (or nearest equivalent), performs at least one real call, and verifies a valid response\n2. A post-implementation adversarial-review task matching Step 5 below\n\n**Rewrite vs patch:** If more than 3 gaps are confirmed, rewrite the full plan rather than patching individual tasks. Patching accumulates on top of the original blindspots — the same mental model that produced the gaps is now editing its own output. A full rewrite forces you to trace every task from scratch with the gap list in hand, which surfaces secondary issues invisible in a diff. (Example: fixing a retry flow reveals a polling cleanup bug that only shows up when reading the whole `JobPoller` spec in one pass — not when diffing the retry step in isolation.)\n\n**Re-review trigger:** If the architecture is recompiled or re-approved after the plan was drafted, the plan is stale by default. Re-run the adversarial review against the new `docs/architecture/` before presenting or executing the plan. If the pattern set or top-level constraints changed materially, rewrite the plan instead of carrying the old one forward.\n\n### Step 2 — Establish implementation order\n\n**Primary: derive sequencing from `requires`/`provides`.** For each selected pattern, read its `requires` list and find which other selected patterns `provides` those capabilities — those providers must be implemented first. Build the full dependency order before writing any code. Do not skip this: the category table below is a manually authored approximation and can diverge from actual dependencies.\n\n**Secondary: use this table only when the dependency graph leaves order ambiguous** (e.g. two patterns with no dependency on each other). It is a scaffold, not a substitute for the `requires`/`provides` check.\n\n| Order | Categories | Examples |\n|-------|-----------|---------|\n| 1 | Foundation | `arch-*`, `platform-*`, `hosting-*`, `iac-*`, `onprem-*` |\n| 2 | Secrets, Security, Identity | `secrets-*`, `sec-*`, `policy-*`, `idp-*`, `pki-*` |\n| 3 | Compliance | `compliance-*` |\n| 4 | Storage | `db-*`, `data-*` |\n| 5 | Caching | `cache-*`, `caching-*`, `write-*` |\n| 6 | Communication | `api-*`, `sync-*`, `async-*`, `queue-*` |\n| 7 | Reliability | `resilience-*`, `consistency-*`, `distributed-*`, `exactly-*`, `saga-*` |\n| 8 | Application/Feature patterns | `cqrs-*`, `event-*`, `crud-*`, `multi-*`, `tenancy-*`, `batch-*`, `genai-*` |\n| 9 | Front-end | `ui-*` |\n| 10 | Observability | `obs-*`, `ops-*`, `finops-*` |\n| 11 | Delivery | `deploy-*`, `release-*`, `build-*`, `dev-*`, `test-*`, `gof-*` |\n| 12 | Governance | `gov-*` |\n\nIf the table order conflicts with a `requires`/`provides` dependency, the dependency wins.\n\n**Tertiary: within a category, prefer `meta` first (skip), then `P0` → `P1` → `P2` → `P3` by resolved priority from `architecture.yaml`.** When the `requires`/`provides` graph leaves two patterns at the same dependency depth and the same category, sequence them by resolved priority:\n\n- `meta` — compile-time validators (no implementation work; **skip these in sequencing**, do not write code for them, but do verify their presence confirms the spec-level contracts they enforce).\n- `P0` — backbone fulfilling constraints; build first to get a runnable scaffold.\n- `P1` — built on backbone (auth, secrets, compliance, agentic safety+audit+eval, obs, resilience, deploy, UI, API, caching, CRUD, tenancy).\n- `P2` — advanced code patterns; deliver after P0+P1 are stable.\n- `P3` — process / governance / practice (ADRs, runbooks, threat modeling, zero-trust). These are still part of the approved architecture — write the runbooks, file the ADRs — but they are docs/practice, not code.\n\nDo not skip any non-`meta` pattern. Every pattern in `architecture.yaml` (across P0–P3) must be delivered before declaring implementation complete. The existing \"When a Pattern Can't Be Implemented\" workflow remains the only way to drop a pattern — via `disallowed-patterns` + recompile + re-approval.\n\n### Step 3 — Implement each pattern\n\n**Do this for each pattern individually, immediately before writing its code — not as a bulk upfront exercise.** Reading `compiled-spec.yaml` or a prior subagent summary is not a substitute for reading the pattern JSON itself.\n\nFor each pattern:\n\n1. **Read `patterns/<id>.json` now** — even if you read it earlier, re-read it immediately before writing this pattern's code\n2. Read `defaultConfig` — use these values directly; they are the approved choices\n3. Read `configSchema` descriptions — understand the trade-offs and wire config into environment variables or config files accordingly\n4. **Check `defaultConfig` for runtime-specific values** (e.g. `function_runtime`, `edge_functions`, `compute_type`) and verify that the packages and APIs in your implementation are compatible with that runtime. `function_runtime: nodejs` means Edge-only APIs are unavailable — use Node.js equivalents. `edge_functions: true` means Node.js built-ins are unavailable — use Web APIs. Mismatches compile and deploy silently but fail at runtime.\n5. Check whether the pattern relies on process-local state, sticky sessions, local filesystem persistence, or long-lived memory. If the selected runtime is stateless or ephemeral, do not implement a thin in-process approximation and call it done — either bind it to a durable backing service or flag the mismatch.\n6. Check `requires` as a pre-implementation checklist — confirm each required capability is already in place before starting. If a required capability (e.g. a metrics backend, CI/CD integration, SLO tracking tool) does not exist anywhere in the current architecture, **stop — do not write code for this pattern.** Follow the unimplementable pattern workflow below.\n7. **Consult pattern URLs if present.** If `patterns/<id>.json` has `reference_design_url`, visit it for the pattern's intent and rationale. If it has `reference_developer_doc_url`, visit it for current library API examples. URLs are not version-pinned — verify the library version you are using matches the documentation. The pattern owns intent freshness; you own library-call freshness.\n8. **If the pattern declares `composes`, honor those relationships when wiring runtime sequence.** The block lives at `patterns.<priority>.<id>.composes` in the approved architecture.yaml (and in the source pattern JSON). Verbs:\n   - `wraps: [X, Y, ...]` — this pattern's logic surrounds X (and Y, …) at runtime. Concretely: implement this pattern as a wrapper/middleware/decorator around the wrapped pattern's logic. The wrapped pattern's code runs *inside* this pattern's code.\n   - `layered_after: [X]` — this pattern runs after X in the same request/step. Sequence accordingly.\n   - `co_runs_with: [X]` — this pattern runs alongside X; ordering irrelevant. Typically orthogonal concerns (e.g. observability alongside business logic). No coupling at request time.\n   - `dispatches: [A, B, C]` — this pattern fans out [A, B, C] as concurrent sub-tasks. Implement as a coordinator that dispatches workers in parallel and aggregates results.\n\n   The compiler prunes composes edges to patterns not in the selection set, so any edge appearing in the approved YAML points to another selected pattern that must also be implemented. If you find yourself wanting to skip a composed relationship (e.g. \"I'll just implement audit-log without wrapping the gate-hook for now\"), stop — that is a silent skip equivalent to omitting capabilities in `provides`. Follow the unimplementable-pattern workflow if the composition genuinely can't be honored.\n9. **If this is a multi-agent topology pattern (`agentic-topology--hierarchical | --sequential | --parallel | --routing | --hybrid`), use the inter-agent envelope fields in `defaultConfig` to generate concrete code.** The four relevant fields:\n   - `message_envelope` — schema for orchestrator → worker payloads. Generate a typed struct/class (TypeScript interface, Python dataclass, etc.) from `required_fields` + `optional_fields`. Required fields are mandatory; optional may be omitted.\n   - `response_envelope` — schema for worker → orchestrator payloads. Generate a typed struct with a status enum (`completed | partial | failed | escalated | timeout`). `required_fields_when_completed` apply on success; `required_fields_when_failed` apply on the failure path.\n   - `failure_policy` — wraps every sub-agent dispatch with retry + terminal-failure handling. Implement a retry wrapper with `retry_max` attempts, `retry_backoff` strategy, `retry_initial_ms` initial delay. On terminal failure, follow `on_terminal_failure`: `surface_partial` returns whatever completed; `hard_fail` propagates the error to the caller; `escalate_to_human` routes per `escalation.policy`.\n   - `aggregation_strategy` — how the orchestrator combines sub-results: `sequential_pipe` (agent N output → agent N+1 input), `concat_with_attribution` (tag each sub-result with source agent), `merge` (deep-merge structured outputs), `last_wins`, `voting_quorum` (links to `agentic-parallel-voting`), `judge_arbitration` (links to `agentic-llm-judge`), `none` (single specialist returns).\n\n   **Do NOT invent your own inter-agent envelope.** The shape comes from the topology pattern. If a real product requirement needs a different envelope (e.g., LangGraph-style typed state graph), override in `spec.patterns.agentic-topology--<topology>` and recompile — do not silently diverge from the approved contract.\n10. After implementing, verify your implementation delivers **every** capability listed in `provides`. If any capability is undelivered, **stop — do not move to the next pattern.** Follow the unimplementable pattern workflow below.\n\n**Do not deviate from `defaultConfig` values without human approval.** If a value is unachievable or breaks NFR targets and/or compliance requirements, surface it to the human — do not substitute silently. Ask human to review and recompile architecture if needed.\n\n### Step 3.5 — Wire eval scaffolds into CI (agentic specs only)\n\nIf the approved architecture includes `constraints.features.agentic_system`, the compiling-architecture skill will have copied baseline eval scaffolds into `<app-repo>/tests/evals/<archetype>-scaffold.yaml` (one per archetype present in `agentic_system.agents[*].archetype`). Wire them into CI before declaring implementation complete.\n\n1. **Read each `tests/evals/<archetype>-scaffold.yaml`.** Each scaffold contains `test_cases` with `id`, `nfr_target`, `category`, `prompt`, `expected_behavior`, and `rationale`. Skim every case; flag any whose `expected_behavior` is genuinely ambiguous for your domain (e.g. `redact_in_audit` is a no-op if the spec doesn't have `agentic-decision-audit-log` — flag and resolve before wiring).\n\n2. **Generate runnable test code** from each scaffold. The scaffold is data; the test runner is yours to write. Typical shape:\n   - Map `nfr_target` → CI gate threshold (read from `architecture.yaml.nfr.agentic_system.target.<field>`).\n   - For each test case: send the `prompt` to the deployed agent endpoint, capture the response, evaluate against `expected_behavior` (use an LLM-judge for fuzzy verdicts like `block`/`refuse`/`redact`).\n   - Aggregate pass rates per `nfr_target` axis; compare against the spec threshold; fail the CI job if below.\n\n3. **Gate merge on the safety NFR thresholds.** Examples:\n   - `prompt_injection_block_rate_min: 0.95` → CI fails if the agent blocks < 95% of prompt-injection cases.\n   - `hallucination_rate_max: 0.05` → CI fails if hallucination cases produce fabricated content > 5% of the time.\n\n4. **Treat the scaffolds as a STARTING suite — expand them.** The agentic-platform-safety reviewer who wrote them flagged each scaffold as STARTER content. Refine by:\n   - Adding domain-specific adversarial inputs (e.g. for a sales agent: fabricated pricing, competitor-disparagement attempts).\n   - Adding regression cases when production incidents reveal new failure modes.\n   - Adding per-tenant tracers for multi-tenant systems (to verify session isolation).\n\n5. **Do NOT delete scaffold cases without explicit human approval.** Cases marked `archetype_specific` cover that archetype's named failure modes; dropping them is equivalent to dropping a `provides` capability for the corresponding pattern.\n\nThe scaffolds are not optional. An agentic spec compiled by the compiling-architecture skill carries the implicit contract that these baselines will run in CI. Skipping them is the same kind of silent skip as omitting a pattern from implementation — follow the unimplementable-pattern workflow if a case genuinely cannot apply (e.g. an archetype scaffold case that references a tool the deployment doesn't have).\n\n### Step 4 — Verify against NFR targets\n\nAfter implementing each pattern, verify configuration correctness against `architecture.yaml`. Agents verify that config values are set appropriately for each target — live performance testing against actual workloads is a human-run step done outside this workflow.\n\n| NFR field | What to verify (configuration, not live measurement) |\n|-----------|------------------------------------------------------|\n| `nfr.availability.target` | Replication factor, health check intervals, and failover config set to values compatible with the target |\n| `nfr.latency.p95Milliseconds` / `p99Milliseconds` | Connection pool sizes, cache TTLs, and timeout budgets wired to values compatible with the target — flag to human for load testing before go-live |\n| `nfr.rpo_minutes` / `nfr.rto_minutes` | Backup schedule interval ≤ RPO target; recovery procedure documented; failover config present |\n| `nfr.data.compliance.*` | Required controls active: encryption at rest/in-transit enabled, audit log destination configured, data retention policies set |\n| `nfr.security.auth` | Exactly the specified auth mechanism implemented — not a different one |\n\n### Step 5 — Post-implementation verification\n\nAfter all patterns are implemented, complete two verification tasks before declaring implementation done. Both must appear in the plan as explicit numbered tasks inside `Final Verification`.\n\n#### 5a. Smoke test (mandatory)\n\nStart the service and verify at least one real call succeeds end-to-end.\n\n| Type | Owner | Scope |\n|------|-------|-------|\n| Configuration correctness | Implementing agent (Step 4) | Are the approved values wired correctly? |\n| Integration smoke test | Implementing agent (Step 5a) | Does the service start and respond correctly to one real call? |\n| Load/performance testing | Human, out-of-band | Does the system hold under traffic? |\n\nStep 4 covers configuration correctness. Step 5a covers whether the implementation actually runs. The carve-out in Step 4 for human-run live testing applies to load/performance testing only — not to the smoke test.\n\nIf the smoke test hits a runtime environment blocker (for example SDK incompatibility, missing cloud access, expired credentials, or unavailable external infrastructure), make one reasonable workaround attempt. If it still fails, surface the blocker to the human and stop iterating around it. An environment blocker is not the same thing as an implementation bug.\n\n#### 5b. Post-implementation adversarial review\n\nRun an adversarial review of the actual implementation against `docs/architecture/` — not just the plan. The plan adversarial review asks \"does the plan cover the architecture?\" This review asks \"does the implementation in the working tree or commit candidate deliver what the plan said?\"\n\nThe reviewer must be forbidden from producing a pass/fail verdict or positive summary. Its only output is a gap list. Prefer a reviewer with no prior implementation context so it is less likely to rationalize gaps away.\n\nFocus areas:\n- Does each selected pattern's `provides` capability appear in actual code, infrastructure, config, or tests — not stubs, comments, or log lines?\n- Are NFR targets wired in running code, not only in config or documentation files?\n- Do any implementation details contradict the approved `defaultConfig` values?\n- Are cross-task integration points correct?\n- **Does the implementation honor `composes` declarations on each pattern?** Specifically: if pattern A declares `wraps: [B]`, is A actually implemented as a wrapper/middleware/decorator around B's logic — or is A just running adjacent to B? If A declares `layered_after: [C]`, does A's code path actually run after C's at request time? If A declares `dispatches: [D, E, F]`, does A actually fan out concurrent sub-tasks and aggregate? `co_runs_with` is symmetric (no order check needed) — verify only that both patterns are active in the same runtime.\n\nResolve findings the same way as the plan adversarial review: cite the exact file and line, or confirm the gap and fix it.\n\n---\n\n## When a Pattern Can't Be Implemented or Human Asks to Skip It\n\nIf a pattern is unachievable, over-engineered for the scope, or the human explicitly says to skip it — **do not skip it silently in code.**\n\n**A partial implementation is a silent skip.** Writing a log line, a comment, or a stub that references a pattern's `defaultConfig` values without delivering the capabilities in `provides` is not implementation — it is a silent skip with extra steps. It is worse than a clean skip because it creates the illusion of compliance. Treat it identically: stop and follow the workflow below.\n\nThe approved `docs/architecture/` folder is the source of truth. A pattern listed there but not fully implemented creates drift between what was decided and what was built — defeating the purpose of having an approved architecture.\n\n**The correct response in all cases:**\n\n1. **Confirm with the human** that the pattern should be removed and that this requires a recompile:\n   > \"`ops-low-cost-observability` and `ops-slo-error-budgets` are in the approved architecture. To keep things simple I'd suggest removing them — that means recompiling and re-approving the spec. Should I proceed?\"\n2. **Do not recompile yourself** — the human or a compiler agent adds the pattern IDs to `disallowed-patterns` in the spec, recompiles, and re-approves the output (see `skills/compiling-architecture/SKILL.md` if available)\n3. **Only implement once the updated architecture is re-approved** — the refreshed `docs/architecture/` is your new source of truth\n\n---\n\n## Binding Constraints\n\n`architecture.yaml` constraints are not suggestions:\n\n- `constraints.cloud` — use only services from this provider\n- `constraints.language` — implement in this language only\n- `constraints.platform` — shapes deployment target and code structure (e.g. `data-pipeline` means batch jobs, not an HTTP server)\n- `constraints.features.*` — only features set to `true` are in scope; do not implement features that aren't enabled\n\n---\n\n## Common Mistakes\n\n| Mistake | Fix |\n|---------|-----|\n| Starting to code without functional requirements | Stop — architecture tells you HOW, not WHAT. Get feature specs from the human first. |\n| Assuming a pattern is irrelevant without checking the full picture | e.g. `hosting-static-frontend--netlify` looks irrelevant for a mobile app until you check `ui-cross-platform` defaultConfig — Flutter targets web too. Cross-check pattern `provides`/`requires` before dismissing any selected pattern. If you confirm it genuinely can't be implemented in the current context, raise it with the human — do not skip silently. |\n| Writing token code to satisfy a pattern (log line, comment, stub) | This is a silent skip. If you cannot deliver every capability in `provides`, follow the unimplementable pattern workflow — stop, raise with human, add to `disallowed-patterns` if agreed. |\n| Reading compiled-spec.yaml or a prior summary instead of the pattern JSON | `compiled-spec.yaml` has `defaultConfig` but not `provides` or `requires`. Read `patterns/<id>.json` directly, immediately before implementing each pattern. |\n| Choosing a service not in `defaultConfig` | Check `configSchema` — if it's not in the enum, it wasn't approved |\n| Implementing patterns in arbitrary order | Derive order from `requires`/`provides` dependencies first |\n| Ignoring NFR targets | Check each NFR field and verify your implementation meets it |\n| Implementing a feature not in `constraints.features` | Only implement features explicitly enabled |\n| Modifying files in `docs/architecture/` | Read-only for implementing agents; changes require re-compilation and human re-approval |\n| Treating provider binding as an implementation detail | AWS vs agnostic, Auth0 vs Cognito, SQS vs generic queue, or OpenAI vs self-hosted model all change the architecture contract. Route back to the compiling skill instead of coding through it. |\n| Self-resolving a `requires` gap with a thin justification | \"Platform has logs\" ≠ `monitoring`. \"Deployment records exist\" ≠ `audit-logging`. If no selected pattern provides the capability, it is an unresolved gap — flag it to the human, do not decide it is fine. |\n| Ignoring a pattern's internal contradiction between `requires` and `supports_nfr` | If a pattern requires a capability its own `supports_nfr` says it cannot support, that is a registry bug — raise it explicitly rather than quietly accepting both claims. |\n| Delegating the pre-flight check to a subagent | Subagents return \"green\" by finding creative resolutions. You must do Step 1.5–1.7 yourself. A subagent's \"no issues found\" verdict is not pre-flight completion. |\n| Skipping the human gate when pre-flight returns clean | No flags does not mean implicit approval. Present the summary and wait for explicit confirmation before writing the plan. |\n| Not checking whether selected services actually meet NFR targets | Pattern `requires`/`provides` compatibility does not mean the chosen provider's plan tier meets `rpo_minutes`, `availability.target`, or compliance requirements. Verify against actual service specs. |\n| Treating the Step 1.6 NFR table as exhaustive | The table covers common fields — iterate every `nfr.*` field in `architecture.yaml` and confirm each has a plan task. `data.retention_days` with no cleanup job is a gap even if the field isn't in the table. |\n| Applying generic heuristics before reading the requirements source | Read the actual source (design doc, user stories, feature specs) first and extract requirements verbatim. The \"common silent misses\" list is a fallback for when no source exists — not a first check. Flag an item from the heuristic list only if the source does not explicitly mark it out of scope. |\n| Dismissing adversarial reviewer items with vague reassurances | \"Handled by the framework\" or \"implied by the pattern\" are not resolutions. For every reviewer item, cite the exact task, step, and file — or confirm the gap and add a task. |\n| Using the adversarial reviewer as a validator instead of a fault-finder | If you prompt the reviewer to confirm coverage rather than find gaps, it will return green. The reviewer's mandate is to assume incompleteness. Never ask it \"does the plan cover X?\" — only \"what is missing?\" |\n| Treating the smoke test as load testing and therefore out of scope | A smoke test is mandatory before declaring the work done: start the service, make one real call, and verify a valid response. Load/performance testing remains human-owned. |\n| Writing `Final Verification` as a prose appendix instead of numbered tasks | Prose is not tracked as work. `Final Verification` must be numbered tasks with exact commands and expected output, including smoke test and post-implementation adversarial review. |\n| Iterating through multiple workarounds for a runtime environment blocker | Make one reasonable workaround attempt. If the blocker persists, raise it to the human instead of continuing to churn on environment issues. |\n| Treating per-task reviews as a substitute for post-implementation adversarial review | Per-task review catches isolated issues. Post-implementation adversarial review catches cross-task integration mistakes and implementation-vs-architecture drift. Both are required. |\n| Referencing a resource by name without defining it | An env var like `FIREHOSE_STREAM_NAME` and a `put_record()` call do not create a Firehose stream. Every required resource needs a real definition: cloud resource, Terraform block, provisioning script, config, or explicit externally-managed dependency noted in the plan. |\n| Using a runtime-incompatible API because `defaultConfig` wasn't checked | `function_runtime: nodejs` and `edge_functions: false` mean Edge-only APIs (e.g. `globalThis.waitUntil`) are unavailable. Check `defaultConfig` runtime values before choosing packages and APIs — mismatches compile silently and fail at runtime. |\n| Missing functional requirements with no plan task | Error/retry/empty states and other UX flows are functional requirements not derivable from pattern `provides`. Cross-check the requirements source explicitly — they will not appear in any pattern JSON. |\n| Patching the plan after an adversarial review instead of rewriting | Patches layer on top of the original blindspots. When the confirmed gap count exceeds 3, rewrite from scratch — a full rewrite traces every task and surfaces secondary issues invisible when diffing individual steps. |\n| Continuing with an old plan after architecture re-approval | Recompilation changes the contract. Re-run adversarial review against the new architecture, and rewrite the plan if constraints or pattern set changed materially. |\n| Writing approved architecture.yaml with assumptions block still present | Finalisation requires promoting every field under `assumptions.*` to its top-level path and removing the block entirely. An approved file with `assumptions:` still in it is compiler output, not a finalised architecture — implementing agents cannot distinguish decided fields from defaulted ones. |\n| Assuming page-reload survival without tracing state to a durable source | State held in `URL.createObjectURL`, a query param, or in-memory React state is lost on reload. For any state a user might reload into, trace it to a durable read (database, Blob URL, cookie) — not a locally-constructed value. |","tags":["implementing","architecture","arch","compiler","inetgas","agent-skills","ai-governance","architecture-as-code","architecture-harness","cost-optimization","design-pattern-registry","design-patterns"],"capabilities":["skill","source-inetgas","skill-implementing-architecture","topic-agent-skills","topic-ai-governance","topic-architecture","topic-architecture-as-code","topic-architecture-harness","topic-cost-optimization","topic-design-pattern-registry","topic-design-patterns","topic-deterministic-compiler","topic-deterministic-execution","topic-developer-tools","topic-harness-engineering"],"categories":["arch-compiler"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/inetgas/arch-compiler/implementing-architecture","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add inetgas/arch-compiler","source_repo":"https://github.com/inetgas/arch-compiler","install_from":"skills.sh"}},"qualityScore":"0.453","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 6 github stars · SKILL.md body (50,408 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:14:37.274Z","embedding":null,"createdAt":"2026-05-18T13:22:23.613Z","updatedAt":"2026-05-18T19:14:37.274Z","lastSeenAt":"2026-05-18T19:14:37.274Z","tsv":"'+1':4872 '/.codex/arch-compiler/tools/archcompiler_preflight.py':1031 '/tests/evals':5058 '0.05':5243 '0.95':5227 '1':149,902,910,1055,1070,2529,2892,2946,3320,3323,3340,3358,3371,3387,3407,3587,3880,4196,5075,6146 '1.5':960,1709,1798,2776,6684 '1.6':1710,1792,6766 '1.7':1712,2074,6685 '10':3936,4959 '11':3941 '12':3949 '1440':2049 '2':160,931,1173,2537,2909,2997,3337,3611,3783,3887,4218,5134,6200 '3':170,941,1209,2548,2911,3044,3354,3630,3896,4155,4230,5213,6233,7256 '3.5':3092,3367,5030 '4':194,1266,2569,3169,3382,3899,4249,5256,5426,5621,5660,5678 '5':2581,3214,3402,3622,3903,4314,5252,5324,5563 '5a':5594,5634,5665 '5b':5749 '6':3908,4368 '60':2041 '7':3914,4422 '8':3921,4485 '9':3931,4700 '95':5234 'absent':3335,3352 'accept':387,1473,1760,2069,2302,2322,3108,6661 'access':1612,3251,5710 'accord':4248,4565 'accumul':3644 'across':1332,1667,3259,4118 'act':148 'activ':5538,5975 'actual':1448,1805,1917,1926,3199,3842,5455,5670,5761,5846,5906,5934,5951,6734,6760,6817 'ad':562,3531,5283,5300,5310 'add':1563,1576,2288,2309,2354,2570,2584,3471,6211,6432,6901 'addit':2411,3253 'adjac':5920 'adr':4080,4100 'advanc':4067 'adversari':2738,2757,2865,3314,3525,3545,3617,3749,5287,5753,5757,5771,5988,6867,6906,7029,7074,7086,7237,7292 'adversarial-review':3544,3616 'agent':108,114,120,126,132,156,226,2369,4054,4707,4711,4722,4806,4867,4870,4884,4898,4906,4920,5036,5125,5174,5232,5268,5293,5364,5440,5619,5632,6210,6531,7351 'agentic-decision-audit-log':5124 'agentic-llm-judg':4905 'agentic-parallel-vot':4897 'agentic-platform-safeti':5267 'agentic-topolog':4710 'agentic_system.agents':5065 'agents.md':101,151,224 'aggreg':4616,4856,5195,5959 'agnost':6551 'agre':6438 'ai':1470 'alert':2343 'allow':1385 'alongsid':2132,4573,4582 'alreadi':201,247,540,1087,4382 'already-approv':246 'also':2117,2512,2981,4645 'altern':691 'alway':1133 'ambigu':1491,3855,5105 'and/or':5008 'anoth':1083,3427,4640 'answer':2971,3109,3142 'anyth':2119 'anywher':1110,4403 'api':78,346,3172,3194,3207,3244,3385,3910,4062,4270,4286,4304,4456,7158,7175,7188 'app':1033,6353 'app-repo':1032 'appear':3074,4633,5583,5844,7227 'appendix':3568,6999 'appli':526,593,828,2204,4788,4795,5410,5685,6807 'applic':350 'application/feature':3922 'appropri':5447 'approv':15,21,33,40,205,248,259,292,305,320,418,459,481,522,547,568,582,628,744,764,771,842,870,951,1696,1788,3733,4093,4153,4228,4506,4636,4957,4998,5041,5333,5624,5878,6106,6138,6177,6194,6226,6243,6485,6541,6716,7284,7310,7336 'approxim':3837,4351 'arbitr':4902 'arbitrari':6489 'arch':98,136,3882 'arch-compil':97 'archetyp':5062,5066,5336,5340,5413 'architectur':3,22,27,35,41,47,141,145,207,218,240,249,293,306,327,330,353,392,410,429,460,464,490,523,548,569,765,818,1113,1172,1206,1427,1559,1697,2334,2359,3727,4094,4407,5026,5042,5049,5371,5779,6139,6178,6239,6319,6569,7098,7281,7297,7349 'architecture-bind':1426 'architecture.yaml':17,30,316,604,731,760,785,912,1811,1854,2375,3006,3982,4117,4507,5439,6255,6781,7311 'architecture.yaml.nfr.agentic_system.target':5163 'area':2477,2657,2918,2936,2943,2945,2996,3043,3091,3168,3213,3319,3336,3353,3366,3381,3401,5836 'aren':6305 'around':1489,4535,5735,5911 'array':2536,2714,3055 'artifact':42,260,331,419,596,905,2424,2445,2447,2470,2562,2675,2703,3094,3103,3137,3369,3380 'ask':185,336,850,2370,2813,2955,3007,3062,3100,3189,3230,3269,5020,5773,5782,6012,6942 'assign':2190 'assum':1953,2495,2791,3153,6332,6939,7359 'assumpt':620,1293,7313,7323,7339 'async':1460,3912 'attempt':3252,4821,5299,5721,7044 'attent':3030 'attribut':4876 'audit':1407,1589,1599,1636,4056,4664,5112,5127,5543,6600 'audit-log':1406,1588,4663,6599 'auth':565,585,1454,4051,5555 'auth0':6552 'author':411,1264,3836 'authoris':275 'authorit':51 'autom':2342 'avail':314,6232 'availability.target':6754 'aw':6549 'away':5834 'axi':5201 'b':4592,4599,5903,5912,5922 'back':1480,1678,2145,4362,6572 'backbon':4037,4050 'backend':2480,4394 'backoff':4823 'backup':1933,2048,5524 'band':5652 'base':2156 'baselin':5054,5379 'bash':1029 'batch':3929,6285 'behavior':5092,5102,5182 'belong':1693 'bind':1317,1428,4357,6253,6544 'blank':2944 'blindspot':3650,7249 'blob':7403 'block':986,1730,4499,5192,5224,5233,7139,7314,7333 'blocker':1350,1359,5703,5728,5739,7039,7047 'boundari':159,483 'bracket':2860 'break':5005 'breaker':1646,1664,1674 'bring':516 'brownfield':503,532 'budget':1546,1981,5502,6173 'bug':1240,1265,3699,5748,6654 'build':56,74,3816,3945,4040 'built':1610,4048,4298,6131 'built-in':1609,4297 'bulk':4173 'busi':75,4583 'button':2233 'c':4593,4600,5928,5937 'cach':3904,3905,3906,4063,5498 'call':2493,3151,3605,4353,4483,5607,5645,6981,7122 'caller':4849 'candid':5792 'cannot':1234,1256,2053,2361,2838,3458,5409,6417,6648,7352 'capabl':694,1075,1095,1128,1182,1196,1219,1247,1418,1918,2541,2551,2598,2664,2729,3061,3088,3363,3809,4380,4390,4683,4967,4973,5353,5843,6068,6420,6608,6641 'captur':5176 'carri':3777,5373 'carv':5674 'carve-out':5673 'case':3218,3406,5084,5097,5167,5239,5248,5302,5329,5334,5407,5415,6145 'catch':1494,7080,7088 'categori':1130,3830,3878,3968,3999,5089 'certif':2001 'chang':381,457,551,824,1472,3770,6532,6567,7286,7307 'check':964,973,1021,1120,1275,1795,1815,2079,2709,3876,4250,4315,4369,5480,5967,6338,6356,6368,6473,6501,6669,6730,6846,7163,7180,7219 'checklist':4376 'choic':219,273,478,1443,4229 'choos':6467,7185 'chosen':664,687,1278,1942,1973,2004,3195,6746 'churn':7058 'ci':5035,5070,5158,5209,5228,5244,5383 'ci/cd':4395 'circuit':1645,1663 'cite':3446,3459,5990,6889 'claim':6663 'clean':1367,1781,6087,6709 'cleanup':1887,2012,3698,6793 'client':2492,3150 'close':1421 'cloud':919,1163,1190,5709,7136 'cloud-infrastructur':1162 'co':4566,5960 'code':9,45,266,351,413,506,539,909,968,1063,2613,2637,2659,3016,3112,3824,4020,4068,4106,4169,4217,4412,4545,4551,4730,5138,5847,5864,5932,6041,6278,6314,6401,6579 'codebas':282,408,1356 'cognito':6554 'collect':1099,1329,1523 'column':2448 'combin':2109,2908,4861 'come':4924 'command':3562,7018 'comment':1902,2022,2313,2503,3018,3161,5854,6054,6408 'commit':5791 'common':1877,2148,2199,3035,6308,6774,6831 'communic':3909 'compar':5202 'compat':1270,1819,3173,3386,3399,4275,5488,5506,6741 'competitor':5297 'competitor-disparag':5296 'compil':26,90,99,137,140,188,237,303,740,754,817,834,863,873,1483,4007,4306,4619,5048,5366,5370,6209,6536,6575,7190,7344 'compile-tim':4006 'compiled-spec.yaml':4177,6440,6450 'compiler-mainten':187 'compiling-architectur':25,139,816,5047,5369 'complet':1707,1728,2999,3339,4127,4779,4787,4841,5074,5573,6699 'complianc':519,2000,3897,3898,4053,5009,6095,6756 'compos':4490,4503,4621,4656,5892 'composit':4694 'comput':1155,3187,4262 'concat':4874 'concern':2927,3400,4579 'concret':1179,2423,2444,2452,2561,2674,3093,3102,3368,3379,4528,4729 'concurr':4602,5954 'condit':501,536,544 'config':60,115,174,616,677,795,930,2436,3392,4241,4246,5443,5484,5533,5849,5868,7142 'configschema':668,953,4232,6474 'configur':2459,3118,5436,5472,5546,5616,5662 'confirm':827,1775,1817,1823,1856,2178,2378,2824,3470,3633,4028,4377,5997,6147,6379,6724,6783,6897,6923,7252 'conflict':415,3956 'conform':289 'connect':1151,1161,5495 'consist':3040,3917 'constraint':62,382,612,897,918,1189,3769,4039,6254,6256,7303 'constraints.cloud':6260 'constraints.features':6291,6516 'constraints.features.agentic':5044 'constraints.language':6267 'constraints.platform':6273 'constraints.saas':383 'construct':7410 'consult':2081,4423 'contain':597,5082 'content':2899,5251,5280 'context':5825,6389 'continu':879,1047,7056,7275 'contract':79,95,4033,4958,5376,6570,7288 'contradict':1617,5876,6630 'control':5537 'convers':1371 'cooki':7405 'coordin':4609 'copi':2855,5053 'correct':5437,5617,5627,5641,5663,5887,6141 'correspond':1870,5356 'cost':1518,6166 'count':7254 'coupl':4586 'cover':1756,2817,3445,3448,5338,5661,5666,5777,6773,6947 'coverag':2257,2408,2415,2486,2514,2575,2697,2825,3095,3370,6924 'cqrs':3924 'creat':2499,3157,6091,6122,7125 'creativ':991,1382,2036,2821,6678 'credenti':5712 'cross':2078,5883,6359,6367,7090,7218 'cross-check':2077,6366,7217 'cross-task':5882,7089 'crud':3926,4064 'current':1188,2058,4406,4454,6388 'd':5946,6184 'daili':2047 'data':1168,2249,3902,5145,5547,6282 'data-pipelin':6281 'data-storag':1167 'data.pii':3039 'data.retention':1883,3037,6789 'databas':357,1106,1531,7402 'dataclass':4749 'date':886 'day':1884,2007,3038,6790 'db':1938,3901 'decid':6127,6621,7354 'decis':377,606,749,5126 'declar':1254,1598,4125,4489,5072,5578,5893,5901,5925,5944,6971 'deep':4887 'deep-merg':4886 'default':3744,7357 'defaultconfig':660,949,3181,4220,4251,4726,4994,5879,6063,6361,6452,6472,7160,7181 'defeat':997,6132 'defer':2626 'defin':2509,7109 'definit':7135 'delay':4829 'deleg':977,2768,6664 'delet':3423,5327 'deliv':1194,1235,1863,2184,2270,2421,2596,2725,3069,4070,4123,4965,5793,6066,6418 'deliver':1176 'deliveri':1461,3047,3357,3942 'depend':3819,3843,3851,3861,3961,3963,3994,6496,7148 'deploy':1137,1401,3943,4060,4308,5173,5421,6275,6596 'depth':3995 'deriv':3788,6491,7213 'descript':655,669,1230,4233 'design':343,2098,2274,2900,4433,6819 'destin':5545 'detail':644,1016,5875,6548 'detect':2242 'dev':3946 'develop':4448 'deviat':4992 'dif':3715,7272 'diff':3689 'differ':2778,4936,5560 'direct':667,4224,6461 'disallow':1567,4148,6217,6435 'disallowed-pattern':1566,4147,6216,6434 'discov':498,1349 'discrep':779 'disk':559 'dismiss':3487,6373,6866 'disparag':5298 'dispatch':2752,4590,4611,4807,5945 'distinguish':7353 'distribut':1101,1525,3918 'distributed-trac':1100,1524 'diverg':3840,4954 'doc':344,2099,2275,2901,4449,6820 'docs/architecture':11,200,256,299,716,783,2362,3754,5764,6107,6246,6525 'docs/architecture/architecture.yaml':2910 'docs/architecture/patterns':3057 'docs/practice':4104 'document':715,2261,2403,3023,4473,5531,5870 'doesn':5121,5422 'domain':5108,5285 'domain-specif':5284 'done':2589,2645,4355,5463,5580,6974 'draft':2735,2744,2913,3738 'drift':768,6123,7099 'drop':4143,5345,5350 'durabl':1301,1673,2468,3041,3282,4361,7369,7400 'e':5947 'e.g':784,1096,2231,2239,2390,3856,4257,4391,4580,4658,4938,5109,5289,5411,6280,6342,7176 'earlier':4206 'edg':1284,3185,3217,3405,4260,4284,4292,4622,4632,7168,7173 'edge-on':4283,7172 'edge-restrict':1283 'edit':724,759,3661 'either':865,1080,1316,2287,4356 'empti':2237,3246 'enabl':5542,6307,6521 'encrypt':5539 'end':3934,5610,5612 'end-to-end':5609 'endpoint':5175 'enforc':1456,3014,4035 'engin':6023 'enough':1422 'entir':1141,7334 'entri':1507,2568,2684 'enum':4778,6481 'env':7112 'envelop':4723,4736,4765,4921,4937 'environ':1091,1131,1138,2488,3146,4243,5702,5738,7038,7060 'ephemer':1282,4342 'equal':1602 'equival':2017,3599,4291,4680,5348 'error':987,1545,2226,3215,3403,4846,6172 'error/retry/empty':7203 'escal':4782,4850 'escalation.policy':4855 'establish':3784 'etc':4750 'eval':4057,5032,5055 'evalu':1689,5179 'even':1701,4201,6798 'event':3925 'everi':622,631,913,1066,1074,1181,1849,2259,2401,2516,2539,2710,3001,3672,4114,4803,4966,5096,6419,6777,6886,7129,7264,7320 'exact':893,2957,3442,3561,3919,5552,5992,6891,7017 'exampl':552,1148,1513,1581,1638,1878,2038,2323,3690,3879,4457,5221,5705 'exceed':1946,1968,7255 'except':2763 'execut':1658,3758 'executor':3580 'exercis':4175 'exhaust':1841,6770 'exhibit':698 'exist':12,202,279,301,405,412,450,476,505,541,1088,1124,1403,2116,2141,2209,3105,4129,4402,6598,6842 'expand':5264 'expect':3564,5091,5101,5181,7020 'expir':5711 'expiri':1896 'explain':954 'explan':674 'explicit':184,474,607,916,1231,1773,2072,2122,2162,2311,2542,2879,2987,3506,3557,5331,5588,6030,6520,6657,6723,6860,7144,7223 'expos':1441 'extern':1469,2498,3156,3243,5715,7146 'externally-cr':2497,3155 'externally-manag':7145 'extra':6080 'extract':2110,2118,2982,6827 'f':5948 'fabric':5250,5294 'face':3224,3521 'factor':5478 'fail':1039,2235,4311,4781,4794,4843,5207,5229,5245,5725,7193 'failov':5483,5532 'failur':894,3237,3242,3410,4798,4800,4812,4832,4836,5308,5343 'fall':2144 'fallback':2202,6837 'fals':1506,1592,1603,2328,7170 'fan':4596,5952 'fault':2847,6915 'fault-find':2846,6914 'feasibl':1794 'featur':77,340,1501,2102,2904,6293,6303,6326,6513,6519,6823 'fetch':3277 'field':623,890,914,1846,1850,1867,1910,1920,3002,3032,3342,4724,4734,4753,4755,4757,4785,4792,5468,6504,6775,6779,6801,7321,7355 'file':556,598,726,738,781,2437,2455,2460,2965,3024,3113,3119,3454,4098,4247,5871,5993,6523,6895,7337 'filesystem':1309,4328 'fill':2857 'final':3532,3550,3583,5592,6994,7010 'finalis':239,2398,7317,7348 'find':713,1380,2820,2829,2848,2872,2930,3417,3426,3802,4650,5981,6677,6927 'finder':6916 'fine':1957,6624 'finish':2705 'finop':3940 'firehos':7115,7127 'first':28,87,310,1580,2634,3815,3971,4041,6331,6497,6825,6845 'fit':452 'fix':802,888,1042,1626,3691,6001,6311 'flag':990,1114,1117,1207,1241,1324,1331,1373,1429,1512,1583,1642,1704,1722,1875,1949,2033,2173,2195,2292,2639,2979,2994,3089,3138,3162,4365,5098,5129,5275,5510,6614,6711,6847 'flight':373,963,1440,1727,1784,6668,6698,6707 'flow':2221,2230,3225,3249,3408,3694,7208 'flutter':6362 'focus':5835 'folder':48,257,300,729,6108 'follow':1390,4416,4686,4833,4984,5399,6101,6423 'forbidden':2783,2804,2834,2880,5802 'forc':2844,3668 'form':2635 'forward':3781 'found':1705,1732,3527,6692 'foundat':3881 'four':4732 'framework':3495,6876 'free':2044 'frequenc':1934 'fresh':4478,4484 'front':3933 'front-end':3932 'frontend':6346 'fulfil':4038 'full':642,936,3636,3666,3818,6340,7261 'fulli':1555,6120 'function':67,334,360,1748,1979,2075,2092,2256,2266,2414,2441,2464,2893,2947,2966,3122,3183,3186,3321,4258,4261,4279,4293,6316,7164,7169,7197,7210 'fuzzi':5189 'gap':1119,1147,1731,1874,2071,2157,2170,2194,2294,2304,2801,2873,3316,3428,3432,3468,3469,3513,3547,3631,3658,3678,5816,5833,5999,6587,6613,6797,6899,6928,7253 'gate':1699,4670,5159,5214,6703 'gate-hook':4669 'genai':3930 'generat':2382,4728,4742,4771,5135 'generic':6557,6808 'genuin':2845,4695,5104,5408,6381 'get':825,934,4043,6325 'git':1153 'git-repositori':1152 'give':950 'given':1186 'global':225,1662 'globalthis.waituntil':7177 'go':1064,5518 'go-liv':5517 'gof':3948 'gov':3951 'govern':3950,4078 'graph':3852,3987,4944 'green':1005,2840,6675,6932 'greenfield':529 'hallucin':5240,5247 'hand':758,3681 'hand-edit':757 'handl':1633,3235,3492,4813,6873 'hard':4842 'harder':1361,2938 'header':34,321,745,772 'health':5479 'held':7372 'helper':1028 'heurist':2083,2151,2155,6809,6852 'heuristic-bas':2154 'hierarch':4713 'histori':2244,2251 'hit':5699 'hoc':563 'hold':5656 'honor':4491,4699,5891 'hook':4671 'host':1962,3884,6344,6564 'hostil':1288 'hosting-static-frontend':6343 'http':6289 'human':183,338,473,748,807,826,852,867,1341,1378,1698,1718,1774,2297,2300,2352,2372,2751,3484,3520,4852,4997,5015,5021,5332,5460,5512,5648,5681,5731,6011,6029,6150,6206,6330,6394,6431,6538,6618,6702,6991,7053 'human-fac':3519 'human-own':6990 'human-run':5459,5680 'hybrid':4717 'iac':3885 'id':940,945,2428,3361,3374,3390,5086,6214 'ident':3890,6098 'idp':3894 'ignor':6498,6625 'illus':6093 'imag':3265 'immedi':492,2519,2609,2615,4165,4211,6462 'implement':2,37,144,244,324,395,496,509,530,588,639,648,696,899,1036,1180,1297,1347,1370,1459,1556,1764,1906,2305,2318,2368,2469,2628,2963,3028,3107,3167,3615,3785,3814,4011,4126,4136,4156,4273,4345,4375,4529,4606,4647,4662,4814,4961,4964,5073,5398,5432,5557,5566,5572,5579,5618,5631,5669,5747,5752,5762,5785,5824,5874,5890,5907,6009,6044,6073,6121,6235,6268,6302,6385,6464,6486,6508,6511,6518,6530,6547,7028,7073,7085,7096,7350 'implementation-vs-architectur':7095 'implementing-architectur':1,143 'impli':3496,6878 'implicit':1787,5375,6715 'import':221 'in':4299 'in-memori':3289,7379 'in-process':1302,4348 'incid':5305 'includ':2263,2405,3110,3586,5043,7022 'incompat':5707,7157 'incomplet':2699,2795,6940 'individu':3641,4164,7273 'infra':2481 'infrastructur':1164,1166,1199,1551,2433,2456,3114,5716,5848 'initi':4826,4828 'inject':5223,5238 'inlin':2898 'input':822,856,4873,5288 'insid':651,2543,4547,5591 'instead':215,493,2849,3429,3775,6445,6577,6911,7000,7054,7239 'integr':1211,1582,4396,5628,5885,7092 'intent':625,4441,4477 'inter':4721,4919 'inter-ag':4720,4918 'interfac':4747 'intern':6629 'internet':1150 'internet-connect':1149 'interpret':1383,2037 'interv':5481,5526 'invent':217,4915 'invis':3686,7270 'invoc':1668 'irrelev':4576,6336,6349 'isn':6802 'isol':3720,5323,7081 'issu':1045,3685,6691,7061,7082,7269 'item':2984,3436,3464,3488,6849,6869,6888 'iter':1847,5734,6776,7031 'job':513,1890,2013,2236,2869,3267,5210,6286,6794 'jobpol':3708 'json':641,654,736,948,1052,2532,2608,3058,4191,4199,4430,4513,6449,6460,7231 'judg':4901,4908,5187 'justif':6591 'keep':1487,6180 'key':2809,3393 'kill':2335 'kind':2140,5389 'know':270 'known':1758 'lack':31 'lambda':1656 'lambda-styl':1655 'land':2224 'langgraph':4940 'langgraph-styl':4939 'languag':920,1191,6271 'last':4891 'latenc':1991 'later':502 'layer':4552,5926,7243 'least':2559,3602,5604 'leav':2694,2941,3853,3988 'less':5829 'level':611,3768,4032,7328 'librari':4455,4466,4482 'library-cal':4481 'lie':2842 'like':1261,5191,5830,7114 'limit':1759,2030 'line':1061,5857,5995,6052,6407 'liner':2689 'link':2212,4895,4903 'list':630,786,937,1076,1183,1217,1739,1750,1761,1845,2084,2106,2131,2538,2661,2802,2923,3433,3679,3800,4968,5817,6116,6834,6853 'live':1314,4333,4500,5451,5474,5519,5683 'll':4660 'llm':4907,5186 'llm-judg':5185 'load':5514,6958 'load/performance':5646,5687,6987 'local':558,1292,1308,4323,4327,7409 'locally-construct':7408 'locat':2085,3462 'log':1397,1402,1408,1590,1600,4665,5128,5544,5856,6051,6406,6594,6601 'logic':76,4521,4540,4584,5914 'long':1313,4332 'long-liv':1312,4331 'look':1260,1911,2937,3239,6348 'lost':7385 'low':1517,6165 'm':3453 'made':750 'main':3221 'mainten':189 'make':448,5717,6978,7040 'manag':574,7147 'mandat':2758,6936 'mandatori':4759,5597,6969 'manual':1413,2340,3835 'map':2473,2652,2665,5155 'mark':2123,2163,2988,5335,6861 'match':424,3620,4471 'materi':380,2161,3771,7308 'matrix':2258,2409,2416,2576,2698 'max':4820,5242 'may':722,2095,4761 'mean':692,1374,2614,4282,4295,6189,6284,6714,6744,7171 'measur':5475 'mechan':1888,2810,5556 'meet':1746,1829,1966,6509,6735,6751 'memori':1315,3291,4334,7381 'mental':3653 'mention':2505 'merg':4885,4888,5215 'messag':4735 'met':2055 'meta':3970,4005,4112 'metric':1098,1522,4393 'metrics-collect':1097,1521 'mid':1352 'mid-way':1351 'might':7393 'migrat':2438,2461,3117 'min':2050,5226 'minimis':1990 'minimum':3582 'minut':1929,1948,2040,5521,5523,6753 'mismatch':430,810,4305,4367,7189 'miss':209,1635,2150,2201,2832,3378,3473,5708,6833,6952,7196 'mistak':6309,6310,7093 'mobil':6352 'mode':895,1035,5309,5344 'model':3654,4083,6565 'modifi':6522 'modul':1661 'module-glob':1660 'monitor':1400,2325,6595 'move':4979 'ms':4827 'multi':3927,4706,5317 'multi-ag':4705 'multi-ten':5316 'multipl':7033 'must':307,420,467,550,634,697,701,970,1601,2262,2337,2395,2404,2449,2790,3534,3585,3812,4121,4644,5582,5800,6681,7012 'must-do':2394 'n':2277,2430,3451,4868,4871 'name':2278,2312,2431,2439,2450,2462,2554,2672,3120,3129,3204,3409,5342,7107,7117 'navigation/header':2210 'nearest':3598 'need':81,268,284,1198,4934,5028,5968,7132 'neither':1552 'neon':2043 'netlifi':6347 'network':1160 'network-connect':1159 'never':6941 'new':3753,5307,6249,7296 'next':4982 'nfr':613,922,1227,1252,1597,1737,1793,1808,1852,1866,1909,1919,2052,2998,3004,3338,3341,5006,5087,5156,5199,5219,5429,5467,5859,6499,6503,6635,6645,6736,6767,6778 'nfr.availability.target':1958,5476 'nfr.data.compliance':1992,5535 'nfr.data.retention':2006 'nfr.latency':1976,5492 'nfr.rpo':1928,2039,5520 'nfr.rto':5522 'nfr.security.auth':5551 'no-op':5115 'node.js':4290,4296 'nodej':4281,7166 'non':3166,4111 'non-implement':3165 'none':1532,4909 'note':917,2019,2324,2356,3020,3516,7149 'noth':2931 'number':2922,3538,3558,5589,7002,7014 'oauth/oidc':575 'ob':3938,4058 'object':571 'observ':1519,1578,2483,3937,4581,6167 'obvious':2974 'off':958,4238 'offer':1997 'offici':714 'old':3779,7278 'omit':4682,4763,5394 'one':2560,2688,2762,3443,3603,3711,3780,5060,5561,5605,5643,5718,6979,7041,7358 'one-lin':2687 'onprem':3886 'op':1516,1543,3939,5117,6164,6170 'openai':6560 'operationalis':1466 'ops-low-cost-observ':1515,6163 'ops-slo-error-budget':1542,6169 'optimis':983 'option':678,1505,1591,2327,4754,4760,5362 'orchestr':4739,4769,4860 'order':3786,3820,3854,3877,3955,4575,5966,6490,6492 'origin':3649,7248 'orthogon':4578 'otherwis':1287 'out-of-band':5649 'output':741,838,874,2798,3303,3565,3664,4869,4890,5813,6228,7021,7345 'outsid':3033,5464 'over-engin':6021 'overal':1003 'overrid':4945 'overview':38 'own':4476,6992 'owner':2255,5614 'p0':3974,4036,4072,4119 'p1':3975,4047,4073 'p2':3976,4066 'p3':3977,4076,4120 'p95milliseconds':1977,5493 'p99milliseconds':5494 'packag':3192,3209,4268,7186 'package/api':3397 'page':2214,3260,7361 'page-reload':7360 'parallel':4614,4715,4899 'param':7377 'paramet':3296 'part':4090 'partial':1355,4780,4838,6043 'pass':3712,5196 'pass/fail':2787,2806,2884,5806 'patch':3626,3640,3643,7232,7242 'path':2861,2896,4799,5933,7329 'path/to/file':2432 'path/to/file.ts':3455 'path/to/plan.md':2915 'pattern':36,127,176,385,486,615,618,629,632,640,643,650,653,658,707,735,788,925,928,939,944,947,1018,1020,1051,1067,1085,1210,1214,1223,1244,1263,1274,1296,1334,1452,1541,1568,1585,1606,1620,1692,1818,2307,2407,2418,2427,2472,2518,2523,2531,2574,2580,2586,2607,2619,2654,2667,2680,2696,2711,2716,3045,3051,3073,3099,3176,3355,3360,3373,3389,3499,3763,3796,3806,3858,3923,3990,4069,4113,4115,4132,4145,4149,4158,4163,4190,4195,4198,4215,4318,4415,4419,4424,4429,4439,4475,4488,4502,4512,4519,4531,4538,4543,4549,4556,4571,4595,4624,4642,4690,4709,4928,4983,4987,5357,5396,5403,5434,5570,5840,5896,5899,5973,6005,6018,6061,6115,6153,6213,6218,6334,6369,6376,6405,6426,6436,6448,6459,6466,6487,6605,6627,6638,6738,6881,7215,7230,7305 'pattern-by-pattern':1017 'pattern-id':2426,3359,3372,3388 'pattern-specif':927 'pattern-x':1584 'pay':3029 'payload':4741,4770 'per':2247,4854,5061,5198,5312,7064,7077 'per-task':7063,7076 'per-ten':5311 'per-us':2246 'perform':971,2046,3600,5452 'persist':1157,1310,1321,1682,3258,4329,7048 'persistent-storag':1156 'pet':2241 'pictur':6341 'pin':4463 'pipe':4866 'pipelin':6283 'pki':3895 'place':704,4384 'plan':369,1327,1435,1488,1770,1779,1860,1943,1974,2005,2026,2059,2064,2181,2260,2384,2388,2393,2400,2402,2528,2624,2631,2641,2683,2707,2737,2742,2793,2816,2866,2914,2960,2977,3011,3127,3198,3234,3272,3331,3348,3395,3479,3509,3555,3579,3637,3736,3740,3760,3774,5586,5768,5770,5776,5796,5987,6728,6749,6787,6946,7152,7201,7234,7279,7301 'planning/coding':2604 'platform':921,1192,1395,1500,3883,5269,6360,6592 'point':2316,4638,5886 'polici':1892,2015,3893,4801,5549 'poll':3262,3697 'pool':5496 'posit':2836,2888,3312,3421,5809 'post':3614,5565,5751,7027,7072,7084 'post-implement':3613,5564,5750,7026,7071,7083 'postur':389,1475 'practic':3501,4079 'pre':372,962,1369,1439,1726,1783,4374,6667,6697,6706 'pre-flight':371,961,1438,1725,1782,6666,6696,6705 'pre-implement':1368,4373 'preambl':3308 'prefer':3969,5818 'preflight':1027 'presenc':4027 'present':836,1203,1713,2747,3481,3756,4427,5063,5534,6717,7316 'preserv':3273 'prevent':898 'price':5295 'primari':2089,3787 'prior':4180,5823,6443 'prioriti':3980,4004 'procedur':5530 'proceed':1328,1343,1388,1767,1790,2198,2380,6199 'process':1291,1304,4077,4322,4350 'process-loc':1290,4321 'produc':309,2678,2785,2882,2920,3656,5249,5804 'product':4932,5304 'project':1127 'promot':7319 'prompt':2854,5090,5170,5222,5237,6919 'prompt-inject':5236 'propag':4844 'propos':820 'prose':3541,3567,6998,7004 'prototyp':280,406,436,451,477,554,578 'provid':384,482,693,1081,1109,1174,1185,1228,1417,1447,1471,1536,1672,1814,1939,1963,1996,2331,2535,2540,2600,2663,2713,2728,3046,3054,3087,3356,3362,3792,3807,3811,3875,3960,3986,4685,4970,5352,5842,6070,6266,6370,6422,6455,6495,6543,6606,6740,6747,7216 'provider/runtime/auth-boundary/retention/message-path':376 'provis':7140 'prune':4620 'purpos':999,6134 'put':7120 'python':4748 'python3':1030 'queri':7376 'question':2925,2933,3212,3318,3327,3344,3365,3376,3398,3414 'queue':3913,6558 'quiet':6660 'quorum':4894 'rais':426,994,1144,1336,1375,1514,1624,1724,3439,6390,6429,6655,7049 'rate':5197,5225,5241 'rather':992,3638,6658,6925 'ration':5832 'rational':4443,5094 're':831,841,860,869,1688,3276,3722,3732,3746,4152,4208,6193,6225,6242,6535,6540,7283,7290 're-approv':840,868,3731,4151,6192,6224,6241,6539,7282 're-compil':6534 're-evalu':1687 're-fetch':3275 're-read':4207 're-review':3721 're-run':830,859,3745,7289 'react':7382 'read':85,105,111,117,123,129,150,161,179,645,679,719,903,911,932,946,1049,1898,2087,2365,2530,2606,2891,3052,3705,3797,4176,4188,4197,4204,4209,4219,4231,5076,5161,6439,6458,6527,6811,6815,7401 'read-on':104,110,116,122,128,178,718,2364,6526 'readi':1765 'readme-agents.md':102 'readme.md':100 'real':1826,1831,3467,3604,4931,5606,5644,6980,7134 'real-world':1825,1830 'reason':1363,1496,5719,7042 'reassur':3491,6872 'recompil':1570,3729,4150,4950,5025,6162,6190,6203,6222,7285 'record':2129,6597,7121 'recoveri':5529 'red':2638 'redact':5110,5194 'refactor':286,422,533,576 'refer':2490,3148,4432,4447,5417,6059 'referenc':7103 'refin':5281 'reflect':636,746 'refresh':6245 'refus':5193 'regardless':1719 'region':1989 'registri':1239,1621,6653 'regress':5301 'relationship':4493,4657 'relax':2065 'releas':3944 'relev':4733 'reli':1299,4319 'reliabl':3915 'reload':3261,3302,7362,7387,7394 'remain':4138,6989 'remov':6156,6186,7331 'replac':66,480 'replic':5477 'repo':83,91,154,193,230,1034 'repo-wid':153 'report':1044 'repositori':1154 'request':4588,5940 'request/step':4563 'requir':68,335,361,456,699,876,1071,1078,1094,1216,1246,1504,1520,1548,1587,1700,1749,1813,1885,1999,2076,2093,2105,2111,2133,2177,2187,2207,2267,2272,2326,2894,2948,2951,3228,3322,3324,3791,3799,3874,3959,3985,4370,4379,4389,4752,4756,4784,4791,4933,5010,5536,6160,6317,6371,6457,6494,6533,6586,6632,6639,6739,6757,6813,6828,7102,7130,7198,7211,7221,7318 'requires/provides':1734 'reset':1666 'resili':1644,3916,4059 'resilience-circuit-break':1643 'resolut':1393,6679,6884 'resolv':989,2602,3430,3515,3543,3979,4003,5131,5980,6584 'resourc':2434,2457,2500,2507,3115,3158,7105,7131,7137 'respond':3440,5640 'respons':3610,4764,5178,6142,6986 'rest/in-transit':5541 'restrict':1285 'result':3247,3263,4617,4864,4881 'retent':5548 'retention/deletion':1464 'retri':2229,2232,3248,3693,3717,4809,4816,4819,4822,4825 'return':398,468,1002,2839,4839,4912,6674,6708,6931 'reveal':374,3695,5306 'review':2739,2812,2827,2867,3315,3438,3526,3546,3618,3723,3750,5023,5271,5754,5758,5772,5781,5799,5820,5989,6868,6887,6907,6921,6934,7030,7066,7075,7079,7087,7238,7293 'rewrit':3624,3634,3667,3772,7241,7257,7262,7299 'risk':388,1474 'rout':1479,4716,4853,6571 'router':233 'row':2281,2577 'rpo':1947,2067,5527,6752 'rule':157,227,504,2773 'run':755,832,861,1023,3747,4546,4557,4567,4572,5381,5461,5671,5682,5755,5863,5919,5935,5961,7291 'runbook':2465,3124,4081,4097 'runnabl':4045,5136 'runner':5148 'runtim':1267,1279,1640,1652,3170,3179,3184,3203,3383,4254,4259,4278,4280,4313,4338,4496,4527,5701,5979,7037,7156,7165,7182,7195 'runtime-incompat':7155 'runtime-semant':1639 'runtime-specif':3178,4253 'safeti':4055,5218,5270 'saga':3920 'said':5797 'sale':5292 'satisfi':1073,1134,1425,1449,1502,1736,1806,6403 'say':2301,2353,6031,6646 'scaffold':3868,4046,5033,5056,5081,5141,5143,5259,5277,5328,5359,5414 'scaffold.yaml':5059,5079 'scenario':3238,3411 'schedul':1889,2011,5525 'schema':109,173,1901,4737,4766 'schemas/capability-vocabulary.yaml':1121 'scope':510,2127,2166,2250,2991,5615,6026,6299,6865,6964 'scratch':3675,7259 'script':121,7141 'sdk':5706 'sec':3892 'secondari':3684,3844,7268 'secret':3888,3891,4052 'section':621,1253,3552 'secur':3889 'see':311,6229 'select':485,570,1084,1273,1451,1540,1648,1744,1802,1914,1937,1961,1988,1995,2417,2517,3050,3098,3795,3805,4337,4628,4641,5839,6375,6604,6732 'selected-patterns.yaml':626,733,791,933 'self':6563,6583 'self-host':6562 'self-resolv':6582 'semant':1268,1462,1641 'send':5168 'sequenc':3789,4000,4016,4497,4564 'sequenti':4714,4865 'seri':1105,1530 'server':6290 'servic':58,1745,1803,1828,1915,1927,2029,3596,4363,5600,5637,6263,6469,6733,6761,6977 'services/values':663 'session':564,1307,4326,5322 'set':1982,3036,3391,3764,4629,5446,5485,5550,6294,7306 'shape':4923,5154,6274 'share':1025 'show':3702 'sign':2216,2219 'sign-in':2215 'sign-out':2218 'signal':1433,2345 'silent':433,2149,2200,2321,2732,4309,4678,4953,5019,5391,6039,6047,6077,6398,6413,6832,7191 'similar':1547 'simpl':6182 'singl':1060,4910 'size':5497 'skill':133,197,446,525,592,819,849,1484,5050,5372,6576 'skill-implementing-architecture' 'skill.md':138,142,146,163 'skills/compiling-architecture/skill.md':214,234,312,400,470,6230 'skills/implementing-architecture/skill.md':241 'skills/using-arch-compiler/skill.md':231 'skim':5095 'skip':1139,2733,3827,3972,4013,4109,4654,4679,5384,5392,6014,6033,6037,6048,6078,6088,6397,6414,6700 'sla':1965 'slo':1544,1549,4397,6171 'smoke':3590,5595,5629,5693,5697,6955,6966,7023 'smoke-test':3589 'soft':1895 'soft-expiri':1894 'someth':2451 'sourc':52,439,2090,2115,2121,2137,2160,2208,2454,2895,2954,2986,3229,3283,4511,4883,6111,6250,6814,6818,6841,6857,7222,7370 'source-inetgas' 'spec':347,823,857,2103,2905,3709,4031,5037,5120,5205,5365,6196,6221,6327,6762,6824 'spec-level':4030 'spec.patterns.agentic':4947 'specialist':4911 'specif':168,662,753,929,2180,2533,3064,3180,3206,3326,3343,3364,3375,3413,3461,4255,5286,5337,5897 'specifi':5554 'split':222 'spot':777 'sqs':6555 'stabl':4075 'stack':586,1579 'stale':3742 'stand':1560 'standard':3500 'start':495,1346,3594,4386,5262,5598,5638,6312,6975 'starter':5279 'state':1232,1305,1675,2225,2227,2238,3256,3279,4324,4943,7204,7366,7371,7383,7390 'stateless':1281,1654,4340 'statement':2837,2890,3313,3422 'static':6345 'status':14,32,319,743,1004,3268,4777 'step':901,959,1054,1708,1791,1797,2073,2547,2556,2775,3065,3452,3476,3621,3718,3782,4154,5029,5425,5462,5562,5620,5633,5659,5664,5677,6081,6683,6765,6893,7274 'sticki':1306,4325 'still':508,4089,5724,7315,7340 'stop':396,500,535,543,799,1040,1432,1477,1508,2285,4408,4674,4976,5733,6099,6318,6428 'storag':572,583,1158,1165,1169,3900 'store':366,555,1322,1683 'stori':342,2101,2903,6822 'strategi':4824,4857 'stream':7116,7128 'struct':4774 'struct/class':4745 'structur':84,3306,3536,4889,6279 'stub':5853,6057,6409 'style':1657,4941 'sub':4604,4805,4863,4880,5956 'sub-ag':4804 'sub-result':4862,4879 'sub-task':4603,5955 'subag':981,982,1001,2754,2772,2780,2853,4181,6672,6673,6688 'substitut':1009,3871,4186,5018,7069 'subsystem':3131 'succeed':5608 'success':4790 'suggest':6185,6259 'suit':5263 'summari':1715,1733,2591,2646,2692,2719,2889,3078,3522,4182,5810,6444,6719 'support':1226,1257,1596,6634,6644,6649 'surfac':3683,4837,5011,5726,7267 'surround':4522 'surviv':3287,7363 'switch':212,2336 'symmetr':5964 'sync':3911 'system':454,1171,5045,5319,5655 'system-architectur':1170 'tabl':1838,1882,2265,2567,2592,2647,2693,2720,3079,3831,3847,3954,6768,6772,6806 'tag':710,4877 'target':614,923,1651,1738,1809,1833,1970,2563,2704,5007,5088,5157,5200,5430,5450,5491,5509,5528,5860,6276,6363,6500,6737 'task':167,1754,1861,1871,2027,2182,2191,2268,2276,2284,2290,2419,2429,2525,2545,2595,2621,2651,2670,2723,3068,3082,3450,3474,3539,3559,3572,3592,3619,3642,3673,4605,5576,5590,5884,5957,6788,6892,6903,7003,7015,7065,7078,7091,7202,7265 'task-specif':166 'technolog':272 'tell':70,354,362,805,6320 'temptat':881 'tenanc':3928,4065 'tenant':5313,5318 'tension':2605 'termin':4811,4831,4835 'terminal-failur':4810 'terraform':7138 'tertiari':3965 'test':2440,2463,2968,3121,3591,3947,5083,5137,5147,5166,5453,5515,5596,5630,5647,5684,5688,5694,5698,5851,6956,6959,6967,6988,7024 'testabl':2555 'tests/evals':5078 'text':96,2978,3325 'theatr':2852 'therefor':6961 'thin':1499,1763,4347,6590 'thing':5744,6181 'threat':4082 'threshold':5160,5206,5220 'throughput':3042 'tier':1975,2045,6750 'time':1104,1529,1899,2629,4008,4589,5255,5941 'time-series-databas':1103,1528 'timeout':1980,3245,4783,5501 'todo':1436 'togeth':1338 'token':6400 'told':2828 'tool':103,172,1201,2389,4399,5419 'top':610,3646,3767,7245,7327 'top-level':609,3766,7326 'topic-agent-skills' 'topic-ai-governance' 'topic-architecture' 'topic-architecture-as-code' 'topic-architecture-harness' 'topic-cost-optimization' 'topic-design-pattern-registry' 'topic-design-patterns' 'topic-deterministic-compiler' 'topic-deterministic-execution' 'topic-developer-tools' 'topic-harness-engineering' 'topolog':4708,4712,4927,4948 'trace':1102,1526,3671,7263,7365,7396 'tracer':5314 'track':1550,1613,3577,4398,7007 'trade':672,957,4237 'trade-off':671,956,4236 'traffic':5658 'trail':1637 'translat':39 'transport':1458 'treat':88,171,403,434,487,1836,5257,6096,6542,6763,6953,7062 'tree':5789 'trigger':2339,3724 'true':4294,6296 'trust':4086 'truth':441,6113,6252 'ttl':1891,2014 'ttls':5499 'two':3857,3989,5574 'type':3188,4263,4744,4773,4942,5613 'type/name':2435,2458,3116 'typescript':4746 'typic':4577,5153 'ui':2211,3935,4061,6358 'ui-cross-platform':6357 'unachiev':5003,6020 'unapprov':211,326 'unauthent':2223,3250 'unavail':3299,4288,4301,5714,7179 'undeliv':4975 'understand':682,4234 'unimplement':4418,4689,4986,5402,6425 'unimplementable-pattern':4688,5401 'unless':181,2593 'unresolv':375,1358,1442,6612 'updat':854,884,2374,2572,6238 'upfront':2387,4174 'upgrad':2062 'upload':3241,3264 'url':3266,3295,4425,4434,4450,4458,7404 'url.createobjecturl':7374 'use':4,24,135,195,252,297,359,444,561,580,601,665,711,2348,3396,3845,4221,4289,4302,4470,4718,5183,6261,6904,7153 'user':341,2100,2248,2902,3223,6821,7392 'user-fac':3222 'using-arch-compil':134 'ux':7207 'vagu':2702,3490,6871 'valid':2851,2876,3609,4009,6910,6985 'valu':685,952,1985,3182,3394,4223,4256,4995,5001,5444,5487,5505,5625,5880,6064,7183,7411 'var':7113 'variabl':2489,3147,4244 'variant':798 'verb':4514 'verbatim':2112,6829 'verdict':2788,2885,3310,5190,5807,6693 'verif':1013,2769,3533,3551,3584,5567,5575,5593,6995,7011 'verifi':1069,1799,1843,1923,2549,3607,4025,4265,4464,4962,5321,5427,5435,5441,5471,5602,5969,6506,6758,6983 'version':4462,4467 'version-pin':4461 'via':4146 'visibl':2252,3329,3346 'visit':4435,4451 'vote':4893,4900 'vs':3625,6550,6553,6556,6561,7097 'wait':1771,6721 'walk':3084 'want':475,1574,1631,4652 'wasn':6483,7161 'way':866,1353,2822,4141,5984 'web':4303,6364 'whatev':2114,4840 'whether':1276,1467,1690,1721,1742,4316,5667,6731 'whole':3707 'whose':2681,5100 'wide':155 'win':3964,4892 'wire':4240,4495,5031,5067,5133,5503,5626,5861 'within':1983,3966 'without':2508,2660,2671,2721,2841,4666,4996,5330,6065,6315,6337,7108,7364 'work':44,190,393,465,491,589,709,3200,4012,5788,6973,7009 'workaround':5720,7034,7043 'worker':4612,4740,4768 'workflow':169,232,900,1026,4137,4420,4691,4988,5404,5466,6103,6427 'workload':5456 'workstream':3133 'world':1827,1832 'wors':6084 'would':379,455,1197,1298 'wrap':4515,4537,4542,4667,4802,5902 'wrapper':4817 'wrapper/middleware/decorator':4534,5910 'write':8,265,349,907,966,1058,1777,2392,2521,2611,2617,2642,2643,2649,3419,3548,3822,3907,4019,4095,4167,4213,4411,5152,6049,6399,6726,6993,7309 'writing-plan':2391 'wrong':794 'wrote':5273 'x':1245,1586,2818,3412,4516,4523,4554,4559,4569,4574,6948 'y':1248,1258,4517,4525 'yaml':4637 'yet':23,2245 'zero':4085 'zero-trust':4084","prices":[{"id":"7242cc11-a12b-46d2-b681-986233ba6aa2","listingId":"8d4c578a-1183-46a6-a8a1-059f95ad5104","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"inetgas","category":"arch-compiler","install_from":"skills.sh"},"createdAt":"2026-05-18T13:22:23.613Z"}],"sources":[{"listingId":"8d4c578a-1183-46a6-a8a1-059f95ad5104","source":"github","sourceId":"inetgas/arch-compiler/implementing-architecture","sourceUrl":"https://github.com/inetgas/arch-compiler/tree/main/skills/implementing-architecture","isPrimary":false,"firstSeenAt":"2026-05-18T13:22:23.613Z","lastSeenAt":"2026-05-18T19:14:37.274Z"}],"details":{"listingId":"8d4c578a-1183-46a6-a8a1-059f95ad5104","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"inetgas","slug":"implementing-architecture","github":{"repo":"inetgas/arch-compiler","stars":6,"topics":["agent-skills","ai-governance","architectural-decision-records","architecture","architecture-as-code","architecture-as-code-tools","architecture-harness","cost-optimization","design-pattern-registry","design-patterns","deterministic-compiler","deterministic-execution","developer-tools","harness-engineering","harness-framework","nfr-enforcement","software-architecture-patterns"],"license":"mit","html_url":"https://github.com/inetgas/arch-compiler","pushed_at":"2026-05-18T02:16:55Z","description":"An architecture-level AI harness that compiles constraints and NFRs into explicit, reviewable architecture decisions. Combines a deterministic compiler, curated pattern registry, and agent workflow skills to drive approval, re-approval, and implementation against an architectural contract.","skill_md_sha":"07169df07d8b1e48672b05dff32932b7b1c23764","skill_md_path":"skills/implementing-architecture/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/inetgas/arch-compiler/tree/main/skills/implementing-architecture"},"layout":"multi","source":"github","category":"arch-compiler","frontmatter":{"name":"implementing-architecture","description":"Use when: about to write code and docs/architecture/ exists with STATUS: APPROVED in architecture.yaml. Not when: no approved architecture yet (use compiling-architecture first), or architecture.yaml lacks STATUS: APPROVED header."},"skills_sh_url":"https://skills.sh/inetgas/arch-compiler/implementing-architecture"},"updatedAt":"2026-05-18T19:14:37.274Z"}}