Skip to content

fix: post-0.2.0 tester feedback — tool discipline, subagent UX, upgrade#1

Merged
s0ld13rr merged 2 commits into
mainfrom
fix/post-020-feedback
Jul 13, 2026
Merged

fix: post-0.2.0 tester feedback — tool discipline, subagent UX, upgrade#1
s0ld13rr merged 2 commits into
mainfrom
fix/post-020-feedback

Conversation

@s0ld13rr

@s0ld13rr s0ld13rr commented Jul 13, 2026

Copy link
Copy Markdown
Owner

Batch fix from live 0.2.0 tester feedback. Bumps version → 0.2.1.

Prompts — tool discipline

  • webapp: Authenticated Testing block (auth is carried by ffuf/gobuster/nuclei/sqlmap via -H/-b/--cookie, not hand-run curl); Injection → sqlmap block with a single recon-curl exception for Next.js RSC/Server Actions, then sqlmap -r + sqlmap_parse; Long-running Fuzz block (-maxtime, background, separate parse, drop -s, lower -t on throttle); narrowed the line-118 loophole (single curl only to PoC a confirmed finding, not to detect).
  • pentest.txt: mirror the auth/injection/maxtime discipline next to NO CURL LOOPS.
  • Skills are now MANDATORY just-in-time (one at a time) across webapp + scanner/enumerator/exploiter/infrastructure/identity/post-exploit; the coordinator delegates skill-loading to subagents.
  • web-server skill: mirror the rules + add -maxtime to the ffuf example.

Coordinator delegation — prompt only

  • pentest.txt + orchestrator-mode.txt: narrowed the do-it-yourself whitelist to one command; added "dispatch, then wait — don't grab the work back".

Subagent management (TUI + registry)

  • Bar shows only active (running) subagents; finished ones drop out (still reachable via the session list).
  • Nav (←/→) cycles active subagents only (presence of a session_status entry); this also makes subagents beyond MAX_ROWS reachable.
  • Job registry (core/background-job.ts): prune finished jobs to a 30-entry tail so <live-subagents> and state_query subagents stop growing unbounded; running jobs are never pruned.

Upgrade

  • upgradeCurl: fetch install.sh from raw main (the release asset was dropped in eb77230) and pass PENTESTCODE_VERSIONpentestcode upgrade works again.
  • app.tsx: drop a stray console.log in the update-available handler (it garbled the TUI render).

Branding

  • sidebar footer plugin: OpenPentest (it overrode the already-rebranded default).

Verified

  • bun turbo typecheck 19/19.
  • Installer URL → HTTP 200, reads PENTESTCODE_VERSION.

Rollout

⚠️ The 0.2.0 → 0.2.1 hop must be done manually once (curl … install.sh | bash), because 0.2.0's upgradeCurl is still broken; after that pentestcode upgrade self-heals. Bundled skills re-seed automatically on the first launch of the new binary (embedded bundle version changes); prompts ship inside the binary.

s0ld13rr added 2 commits July 14, 2026 00:14
Prompts (tool discipline):
- webapp: Authenticated Testing block (auth goes via ffuf/gobuster/nuclei/
  sqlmap -H/-b/--cookie, not hand-run curl); Injection→sqlmap block with a
  single-recon-curl exception for Next.js RSC/Server Actions, then
  sqlmap -r + sqlmap_parse; Long-running Fuzz block (-maxtime, background,
  separate parse, drop -s, lower -t on throttle); narrow the line-118 loophole
  so "PoC bytes" can't justify manual payload sweeps.
- pentest.txt: mirror the auth/injection/maxtime discipline next to NO CURL LOOPS.
- Skills now MANDATORY just-in-time (one at a time) across webapp + scanner,
  enumerator, exploiter, infrastructure, identity, post-exploit; coordinator
  delegates skill-loading to subagents.
- web-server skill: mirror auth/injection/maxtime; add -maxtime to ffuf example.

Coordinator delegation (prompt-only):
- pentest.txt + orchestrator-mode.txt: narrow the do-it-yourself whitelist to
  one command, add "dispatch then wait — don't grab the work back".

Subagent management (TUI + registry):
- subagent-bar: show only running subagents; finished drop out (reachable via
  session list).
- session nav (←/→): cycle active subagents only (present session_status entry);
  makes overflow beyond the bar reachable too.
- background-job: prune finished jobs to a 30-entry tail so <live-subagents> and
  state_query subagents stop growing unbounded; running never pruned.

Upgrade:
- upgradeCurl: fetch install.sh from raw main (release asset was dropped in
  eb77230) and pass PENTESTCODE_VERSION so `pentestcode upgrade` works again.
- app.tsx: drop stray console.log in the update-available handler (garbled TUI).

Branding:
- sidebar footer plugin: "Open"→"Pentest" (it overrode the rebranded default).
@s0ld13rr
s0ld13rr merged commit 6b44ae0 into main Jul 13, 2026
0 of 4 checks passed
@s0ld13rr
s0ld13rr deleted the fix/post-020-feedback branch July 13, 2026 19:25
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