ArchyRWS architecture
Menu
Search Archy…

Search Archy

Docs

Writing and publishing a note: what metadata it may carry, how it is published, and where to find blank templates. This is documentation for authors, not architecture; nothing here is published as a note.

Writing roadmaps: one delivery block on an existing note, a roadmap that selects IDs, and temporary scenarios without a second source of truth.

Local Confluence references: import a bounded page tree and read a private snapshot alongside authored notes.

About

Archy publishes the RWS-ARCH architecture vault from Git: main to this site and each pull request to its own preview. The release notes list what changed in the portal and in the published architecture, newest first. They are kept in CHANGELOG.md in the repository.

Where a note lives

Save ordinary Markdown in RWS-ARCH/, under the folder for its subject. The folder becomes the note's subject on this site and part of its address; a folder with no notes is not shown. Building blocks and designs can share a subject folder. The folder says nothing about type, owner or maturity.

A file named index.md in a folder is shown in full on that subject's overview page as its introduction. It stays an ordinary note with its own address, listed in the catalogue; the overview is where the site shows it, not a second copy.

How the site orders a subject

While reading a note, the sidebar shows the subject it is filed in: one Overview entry (the subject page), the subject's own notes, and any subjects within it, with a trail back to the enclosing subject and to all subjects. Notes elsewhere in the vault are not listed; the catalogue has them all.

Within a subject, notes are listed in a fixed reading order: capabilities first, then solutions, then designs, then research, then supporting notes, each group alphabetically by title. This is the website's presentation order only. It comes from the kind label, not from a numbering or ordering field, and it implies nothing about a workflow, maturity or a relationship between the notes. When a subject holds research, the sidebar and the overview list it under its own Research heading between the architecture and the supporting notes; without research there is no such heading.

Three abbreviations mark a note's kind beside its title:

ABB
Architecture building block: a capability, described before any product choice.
SBB
Solution building block: a concrete solution that declares which capabilities it realizes.
HLD
High-level design: an arc42 design that declares which solutions it describes.

A research note is marked with the word Research, not an abbreviation. An ordinary note carries no kind mark; its title alone names it. Every note shows its authored status (draft, current or superseded), its classification when written, and the date it was last reviewed or that no review is recorded. The identifier used in relationship metadata is shown in the catalogue and in the note's source details.

How Archy presents the source

The Markdown remains authoritative. The reader groups the existing top-level headings into visual chapters; it does not rewrite, summarise, hide or reorder their contents. HLDs retain their authored arc42 headings and anchors. Tables keep all their columns; focus a scrollable table to use the keyboard when it is wider than the page.

Graph icons name documented subjects, selected from an explicit stable-ID or subject mapping. Node outlines identify the note kind. An unknown subject gets a neutral document icon. Neither an icon nor a connection is evidence of a deployed component, product approval or runtime dependency.

What to write with

  • The first heading is the title. Without one, the file name is used.
  • Standard Markdown: headings, paragraphs, lists, tables, code blocks, blockquotes, and links to other notes as [Title](Other%20note.md), relative to the note or to the vault root.
  • Local PNG, JPEG or GIF images referenced from the note.
  • Not supported, and a build failure: raw HTML, SVG, remote images, Obsidian wikilinks, links to files that are not notes, and links to headings that do not exist.

Assets and reference material

Keep diagrams and figures in an assets/ directory beside the notes of the subject that owns them. Create it when there is an actual asset, not as an empty skeleton. An asset-only directory is not a subject; Markdown notes inside it would make it one. Reuse a shared figure by linking to its canonical location rather than copying it into each subject.

Diagram source and published image

Keep editable source and a reviewed export together, for example assets/topology.drawioand assets/topology.png. These are illustrative names, not supplied diagrams. Reference the image with a relative Markdown link such as ![Registry tiers and permitted flows](assets/topology.png), and explain the important boundaries and choices in prose. Review the export again whenever its source changes.

Supported today: referenced local PNG, JPEG and GIF images. Editable draw.io files, separate Mermaid sources and PDFs are not published or available as local attachment links. Mermaid fences currently display as code. Automatic rendering, export-freshness checks and source downloads are not implemented; automatic build output belongs outside the authored vault. Raw HTML, SVG and remote images remain unsupported.

Export only what readers should receive. A draw.io PNG can contain embedded diagram XML, hidden pages and editor metadata when a copy of the diagram is included. The current image checks do not strip metadata. Use a clean export without embedded source and inspect the payload; storing a file under assets/ does not make everything in that directory a website download.

Vendor documents and retained evidence

Prefer a link to the authoritative document, recording the product release, document version, supporting section, date consulted and limitations beside the claim or in a subject-local source note. A vendor manual is evidence for the architecture, not our architecture itself.

