Repository navigation
archigov 0.2.0
The decision-centric release. Architecture decisions are argued in three parts and tested before they reach the board, linked to what they rest on, decided by the right board, and kept true over their lifecycle. This release adds:
- the registers regulated estates are asked for: criticality and business services, the legacy register, third parties and exit plans, risks and architecture debt;
- a roadmap, governance metrics and signed board packs, all built from the records;
- periodic reaffirmations;
- a fast lane for low-risk designs;
- eleven AI features, each with its own provider;
- licensing by folder: a DCO for every contribution, and the CLA only for the AGPL core.
Added
-
Risk register and architecture debt (docs): a Risk Register in the Risk group holds the risks decisions accept (their standing follows the decision), every active exception as an accepted risk, and risks authors log — each with an owner, a severity and a review date; only the owner or whoever logged it changes it, and closing needs a note. Architecture Debt is derived from the records, never logged: findings open over 90 days, drift from decisions, overdue conditions, end-of-life components, expired exceptions still failing, assessments and exit plans due. The decision page gains Accepted Risks; an eleventh AI feature, Risk Extraction (off by default), suggests a decision's risks from its text for the author to log. Risks reach the evidence pack, the board pack and Governance Metrics (migration m021).
-
Reaffirmations (docs): every adopted catalogue item and accepted decision has a reaffirm-by date (adoption plus 12 months for artefacts, 24 for decisions, both settings), and the chair of the board that owns it reaffirms it or marks it for revision with a note (back in three months). A reaffirmation approves nothing: approval stays with the board's review and the Decision Log. The state sits on the record: the decision page and the catalogue item show it with its history and the chair's Reaffirm action, the Decision Log has a Reaffirm By column, and the catalogue list flags the overdue and those sent for revision. Due and overdue ones are in the chair's work queue and notifications, linked to the record; a Reaffirmations page lists them all; every reaffirmation is audited and none is deleted; Governance Metrics counts what is in date (migration m020).
-
Governance metrics and the signed board pack (docs): a Governance Metrics page reports, from the records over a stated period, review lead time (median and 90th percentile), recycling, fast-lane approvals, position latency, decisions accepted and realised, conditions met on time, exception ageing, the conformance trend and time to fix, and how much a named person stands behind — figures, never verdicts. A board's chair or secretary prepares a board pack: a snapshot of those figures with the period's decisions and reviews, the roadmap's Now lane and the register gaps, signed and chained like the evidence pack and verifiable the same way, with a print view. A tenth AI feature, Board Pack Narrative (off by default), drafts the narrative from the figures only; the preparer submits it as their own and the pack records it as AI-assisted (migration m019).
-
Roadmap built from records (docs): a Roadmap in the Governance group lays decisions, the planned changes under them, conditions of approvals, end-of-support deadlines and expiring exceptions into Now, Next, Later and Done by fixed rules. A decision with a checkable constraint shows how far the estate has realised it — resources of an allowed type against the drift it raised — and one without is "not checkable", never guessed. Filter by application or kind; nothing is drawn by hand, so it moves when the records move. No AI.
-
Third parties, concentration and exit plans (docs): a Third Parties page in the Risk group derives the ICT providers the estate relies on (the cloud platform from resource types, named suppliers from
supplier/vendor/providertags), shows how many critical and important applications sit on each, marks the UK designated critical third parties (SI 2026/777, effective 13 July 2026; the platform admin keeps the list current) and warns when one provider carries half or more of the critical estate. Every critical or important reliance needs an exit plan recorded by a named author (adequacy, the plan, substitutability in the DORA ITS vocabulary, last test), valid for a year; substitutability fills the DORA register's B_07.01 column and suppliers named on tags get rows of their own. A newassessmentCurrentkind (exit_plan) and STD-DORA-08 make it checkable; the optional AI draft rides on Assessment Drafting (migration m018). -
Legacy register and the yearly legacy assessment (docs): a new Risk group with a Legacy Register that lists every OS image, App Service runtime, PostgreSQL/MySQL engine and AKS version in the estate against its vendor's support dates (endoflife.date, bundled and refreshable): supported, support ending, extended support, end of life, or unknown — never guessed; an author sets a version the facts do not name, with a reason. Each application with legacy components needs a yearly legacy assessment (DORA Art. 8(7)) recorded by a named author, which goes stale when a new legacy component appears; the optional AI draft fills its template from the register's facts. Rules gain
lifecycleandassessmentCurrentops (andlifecycle.*inwhere), the DORA pack two standards (STD-DORA-06/07), and the evidence pack each application's legacy standing (migration m017). -
Fast lane for low-risk designs (docs): a board can let a design review that is low risk, follows adopted patterns and passes every deterministic check be declared by the chair without collecting area positions — one at a time, on the consent agenda, or all together from the board page. The risk tier is derived (the submitter can raise it, never lower it), claimed patterns must be adopted and their rules pass for the application, the latest pre-review must be clean on this version (an AI pre-review can veto, never grant), and any area owner takes an item out of the lane with a no or a conditional. Approvals record that they rested on the lane and which checks held. Submitters claim patterns on submission and can edit the claim; the policy editor gains a Fast Lane toggle; the demo Design Authority offers the lane with one Intranet review in it (migration m016).
-
Criticality classification and Business Services (docs): every application is classified Critical, Important or Standard and names the business services or regulated functions that depend on it — important business services (PRA SS1/21, FCA SYSC 15A), critical or important functions (DORA), essential functions (NCSC CAF). Derived from resource tags with the evidence kept; an author can verify it or set it with a reason, which collection never overwrites; supporting a regulated service makes an application critical. A new Business Services page maps each service to the applications, resources, regions and shared platforms behind it; the Applications list gains a Criticality column and filter; rules can target
app.criticality,app.regulatedand the service names in either scope; the DORA register fills B_06.01.0050 and the function name from the classification; the evidence pack records who stands behind each one (migration m015). -
A ninth AI feature, Classification Suggestion (off by default): for an application the tags leave open, suggests a tier and the dependent services with a rationale inside the Classify form. Nothing is stored; the author applies it and saves with their own reason.
-
scripts/smoke-registers.sh: the classification flow end to end (runs aftersmoke-work.sh). -
AI providers, chosen per feature (docs): the platform admin configures OpenAI, Claude (Anthropic), Mistral and Ollama under Settings · AI and enables each AI feature separately with its own provider and model, with a one-click connection test. Everything is off by default, every feature keeps its deterministic fallback, and the legacy
LLM_*environment gateway still works. -
Seven AI features, each "AI proposes, a named human promotes": pre-review, decision drafting, rule drafting (NL → the JSON rule DSL, validated and dry-run against the live model before anyone saves), control-reference suggestions on catalogue drafts, assessment summary drafting under the type's template headings, session notes drafting for the secretary from the session's own records, and evidence-mapping suggestions for unmapped Defender/Policy keys pinned through the control-map editor.
-
Secrets management for provider keys: AES-256-GCM encryption at rest (
ARCHIGOV_SECRET_KEYor a generated keyfile outside every backup and replica; legacy plaintext re-encrypts on first read),AI_<PROVIDER>_API_KEY/…_FILEenvironment injection that beats the database, and the existing guarantees — keys never returned, never audited, never exported. -
The Overview leads with an at-a-glance chart row: a gauge of imported evidence currently passing, a gauge of how much of the model a human has verified, and a reviews-by-stage donut whose slice colours echo the stage tags. The findings trend became a stacked area by severity, and a new bar chart shows where the open findings sit by application. Gauges carry no status thresholds — a pass-rate judgment would assert compliance, and the product shows evidence, never assurance.
-
Decisions argue in three parts: Recommended Option, Justification (the argument the board will test) and Consequences — what accepting the decision means and which risks are explicitly accepted (new
justification_md, migration m013; the drafter fills all three). -
An eighth AI feature, Decision Review (admin-toggled like the rest; the form carries a Review Argument with AI button, greyed with the reason when the admin has not enabled the feature): a critical assessment of the argument before submitting — unsupported claims, strawman options, circular reasoning, unstated risks, contradictions with adopted artefacts cited by code — plus a tightened version the author can apply with one click. Advisory; nothing is stored and the author decides what to submit.
-
Evidence on a draft decision, tracked end to end (migration m014): where the AI review finds a critical claim with no evidence, it suggests the assessment that would evidence it; one click saves the decision as a proposed draft and triggers that assessment on it. The author (or a named assessor) completes it on the decision page, attaches evidence already gathered with Provide, and submits the decision for review from its own page — the rows keep
decision_id, so the review shows each one as "On the Decision". Decision-attached evidence informs the board and never blocks anything.
Changed
-
Licensing and contributions (CONTRIBUTING.md, README · Licensing): policy packs (
server/src/packs/, split out ofpacks.ts, which stays as the AGPL loader), assessment templates (server/src/templates/, split out ofboards/assessments.ts), the Azure and Azure DevOps connectors and the CSV and ArchiMate importers are now Apache-2.0 (LICENSE-APACHE, SPDX headers, the folder list in.github/licensing.json). The rest stays AGPL-3.0-only. Every contribution needs a DCO sign-off (DCO, checked per commit by.github/workflows/dco.yml). The CLA (v1.1, still a licence grant, not an assignment) is needed only from authors whose commits change AGPL files: they agree once by a pull-request comment, recorded on thecla-signaturesbranch and checked by.github/workflows/cla.yml. The repository owner and bots are exempt from both. README states a further commitment: the commercial licence covers the same code and holds nothing back from the open-source release.server/test/packs.test.tsnow checks every pack without naming it, so a contributed pack needs no change outside its folder;server/test/licensing.test.tskeeps the SPDX headers and the folder list in step. A pull-request template lists the checks. -
Overview is more vivid: glass metric chips in the hero band; KPI tiles with Carbon icons, a tone each and a permanent accent, switching to the alert tone when their number needs attention (the word stays on the tag); colour-coded My Work queues; review stages on a connected rail; thick gradient verification meters that fill in.
-
The app carries the landing page's expressive style: every page opens on a dark hero band whose tone follows the part of the product (blue Overview, teal Model, purple decisions and catalogue, cyan reviews, magenta boards, red conformance, green evidence, grey settings), with its own animated constellation, glow, a one-colour title and a contextual Carbon icon that animates once as the page lands; content enters in a stagger, Overview numbers count up, section headings and tiles gain gradient accents, and the header bar has a gradient edge. All motion stops under prefers-reduced-motion.
-
The decision form fills its modal: fields on the left, an AI Review panel on the right with the Review Argument button at its top — greyed with an explanatory tooltip when the admin has not enabled the feature.
-
Public-repo scope: internal strategy documents and the managed-service front-door scaffold moved to a private repository. The public repo is everything needed to self-host — including the Litestream replication example and the production compose file — and nothing else.
-
The review page is organised into logical blocks: a facts strip under the title (for / board / submitted by / declared by), the workflow strip followed by a waiting-on line that names exactly who holds the item up (missing positions by owner — "you" marked — unresolved conditionals, open assessments), a Submission column (summary, design, requirements) with the Activity timeline beneath it, beside a Board Record column (areas & positions or approvals, assessments, conditions, dependencies). Superseded pre-reviews fold to their recommendation line.
-
One action language across the page, per Carbon's button-emphasis guidance: page-level actions in the header, section-header actions tertiary (Request Assessment, Edit Areas, Create Dependent Decision), every in-row table action a ghost button (Record Position, Record Result, View Result, Mark Met, Resolve, Waive).
-
The assessments table reads as a table: one result tag per row, compact people and dates, and the written result folded behind View Result, rendered at table scale.
-
Closed reviews read as history: a never-recorded position shows "Not recorded" instead of "Awaiting position", and empty assessment/condition/dependency sections disappear.
Fixed
- Reaffirmation coverage was computed for Governance Metrics and the board pack but shown in neither; it now has a figure tile on the metrics page and a row in the board pack's Coverage table.
- The board pack's decision list is every decision decided in the period, so its heading no longer says "accepted".
- The roadmap no longer lists a component whose version is not in the lifecycle data as an upgrade with an unlabelled "unknown" status; only dated deadlines belong on it.
- Status tags in the fast lane, legacy register and third-parties screens were rendered small, which drops their icon; they now carry colour, icon and word like every other status.
- Azure collection now keeps MySQL flexible servers' version, network access, backup and HA properties (they were dropped), so the legacy register can match their engine version and the public-network rules can read them.
- The DORA pack's description named five standards; it now describes all eight (version 1.1.0).
- The DORA register no longer writes "Not critical or important" for applications classified important: whether that tier is a DORA important function is the entity's call, so the cell stays blank, as it does for unclassified ones.
- Business Services: region names no longer wrap mid-word in the expanded service rows.
- Review page: the areas table drops its Actions column when the viewer has no action on any area, so it fits its half of the page.
- Action buttons no longer vanish for signed-in users: the page trusted a dev-mode fallback identity when deciding whether the viewer is the submitter, which hid Record Position and Approve from everyone on reviews submitted by the fallback user.
- The design section no longer shows a duplicated "Design" heading, and pre-review errors surface as an inline error notification instead of a muted line.