Skip to content

Open architecture questions

Every open question of the architecture description, in one place. A chapter section that cannot be answered yet says only TBD; the question, where it comes from, what the arc42 template asks there and what the documents already say are recorded here. When a question is answered, the answer goes into the chapter and its entry is deleted. Carried-over open questions (OQ-*) and open decisions keep their identifiers.

01 Introduction and Goals

1.3.1 — Contacts and expectations towards the architecture documentation

  • Where: 01_introduction_and_goals.md, 1.3 Stakeholders › 1.3.1 Contacts and expectations towards the architecture documentation
  • arc42 asks: a table of stakeholder roles with contact and their expectations of the architecture documentation (what they need to know, be convinced of, work with or decide) — not their functional or quality requirements.
  • Already said: 1.3 lists each role's expectation of the architecture and its documentation, with its source; what is missing are the named contacts and each one's expected form, depth and format of the description.
  • Question: For each stakeholder (project owner, specialist reviewer, approver, business owner, audit/compliance, product owner settlement platform, data protection/InfoSec, operations), who is the contact (role-level is fine, data is anonymised) and what do they expect from the architecture documentation?

06 Runtime View

6.1 — Who confirms the document type

  • Where: 06_runtime_view.md, 6.1 and 6.2, the HumanTask Confirm document type
  • arc42 asks: the runtime behaviour of the important scenarios, including who takes part (chapter 6 help).
  • Already said: a person confirms, redirects to Invoice intake or discards a document whose type is uncertain; Release blocked case belongs to a supervisor, Review findings and Release findings to the groups reviewer and approver (spec 15).
  • Question: Which candidate group completes Confirm document type?

6.2 — Where a released case re-enters

  • Where: 06_runtime_view.md, 6.2, the HumanTask Release blocked case
  • arc42 asks: the runtime behaviour of the important scenarios (chapter 6 help).
  • Already said: a released case goes on as if it had not been blocked; a case is blocked over the page limit before its classification, or by the classification's not a contract.
  • Question: Does a case released after the page-limit block go through the classification first, or straight to Convert document, as 6.2 draws it?

6.2 — Where the document is classified

  • Where: 06_runtime_view.md, 6.2, the stage task Classify document, and 6.2.1, the contract gate
  • arc42 asks: which building block is responsible for which activity of a scenario (chapter 6 help).
  • Already said: the classification belongs to intake (8.16.3, 8.19.2). 6.2 draws Classify document as a request to intake, before the conversion, on the text layer or the first page, with the outcome fee agreement, type uncertain or not a contract and the HumanTask Confirm document type after it. The contract gate sits in intake, after the conversion, on the rendition's first two pages; its soft block goes on to the extraction, whose start is the person's confirmation (spec 367 (docs/specs/367-contract-gate.md) §8 records where it sits as a working default; spec 339 (docs/specs/339-case-api.md) R-11).
  • Question: Is the contract gate the classification of 6.2 — so Classify document runs after the conversion, and Confirm document type is the confirmation at the extraction's start — or does Classify document stay a separate step before the conversion, with the gate beside it?

6.3 — Which module makes the findings' model calls

  • Where: 6.3, the stage task Assess findings
  • arc42 asks: which building block is responsible for which activity of a scenario (chapter 6 help).
  • Already said: the document's classification, a model call, is intake's (8.16.3, 8.19.2); extraction owns the extraction's model adapters and their guardrails; 5.2.1 gives the findings' classification and comment to reconciliation, which owns the findings.
  • Question: Does reconciliation or extraction make the two model calls of Assess findings?

07 Deployment View

7.1.3 — On-premise equivalent of the Cloudflare Access login

  • Where: 07_deployment_view.md, 7.1.3, the row Edge login — Cloudflare Access, column On-premise equivalent
  • arc42 asks: the technical infrastructure the system runs on and the mapping of the building blocks to it (chapter 7 help); ARC-Q4.3 asks for a documented on-premise equivalent of every infrastructure dependency.
  • Already said: Cloudflare Access is built in front of the web app's public address (guide (docs/guides/cloudflare-edge-login.md)) and stays in front of the gateway once that is deployed (ADR-0010 (docs/adr/adr-0010-api-gateway-and-api-contract.md) §3 point 3). The gateway itself runs on-premise as the same container. No document names what stands in front of it on-premise.
  • Question: What is the on-premise equivalent of the Cloudflare Access login — the customer's own reverse proxy or identity-aware proxy, or nothing in front of the gateway?