Retain an exact external file only when there is a need and permission to do so. Check licensing and access requirements, and use a controlled reference store. If repository-local retention is agreed, introduce a reference-material/ directory outside RWS-ARCH/ when needed, with provenance and a checksum where useful. Link through the controlled-store or repository URL, not a relative path outside the vault. That folder is not an access-control boundary; repository readers can access its committed files. No reference files are acquired by this convention.

Metadata, when needed

Ordinary notes need no frontmatter. Building blocks and designs use a small YAML header and require an explicit identity.

FieldMeaning
kindnote (default), abb, sbb, hld or research.
idA unique identifier you choose. Required for ABB, SBB and HLD notes so other notes can refer to them; optional for research and ordinary notes. When present it must be nonempty and unique.
statusdraft (default), current or superseded. Your statement of where the note stands; not an approval record, and never changed automatically. On a research note, current means the conclusion is the author's current one, not that the architecture has adopted it.
realizesOn an SBB: the IDs of ABBs it realizes.
describesOn an HLD: the IDs of SBBs it describes.
depends_onIDs of notes this one directly depends on.
classificationA label, shown as written. It does not restrict who can read the note on this site.
delivery, roadmapOptional structured blocks for delivery estimates, scheduling prerequisites and roadmap selection. They require a stable ID and do not change the note's kind, lifecycle status or approval.
last_reviewedThe date you last reviewed the whole content, as YYYY-MM-DD. Shown beside the labels; without it the note says Review not recorded.

Relationship IDs must point to notes that exist on the same branch and never to the note itself. The site shows each relationship in both directions, next to any links found in the text. Explain every relationship in the prose; the metadata is a pointer, not an argument.

Only kind and id are required to identify an ABB, SBB or HLD. Relationship lists are optional; when supplied, they also require the source note to have an ID, whatever its kind. realizes stays an SBB field and describes an HLD field; a research note has no relationship field of its own and points at the architecture it informs with ordinary links in its text. Keep an existing ID when a file is renamed. The title comes from the first Markdown heading, not a frontmatter title field.

Recording a review date

last_reviewed: 2026-09-12 says that on that day someone read the whole note and judged its content, so a reader can see how old that judgement is. Set it by hand, only after such a review, and never to a planned or future date. It is not the date of the last edit: editing text does not move it, and a change that affects the substance means the recorded review no longer covers the note until it is reviewed again. Put who reviewed, what was checked and the evidence in the body or a linked note; the date alone proves neither that the content is still right nor that later edits were covered. It is not an approval, and the /review comment does not set it. Any valid calendar date is accepted; the site shows the date as written and does not colour or grade its age.

Other valid YAML fields are allowed in source but are not used by the website or included in search. Adding owner, date or approved_by does not create an ownership, freshness or approval record; only last_reviewed is read as a date for whole-note review. Scheduling dates and an authored delivery owner are separately recognized inside the optionaldelivery and roadmap blocks. Keep responsibilities, evidence dates and decision authority in readable prose with their supporting references. A publish field, if present, must be a boolean, but does not hide a note from this website.

How a note is published

Every note on a branch is published, whatever its status or classification. Open a pull request and its preview publishes the branch; main is the main site. The build checks links, anchors, metadata and relationships across the whole vault, and a broken vault does not publish. Publication means the build passed, not that anyone approved the architecture.

Addresses follow the folder and file name. Renaming a file keeps the note's id but changes its address, so links written as ordinary Markdown need updating by hand.

Reviewing and updating

Propose a change to the Markdown on a branch and describe its scope in a pull request. Run npm run content:check for source integrity and npm run ci:site for the website checks. Read the preview for that exact revision, including affected relationships and links. Drafts and unresolved questions in the vault are published too; the vault is not a private review inbox.

The repository's optional /review comment requests an advisory agent review. It reports findings against a captured revision; it does not edit the notes, decide the architecture, approve the pull request or replace missing evidence. Update the narrative when findings are resolved, and preserve the supporting evidence and any remaining uncertainty. Material changes need fresh review.

Decision records currently use ordinary Markdown notes, not a special adr kind. Document decision state, alternatives, rationale and attributable human authority in the body. The note's draft, current or superseded label is separate from the decision's acceptance. Neither a successful build nor a merge supplies that acceptance.

Recording research

A research note (kind: research) is durable, subject-local evidence: what was asked, what was found at a stated product, release or configuration baseline on a stated date, what the author concludes from it, and what that means for the architecture. It is filed in the subject it informs, beside the building blocks and designs it supports. Its address and title come from the file like any other note; no folder or file name makes a note research, only the kind label.

