feat: v1.98 PR-13 — lifecycle feature flag (NFTBAN_LIFECYCLE)#459
Merged
feat: v1.98 PR-13 — lifecycle feature flag (NFTBAN_LIFECYCLE)#459
Conversation
Introduce controlled activation of canonized lifecycle flow: - NFTBAN_LIFECYCLE env var: default ON, set =0 for legacy path - When ON: lifecycle bridge emits events, log shows lifecycle_mode=canonized - When OFF: lifecycle bridge not initialized, log shows lifecycle_mode=legacy - All lifecycle bridge calls guarded by nil check (no panic on legacy path) This is activation only — no new behavior, no new fix targets, no new execution paths. Exposes the system already proven safe in Phase 1 (PR-07 through PR-12, NB-6 tests). Hard constraints enforced: - No new fix targets (only permissions enforce, INV-I-011) - No new systemd triggers (regression guard from V198_PR13_GO_DECISION.md §10) - No authority expansion - Lifecycle remains observational (INV-I-004) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
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
Controlled activation of canonized lifecycle flow. Activation only — no new behavior.
What this PR adds
NFTBAN_LIFECYCLEenv var: default ON, set=0for legacy pathlifecycle_mode=canonizedorlifecycle_mode=legacyWhat this PR does NOT add
permissions enforce, INV-I-011)Lab4 Validation
lifecycle_mode=canonizedNFTBAN_LIFECYCLE=0)lifecycle_mode=legacyBoth paths produce identical functional results. No regression.
Gate Reference
health fix allTest plan
🤖 Generated with Claude Code