feat(naming): contract §4 step 3 — env vars, API root, Tauri identity, gate - #136
Closed
DTALEX66 wants to merge 1 commit into
Closed
feat(naming): contract §4 step 3 — env vars, API root, Tauri identity, gate#136DTALEX66 wants to merge 1 commit into
DTALEX66 wants to merge 1 commit into
Conversation
…, gate Step 3 of naming contract §4 (Owner-authorized full push): - Env vars: COGNITIVE_* -> ARCHEAXIS_* (config.py maps new names first, legacy names as fallback for smooth migration; direct getenv calls updated; CI workflow flipped) - API root: /api/v1/ canonical prefix added alongside legacy /workspace - Tauri: productName 'ArcheAxis OS' -> 'ArcheAxis Learning Workspace' (forbidden-term fix), identifier -> com.archeaxis.workspace; protocol.rs test asserts v1+forbidden-name rejection - Gate: scan_naming_forbidden_terms now covers .json + desktop/ (caught tauri.conf.json + SUPPLY_CHAIN_LEDGER legacy names, both fixed) - Tests: env assertions updated to ARCHEAXIS_* names Full suite 1461 passed.
Owner
Author
|
Superseded by #138 (full V2 sweep includes all step-3 changes plus aligned test assertions). Content fully covered; closing to avoid CI confusion. |
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.
命名契约 §4 Step 3(全量推进授权):环境变量 COGNITIVE_→ARCHEAXIS_(新名优先+旧名回退);API 根 /api/v1/ 双路径;Tauri productName 修复禁词 ArcheAxis OS→ArcheAxis Learning Workspace + identifier com.archeaxis.workspace;门禁扩展 .json+desktop/(捕获 tauri.conf.json + SUPPLY_CHAIN_LEDGER 旧名并修复);测试断言更新。全量 1461 passed,门禁绿。