@herjarsa/omo-meta-governor 0.24.2 → 0.24.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -756,6 +756,44 @@ On plugin load, queries npm/pip registries to check whether newer versions
756
756
  of **codegraph** or **graphify** exist. Config: `graphSync.autoUpgrade` (default `true`),
757
757
  `graphSync.upgradeCheckTtlMs` (default `86400000`).
758
758
 
759
+ ## v0.24.3 — Background Oracle intervention suppression + memory hygiene
760
+
761
+ ### Highlights
762
+
763
+ #### Background Oracle intervention suppression (v0.24.0)
764
+
765
+ When the agent invokes Oracle via `task(subagent_type="oracle", run_in_background=true)`, the plugin now detects the background task and suppresses all interventions until Oracle returns. Previously, the agent's idle window during Oracle execution triggered noProgress + accumulated deviations → intervention pile-up.
766
+
767
+ New `AuditState` fields:
768
+ - `oracleInFlight: boolean` — true while a background Oracle task is running
769
+ - `signalAtMs: number` — timestamp of the last done/phase signal, used to prevent stale latches from immediately clearing oracleInFlight
770
+
771
+ Detection uses `toolInput.args` (not `toolOutput.output`) to correctly identify background Oracle calls.
772
+
773
+ 3-tier clear strategy (Oracle-reviewed):
774
+ 1. Promise signal detected AFTER oracleInFlight was set (signal timestamp > oracleInFlightSinceMs)
775
+ 2. Timeout safety net (5 minutes since invocation)
776
+ 3. Foreground Oracle call (agent explicitly waiting for a new Oracle)
777
+
778
+ #### Memory save directive (v0.24.0)
779
+
780
+ Added explicit negative guidance to the protocol-enforcer memory save directive:
781
+ > "Do NOT save routine operations (file reads, greps, list commands), trivial decisions, or facts already covered by existing memory."
782
+
783
+ Narrowed `save-discovery-to-memory` audit rule from 5 tools (grep, glob, read, codegraph_explore, graphify query) to 2 (codegraph_explore, graphify query) to align with the directive.
784
+
785
+ #### Stale-cache detection (v0.24.3)
786
+
787
+ On plugin load, an async npm version check runs in the background. If the loaded version differs from the latest published version, a warning is logged with cache-clearing instructions. This prevents silent stale-cache issues where `@latest` does not force re-fetch from opencode's package cache.
788
+
789
+ ### Migration
790
+
791
+ No user action required. This is a transparent improvement. If you see a `STALE_CACHE` warning in your meta-governor.log, run:
792
+ ```bash
793
+ npm cache clean --force && rm -rf ~/.cache/opencode/packages/@herjarsa/omo-meta-governor*
794
+ ```
795
+ Then restart opencode.
796
+
759
797
  ## License
760
798
 
761
799
  MIT