Tiger_Theme::activate() seam + headless install docs + v-tag guard (TIGER-124) — 1.7.0 - #268
Merged
Merged
Conversation
…L.md, v-tag guard (TIGER-124) Theme activation (tiger.theme config + the public/<assetBase> link with copy fallback) lived only inside System_Service_Modules, so the headless installer would have had to re-implement it. Extracted to Tiger_Theme as the one authority; the service now calls it. ThemeActivateTest covers the link, idempotent re-activation over a stale link, and that deactivating a non-active theme changes nothing. The public dir resolves from PUBLIC_PATH when booted, else APPLICATION_ROOT/public (CLI + tests). INSTALL.md documents the headless path as the third install path and the design of record for TigerHeadless. release-zip.yml refuses a release tag that is not v<semver>: resolveRelease() fetches /releases/tags/v<version>, so the bare 1.6.3/1.6.4 tags published vendored ZIPs the updater could not find (both re-tagged as v1.6.3/v1.6.4). Version 1.7.0. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L8p9pLJ3DFstG3xZuh2QgZ
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.
Summary
Tiger_Theme::activate()/deactivate()— theme activation extracted fromSystem_Service_Modulesinto a library seam so the headless installer (WebTigers/TigerHeadless, TIGER-124) and the admin share one authority. Service rewired; behaviour unchanged.v<semver>.Tiger_Update_Core::resolveRelease()fetches/releases/tags/v<version>; the bare1.6.3/1.6.4tags made both releases invisible to the updater (re-tagged today).@apisurface).Test plan
tests/Integration/Theme/ThemeActivateTest(4 tests: link + config, idempotent over a stale link, deactivate only-when-active, non-theme refused).ModulesServiceThemeTestpasses through the new seam.🤖 Generated with Claude Code
https://claude.ai/code/session_01L8p9pLJ3DFstG3xZuh2QgZ