Before researching, and while writing it up:

  1. Reuse first. Read the subject's existing research and check whether its baseline, date and scope still apply to the question. A conclusion recorded against an older release or configuration may need rechecking rather than redoing.
  2. Name the gap: the specific question that existing evidence does not answer.
  3. Investigate, keeping the basis of each finding apart: vendor-documented, test-observed, inferred or not established. Cite source, version, section and dates precisely.
  4. Record the current conclusion, its confidence, the evidence, contradictions and limits, including negative results. Honest uncertainty is content; filling the gap with assumptions is not.
  5. Link the implications to the building block, design or review question they affect, and name any obligation or human decision that follows. Propose a decision record only when a choice actually has to be made; research does not replace the design narrative that explains and justifies the architecture.

A research note is published like every other note on its branch, including as a draft; the vault is not a private scratchpad. The note holds findings and conclusions, not transcripts, raw tool output or copied vendor documents. Source snapshots and retained originals follow the reference-material convention; agent output is advisory input to the author, not evidence in its own right. A date in the note, or a last_reviewed field, records when the author did or reviewed the work; it is not an approval and nothing stamps one automatically. Theblank research template lists the sections to cover.

A note’s “Create local draft” workspace can preview and download edits in this browser session. It does not save to the vault, preserve frontmatter in its narrative-only download, submit a pull request or record a review. Portal submission is not implemented; Git writes, review and merge stay in Forgejo. Apply the downloaded narrative to the existing Markdown file without discarding its metadata, then use the pull-request workflow.

Blank templates

Each template lists the sections an IRN building block, an arc42 design or a research note is expected to cover, with a sentence of guidance under each heading. Copy one, fill in the title (and the identity where the kind needs one), and replace the guidance with the actual content. A note that lacks template sections still publishes; the reader shows which ones are missing as a prompt, not a score.

  • Architecture building block10 sections

    Describe a capability, its boundaries and the conditions a solution must meet.

  • Solution building block3 sections

    Describe a concrete solution, its service arrangements and its contribution to capabilities.

  • High-level design12 sections

    Explain a solution through the twelve arc42 architecture views.

  • Research7 sections

    Record a question, the evidence found at a stated baseline, the current conclusion and what it means for the architecture.

Named sign-in and permissions

Archy supports site-wide Keycloak sign-in for the main site and active PR previews. The trusted gateway protects content, assets and search; a browser account menu is not an access-control boundary. A shared organisation session makes moving between hosts smooth, while each host keeps its own local cookie.

Deployment and role membership must be explicitly activated by the operator. When available, the account menu shows the verified identity and recognized read role. It does not grant HLD submission, reviewer, approval or merge powers. Local sign-out ends this host’s session, not every application or the organisation’s SSO session.

Submitted HLDs and retained review records will require a separate private workflow. They must not be placed in the published vault just because the site now supports named users.

Backend considerations: what should change?

Recommendation: keep the static reading application and Git-backed publication for now.Archy already supports relationship exploration, search, provenance, research, review-date registers, source inspection and local drafting without a new server or database. The existing authentication boundary continues to cover pages, assets and the search index.

What is local, and what is authoritative?

A local draft exists in page memory only. It is not shared, saved or submitted; reloading discards it. Its preview is a safe convenience, not the publication validator. The Markdown file in Git remains authoritative. The theme preference is the only browser preference persisted by this interface.

When a backend would be worthwhile

  • Authors need durable drafts and concurrent collaboration without local Git.
  • Reviewers need identity-bound decisions, notifications and an auditable work queue.
  • Source checks, lifecycle observations or agent jobs must run on demand and retain their evidence.

A bounded path forward—not a second source of truth

  1. Add a separately authenticated contribution service with narrowly scoped Forgejo access. Do not put repository tokens in the browser.
  2. Store draft state and job progress separately from published architecture. Version every draft against a Git commit and preserve concurrent changes.
  3. Submit changes as ordinary pull requests. Bind review and advisory results to the exact revision. Keep merge authority explicit.
  4. Verify the served revision after publication. A successful job, merge or generated graph is not architectural approval.
  5. Agree persistence, backups, retention, CSRF/session protections, audit logs, rate limits and failure recovery before deployment.

These backend capabilities are proposals for a future decision, not implemented features. This PR changes no identity provider, approval authority, database, deployment service or publication permissions.

What the reference’s richer diagrams would require

Platform containment, strategic goals, security-framework compliance, decision outcomes and product lifecycle are not inferred from note links. Add such views when their relationships and evidence have been explicitly authored and their meaning agreed. Until then, Archy distinguishes Markdown references from realizes, describes and depends_on.