fix(engine): derive the screenshotTableGate invalid-action warning from VALID_ACTIONS - #10105
Conversation
…om VALID_ACTIONS The warning still named only close/advisory after JSONbored#9964 added the block tier, so an operator who mistyped the action was pointed at a vocabulary that no longer matched what the gate actually accepts. Interpolate VALID_ACTIONS and the resolved default instead of restating them as a literal, mirroring normalizeSelfLoopAutonomy's derived-vocabulary pattern in ams-policy-spec.ts.
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Tip ✅ LoopOver review result - approve/merge recommendedReview updated: 2026-07-31 07:30:33 UTC
Review summary Nits — 2 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #10105 +/- ##
===========================================
+ Coverage 79.75% 91.95% +12.19%
===========================================
Files 282 930 +648
Lines 58685 113891 +55206
Branches 6878 27492 +20614
===========================================
+ Hits 46804 104726 +57922
+ Misses 11593 7863 -3730
- Partials 288 1302 +1014
Flags with carried forward coverage won't be shown. Click here to find out more.
|
fix(engine): derive the screenshotTableGate invalid-action warning from VALID_ACTIONS
The warning still named only close/advisory after #9964 added the block tier, so
an operator who mistyped the action was pointed at a vocabulary that no longer
matched what the gate actually accepts. Interpolate VALID_ACTIONS and the
resolved default instead of restating them as a literal, mirroring
normalizeSelfLoopAutonomy's derived-vocabulary pattern in ams-policy-spec.ts.
Closes #9996