Skip to content

test: scan the Omarchy plugin surface as raw text - #6

Merged
VirtualMachinist merged 1 commit into
mainfrom
feat/omarchy-status
Sep 24, 2026
Merged

VirtualMachinist merged 1 commit into
mainfrom
feat/omarchy-status

Conversation

@VirtualMachinist

Copy link
Copy Markdown
Owner

Summary

  • tests/no_agent_token_surface.sh scans Model.js, BarWidget.qml, manifest.json, and README.md as raw text. It no longer strips // comments.
  • The clean tree exits 0. A non-comment agent serve exits 1. A // comment that contains GEODE_TOKEN exits 1.
  • QA: foundry/geode/evidence/omarchy/g2c-qa.md — GEODE OMARCHY G2c QA 6262a97 PASS. Push CI on this sha already succeeded.

Test plan

  • Clean exit 0, comment GEODE_TOKEN exit 1, code agent serve exit 1
  • Push ci run 35942640236 success
  • Pull request tests check green before merge

Verification rejected the previous revision: it stripped `//` comments before
matching, so a comment containing GEODE_TOKEN would still exit 0.

- Drop the comment stripper. Model.js, BarWidget.qml, manifest.json and
  README.md are now scanned as raw text, so a red-line string fails wherever it
  appears -- source, JSON, prose, or comment.
- The clean tree stays green because the comment cleanup (PR #5) removed those
  substrings from Model.js's comments; a comment that reintroduces
  `GEODE_TOKEN` fails the tree again.
- Unchanged: case-insensitive fixed-string match on agent serve / GTOK /
  GEODE_TOKEN / tui --token / agent token; a missing guarded file exits 1 so a
  rename cannot leave the guard vacuously green; cwd-independent; no geode
  subprocess, no socket, no Omarchy.
@VirtualMachinist
VirtualMachinist merged commit a683178 into main Sep 24, 2026
2 checks passed
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