Skip to content

Centralize manifest release loading#219

Merged
ictechgy merged 1 commit into
mainfrom
ultragoal/g005-manifest-release-structure-drift
Jun 21, 2026
Merged

Centralize manifest release loading#219
ictechgy merged 1 commit into
mainfrom
ultragoal/g005-manifest-release-structure-drift

Conversation

@ictechgy

Copy link
Copy Markdown
Owner

Summary\n- Add a shared bounded no-follow literal loader for context_guard_commands.py.\n- Reuse the loader in runtime dispatch, prepublish, release smoke, and tests while keeping the manifest literal-only.\n- Deduplicate release-smoke entrypoint/dispatcher launch loops.\n\n## Validation\n- python3 -m py_compile changed scripts/helpers\n- 7 targeted manifest/runtime unit tests\n- PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s tests -p 'test_*.py' (737 tests)\n- python3 scripts/prepublish_check.py --skip-tests\n- python3 scripts/sync_plugin_copies.py --check\n- git diff --check\n- python3 scripts/release_smoke.py --timeout 20\n

Keep the command manifest as a literal-only data file while sharing the bounded no-follow AST loader across runtime, release gates, smoke checks, and tests. Deduplicate release-smoke dispatcher launch orchestration without changing scenarios.

Constraint: context_guard_commands.py must remain literal-only and must not be imported or executed as code.
Rejected: import context_guard_commands directly | would execute mutable manifest code and weaken the runtime trust boundary.
Confidence: high
Scope-risk: moderate
Directive: Add future command/package fields through context_guard_commands.py and the shared literal loader, then sync plugin copies.
Tested: python3 -m py_compile changed scripts/helpers; 7 targeted manifest/runtime tests; PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s tests -p 'test_*.py' (737 tests); python3 scripts/prepublish_check.py --skip-tests; python3 scripts/sync_plugin_copies.py --check; git diff --check; python3 scripts/release_smoke.py --timeout 20.
Not-tested: CI matrix before PR creation.
@ictechgy ictechgy merged commit 92c6d82 into main Jun 21, 2026
3 checks passed
@ictechgy ictechgy deleted the ultragoal/g005-manifest-release-structure-drift branch June 21, 2026 17:18
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.

1 participant