08 Cross-cutting Concepts

8.3 — What removes an orphaned PDF

  • Where: 8.3, the paragraph after the list of crossings between the stores
  • arc42 asks: the rules a cross-cutting concept sets for the whole system (chapter 8 help).
  • Already said: the upload stores the PDF before it records the case, so a crash between the two leaves a PDF no case refers to; a delete marks the case deleted before it removes the PDF and only logs a failed removal. The bucket has no lifecycle rule, so nothing removes either: spec 339 (docs/specs/339-case-api.md) R-10 keeps a case's PDF for the case's lifetime.
  • Question: What removes an orphaned PDF now that the bucket has no rule — a scheduled sweep that compares the bucket with the cases, a longer lifecycle rule as a backstop, or leaving orphans in place while the data is synthetic?

8.14 — The metrics and trace sink

  • Where: 8.14, the paragraph after the Operations table; 7.1.3, the metrics row
  • arc42 asks: the cross-cutting concepts of operations and monitoring (chapter 8 help).
  • Already said: 8.14's failure and operations tables link where each mechanism lives; ARC-Q4.4 asks that a fault be diagnosable from logs, metrics and traces, on-premise too; ADR-0009's open point 2 names the missing trace sink.
  • Question: Which sink takes the metrics and traces, in the PoC and on-premise, and what is measured there?

8.16.2 — Where a module's named interface sits

  • Where: 8.16.2, the paragraph after the table
  • arc42 asks: the rules a cross-cutting concept sets for the whole system (chapter 8 help).
  • Already said: a stage module publishes its request and reply events and the types they carry; the queue's consumer dissolves; it is still open whether @NamedInterface sits on the package or on each published type.
  • Question: Package-level or type-level named interfaces, once the stage modules publish events?

8.19.1 — The dossier's identity

  • Where: 8.19.1, the Dossier row
  • arc42 asks: the domain model that the cross-cutting concepts rest on (chapter 8 help).
  • Already said: the dossier bundles the cases of one partner relationship under a pack-dependent business key, which is an output of a case's extraction.
  • Question: Does the dossier need an identity from the source system?

8.19.2 — Intake and triage

  • Where: 8.19.2, gate 2 and IntakeOutcome
  • arc42 asks: the domain model that the cross-cutting concepts rest on (chapter 8 help).
  • Already said: gate 2 admits, reroutes or puts a document before a person; an injection signal leads to AWAITING_CONFIRMATION; the classification reads the text layer or page 1.
  • Question:
  • What happens to a recognised invoice while only contracts are checked: park it, reject it, or accept it with a note?
  • From what confidence is the triage unambiguous?
  • Who may confirm — any importer or only the relationship manager?
  • Does a set injectionSignals lead to a block or only to a marking?
  • Is page 1 enough to recognise the type, also for multi-page bundled PDFs?

8.19.3 — The AI assessment, the four-eyes rule and the Excel round trip

  • Where: 8.19.3, MatchAssessment, AssessmentLevel, Decision and Correction
  • arc42 asks: the domain model that the cross-cutting concepts rest on (chapter 8 help).
  • Already said: the level is an ordinal classification against a rubric, advisory only; the release is decided on severity and reason; a correction can come in through an Excel round trip.
  • Question:
  • The rubric for AssessmentLevel, written out.
  • The starting point: a rule-based baseline, an LLM with a rubric, or both in parallel?
  • From how many closed cases is assessmentAgreement meaningful?
  • Do triage and classifier run locally in the on-premise profile?
  • Is the generated rationale offered as a draft to adopt or only for viewing?
  • The four-eyes rule: always, by sampling, or above an amount threshold?
  • Format and return path of the Excel round trip.
  • How do ASSESSED, APPROVED and REJECTED line up with spec 15's models, which end in one Released milestone?

8.19.4 — The assistance's scope

  • Where: 8.19.4
  • arc42 asks: the domain model that the cross-cutting concepts rest on (chapter 8 help).
  • Already said: the assistance reads, explains and drafts, answers only with evidence, searches within the user's permissions and logs every case-related interaction (ADR-0002 (docs/adr/adr-0002-assistance.md)).
  • Question:
  • May it answer across cases ("show me all cases with the same deviation") or only within one?
  • Is the history kept per user, and for how long?
  • Does it comment on deviations on its own or only when asked?
  • Is there a local model for the on-premise profile, or is the assistance absent there?

