Repository navigation
Read the spec from specs.substratalapps.com; drop windows/shared - #3
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2.
scripts/gen-from-spec.pynow reads from https://specs.substratalapps.com/spec/ (override withSPECS_URL). It used to readraw.githubusercontent.comfrom the specs repo, which is private, so CI's--checkcouldn't pass.00-shared/COPY-AND-STATES.md. Thewindows/shared/copy was removed in the specs repo (CompositeCode/substratalapps-applications-specs#20).SPECS_DIRacceptsspecs/(2.0.0+) orsubstratal-application-specs/.gen-msix-assets.mjsworks the same way.ErrorCopy.g.csgains the 16 error codes the spec added since the last run.ScreenCatalog.g.cshas updated text for AUTH-02, ACC-05, ROL-01, ROL-02 and APL-01. Runningpython3 scripts/gen-from-spec.py --checkagainst the live site reports Generated files match the spec.HelpLinks.Rootand its test, the screen page's spec link (now the public/spec/windows/SCREENS.htmlrather than a private GitHub blob), the README and the plan now use the new site. Theme header comments say00-shared/.docs-dispatchtargetsCompositeCode/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