Skip to content

Read the spec from specs.substratalapps.com; drop windows/shared - #3

Merged
Adron merged 1 commit into
mainfrom
fix/2-specs-site
Nov 24, 2026
Merged

Adron merged 1 commit into
mainfrom
fix/2-specs-site

Conversation

@Adron

@Adron Adron commented Nov 24, 2026

Copy link
Copy Markdown
Member

Fixes #2.

  • Reading the spec: scripts/gen-from-spec.py now reads from https://specs.substratalapps.com/spec/ (override with SPECS_URL). It used to read raw.githubusercontent.com from the specs repo, which is private, so CI's --check couldn't pass.
  • Error copy: it now comes from 00-shared/COPY-AND-STATES.md. The windows/shared/ copy was removed in the specs repo (CompositeCode/substratalapps-applications-specs#20).
  • Local checkouts: SPECS_DIR accepts specs/ (2.0.0+) or substratal-application-specs/. gen-msix-assets.mjs works the same way.
  • Regenerated files: ErrorCopy.g.cs gains the 16 error codes the spec added since the last run. ScreenCatalog.g.cs has updated text for AUTH-02, ACC-05, ROL-01, ROL-02 and APL-01. Running python3 scripts/gen-from-spec.py --check against the live site reports Generated files match the spec.
  • Links: HelpLinks.Root and its test, the screen page's spec link (now the public /spec/windows/SCREENS.html rather than a private GitHub blob), the README and the plan now use the new site. Theme header comments say 00-shared/.
  • Dispatch: docs-dispatch targets CompositeCode/substratal-hub-interface-specs, the name the specs repo is about to be renamed to.

I couldn't run the .NET build and tests on this Mac, so CI on this PR covers them.

🤖 Generated with Claude Code

The Hub specs moved to https://specs.substratalapps.com/, the package no
longer has per-platform shared/ copies, and its repository is private,
so gen-from-spec.py couldn't read raw.githubusercontent.com (CI's --check
failed). It now reads the published site (SPECS_URL to override), takes
the error copy from 00-shared/COPY-AND-STATES.md, and accepts specs/ or
substratal-application-specs/ in a SPECS_DIR checkout; gen-msix-assets
does the same. Regenerated: the error copy gains the 16 codes the spec
added since the last run, and five screens' text changed.

Help, spec and README links use the new site; docs-dispatch targets
CompositeCode/substratal-hub-interface-specs.

Fixes #2

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Adron
Adron merged commit 2685d6f into main Nov 24, 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.

Move to specs.substratalapps.com and stop reading the private specs repo

1 participant