8.19.5 — Packs, repetitions and the state at a date

  • Where: 8.19.5
  • arc42 asks: the domain model that the cross-cutting concepts rest on (chapter 8 help).
  • Already said: a verification pack supplies the attributes, derivation rules, bindings and policies as versioned configuration, and every record of a run carries its pack version; a repetition whose places disagree is SELF_INCONSISTENT; a value can be checked in several ways, each check a verification outcome with its own checkKind; ConfidenceBand grades a reconciliation result against thresholds in the policy.
  • Question:
  • Are pack bundles deployed with the application or loaded at runtime?
  • Who may change a verification pack, and does it need four-eyes approval?
  • How are running cases migrated when a pack version changes?
  • Which place wins on a repetition when two places in the contract contradict each other?
  • Which record carries ConfidenceBand, what are its thresholds, and does LOW alone trigger a review?
  • How does the state valid at a given date arise from a contract and its addenda, and where is that computed?
  • Time reference for register queries: is today's state enough for a past contract date?
  • AttributeDefinition.referenceability holds one value per attribute and none for a check against the document itself: what does it say once an attribute has several checks, and does it stay one value?

8.20.4 — How far the catalogue drives the extraction

  • Where: 8.20.4, the line after the table of roles
  • arc42 asks: the rules a cross-cutting concept sets for the whole system (chapter 8 help).
  • Already said: a business model is edited in its LinkML schema (ADR-0018 (docs/adr/adr-0018-postgresql-authoritative-document-database-derived.md) §3 point 3), and loading it is #639; the claim's schema is generated from the hand-written record and the model reads each field's meaning in the hand-written prompt (CLAUDE.md, "Architecture"); 8.20.4 assesses each role the catalogue could take. The full list of code values (fee category, payment direction, frequency) is not known yet, so the enums would start with their entries open.
  • Question: Which option holds?
  • A — LinkML catalogue, the records stay the schema: descriptions and enums from the catalogue, the Java records hand-written, a parity test in the build, and the extraction split into calls per part or group of parts where the token and latency cost allows.
  • B — the catalogue as documentation only: as A, without the parity test and without feeding descriptions or enums into the code; the two can drift apart unnoticed.
  • C — LinkML generates the records: one source for everything, generated code against Spotless, Error Prone and the claim/result split, and Python in the build.
  • D — no catalogue tool: plain Markdown tables, nothing a program reads.

8.21.1 — The value kinds and the data types

  • Where: 8.21.1, the line after the evidence paragraph
  • arc42 asks: the rules a cross-cutting concept sets for the whole system (chapter 8 help).
  • Already said: a contract's data falls into eight value kinds, each with a normalised form and a standard for it (8.21.1); an attribute's dataType has thirteen values and says how a value is normalised and checked (8.19.5). FeeCheck's standards study, where the kinds come from, is research without a decision (docs/model/feecheck/contract-modelling-standards.md, not published).
  • Question: Are the kinds a grouping of the data types, a second typing beside them, or replaced by them — and does the normaliser run one rule per kind or per data type?

8.21.3 — Which standards type the values

  • Where: 8.21.3
  • arc42 asks: the rules a cross-cutting concept sets for the whole system (chapter 8 help).
  • Already said: no standard models a bilateral fee agreement end to end (8.21.2); each value kind has a standard for its normalised form (8.21.1); FeeCheck's standards study recommends keeping its own canonical model and taking standards per part as vocabularies (docs/model/feecheck/contract-modelling-standards.md §9, not published).
  • Question: Which option holds?
  • A canonical model of the business model's own, with standards per part — ISO 8601, 4217, 3166 and 20022 for the values, CUAD's categories as the checklist of parts, obligations in the LegalRuleML pattern without its XML.
  • Accord Project's Concerto as the modelling language, generating JSON Schema and Java.
  • A norm language (LegalRuleML or Symboleo proper) for the parts that state rights and duties.

09 Architecture Decisions

The ADR that adopts the case engine, the event backbone and PostgreSQL

  • Where: 8.3, 8.16.3, 7.1.3 — the rows whose Status says "ADR pending"
  • arc42 asks: the important, expensive, large-scale or risky decisions, with their status, and a superseded decision marked with its replacement (chapter 9 help).
  • Already said: the decisions are the owner's: Flowable's CMMN engine inside cases, Spring Modulith events with their outbox carried by Spring Cloud Stream, PostgreSQL replacing Firestore. ADR-0009 (docs/adr/adr-0009-async-intake-pubsub-bucket-firestore.md) §3 point 6 is superseded by ADR-0018 (docs/adr/adr-0018-postgresql-authoritative-document-database-derived.md); point 9 still decides the opposite and is not marked superseded.
  • Question: Is the adopting ADR written now from the decisions already taken on the event backbone — with its Measured against table — and ADR-0009 marked "§3 point 9 superseded", or does it wait until the case engine is adopted too?

Which rules of ADR-0003 §2.5 still stand

  • Where: 11.1 RISK-1 and 11.3 TD-1, which measure the code against ADR-0003 §2.5 rules 1 and 4
  • arc42 asks: the status of each decision (chapter 9 help).
  • Already said: chapter 9 reads ADR-0001 to ADR-0003 as history until they are revised; ADR-0003 is Proposed, and ADR-0008 shows how superseded points are marked.
  • Question: Which of ADR-0003 §2.5's rules still stand? A rule that does not makes TD-1 no debt and leaves RISK-1 without its mitigation's source.

Carried over — open questions and the ADRs' open points

The open questions of the former single-file description, moved here with their identifiers — the OQ numbers of SPEC.md §8, the former open points O-1, O-6 and O-7 continuing them, and the ADRs' own open points by ADR and number — and the open points the chapters name, by issue or ADR. None has a TBD in its chapter.

How much time is there between the settlement run and the … (OQ-2)

  • Where: 2.1 Load figures, "Settlement cycle"
  • arc42 asks: the architecture constraints — anything that constrains the freedom of design and implementation decisions (chapter 2 help).
  • Already said: Why it must be settled: Fixes the latency budget and settles whether extraction may be asynchronous and batched. Needed by: Before the communication decision.
  • Question: How much time is there between the settlement run and the release deadline?

Contract and settlement volume for the largest expected customer (OQ-3)

  • Where: 2.1 Load figures, "Contract volume per customer"
  • arc42 asks: the architecture constraints — anything that constrains the freedom of design and implementation decisions (chapter 2 help).
  • Already said: Why it must be settled: Decides whether scalability stays a budget and whether token cost stays marginal. Needed by: Before persistence is sized.
  • Question: Contract and settlement volume for the largest expected customer

Effort estimate against ~145 h / ~40 h, naming what would be … (OQ-7)

  • Where: 2 Architecture Constraints, C7
  • arc42 asks: the architecture constraints — anything that constrains the freedom of design and implementation decisions (chapter 2 help).
  • Already said: Why it must be settled: C7. Needed by: Before the effort budget is relied on.
  • Question: Effort estimate against ~145 h / ~40 h, naming what would be dropped (former O-1)

Make the PII minimisation procedure of G-2 concrete: which … (OQ-8)

  • Where: 2 Architecture Constraints, C8, and G-2 in 8.2 Guardrails
  • arc42 asks: the architecture constraints — anything that constrains the freedom of design and implementation decisions (chapter 2 help).
  • Already said: Why it must be settled: SEC-Q3. The owner's direction, now constraint C8: the PoC processes synthetic data only; the drivers are the GDPR, the Swiss DSG and BankG and country-specific EU rules (e.g. Luxembourg, Germany); the product must be able to meet ISO/IEC 27001 and ISO/IEC 42001. Needed by: before any real contract is processed.
  • Question: The detailed data-protection policy, and the catalogue of personal and other sensitive data it rests on, linked with the general data catalogue (which does not exist yet): which fields, which minimisation procedure (former O-6)

