Skip to content

Render the Specification Framework 2.0 proposals and publish to GitHub Pages - #5

Merged
jeremi merged 7 commits into
GovStackWorkingGroup:mainfrom
basicavisual:feat/specification-framework-2.0
Nov 30, 2026
Merged

jeremi merged 7 commits into
GovStackWorkingGroup:mainfrom
basicavisual:feat/specification-framework-2.0

Conversation

@basicavisual

Copy link
Copy Markdown
Contributor

Ready to bring to govstack organization after this

dear Jeremi,

After this batch of changes if you agree I'd like to start the process of consolidating this repo with the rest of the GovStack Process, specially its connections with the GovStack Registry. If you agree with this changes, we can start the fork to the GovStack organization and take it from there.

Change description

Renders the changes proposed in ARCH-ADR-7 (conformance profiles), ARCH-ADR-6 (options and conditional requirements) and ARCH-ADR-8 (verification derived from interaction), which the Wallet BB 2.0 draft already uses. Specifications on the requirements/ layout render as before, with warnings, so BBs can migrate one at a time.

One site for every Building Block

This is an architectural change: the renderer repository becomes the single place that publishes Building Block specifications. Until now, each BB had to set up and host its own site.

  • One site. publish/building-blocks.yml lists each BB by repository and ref. The Pages workflow builds them all with the same renderer version into one site, one /bb/<id>/ folder per BB, under a generated landing page.
  • Sources stay where they are. Each BB keeps its own repository, Working Group and release cycle. The renderer reads them and never changes them.
  • Each BB is self-contained. Root paths such as /assets/x.png resolve inside the BB's own folder, so no BB can reach another's files.
  • All or nothing. Every BB must pass the full build and HTTP checks before anything deploys, so the published site never mixes checked and unchecked specifications.
  • Opt-in. Nothing deploys unless the repository variable PUBLISH_PAGES is true. Without it, pushes and manual runs still build and check every BB, and the daily run is skipped.

The version goes up to 0.2.0.

  • What changed: CHANGELOG.md
  • What to do to adopt it: RELEASE_NOTES.md

Tested with npm test (130 pass), and with full build and HTTP checks on bb-wallet (feat/v2.0), bb-file-management (v0.6) and bb-template.

🤖 Generated with Claude Code

basicavisual and others added 7 commits November 24, 2026 19:56
Keep each contributor's Node version pin in mise.local.toml out of the repository.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Render the Specification Framework changes proposed in ARCH-ADR-7, ARCH-ADR-6 and ARCH-ADR-8, which the Wallet Building Block 2.0 draft uses.

- Conformance profiles: toc.yml subsections under conformance-profiles resolve relative to each profile folder. Each introduction is served at /conformance-profiles/<id>/ with a summary from its front matter. Functionality pages name their profile, the home page lists the profiles, and the sidebar groups them with Core and Extension badges. Generation fails without exactly one core, or on unknown or cyclic requires.
- Options and conditions: options render nested beneath their variation point, with select, key, extension, presented_by and applies_when. A generated Options and conditions page lists what applies for each key and extension. Options count towards the requirement total.
- Verification: derived from interaction (tested at the boundary, or audited for INTERNAL). observability is shown only when there is no interaction.
- Root-absolute links and assets resolve against the specification root under the build base, so each specification only refers to its own files.
- ADR pages linked from published pages are published under Resources.
- toc.yml folder entries, empty sections, and terminology.yml and references.yml render instead of failing or showing raw YAML.
- Fix "null" for empty documentation, trailing breaks in block-scalar descriptions, and URN contracts becoming broken links.

Specifications that still use requirements/ render as before, with warnings, so Building Blocks can migrate one at a time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add publish/building-blocks.yml, listing the Building Blocks to publish (Wallet and Document Management), and scripts/publish.mjs (npm run publish). The script fetches each source at its ref, or uses local checkouts with --sources. It builds and checks each one under <base>bb/<id>/, and writes a landing page naming the commit each was built from.

The pages workflow runs the tests and the publish command on pushes to main, on demand and daily, and deploys the site to GitHub Pages as an unofficial preview. A failed build or check stops the deploy, so the live site keeps its previous version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Record the conformance profile, options and verification rendering, the related fixes, and GitHub Pages publishing under Unreleased.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Set the version to 0.2.0 and move the changelog entries under it. Add RELEASE_NOTES.md, with the steps for releasing a version and the actions maintainers, Building Block authors, renderer consumers and Pages publishers take to move to 0.2.0. Note that the Pages workflow is not triggered by Building Block repositories: their changes reach the site at the daily run, or sooner by running the workflow by hand.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Describe the site address as https://<owner>.github.io/<repository>/ and the release steps without naming a particular fork or remote. Make deploying opt-in through the repository variable PUBLISH_PAGES: without it, pushes and manual runs still build and check every Building Block, the daily run is skipped, and nothing is deployed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Preserve GitBook aliases and render the Wallet and Document Management sources consistently. Validate combined builds on pull requests and promote only complete, checked output.

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
@jeremi
jeremi merged commit 433ede1 into GovStackWorkingGroup:main Nov 30, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants