oliver-zehentleitner / maity

runner: verify agy's matching of exact grants against a real binary, refuse what it cannot hold

Sign in to report

tsk-vgce05kdmk2x Done An agent

Follow-up to #1828 (tsk-k5z0t8gdr835). The exact-grant rules for agy placements were reviewed against agy's documented matching; four matcher behaviours are still unverified against a real agy binary:

  1. a command line with leading variable assignments;
  2. a path-qualified program name, and the common command wrappers;
  3. output redirection;
  4. the whole-line fallback agy uses after a parse error or unusual whitespace.

Work

  • Check each case against an agy binary from the official install (the runner's or the laptop's agy; record the version) or in a signed-in agy session, with a short probe script.
  • Where a case widens a grant, make the runner refuse that grant for agy (refuse rather than approximate), with a test and a maity runner check warning.
  • Correct docs/runners.md to say exactly what an exact grant allows under agy.

Target: cli 0.1.0a13. Details of the review are with the lead.