The reviewing person: specialist reviewer (SPEC.md, … (OQ-10)

  • Where: 3.1.2 Actors
  • arc42 asks: the business context — every communication partner with its domain-specific inputs and outputs (3.1 help).
  • Already said: Why it must be settled: One name in the UI, the roles and the audit trail. Needed by: Before the review frontend is built.
  • Question: The reviewing person: specialist reviewer (SPEC.md) or Relationship Manager (the diagrams in 3.1.1 and 6.3, ADR-0001)?

The module cut: which of the cuts in 5.2.2 is the decision, and … (OQ-11)

  • Where: 5.2.2 Module cut, carried over from the open questions of the former single-file description (no TBD in the chapter)
  • arc42 asks: the static decomposition of the system into building blocks and their relationships (chapter 5 help).
  • Already said: Why it must be settled: chapter 5 must name one source. As built, written in 5.2.2: eight Spring Modulith modules — cases, consumer, extraction, intake, kernel, mcp, signin, webapp — verified by Spring Modulith's module verification (8.16; ADR-0009 §3 point 10). Needed by: Before the modules are cut.
  • The cuts the documents draw:
Source Cut
Former project context §5, the container view (PlantUML) three modules: extraction, reconciliation, review-api
ARC-Q6.1 (10.1.6) "one backend deployable (three modules)" — ADR-0003 §2.4 proposes to read it as "a low single-digit number"
ADR-0003 §2.3 six provisional modules: intake, extraction, verification, assessment, review, audit, with adapters as separate Gradle subprojects and the stubs in a separate test-support tree (§2.2, §2.5, §2.8)
Spec 15 (docs/specs/15-workflow-module.md) adds a workflow module; the case engine lives inside cases instead
The event backbone the code's modules without consumer, which dissolves, and with reconciliation as a stage module
The backend's planned components (blocks/full-product-scope.md) and the layer view (8.10) about eighteen components, and the core/pack/adapter layer view of ADR-0001
The code eight modules: cases, consumer, extraction, intake, kernel, mcp, signin, webapp
  • Question: The module cut: which of the cuts above is the decision, and does ARC-Q6.1's "three modules" read as "a low single-digit number" (ADR-0003 §2.4, open point 1)?

Two run modes — anonymised and plain: is the mode switched by … (OQ-13)

  • Where: 10.1.3 SEC-Q3
  • arc42 asks: the quality requirements, made concrete as scenarios (chapter 10 help).
  • Already said: Why it must be settled: SEC-Q3, feeds OQ-8's PII minimisation work. Needed by: Before the findings tool of KF-5 is built.
  • Question: Two run modes — anonymised and plain: is the mode switched by configuration the same way as the model provider (8.13), and what is the default?

Delivery form of the verification packs: deployed with the … (ADR-0001/1)

  • Where: 8.10 Extension axes; ADR-0001 (docs/adr/adr-0001-verification-modules-and-adapters.md)
  • arc42 asks: the overall regulations and solution ideas that are relevant in several parts of the system (chapter 8 help).
  • Already said: Why it must be settled: ARC-Q5. Needed by: —.
  • Question: Delivery form of the verification packs: deployed with the artefact, or loaded at runtime (then signing and approval)?

Who may change a verification pack, and does it need four-eyes … (ADR-0001/2)

  • Where: 8.10 Extension axes; ADR-0001 (docs/adr/adr-0001-verification-modules-and-adapters.md)
  • arc42 asks: the overall regulations and solution ideas that are relevant in several parts of the system (chapter 8 help).
  • Already said: Why it must be settled: A tolerance change is consequential. Needed by: —.
  • Question: Who may change a verification pack, and does it need four-eyes approval?

How are packs migrated when the attribute model changes — do … (ADR-0001/3)

  • Where: 8.10 Extension axes; ADR-0001 (docs/adr/adr-0001-verification-modules-and-adapters.md)
  • arc42 asks: the overall regulations and solution ideas that are relevant in several parts of the system (chapter 8 help).
  • Already said: Why it must be settled: REQ-Q1. Needed by: —.
  • Question: How are packs migrated when the attribute model changes — do running cases finish on the old version?

Can several packs match one document, and who decides then? (ADR-0001/4)

  • Where: 8.10 Extension axes; ADR-0001 (docs/adr/adr-0001-verification-modules-and-adapters.md)
  • arc42 asks: the overall regulations and solution ideas that are relevant in several parts of the system (chapter 8 help).
  • Already said: Why it must be settled: Triage. Needed by: —.
  • Question: Can several packs match one document, and who decides then?

Does the dossier take its identity from the source system, or is … (ADR-0001/5)

  • Where: 8.10 Extension axes; ADR-0001 (docs/adr/adr-0001-verification-modules-and-adapters.md)
  • arc42 asks: the overall regulations and solution ideas that are relevant in several parts of the system (chapter 8 help).
  • Already said: Why it must be settled: Data model. Needed by: —.
  • Question: Does the dossier take its identity from the source system, or is it derived from the documents?

May the assistance answer across cases? (ADR-0002/1)

  • Where: 8.10 Extension axes, "Limit of the assistant"; ADR-0002 (docs/adr/adr-0002-assistance.md)
  • arc42 asks: the overall regulations and solution ideas that are relevant in several parts of the system (chapter 8 help).
  • Already said: Why it must be settled: Widens the permissions question. Needed by: —.
  • Question: May the assistance answer across cases?

Is the assistance history retained per user, and for how long? (ADR-0002/2)

  • Where: 8.10 Extension axes, "Limit of the assistant"; ADR-0002 (docs/adr/adr-0002-assistance.md)
  • arc42 asks: the overall regulations and solution ideas that are relevant in several parts of the system (chapter 8 help).
  • Already said: Why it must be settled: Retention. Needed by: —.
  • Question: Is the assistance history retained per user, and for how long?

Proactive comments or answers on request only? (ADR-0002/3)

  • Where: 8.10 Extension axes, "Limit of the assistant"; ADR-0002 (docs/adr/adr-0002-assistance.md)
  • arc42 asks: the overall regulations and solution ideas that are relevant in several parts of the system (chapter 8 help).
  • Already said: Why it must be settled: Automation bias. Needed by: —.
  • Question: Proactive comments or answers on request only?

A local model for the on-premise profile, or no assistance there? (ADR-0002/4)

  • Where: 8.10 Extension axes, "Limit of the assistant"; ADR-0002 (docs/adr/adr-0002-assistance.md)
  • arc42 asks: the overall regulations and solution ideas that are relevant in several parts of the system (chapter 8 help).
  • Already said: Why it must be settled: ARC-Q4. Needed by: —.
  • Question: A local model for the on-premise profile, or no assistance there?

Clear text or references only in AssistantInteraction for … (ADR-0002/5)

  • Where: 8.10 Extension axes, "Limit of the assistant"; ADR-0002 (docs/adr/adr-0002-assistance.md)
  • arc42 asks: the overall regulations and solution ideas that are relevant in several parts of the system (chapter 8 help).
  • Already said: Why it must be settled: SEC-Q3. Needed by: —.
  • Question: Clear text or references only in AssistantInteraction for sensitive clients?

Is draftCorrectionRationale built in the PoC at all? (ADR-0002/6)

  • Where: 8.10 Extension axes, "Limit of the assistant"; ADR-0002 (docs/adr/adr-0002-assistance.md)
  • arc42 asks: the overall regulations and solution ideas that are relevant in several parts of the system (chapter 8 help).
  • Already said: Why it must be settled: The only tool call with a shift of responsibility. Needed by: —.
  • Question: Is draftCorrectionRationale built in the PoC at all?

Does the refined reading of ARC-Q6.1 apply, including product … (ADR-0003/1)

  • Where: 5.2.2 Module cut; ADR-0003 (docs/adr/adr-0003-repository-module-boundaries.md)
  • arc42 asks: the static decomposition of the system into building blocks and their relationships (chapter 5 help).
  • Already said: Why it must be settled: Same as OQ-11. Needed by: Before the modules are cut.
  • Question: Does the refined reading of ARC-Q6.1 apply, including product artefact vs demo harness?

From what point do verification packs need their own approval … (ADR-0003/2)

  • Where: 8.10 Extension axes; ADR-0003 (docs/adr/adr-0003-repository-module-boundaries.md)
  • arc42 asks: the overall regulations and solution ideas that are relevant in several parts of the system (chapter 8 help).
  • Already said: Why it must be settled: Same as ADR-0001/2. Needed by: —.
  • Question: From what point do verification packs need their own approval path, possibly their own repository?

Which of the settlement system's services need a stub? Master … (ADR-0003/4)

  • Where: 3.2 Technical Context; ADR-0003 (docs/adr/adr-0003-repository-module-boundaries.md)
  • arc42 asks: the business context — every communication partner with its domain-specific inputs and outputs (3.1 help).
  • Already said: Why it must be settled: Scope. Master data needs a stub, the contract-equivalent mock, and in scope FeeCheck only reads master data — written in 3.2 (SPEC.md §2, A-4). Open: invoicing, which comes with the invoice check (stage Invoice intake, 6.1), not in the PoC and not scoped yet. Needed by: —.
  • Question: Does invoicing need a stub once the invoice check is built, and in what form?

How is the Modulith documentation generation reconciled with the … (ADR-0003/6)

  • Where: 5.2.1 White Box Backend; ADR-0003 (docs/adr/adr-0003-repository-module-boundaries.md)
  • arc42 asks: the static decomposition of the system into building blocks and their relationships (chapter 5 help).
  • Already said: Why it must be settled: Two sources for one picture drift. The Modulith docs are generated (by the build's modularity test, written in 5.2.1); the hand-drawn half is the Mermaid diagrams in the chapters. Needed by: —.
  • Question: How are the generated Modulith module view and the hand-drawn views of 3.3, 5.1 and 5.2 kept from drifting?

Routing and authentication of /mcp

  • Where: 7.1.2, "The feecheck service in detail"; 3.2, downstream AI integrations
  • arc42 asks: the technical infrastructure the system runs on and the mapping of the building blocks to it (chapter 7 help).
  • Already said: /mcp is FeeCheck's own MCP server, in-process in the backend behind the MCP profile (ADR-0011 (docs/adr/adr-0011-mcp-server-placement.md)), reached through Cloud Run's invoker IAM check, from a developer machine with gcloud run services proxy. ADR-0010 (docs/adr/adr-0010-api-gateway-and-api-contract.md) makes the API gateway the only public entry. Origin validation against DNS rebinding comes with the endpoint's own authentication (spec 255 (docs/specs/255-mcp-server.md)). Turning the IAM check off needs the endpoint's own authentication first (MCP server guide (docs/guides/mcp-server.md)).
  • Question: Is /mcp routed through the API gateway or reached another way, and how does the endpoint authenticate its callers and validate the Origin?

On-premise equivalents of the async intake's cloud resources

  • Where: 7.1.3, the rows queue, document store and case store
  • arc42 asks: the technical infrastructure the system runs on and the mapping of the building blocks to it (chapter 7 help).
  • Already said: ARC-Q4.3 requires a documented on-premise equivalent for every infrastructure dependency. The adapters for Pub/Sub and Cloud Storage are built (spec 264 (docs/specs/264-google-case-adapters.md)); the queue's on-premise equivalent is another Spring Cloud Stream binder, chosen by configuration (8.16.3); the case store is replaced by PostgreSQL, whose on-premise equivalent is self-hosted PostgreSQL (7.1.3).
  • Question: Which on-premise equivalent stands behind the document store?

Cloud SQL: network, region and backups

  • Where: 7.1.2, the Cloud SQL row; ADR-0013 (docs/adr/adr-0013-postgresql-on-cloud-sql.md) §7; carried over from the chapter text (no TBD in the chapter)
  • arc42 asks: the technical infrastructure the system runs on and the mapping of the building blocks to it (chapter 7 help).
  • Already said: One shared-core Cloud SQL instance, db-f1-micro, always on while development is active (its stop/start jobs paused); Flyway; the Java connector with IAM database authentication (ADR-0013 (docs/adr/adr-0013-postgresql-on-cloud-sql.md)). Cloud SQL does not scale to zero. The instance has a private IP only: the project's organisation policy forbids a public one, so it sits in the project's VPC network through private services access (ADR-0013 point 7). The Cloud SQL guide (docs/guides/cloud-sql.md) uses working defaults for the region (europe-west6), the backups and the version (PostgreSQL 18).
  • Question: Do the working defaults for region, backups and version stand?

The session model (ADR-0008/1)

  • Where: 7.1.2, "The feecheck service in detail"; ADR-0008 (docs/adr/adr-0008-google-sign-in-and-backend-on-cloud-run.md) §7, open point 1
  • arc42 asks: the technical infrastructure the system runs on and the mapping of the building blocks to it (chapter 7 help).
  • Already said: For the proof of concept the session is kept in the instance's memory with at most one instance, and a restart, a new revision or a scale to zero signing the person out is accepted; Spring Session JDBC replaces the in-memory store once the case database exists. The options considered are a server-side session with an HttpOnly cookie, a stateless session in a signed, encrypted cookie, and a token in the browser (ADR-0008 §7). ADR-0010 (docs/adr/adr-0010-api-gateway-and-api-contract.md) moves the sign-in and the session to the gateway.
  • Question: Which session model, and which session store, does the gateway keep beyond the proof of concept? Where the session lives is answered: in the gateway (ADR-0010 §3 point 2, §5).

Which token is relayed to the backend

  • Where: 6.4
  • arc42 asks: the concrete behaviour and interactions of the building blocks in important scenarios (chapter 6 help).
  • Already said: The gateway relays the person's token and, on Cloud Run, adds its own service-account ID token for the IAM check; the diagram says the person's token (ADR-0010 (docs/adr/adr-0010-api-gateway-and-api-contract.md) §5). ADR-0010 lists which token is relayed, how the two tokens share a request and whether the backend checks the allowlist again as points the build settles; it notes that Cloud Run reads X-Serverless-Authorization for IAM and leaves Authorization to the application — how Cloud Run reads them, not a settled split.
  • Question: Which of Google's tokens is relayed, and how do the two tokens share a request?

SPEC.md assumption A-3 after ADR-0009 and ADR-0010 (A-3)

  • Where: 4.4, the row Platform services reused where they also run on-premise; 10.1.6; C5
  • arc42 asks: the fundamental decisions and solution strategies (chapter 4 help).
  • Already said: SPEC.md (SPEC.md) §8, A-3: the platform services in place — gateway, messaging, monitoring, identity — are reused, not rebuilt. Since then FeeCheck has its own API gateway (ADR-0010 (docs/adr/adr-0010-api-gateway-and-api-contract.md)) and its own messaging on Pub/Sub (ADR-0009 (docs/adr/adr-0009-async-intake-pubsub-bucket-firestore.md)), and the identity provider is chosen per installation (4.5); A-3 itself is unchanged.
  • Question: How does A-3 read now — is monitoring the only platform service still reused, or is the assumption dropped?

ADRs referenced but never written

  • Where: C6, 10.1.7 and TD-6; moved here from chapter 9, which lists no ADRs (no TBD in the chapter)
  • arc42 asks: the important, expensive, large-scale or risky architecture decisions, with their rationale (chapter 9 help).
  • Already said: The earlier register named ADR-001 to ADR-005, and C6 and 10.1.7 cite an "ADR-1". These are old three-digit numbers, unrelated to ADR-0001…ADR-0005 in docs/adr/ (docs/adr/), and none of these files exists. ADR-004 is referenced nowhere in the repository. "Former §n" is a section of the former docs/architecture/project-context.md, whose text was moved into the architecture description and is no longer in the repository.
Referenced as Topic Where it is referenced
ADR-1 / ADR-001 Modular monolith with a shared central database, instead of microservices C6, 10.1.7
ADR-002 Strangler pattern against the master-data system, mock instead of the real system former project-context.md §4
ADR-003 React (client-side rendering) for the review frontend former project-context.md §9
ADR-005 Identity provider — chosen per installation (4.5), so no product-wide ADR is needed for the choice itself; for the PoC see ADR-0008 (docs/adr/adr-0008-google-sign-in-and-backend-on-cloud-run.md) former project-context.md §9
- Question: Are ADR-001 (the shared central database of C6) and ADR-002 (the strangler cut) written, or are the references dropped?

Sections without a named source

  • Where: 1.2 (the reasons ARC-Q4 dominates); the introduction of chapter 2; 8.1; 8.3 (no event sourcing, pgvector through Spring AI's vector store abstraction); 8.6; in 8.19, why the dossier is not the case (8.19.1), why gate 1 uses no model (8.19.2) and why the assessment is a rubric (8.19.3); the Rationale and Architectural consequences of 10.1.1 to 10.1.8
  • arc42 asks: every statement with its source (CLAUDE.md in this folder, "Content").
  • Already said: The text of these sections comes from the former single-file description, arc42.md, imported on 5 September 2026 and under review (CLAUDE.md, "The imported documents are under review"); no ADR, spec or decision of the owner names it. The reasons in 8.19 come from FeeCheck's business data model, which names no ADR or spec for them either.
  • Question: Does the owner confirm these statements as the architecture's — then they stand with that date as their source — or are some of them dropped?

10.1.7 resting on the imported description and ADR-0003

  • Where: 10.1.7, the C6 row and "Rejected alongside C6"
  • arc42 asks: the quality requirements and how conflicts between them are resolved (chapter 10 help).
  • Already said: The modulith is the owner's (4.2); 10.1.7 now cites it instead of ADR-0003 (docs/adr/adr-0003-repository-module-boundaries.md) §2.3, which is Proposed and imported. The resolution of C6 against independent deployability and the rejected "entity service" come from the imported arc42.md; the ADR on the shared database is not written (ADRs referenced but never written), and stores are chosen per installation (4.5).
  • Question: Do the C6 resolution and the rejection of a central entity service stand as the owner's, and does C6's shared central database still hold now that stores are chosen per installation?

QS-3 and QS-5 without a quality goal

  • Where: 10.2 Quality Scenarios, QS-3 and QS-5, column Quality goal
  • arc42 asks: quality scenarios that make the quality requirements concrete, each tied to a requirement (chapter 10 help).
  • Already said: QS-3 (a tier scale against a flat rate, routed to review) and QS-5 (a field below the confidence threshold goes to the reviewer) come from the imported arc42.md; no requirement text of 10.1 names their stimulus or measure. REQ-Q2 speaks of undetected real deviations and of thresholds biased towards review.
  • Question: Which quality goal do QS-3 and QS-5 refine — REQ-Q2, or a requirement not yet written?