gstack's /cso verifies its security repairs again and finishes before the deadline

1 month ago

gstack 1.91.123.0 to 1.91.124.0: the /cso security audit can verify its own repairs again, after fixes to patching read-only snapshot files and to the runtime ID that verify accepts, and every helper reply now carries the seconds left so runs finish before the deadline.

Ask about this presentation

Chapters

Show transcript
  1. gstack's /cso audit can test its own security repairs again. Patching a read-only snapshot file kept failing, so every repair check stalled. Now the helper makes the file writable, then restores its mode.

    Slide text
    gstack logo

    /cso can test its own security repairs again

    verify writes a patch into a read-only snapshot file failed with EACCES
    The file is made writable for the write the patch lands
    Its original mode comes back afterwards snapshot unchanged
    Repairs Runtime ID Clock Deadline Your setup
    garrytan/gstack · CHANGELOG.md 1.91.123.0
  2. A second bug stacked on top: the planning step handed out a stack name that verify refused. Now it returns the exact runtime ID. Any other profile gets an error naming the right one, before the attempt counts.

    Slide text

    runtime-plan now hands verify the runtime ID it accepts

    runtime-plan returned the stack alias verify refused it
    It returns the qualified ID, such as node-24.4.0-amd64 verify runs
    Any other profile gets an error naming the expected ID no attempt counted
    Repairs Runtime ID Clock Deadline Your setup
    garrytan/gstack · CHANGELOG.md 1.91.123.0
  3. Long /cso runs now finish on time. One run worked 25 minutes past its findings and was killed before its report was done. Now every helper reply carries the seconds left. The count ends a minute early, so finishing always has room.

    Slide text

    Every /cso helper reply now says how much time is left

    remainingSeconds comes back from start, submit, scan, verify, inspect and six more commands
    The count ends where scan, verify and record-review start refusing with DEADLINE
    The final minute stays free for submit and finish
    Repairs Runtime ID Clock Deadline Your setup
    garrytan/gstack · CHANGELOG.md 1.91.124.0
  4. The skill now follows that clock. It starts only work that fits. Under two minutes, it stops waiting and finishes the report. If your own agent drives the helper, it gets the same count in every reply.

    Slide text

    Under two minutes left, /cso stops and finishes

    The skill starts only work that fits in the time left
    Below 120 seconds it stops waiting and calls finish
    Your own agent driving gstack-cso gets the same count, and inspect refreshes it with no side effects
    Repairs Runtime ID Clock Deadline Your setup
    garrytan/gstack · CHANGELOG.md 1.91.124.0
  5. Both releases are in gstack's changelog. So, have you run a comprehensive /cso audit on your own repo yet?

    Slide text

    Have you run a comprehensive /cso audit on your own repo yet?

    CHANGELOG.md 1.91.123.0 and 1.91.124.0, with their “If you…” notes
    Repairs Runtime ID Clock Deadline Your setup
    garrytan/gstack · CHANGELOG.md 1.91.123.0 · 1.91.124.0

What happened in AI today, in your inbox

One short email each evening. Read it and you’re caught up.

Built with ❤️ in New York