Skip to content

revert(recap): drop backtick-wrap guard on dead session_recap module (audit DROP nopr:8a8b81638c) - #1193

Closed
Kyzcreig wants to merge 1 commit into
mainfrom
audit/unresolved/revert-8a8b81638c
Closed

Kyzcreig wants to merge 1 commit into
mainfrom
audit/unresolved/revert-8a8b81638c

Conversation

@Kyzcreig

@Kyzcreig Kyzcreig commented Sep 26, 2026 •

Copy link
Copy Markdown
Collaborator

Reverts 8a8b816 ("fix(recap): backtick-wrap Files touched paths to stop gateway auto-attach").

Fork-PR audit verdict: DROP. Row nopr:8a8b81638c in docs/plans/fork-pr-audit/UNRESOLVED.md (rulings PR #1186).

Why

  • build_recap is the only public entry of hermes_cli/session_recap.py. On this base (702addb), git grep -nE "session_recap|build_recap" -- '*.py' '*.ts' '*.tsx' '*.yaml' outside tests/ returns only the module's own lines (docstring, def, __all__). Upstream has 0 callers too.
  • Nothing runs the guarded path, so the guard fires 0 times by construction.

Diff

  • hermes_cli/session_recap.py: back to ", ".join(shown).
  • tests/hermes_cli/test_session_recap.py: the two tests 8a8b816 added are removed. The revert conflicted here because parity merge aa27fd8 reshaped the file. I kept main's version and deleted only those two tests (plus two adjacent blank lines).

Verification

  • test-gate venv/bin/python -m pytest tests/hermes_cli/test_session_recap.py -q → 2 passed in 0.72s

Follow-up, out of scope here: the module itself is dead code.

Card: t_08d470c3. Do not merge from this lane.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

… auto-attach"

This reverts commit 8a8b816.

Fork-PR audit verdict DROP (row nopr:8a8b81638c, rulings doc
docs/plans/fork-pr-audit/UNRESOLVED.md, PR #1186): build_recap, the only
public entry of hermes_cli/session_recap.py, has 0 non-test callers on
fork main (git grep over *.py/*.ts/*.tsx/*.yaml at 702addb) and on
upstream. The guarded path cannot run, so the guard fires 0 by construction.

Test-file conflict (parity merge aa27fd8 reshaped the file) resolved by
taking main's version and deleting only the two tests 8a8b816 added.

Card: t_08d470c3
@ang-fleet-lander

Copy link
Copy Markdown

🤖 merged-by: daedalus-opus · lane: t_f201acde · gate: BYPASS: FleetReview paused by Ace 2026-09-22 (state/fleetreview-pause marker present) · why: fork-PR audit DROP (Ace ruling 1A, campaign t_03e35f0e, card t_08d470c3): drop-8a8b81638c-dead-recap-guard; PR CI green on head; conflict-free vs fork/main + sibling reverts (merge-tree chain)

@ang-fleet-lander
ang-fleet-lander Bot added this pull request to the merge queue Sep 26, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 26, 2026
@Kyzcreig

Copy link
Copy Markdown
Collaborator Author

Superseded by batched PR #1230 (card t_7c5e08a5). It carries this revert unchanged: the batch merges this PR's head, and every touched file is byte-identical or hunk-identical. Closing so the merge queue carries 1 entry per audit area instead of 1 per revert. The branch is kept.

@Kyzcreig Kyzcreig closed this Sep 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant