Commit Graph
5 Commits
Author SHA1 Message Date
haelyra 4b28aa9fe4 test: keep integrated fixtures out of the shared temp directory
Repair the CodeQL findings introduced by this integration without
dismissing any alert:

- OpenSpec validators: express the empty-symbol check as an explicit
  slice instead of an index-versus-length comparison (#2679).
- OpenSpec tests: create file and outside-target fixtures inside private
  mkdtemp directories (#2679).
- Antigravity policy test: give the bridge a private TMPDIR/TEMP/TMP so
  its edit accumulator never lands in the shared temp directory (#3221).
- Session recording test: write partial bytes through the staging
  descriptor and read the saved file through one opened handle (#3952).

Behavior and assertions are unchanged; each focused suite passes.
2026-11-16 22:03:55 -05:00
MohamedAfrash 80558fe144 fix: deactivate opted-out Antigravity hooks and use workspace diagnostics
GREEN: 14 consent cases cover current/legacy upgrades, fresh decline, re-enable, retry, dry-run and symlink races; 48 installer checks and 8 MCP policy cases pass. Stop workspace regression fails under original execution and passes with payload cwd; uninstall defaults match discovery. Keep deactivation operations ephemeral and use guarded no-follow CAS writes before recording declined consent. Preserve custom user namespaces and refuse modified ECC registrations. Native test emits countable pass/skip summaries.
2026-10-13 16:55:26 +01:00
MohamedAfrash dcacfd6eab test: reproduce Antigravity opt-out and Stop workspace regressions
RED: enabled-to-declined reinstalls retain executable hooks for both targets, including legacy bridges; Stop diagnostics inspect launch cwd instead of payload workspace. Add current/legacy/re-enable/fresh consent controls and disposable workspace diagnostics.
2026-10-13 16:44:26 +01:00
MohamedAfrash 6443b39a7a test: cover Antigravity runtime profile overrides
RED: minimal installs omit the warning handler, so selecting strict at runtime cannot enable it. Existing suppression, formatting and managed-profile tests pass.
2026-10-13 14:52:53 +01:00
MohamedAfrash 5370535840 chore: integrate upstream and capture Antigravity policy regressions
Merge upstream main b92f181b, retaining updated ownership and script-boundary protections. Capture RED hook-policy and MCP-policy reproductions before fixes. Repair sibling Antigravity workflows: RED unsafe-root failure, GREEN focused regression and 73 lifecycle checks. Native plugin regression captures missing shared-script-utils target support.
2026-10-13 14:49:37 +01:00