Skip to content

feat: restore snare respond (lost when main moved) - #34

Merged
AviOfLagos merged 3 commits into
mainfrom
fix/restore-respond
Aug 29, 2026
Merged

feat: restore snare respond (lost when main moved)#34
AviOfLagos merged 3 commits into
mainfrom
fix/restore-respond

Conversation

@AviOfLagos

Copy link
Copy Markdown
Owner

snare respond merged as #33, then main was moved back to 56df09b before the multi-page site branch was merged on top. 9fbe2cd's parents are 56df09b + 6b2af83 — neither is 8641f7e — so the commit is no longer an ancestor of main and lib/respond.sh vanished from the tree.

This restores 8641f7e unchanged. Touches only bin/snare and lib/respond.sh — nothing under docs/, so the new multi-page site is untouched.

Verified against current main: shellcheck 0 warnings, selftest 10/10, non-interactive guard still refuses with exit 2, help-completeness check passes with respond included.

Apple and others added 3 commits August 29, 2026 13:45
The site was one 67KB scroll with an eight-item nav and no mobile
navigation at all. It is now nine pages built from fragments in
docs/src/ by docs/build.sh, sharing one stylesheet and one script.

Nav is six items instead of eight, plus a version pill that links to
the changelog. Old anchors are forwarded — /#infected, /#install,
/#detect, /#commands and /#security are already published in the
dev.to write-up, the X thread and the notices filed on nine
repositories, so they redirect to their new pages rather than
dropping people at the top of the home page.

Three layout bugs, two of which predate this change:

- No mobile navigation. Under 720px every link was display:none, so
  a phone had the logo and a button. There is now a real drawer;
  Escape closes it and focus returns to the toggle.
- Content touched the screen edge. .hero used the padding shorthand,
  which reset the horizontal padding it inherits from .wrap to zero.
  Block-only padding now, with a 16px floor on the gutter.
- ol.chain descriptions collapsed into the 32px counter column. The
  <span> had no grid-column, so it auto-placed onto the next row in
  column one. This hit the mechanism steps and the bug-report list.

New pages: docs.html gathers the documentation and closes two gaps —
authentication and extending detection were in the README but
nowhere on the site. changelog.html is built from CHANGELOG.md with
false-clean defects listed first. community.html carries the
discussion links and a giscus thread backed by GitHub Discussions.

giscus is the only third-party code here and it loads on
community.html alone, never on a page carrying a command someone
might paste into a shell. It needs the giscus app installed on the
repository; until then the page shows a link to Discussions instead.

Also adds sitemap.xml and robots.txt, per-page titles, descriptions
and canonical URLs, a sticky section bar on the reference pages, and
a theme toggle. set-links.sh now edits docs/src/index.html.
snare respond was merged as #33, then main was moved back to 56df09b before
the multi-page site branch was merged on top, so the commit is no longer an
ancestor of main and lib/respond.sh disappeared from the tree.

This restores 8641f7e unchanged. It touches only bin/snare and lib/respond.sh
and does not go near docs/, so the new multi-page site is untouched.

Verified against the current main: shellcheck clean, selftest 10/10, the
non-interactive guard still refuses, and the help-completeness check passes
with respond included.
@AviOfLagos
AviOfLagos merged commit e6712f0 into main Aug 29, 2026
2 checks passed
@AviOfLagos
AviOfLagos deleted the fix/restore-respond branch August 29, 2026 12:52
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.

2 participants