os-sdlc: parse_options shallow-dups frozen defaults — shared mutable --tests array #119

Closed
opened 2026-07-23 22:44:56 +00:00 by jared · 2 comments
Owner

In plugins/os-sdlc/bin/os-sdlc, parse_options does options = defaults.dup on frozen constant hashes (e.g. AC_LINT_DEFAULTS). The dup is shallow, so the :tests default [] is one shared mutable Array across all calls in a process. Currently inert (CLI exits after one command) but a landmine if any command runs twice in-process. Fix: deep-dup or build defaults per call. Found during 2026-07-23 lint refactor review.

In plugins/os-sdlc/bin/os-sdlc, parse_options does options = defaults.dup on frozen constant hashes (e.g. AC_LINT_DEFAULTS). The dup is shallow, so the :tests default [] is one shared mutable Array across all calls in a process. Currently inert (CLI exits after one command) but a landmine if any command runs twice in-process. Fix: deep-dup or build defaults per call. Found during 2026-07-23 lint refactor review.
Author
Owner

Frozen in the 2026-08-16 backlog reset — see #419 for the expiry procedure. Do not work unless a live run rediscovers this issue.

Frozen in the 2026-08-16 backlog reset — see #419 for the expiry procedure. Do not work unless a live run rediscovers this issue.
Author
Owner

Resolution

Done: Sweep 2026-10-10 (ruled 2026-10-12): problem absent or no longer applies. The bin entry point is a Thor wrapper with no parse_options method and no defaults hash, so the ticket's named function is absent.

Evidence: docs/takedown/119-20261010-103705 : The bin entry point is a Thor wrapper with no parse_options method and no defaults hash, so the ticket's named function is absent.

Follow-ups: none

## Resolution **Done:** Sweep 2026-10-10 (ruled 2026-10-12): problem absent or no longer applies. The bin entry point is a Thor wrapper with no parse_options method and no defaults hash, so the ticket's named function is absent. **Evidence:** docs/takedown/119-20261010-103705 : The bin entry point is a Thor wrapper with no parse_options method and no defaults hash, so the ticket's named function is absent. **Follow-ups:** none
jared closed this issue 2026-10-12 13:40:07 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jared/cc-os#119
No description provided.