Repository navigation
chore(comments): remove comments at the necessary posture in harness-ops, instruction-placement and knowledge - #18979
Conversation
…ops, instruction-placement and knowledge Comment-only deletions in 25 files; no behavior change (batch F015). Reasons moved from deleted comments: the pull request body lists all 50 inline, grouped by plugin. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed Security review: PR #18979, incremental (83f662d → 62d95c6)I found no security issues. This review covered only what changed since the last one, and it posted blocking findings only, because this lane already reviewed an earlier head. What changed: one file, What I checked:
critical-findings: 0 |
|
claude-review reviewed Code review: PR #18979, incremental (83f662d → 62d95c6)No findings. This review was blocking only, because this lane already reviewed an earlier head. What changed: one file,
Other checks:
Verifier dropped 0 of 0 candidates. |
The vendor-version-bump gate requires a patch fragment when vendor/ source changes (ADR 0048; plugins/knowledge/vendor/README.md). Co-Authored-By: Claude Opus 5.5 <[email protected]>
The vendor-version-bump gate requires a patch fragment when vendor/ source changes (ADR 0048; plugins/knowledge/vendor/README.md). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Refs: #18772
Summary
Batch F015. Removes 368 comment lines from 25 files under
plugins/harness-ops,plugins/instruction-placementandplugins/knowledgeat thenecessaryposture (ADR 0110). Antigravity made the edits in two write jobs (568 lines deleted); one Opus keep review restored 157 of them run by run (outside-tool and byte-format behavior, numbered dividers kept all-or-nothing, runs a kept comment points at, a measured vision-token and stream-duration note). No code line changed: the diff adds only three changelog fragments.Fix
Comment-only deletions in the 25 files; every
.js,.mjsand.pyfile reads COMMENT-ONLY or DOCSTRING-ONLY fromchange-shape.sh. Three bash fileschange-shape.shcannot parse (UNPROVABLE 21:sync-run.sh,detect.sh,plan-migration.sh) are proved by identicalshfmt -ln bash -mnoutput for base and new.docs/audits/docs-cache-web-reads.md:91citesfetch-deck-attachments.js:256; that file's deleted run was restored, so the line did not move. One changelog fragment per plugin (bump: none).Verification
shellcheck,test-scope:, portability markers, pragmas,@import): none deleted.scripts/check-shell-portability.sh,scripts/check-cross-plugin-source-drift.sh --check,scripts/check-changelog-fragments.sh --check-required origin/mainandtypos: clean.session-compare.test.sh(38 cases),fleet-state.test.sh(97),detect.test.sh(61),test_verify_batch_page.py(43 passed) pass with no failure;sync-run.test.sh, run directly with bash, exits 0.Reasons moved from deleted comments
plugins/harness-ops/skills/observability/scripts/session-compare.test.sh:2: cases that need the real duckdb query gate oncommand -v duckdb, and CC_OTEL_STORE points at a temp dir so the real store is never read.plugins/harness-ops/skills/observability/scripts/session-compare.test.sh:37: the api_request fixture includes event.sequence with intValue because cc_logs_from binds intValue on event.sequence.plugins/harness-ops/skills/plugins/scripts/cache-content-check.sh:313: argument parsing runs before any file read and usage() uses builtins only so --help and usage errors work without jq or git and cost no process.plugins/harness-ops/skills/plugins/scripts/cache-content-check.sh:436: shape validation rides the same jq pass that reads installed_plugins.json so malformed state files fail loud instead of producing an empty list, while preserving to_entries order via shell suffix filtering.plugins/harness-ops/skills/plugins/scripts/cache-content-check.sh:480: walk_cache_roots is the one definition both flushes of the chunked walk use, so they never disagree on what the cache side contains.plugins/harness-ops/skills/plugins/scripts/cache-content-check.sh:509: source_by_sha_name caches plain-string source paths keyed by<sha><US><name>(object sources are omitted so lookups yield no-source, the first entry wins on duplicate names, lines without US become an empty source).plugins/harness-ops/skills/plugins/scripts/fleet-state.sh:1051: emit_marketplace writes its result into global FS_BLOCK instead of stdout so callers avoid a subshell fork.plugins/harness-ops/skills/plugins/scripts/fleet-state.test.sh:1983: run_traced pins CLAUDE_PROJECT_DIR to a fixture dir so the traced process count does not depend on whether the suite runs inside a git repo.plugins/harness-ops/skills/plugins/scripts/sync-run.sh:246: the default CLAUDE_PLUGIN_ROOT derives from SCRIPT_DIR/../../.. so headless runs without CLAUDE_PLUGIN_ROOT still resolve the default marketplace.plugins/harness-ops/skills/plugins/scripts/sync-run.sh:2279: stale[].files_differ sums differing + missing_from_cache + extra_in_cache because a file only in the tree or only in the cache disagrees as much as a changed one; unreleased_changes marks a clone holding changelog fragments; stale_ids stays for id-only readers; project and local records are not compared.plugins/harness-ops/skills/plugins/scripts/sync-run.test.sh:3249: ctime-margin case: the chmod moves only installed_plugins.json's ctime just before the pre read; an empty SYNC_FLEET_STATE_STORE_MARGIN_S falls back to the 2 s default, and the 3 s refresh pause leaves only the ctime under 2 s old.plugins/instruction-placement/scripts/detect.sh:183: is_excluded is the executable form of context/corpus.md (the prose owner); exclusions run before anything else, so nothing excluded reaches the fact stream.plugins/instruction-placement/scripts/detect.sh:439: emit_identity builds heading paths by taking the nearest preceding section with strictly lower level at each step so skipped heading levels (e.g. H3 under H1) leave no gap.plugins/instruction-placement/scripts/detect.test.sh:210: the two identity golden vectors match harness-config audit-pass finding-identity.sh finding-id output for a single site.plugins/instruction-placement/skills/migrate/scripts/plan-migration.sh:450: PATHDET matches existence/stat idioms within 60 chars of CLAUDE.md (measured 54 rows vs 519 for all mentions), excludes cutover-pathdet-ack.txt, markdown, and comment lines, with MENTION as backstop.plugins/instruction-placement/skills/migrate/scripts/plan-migration.sh:584: the ACTION scan matchesuses:lines only, because a comment that mentions claude-code-action is not a pin CI installs.plugins/knowledge/skills/video-digest/extraction/acquisition/preflight-metadata.js:57: live_status is placed at field 8 after the emptiness probes so their field indices stay fixed.plugins/knowledge/skills/video-digest/extraction/adapters/adapter-contract.js:4: the source-adapter contract is private to the plugin (not a public extension point) and adapters register statically in registry.js.plugins/knowledge/skills/video-digest/extraction/transcript/asr-transcribe.js:1: faster-whisper large-v3 (batch_size=8) is a documented optional prerequisite detected at runtime and never auto-installed; an absent toolchain degrades explicitly via transcriptDegradation.plugins/knowledge/skills/video-digest/extraction/transcript/proper-noun-repair.js:45: stripEdgePunctuation keeps internal -_.@#&+ characters because they are part of handles, slugs, and version names.plugins/knowledge/skills/video-digest/extraction/transcript/proper-noun-repair.js:177: the length-scaled fuzzyThreshold requires an exact match (0 edits) for keys shorter than 5 characters because fuzzy repair on short words produces false positives.plugins/knowledge/skills/video-digest/extraction/transcript/write-transcript.js:25: countParagraphs is shared by the caption and ASR routes so paragraph counting cannot drift from formatTranscript's \n\n join.plugins/knowledge/skills/video-digest/extraction/transcript/write-transcript.js:66: EDGE_PUNCTUATION trims sentence punctuation by scan rather than regex so a long punctuation run costs linear time, and keeps hyphens and dashes so C-- and C never compare equal.plugins/knowledge/skills/video-digest/extraction/transcript/write-transcript.js:73: punctuation-only tokens such as >> are excluded from words() so they never count toward a boundary-repeat run's length.plugins/knowledge/skills/video-digest/extraction/transcript/write-transcript.js:398: the repair lexicon is applied post-hoc to captions+repair and ASR cues and never fed to ASR as an initial prompt because the probe in reference/sources/x.md showed no gain and worse hallucination.plugins/knowledge/tests/test_verify_batch_page.py:3: the suite runs the standing gates and pin-manifest.py for real over temporary slices; each fixture digest quotes its source.md and each verdict states hashes hashlib computes from the fixture bytes.plugins/knowledge/vendor/repo-analysis/clone.js:202: an isolated home that rmSync cannot remove is swallowed so it cannot stop the parent's exit.plugins/knowledge/vendor/repo-analysis/clone.test.js:41: allowFile lets file:// back in so a hardened clone can reach a local fixture repo.plugins/knowledge/vendor/video-digestion/frames/contact-sheet.js:1: the default contact-sheet layout is a 4x4 tile grid on a 1280x720 canvas (per RESEARCH lane 3).plugins/knowledge/vendor/video-digestion/frames/dedup.js:1: the default perceptual-hash deduplication threshold is <=8 bits Hamming distance (per RESEARCH lane 2 / design-threads D9).plugins/knowledge/vendor/video-digestion/frames/dedup.js:17: imghash is loaded on first use so callers injecting hashImage never need it installed.Not changed
plugins/knowledge/tests/docpage-digest-batch.test.mjs: reverted. Its suite wrapperdocpage-digest-batch.test.shreadsplugins/knowledge/skills/docpage-digest/SKILL.md, which the selector does not map to it; the gap is already on main and widening# test-scope:is out of scope here.Related
🤖 Generated with Claude Code