Fix 3 ParameterListSignalsMissingObject hits in os-context scripts #1455
Labels
No labels
P0
P1
P2
P3
bug
category/code-change
category/cross-repo
category/eval-run
category/investigation
category/no-test-target
category/owner-ruling
category/prose-artifact
category/recurring-chore
category/structure
category/umbrella
crc-refactor
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
rule-proposal
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#1455
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The gate cop
Sdlc/Structural/ParameterListSignalsMissingObjectreports 3 offenses inplugins/os-contextscripts on main. These offenses existed before the #1448 widening. The #1363 note said the baseline was 0 hits, so the earlier sweep did not inspect these extensionless scripts. Jared's rule for this cop is zero hits with no Exclude list.Observed
Main
5b80a126, 2026-10-28. The same command from a linked worktree reported only the first two.Reproduce
Approach
For each hit, find the values that travel together, and pass a built value object (
Data.define) instead of its parts. No Exclude list and norubocop:disable.Required work: none beyond the acceptance criteria.
Acceptance criteria
plugins/os-context.Origin
plugins/while working #1448VERDICT: CREATE
Resolution
Done: Fixed the 3 ParameterListSignalsMissingObject hits with built collaborators, output byte-identical: audit-stats AuditRun(state_dir:, transcripts:, today:) takes a TranscriptSet the CLI builds, ledger reads TranscriptSet#since (
a851506a); self-test case! takes a file-local SelfTestCase Data.define that owns the pass rule and expectation label, 34 call sites (e8761266); gen-logs fmt_line/routine lines/incident lambdas take a LogTick Data.define(:date, :index) that owns timestamp (8c43517e). Merged67762412.Evidence: Main
9a03c5a4pushed. Ticket Reproduce command: 2755 files inspected, no offenses detected. os-context tests: hook_test OK; self-test 34/34 exit 0. Byte-diff against pre-edit baselines identical for gen-logs (8 logs + stdout), self-test stdout, audit-stats --dry-run, full run (stdout + state dir), no-since exit 1. Per-cop rubocop counts on the 3 files did not rise vs5b80a126. Worktree gen-logs gap: the #1448 probe piped output through cut -c1-110 | grep ': C:'; the worktree path makes the gen-logs prefix 114 chars, so the line was dropped. Not a runner defect.Follow-ups: fast-gate rubocop step reports 0 changed files for extensionless Ruby scripts (seen on all 3 findings); fast-gate sweep count still 2 for this cop outside os-context