Files
orca/config/scripts
NeilandOrca 7782d2a92b refactor(memory-safety): close ratchet holes found in adversarial review
- fanout rule now matches the wrapped form the formatter actually produces
  (Promise.all/allSettled/any across two lines); the single-line regex missed
  the majority of real fan-outs.
- baseline keys on file:rule COUNT, so an already-baselined file can no longer
  add a second unbounded read of the same kind silently.
- bounded-by: now requires a non-empty rationale inside a comment; an escape
  that costs nothing gets pattern-matched into place without thought.
- corrected two hint strings that named exports which do not exist, and added a
  test asserting every hint names a real export so they cannot drift again.
- skip .generated. files so the baseline no longer depends on local build state.
- README: document the ratchet contract and the copy-per-update anti-pattern
  that caused the original crash but no lint rule can catch.
- BoundedMap.isSameKey uses Object.is; drop two set-after-get calls that are
  redundant now that get() marks MRU.

Co-authored-by: Orca <help@stably.ai>
2026-07-25 05:11:46 -07:00
..
2026-05-15 05:44:25 -04:00