Talk to one agent. Ship with a crew.
This report summarizes scanner evidence for kunchenguid/firstmate, a Shell project with 8,462 GitHub stars. SynthScan examined 461,594 lines of code across 773 source files, recording 3310 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 13.3 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 3195 finding(s).
Are imports declared and package/API names verified? 3 finding(s).
Are wrappers, guards, and repeated structures necessary? 202 finding(s).
Which changes need focused human review? 3310 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 3310 distinct pattern matches across 14 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | bin/fm-gate-refuse-lib.sh | 161 | # session, a permitted lab home, or when firstmate's own test harness sets | COMMENT |
| MEDIUM | bin/fm-worker-account-lib.sh | 67 | # fm_worker_account_file <harness> | COMMENT |
| MEDIUM | bin/fm-worker-account-lib.sh | 77 | # fm_worker_account_read <harness> <file> | COMMENT |
| MEDIUM | bin/fm-worker-account-lib.sh | 106 | # fm_worker_account_config <harness> <config-dir> [<secondmate-id>] | COMMENT |
| MEDIUM | bin/fm-worker-account-lib.sh | 127 | # fm_worker_account_resolve <harness> <config-dir> <setting> | COMMENT |
| MEDIUM | bin/fm-worker-account-lib.sh | 190 | # fm_worker_account_check <harness> <declared> <root> <executable> [<provider>] [<setting>] | COMMENT |
| MEDIUM | bin/fm-worker-account-lib.sh | 242 | # fm_worker_account_select <harness> <config-dir> <model> <executable> [<raw-command>] [<secondmate-id>] | COMMENT |
| MEDIUM | bin/fm-afk-start.sh | 2 | # Enter away mode and run the sub-supervisor daemon in a harness-tracked | COMMENT |
| MEDIUM | bin/fm-afk-start.sh | 21 | # background process differs by harness/backend and is owned elsewhere: | COMMENT |
| MEDIUM | bin/fm-supervision-engine-lib.sh | 20 | # bash fm-supervision-engine-lib.sh enabled <config-dir> <primary-harness> | COMMENT |
| MEDIUM | bin/fm-supervision-engine-lib.sh | 27 | # the primary-harness pin, and the report-turn id). The runner returns the | COMMENT |
| MEDIUM⚡ | bin/fm-supervision-engine-lib.sh | 45 | # the real argument construction. FM_TEST_HARNESS pins the primary harness | COMMENT |
| MEDIUM⚡ | bin/fm-supervision-engine-lib.sh | 47 | # known harness token; otherwise detection remains real (tests/lib.sh arms | COMMENT |
| MEDIUM⚡ | bin/fm-supervision-engine-lib.sh | 52 | # fm_supervision_host_primary: print the primary harness the home gate judges | COMMENT |
| MEDIUM⚡ | bin/fm-supervision-engine-lib.sh | 53 | # (bin/fm-harness.sh, whose supervision-branch pin names the primary inside an | COMMENT |
| MEDIUM | bin/fm-supervision-engine-lib.sh | 67 | # fm_supervision_host_enabled <config-dir> [<primary-harness>]: 0 iff this home | COMMENT |
| MEDIUM | bin/fm-supervision-engine-lib.sh | 93 | # fm_supervision_host_config <config-dir> <primary-harness> | COMMENT |
| MEDIUM | bin/fm-supervision-engine-lib.sh | 144 | # fm_supervision_host_attended_ready <config-dir> <primary-harness> | COMMENT |
| MEDIUM⚡ | bin/fm-tmux-lib.sh | 280 | # Busy-queued Enter (opencode 1.18.4): the harness accepts Enter while mid-turn | COMMENT |
| MEDIUM⚡ | bin/fm-tmux-lib.sh | 289 | # harness whose mid-turn screen the classifier cannot positively identify (pi | COMMENT |
| MEDIUM⚡ | bin/fm-tmux-lib.sh | 292 | # typed, an idle-to-busy transition across our Enter is proof the harness | COMMENT |
| MEDIUM⚡ | bin/fm-tmux-lib.sh | 300 | # [busy-harness] scopes every busy read to one harness signature; the submit | COMMENT |
| MEDIUM⚡ | bin/fm-tmux-lib.sh | 302 | # `Running for` row is outside the harness-less union) and nothing otherwise. | COMMENT |
| MEDIUM | bin/fm-tmux-lib.sh | 30 | # stays harness-scoped so one harness's output cannot make another read busy. | COMMENT |
| MEDIUM | bin/fm-tmux-lib.sh | 70 | # (bin/fm-composer-lib.sh, fm_composer_classify_screen), so a new harness | COMMENT |
| MEDIUM | bin/fm-tmux-lib.sh | 141 | # The busy footer read is scoped to the matched owner's own harness | COMMENT |
| MEDIUM | bin/fm-tmux-lib.sh | 179 | # herdr, zellij, cmux, orca, and tern use for every harness including this one. | COMMENT |
| MEDIUM | bin/fm-tmux-lib.sh | 182 | # harness is untouched. | COMMENT |
| MEDIUM⚡ | bin/fm-tmux-lib.sh | 271 | fm_pane_is_busy() { # <target> [harness] | CODE |
| MEDIUM⚡ | bin/fm-tmux-lib.sh | 303 | fm_tmux_submit_enter_core() { # <target> <retries> <enter-sleep> [baseline-idle] [busy-harness] | CODE |
| MEDIUM | bin/fm-tmux-lib.sh | 347 | # fm_tmux_submit_busy_harness: the busy-footer harness for a submit on | COMMENT |
| MEDIUM | bin/fm-tmux-lib.sh | 349 | # (the harness-less union) for every other pane. | COMMENT |
| MEDIUM | bin/fm-tmux-lib.sh | 258 | fm_pane_busy_state() { # <target> [harness] -> busy|idle|unknown | CODE |
| MEDIUM | bin/fm-claude-stop-autoarm.sh | 14 | # bin/fm-session-lock-lib.sh decides it: the recorded pid is a harness | COMMENT |
| MEDIUM | bin/fm-claude-stop-autoarm.sh | 18 | # When an existing numeric owner fails the shared harness-liveness predicate, | COMMENT |
| MEDIUM | bin/fm-claude-stop-autoarm.sh | 83 | # the harness delivers the collected stderr only on exit 2, so an owned | COMMENT |
| MEDIUM | bin/fm-claude-stop-autoarm.sh | 219 | # A prior session may have died after leaving its harness identity in .lock. | COMMENT |
| MEDIUM | bin/fm-claude-stop-autoarm.sh | 282 | # (cleanup, exit 0) - the harness discards the collected stderr on exit 0, so | COMMENT |
| MEDIUM | bin/fm-claude-stop-autoarm.sh | 475 | # is the harness-owned lifecycle. The arm forks the watcher as its own tracked | COMMENT |
| MEDIUM | bin/fm-host-mirror.sh | 21 | # with the wrapper a harness puts around a turn it started itself: Claude | COMMENT |
| MEDIUM⚡ | bin/fm-host-mirror.sh | 66 | # VERIFIED WRITERS. `verified <harness>` exits 0 for a primary whose writers | COMMENT |
| MEDIUM⚡ | bin/fm-host-mirror.sh | 67 | # were proven against the real harness to record a session's dialog from its | COMMENT |
| MEDIUM⚡ | bin/fm-host-mirror.sh | 74 | # fm-host-mirror.sh hook <harness> a prompt-submit or turn-end hook payload on stdin | COMMENT |
| MEDIUM⚡ | bin/fm-host-mirror.sh | 78 | # fm-host-mirror.sh verified <harness> | COMMENT |
| MEDIUM | bin/fm-cd-pretool-check.sh | 11 | # harness payload, invokes that policy, and renders the established harness | COMMENT |
| MEDIUM⚡ | bin/fm-wake-lib.sh | 281 | # persistent every other harness (codex foreground checkpoint, opencode/grok | COMMENT |
| MEDIUM⚡ | bin/fm-wake-lib.sh | 285 | # the harness). Otherwise bin/fm-harness.sh is the single detection owner, so this | COMMENT |
| MEDIUM⚡ | bin/fm-wake-lib.sh | 286 | # stays consistent with the harness-specific repair line the guards already emit. | COMMENT |
| MEDIUM | bin/fm-wake-lib.sh | 40 | # would pull harness identity machinery into every wake-library consumer. | COMMENT |
| MEDIUM | bin/fm-wake-lib.sh | 269 | # Print the supervision model of this home's PRIMARY harness: | COMMENT |
| MEDIUM | bin/fm-wake-lib.sh | 369 | # so a session on one harness cannot vouch for a home held by the other. | COMMENT |
| MEDIUM | bin/fm-wake-lib.sh | 2126 | # harness delivers the collected stderr banner only on exit 2 and discards | COMMENT |
| MEDIUM | bin/fm-transition-lib.sh | 88 | # status today: herdr reports it precisely when a harness is | COMMENT |
| MEDIUM | bin/fm-remote-secondmate-relaunch.sh | 2 | # Relaunch a REMOTE secondmate onto a new harness, model, or effort, then | COMMENT |
| MEDIUM | bin/fm-remote-secondmate-relaunch.sh | 5 | # Usage: fm-remote-secondmate-relaunch.sh <id> <harness> <model|default|-> <effort|default|-> | COMMENT |
| MEDIUM | bin/fm-remote-secondmate-relaunch.sh | 16 | # the confirmed harness, model, and effort back out of the endpoint's own | COMMENT |
| MEDIUM | bin/fm-remote-secondmate-relaunch.sh | 82 | # refreshed harness/model/effort. A pr= line's own identity block (pr_head= | COMMENT |
| MEDIUM | bin/fm-remote-secondmate-relaunch.sh | 85 | # writing harness/model/effort after it would break PR movement monitoring on | COMMENT |
| MEDIUM | bin/fm-exclude-tools-lib.sh | 44 | # fm_exclude_tools_check <harness> <raw-launch 0|1> <config-dir>: succeed when | COMMENT |
| MEDIUM | bin/fm-polytoken-lib.sh | 7 | # The per-harness knowledge record lives in | COMMENT |
| 1201 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .no-mistakes.yaml | 1 | # Per-repo no-mistakes overrides. | COMMENT |
| LOW | .no-mistakes.yaml | 21 | For changed prose, verify audience, authoritative owner, current relevance, | COMMENT |
| LOW | bin/fm-brief-heading-lib.sh | 1 | # shellcheck shell=bash | COMMENT |
| LOW | bin/fm-secondmate-registry-lib.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | bin/fm-gate-refuse-lib.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | bin/fm-gate-refuse-lib.sh | 21 | # 1. NO_MISTAKES_GATE set - the durable env marker no-mistakes stamps into every | COMMENT |
| LOW | bin/fm-gate-refuse-lib.sh | 41 | # All paths must be canonical, with no symlinked stock directories or marker; | COMMENT |
| LOW | bin/fm-gate-refuse-lib.sh | 61 | # guard a no-op; firstmate's shared test helpers (tests/lib.sh and the backend | COMMENT |
| LOW | bin/fm-remote-file.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | bin/fm-worker-account-lib.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | bin/fm-worker-account-lib.sh | 21 | # is set, even $HOME/.claude; for Pi it is $HOME/.pi/agent. Any other value is | COMMENT |
| LOW | bin/fm-worker-account-lib.sh | 41 | # Claude: `claude auth status`, which exits 0 only when signed in. | COMMENT |
| LOW | bin/fm-credential-source-lib.sh | 1 | # shellcheck shell=bash | COMMENT |
| LOW | bin/fm-credential-source-lib.sh | 21 | # command substitution and nowhere else. It is never an argument, an | COMMENT |
| LOW | bin/fm-inactive-reconcile.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | bin/fm-inactive-reconcile.sh | 21 | # fm-crew-state.sh, which applies the same gate: a no-mistakes | COMMENT |
| LOW | bin/fm-inactive-reconcile.sh | 41 | # The scan enforces that budget itself through a whole-second deadline, and the | COMMENT |
| LOW | bin/fm-inactive-reconcile.sh | 61 | # A terminal-outcomes/<fingerprint>.pending record remains until its upstream | COMMENT |
| LOW | bin/fm-lint.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | bin/fm-lint.sh | 21 | # before merge instead of only failing to run as CI. | COMMENT |
| LOW | bin/fm-lint.sh | 41 | # invocations in the core bin/ and bin/backends/ scripts so every configured | COMMENT |
| LOW | bin/fm-lint.sh | 61 | # (FM_LINT_ROOT_GRACE, default 5), and a per-process address-space limit | COMMENT |
| LOW | bin/fm-lint.sh | 81 | # Other findings and failed retries still fail lint. The retry's diagnostics | COMMENT |
| LOW | bin/fm-lint.sh | 101 | # graph identity, wall/CPU/RSS, shard load, and competing ShellCheck processes. | COMMENT |
| LOW | bin/fm-lint.sh | 961 | # address space, not resident memory; ShellCheck's GHC runtime reserves about | COMMENT |
| LOW | bin/fm-herdr-groups.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | bin/fm-herdr-groups.sh | 21 | # fm-herdr-groups.sh clear | COMMENT |
| LOW | bin/fm-herdr-groups.sh | 41 | # copies the named file to <file>.bak-<epoch> and appends the rows, refusing | COMMENT |
| LOW | bin/fm-secondmate-reconcile.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | bin/fm-secondmate-reconcile.sh | 21 | # and live work and carries the mismatch for renderers. The books are still | COMMENT |
| LOW | bin/fm-secondmate-reconcile.sh | 41 | # stale, cannot mis-order against a concurrent snapshot, and cannot | COMMENT |
| LOW | bin/fm-secondmate-reconcile.sh | 61 | # | COMMENT |
| LOW | bin/fm-captain-hold.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | bin/fm-captain-hold.sh | 21 | # | COMMENT |
| LOW | bin/fm-captain-hold.sh | 41 | # optional --origin records provenance in the new task's body and supplies the | COMMENT |
| LOW | bin/fm-captain-hold.sh | 61 | # act. It requires a non-empty captain decision file of at most 8192 bytes and | COMMENT |
| LOW | bin/fm-captain-hold.sh | 81 | # still answerable: the surviving hold annotations, not tasks-axi's live | COMMENT |
| LOW | bin/fm-captain-hold.sh | 101 | # branch and no knowledge of chat, review decks, or any transport. | COMMENT |
| LOW | bin/fm-captain-hold.sh | 121 | # appends one dated `Captain hold reconciled:` note and leaves the hold in | COMMENT |
| LOW | bin/fm-captain-hold.sh | 141 | # so the process-event runner's feed seam is unchanged. | COMMENT |
| LOW | bin/fm-captain-hold.sh | 161 | # and no keyed status decision may be open. | COMMENT |
| LOW | bin/fm-captain-hold.sh | 181 | # retire a task's row: is this task still an open captain call? Exit 0 means it | COMMENT |
| LOW | bin/fm-captain-hold.sh | 201 | # the task's last status line - and on a 0 bounds repeated alarms from new pane | COMMENT |
| LOW | bin/fm-captain-hold.sh | 2061 | done <<EOF | COMMENT |
| LOW | bin/fm-captain-hold.sh | 2081 | # resolution was not the captain's word. | COMMENT |
| LOW | bin/fm-herdr-lab.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | bin/fm-herdr-lab.sh | 21 | # The run command rejects caller-supplied --session flags, any leading option | COMMENT |
| LOW | bin/fm-ensure-agents-md.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | bin/fm-timing-lib.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | bin/fm-timing-lib.sh | 21 | # being measured run in bin/fm-bootstrap.sh and | COMMENT |
| LOW | bin/fm-t3code-codex-env.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | bin/fm-afk-start.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | bin/fm-afk-start.sh | 21 | # background process differs by harness/backend and is owned elsewhere: | COMMENT |
| LOW | bin/fm-afk-start.sh | 41 | COMMENT | |
| LOW | bin/fm-backlog-handoff.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | bin/fm-backlog-handoff.sh | 21 | # active home, or the firstmate repo; | COMMENT |
| LOW | bin/fm-backlog-handoff.sh | 41 | # Item bodies must use at least two leading spaces. The helper refuses a selected | COMMENT |
| LOW | bin/fm-backlog-handoff.sh | 61 | # watcher escalates its unknown delivery; only confirmed delivery prevents a | COMMENT |
| LOW | bin/fm-procevent-lavish.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | bin/fm-procevent-lavish.sh | 21 | # It is read-only over the capture: it does not arm, poll, or change | COMMENT |
| 1626 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | bin/fm-composer-lib.sh | 964 | # its composer's TOP rule: `──────── <name> ─`, issues #5601 and #5558), proven | COMMENT |
| MEDIUM | bin/fm-supervise-daemon.sh | 1959 | # ============================================================================ | COMMENT |
| MEDIUM | bin/fm-supervise-daemon.sh | 1962 | # ============================================================================ | COMMENT |
| MEDIUM | bin/fm-busy-lib.sh | 416 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-polytoken-harness.test.sh | 72 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-polytoken-harness.test.sh | 142 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-polytoken-harness.test.sh | 211 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-polytoken-harness.test.sh | 342 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-polytoken-harness.test.sh | 504 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-polytoken-harness.test.sh | 619 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-polytoken-harness.test.sh | 779 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-polytoken-harness.test.sh | 1191 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/fm-secondmate-harness.test.sh | 87 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | tests/fm-secondmate-harness.test.sh | 89 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | tests/fm-secondmate-harness.test.sh | 144 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | tests/fm-secondmate-harness.test.sh | 146 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | tests/fm-secondmate-harness.test.sh | 182 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | tests/fm-secondmate-harness.test.sh | 184 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | tests/fm-secondmate-harness.test.sh | 598 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | tests/fm-secondmate-harness.test.sh | 601 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | tests/fm-secondmate-harness.test.sh | 832 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | tests/fm-secondmate-harness.test.sh | 835 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | tests/fm-secondmate-harness.test.sh | 1290 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | tests/fm-secondmate-harness.test.sh | 1294 | # =========================================================================== | COMMENT |
| MEDIUM | tests/fm-secondmate-harness.test.sh | 307 | # =========================================================================== | COMMENT |
| MEDIUM | tests/fm-secondmate-harness.test.sh | 309 | # =========================================================================== | COMMENT |
| MEDIUM | tests/fm-secondmate-harness.test.sh | 436 | # =========================================================================== | COMMENT |
| MEDIUM | tests/fm-secondmate-harness.test.sh | 438 | # =========================================================================== | COMMENT |
| MEDIUM | tests/fm-secondmate-harness.test.sh | 2091 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-secondmate-harness.test.sh | 2093 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-x-mode.test.sh | 128 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-afk-launch.test.sh | 65 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-afk-launch.test.sh | 70 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-afk-launch.test.sh | 258 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-afk-launch.test.sh | 260 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-afk-launch.test.sh | 338 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-afk-launch.test.sh | 341 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-afk-launch.test.sh | 370 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-afk-launch.test.sh | 377 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-afk-launch.test.sh | 525 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-afk-launch.test.sh | 528 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-afk-launch.test.sh | 1625 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-afk-launch.test.sh | 1627 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-afk-launch.test.sh | 1688 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-afk-launch.test.sh | 1691 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-afk-launch.test.sh | 1725 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-afk-launch.test.sh | 1728 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-crew-state.test.sh | 843 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-backend-herdr-presentation-e2e.test.sh | 987 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | tests/fm-backend-herdr-presentation-e2e.test.sh | 990 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | tests/fm-composer-lib.test.sh | 137 | # ============================================================================= | COMMENT |
| MEDIUM | tests/fm-composer-lib.test.sh | 154 | # ============================================================================= | COMMENT |
| MEDIUM | tests/fm-remote-reply.test.sh | 593 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-subagent-pretool-check.test.sh | 74 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/fm-subagent-pretool-check.test.sh | 76 | # --------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | CONTRIBUTING.md | 102 | Firstmate adds this skill's load line to firstmate-repo briefs by hand; the [coding-guidelines skill](.agents/skills/fir | CODE |
| MEDIUM | .no-mistakes.yaml | 3 | # firstmate is an agent-orchestration repo: its AGENTS.md installs a fleet-captain | COMMENT |
| MEDIUM | bin/fm-backlog-handoff.sh | 1059 | # Seed the destination with firstmate's standard three-section scaffold when it | COMMENT |
| MEDIUM | bin/fm-backlog-handoff.sh | 1073 | # cleanup is a scaffold we just created. tasks-axi writes both its success and | COMMENT |
| MEDIUM⚡ | bin/fm-brief.sh | 124 | # Every scaffold's status protocol distinguishes the configured | COMMENT |
| MEDIUM⚡ | bin/fm-brief.sh | 130 | # bin/fm-classify-lib.sh; each scaffold renders the stamp as a literal <epoch> | COMMENT |
| MEDIUM⚡ | bin/fm-brief.sh | 132 | # scaffold never emits a substitution a file-write tool would copy through. | COMMENT |
| MEDIUM⚡ | bin/fm-brief.sh | 133 | # Every scaffold also carries the steering-inbox receive-and-ack section: | COMMENT |
| MEDIUM | bin/fm-brief.sh | 38 | # after scaffolding and the caller-supplied repo string cannot reliably | COMMENT |
| MEDIUM | bin/fm-brief.sh | 103 | # scaffold refuses a publishing mode that the home's role or recorded consent | COMMENT |
| MEDIUM | bin/fm-brief.sh | 105 | # scaffold so detection does not depend on the caller recognizing the repo; | COMMENT |
| MEDIUM | bin/fm-brief.sh | 154 | # a later scout promotion could not outrank), stops the scaffold before | COMMENT |
| MEDIUM | bin/fm-brief.sh | 290 | # missing or invalid value stops the scaffold rather than silently defaulting. | COMMENT |
| MEDIUM | bin/fm-brief.sh | 416 | # unusable file never leaves a partial scaffold behind. | COMMENT |
| MEDIUM | bin/fm-brief.sh | 431 | # Append the include as the last section of a ship or scout scaffold. | COMMENT |
| MEDIUM | bin/fm-brief.sh | 464 | # scaffold kind. The record format, doorbell line, and re-ring ladder are | COMMENT |
| MEDIUM | bin/fm-brief.sh | 610 | # shellcheck disable=SC2016 # single quotes are deliberate: these lines are literal brief text whose backtick-wrapped $ | COMMENT |
| MEDIUM | bin/fm-spawn.sh | 4178 | echo "error: forge mismatch for $ID: $PROJ_NAME is registered forge=$STANDING_FORGE but $SOURCE_BRIEF records forge= | CODE |
| MEDIUM | bin/fm-spawn.sh | 4198 | echo "error: PR-text mismatch for $ID: $PROJ_NAME is registered pr=$STANDING_PR but $SOURCE_BRIEF records pr=$BRIEF_ | CODE |
| MEDIUM | bin/fm-dod-lib.sh | 315 | # Return 0 when a Task subsection still consists only of its scaffold | COMMENT |
| MEDIUM | bin/fm-public-followup.sh | 41 | # public-followup add` + `bind-work`. This is the event-driven | COMMENT |
| MEDIUM | bin/fm-task-inbox-lib.sh | 11 | # scaffold (bin/fm-brief.sh) tells the worker how to read and acknowledge; | COMMENT |
| MEDIUM | bin/backends/t3code.sh | 2 | # bin/backends/t3code.sh - the T3 Code orchestration-server adapter. | COMMENT |
| MEDIUM | bin/backends/t3code.sh | 455 | # stream, but t3_thread_wait is itself an event-driven wait on stored run | COMMENT |
| MEDIUM | tests/fm-muse-harness.test.sh | 67 | # --- spawn scaffolding ------------------------------------------------------ | COMMENT |
| MEDIUM | tests/fm-brief.test.sh | 182 | # scaffold ignores the registered posture (test_ship_mode_is_explicit_not_registry). | COMMENT |
| MEDIUM | tests/fm-brief.test.sh | 358 | # unusable value must stop the scaffold instead of silently defaulting. The | COMMENT |
| MEDIUM | tests/fm-brief.test.sh | 385 | # scaffold must follow the explicit flag even when the project is registered | COMMENT |
| MEDIUM | tests/fm-brief.test.sh | 719 | # destroying the one contract that exists precisely because the scaffold cannot | COMMENT |
| MEDIUM | tests/fm-brief.test.sh | 988 | # Fill the scaffold's generated status-append command the way a worker does | COMMENT |
| MEDIUM | tests/fm-brief.test.sh | 1167 | # Scout and secondmate paths still scaffold well-formed briefs. | COMMENT |
| MEDIUM | tests/fm-brief.test.sh | 1269 | # Without config/wait-no-turns the scaffold matches the pre-flag brief and drive text. | COMMENT |
| MEDIUM | tests/fm-brief.test.sh | 1341 | # the scaffold before anything is written when the path is unusable. | COMMENT |
| MEDIUM | tests/fm-brief.test.sh | 1354 | # shellcheck disable=SC2016 # The include is literal text and must never expand at scaffold time. | COMMENT |
| MEDIUM | tests/fm-brief.test.sh | 1622 | # scaffold must prohibit the administrative act itself. The rule is emitted from | COMMENT |
| MEDIUM | tests/fm-fleet-ledger.test.sh | 178 | # Optional arguments are the scaffold's state and config overrides; the | COMMENT |
| MEDIUM | tests/fm-fleet-ledger.test.sh | 179 | # scaffold runs from the home, so a relative config override names its config/. | COMMENT |
| MEDIUM | tests/fm-backlog-handoff.test.sh | 969 | # in the standard three-section scaffold the handoff seeds for a fresh home. | COMMENT |
| MEDIUM | tests/fm-backlog-handoff.test.sh | 1198 | # sub scaffold has In flight / Queued / Done | COMMENT |
| MEDIUM | tests/fm-cortex-harness.test.sh | 65 | wide=${idle//'teams: off | plan: off | guard: on'/'teams mode: off | plan mode: off | guardrails: on'} | CODE |
| MEDIUM | tests/fm-control-relaunch.test.sh | 1626 | # its brief is the scout scaffold: it never gained a Ship branch line, and a | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bin/fm-remote-file.sh | 4 | # Usage: | COMMENT |
| LOW | bin/fm-inactive-reconcile.sh | 4 | # Usage: | COMMENT |
| LOW | bin/fm-lint.sh | 105 | # Usage: | COMMENT |
| LOW | bin/fm-herdr-groups.sh | 18 | # Usage: | COMMENT |
| LOW | bin/fm-secondmate-reconcile.sh | 5 | # Usage: | COMMENT |
| LOW | bin/fm-captain-hold.sh | 22 | # Usage: | COMMENT |
| LOW | bin/fm-herdr-lab.sh | 5 | # Usage: | COMMENT |
| LOW | bin/fm-procevent-lavish.sh | 4 | # Usage: | COMMENT |
| LOW | bin/fm-remote-home-provision.sh | 4 | # Usage: | COMMENT |
| LOW | bin/fm-procevent-remote-reply.sh | 4 | # Usage: | COMMENT |
| LOW⚡ | bin/fm-host-mirror.sh | 73 | # Usage: | COMMENT |
| LOW | bin/fm-cd-pretool-check.sh | 15 | # Usage: | COMMENT |
| LOW | bin/fm-procevent-when.sh | 7 | # Usage: | COMMENT |
| LOW | bin/fm-supervision-host.sh | 6 | # Usage: | COMMENT |
| LOW | bin/fm-startup-growth-check.sh | 4 | # Usage: | COMMENT |
| LOW | bin/fm-install-shellcheck.sh | 12 | # Usage: | COMMENT |
| LOW | bin/fm-secondmate-report.sh | 17 | # Usage: | COMMENT |
| LOW | bin/fm-test-tap-verify.sh | 28 | # Usage: | COMMENT |
| LOW | bin/fm-contributions.sh | 4 | # Usage: | COMMENT |
| LOW | bin/fm-lint-workflows.sh | 11 | # Usage: | COMMENT |
| LOW | bin/fm-mail-check.sh | 4 | # Usage: | COMMENT |
| LOW | bin/fm-tool-update-check.sh | 5 | # Usage: | COMMENT |
| LOW | bin/fm-remote-inherit.sh | 4 | # Usage: | COMMENT |
| LOW | bin/fm-backlog-receive.sh | 4 | # Usage: | COMMENT |
| LOW⚡ | bin/fm-remote-secondmate-control.sh | 4 | # Usage: | COMMENT |
| LOW | bin/fm-record-export.sh | 4 | # Usage: | COMMENT |
| LOW | bin/fm-public-followup-emit.sh | 15 | # Usage: | COMMENT |
| LOW | bin/fm-startup-memory-budget.sh | 3 | # Usage: | COMMENT |
| LOW⚡ | bin/fm-arm-pretool-check.sh | 13 | # Usage: | COMMENT |
| LOW | bin/fm-install-treehouse.sh | 9 | # Usage: | COMMENT |
| LOW⚡ | bin/fm-quota-choose.sh | 4 | # Usage: | COMMENT |
| LOW | bin/fm-remote-herdr-guard.sh | 5 | # Usage: | COMMENT |
| LOW | bin/fm-rex-marks.sh | 55 | # Usage: | COMMENT |
| LOW | bin/fm-public-followup-collect.sh | 18 | # Usage: | COMMENT |
| LOW | bin/fm-install-actionlint.sh | 12 | # Usage: | COMMENT |
| LOW | bin/fm-role.sh | 4 | # Usage: | COMMENT |
| LOW | bin/fm-herdr-ci-cleanup.sh | 14 | # Usage: | COMMENT |
| LOW | bin/fm-pr-health.sh | 4 | # Usage: | COMMENT |
| LOW | bin/fm-remote-home-seed.sh | 4 | # Usage: | COMMENT |
| LOW | bin/fm-procevent-quota.sh | 4 | # Usage: | COMMENT |
| LOW | bin/fm-vendor-auth-probe.sh | 56 | # Usage: | COMMENT |
| LOW | bin/fm-branch-outcome.sh | 78 | # Usage: | COMMENT |
| LOW | bin/fm-afk-return.sh | 5 | # Usage: | COMMENT |
| LOW | bin/fm-git-strip-ai-trailers.sh | 5 | # Usage: | COMMENT |
| LOW | bin/fm-lab-home.sh | 10 | # Usage: | COMMENT |
| LOW | bin/fm-test-isolation-proof.sh | 15 | # Usage: | COMMENT |
| LOW | bin/fm-pr-merge.sh | 15 | # Usage: | COMMENT |
| LOW | bin/fm-on.sh | 4 | # Usage: | COMMENT |
| LOW | bin/fm-public-followup.sh | 31 | # Usage: | COMMENT |
| LOW | bin/fm-live-lab.sh | 7 | # Usage: | COMMENT |
| LOW | bin/fm-inbox.sh | 22 | # Usage: | COMMENT |
| LOW | bin/fm-usage-warner.sh | 4 | # Usage: | COMMENT |
| LOW | bin/fm-procevent.sh | 6 | # Usage: | COMMENT |
| LOW | bin/fm-install-herdr.sh | 8 | # Usage: | COMMENT |
| LOW | bin/fm-capacity.sh | 5 | # Usage: | COMMENT |
| LOW | bin/fm-branch-report.sh | 17 | # Usage: | COMMENT |
| LOW | bin/fm-bearings-board.sh | 10 | # Usage: | COMMENT |
| LOW | bin/fm-lease.sh | 11 | # Usage: | COMMENT |
| LOW | bin/fm-kimi-turnend-hook.sh | 15 | # Usage: | COMMENT |
| LOW | bin/fm-pipeline-spend.sh | 5 | # Usage: | COMMENT |
| 12 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | bin/fm-voice-client.py | 391 | except Exception: # noqa: BLE001 | CODE |
| HIGH | bin/fm-voice-client.py | 480 | except Exception: # noqa: BLE001 | CODE |
| HIGH | bin/fm-voice-client.py | 681 | except Exception: # noqa: BLE001 | CODE |
| HIGH | bin/fm-voice-client.py | 1176 | except EOFError: | CODE |
| HIGH | bin/fm-voice-relay.py | 603 | except (asyncio.TimeoutError, asyncio.CancelledError): | CODE |
| HIGH | bin/fm-mail.py | 138 | except Exception: | CODE |
| HIGH | bin/fm-mail.py | 406 | except Exception: | CODE |
| HIGH | bin/fm-mail.py | 471 | except Exception: | CODE |
| HIGH | bin/fm-herdr-lab-viewer.py | 65 | except OSError: | CODE |
| HIGH | bin/fm-herdr-lab-viewer.py | 76 | except OSError: | CODE |
| HIGH | bin/fm-herdr-lab-viewer.py | 151 | except OSError: | CODE |
| HIGH | bin/fm-herdr-lab-viewer.py | 180 | except OSError: | CODE |
| HIGH | bin/fm-herdr-lab-viewer.py | 167 | except OSError: | CODE |
| HIGH | bin/fm-herdr-lab-viewer.py | 172 | except OSError: | CODE |
| HIGH | bin/fm-record-export.py | 169 | except FileExistsError: | CODE |
| HIGH | bin/fm-record-export.py | 199 | except FileNotFoundError: | CODE |
| HIGH | bin/fm-record-export.py | 1121 | except FileNotFoundError: | CODE |
| HIGH | bin/fm-record-export.py | 1038 | except (FileNotFoundError, ExportError, OSError): | CODE |
| HIGH | bin/fm-jev-mem-guard.py | 48 | except Exception: | CODE |
| HIGH | bin/fm-jev-mem-guard.py | 83 | except Exception: | CODE |
| HIGH | tests/opencode-v2-live-fixture.py | 79 | except (BrokenPipeError, ConnectionResetError): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bin/fm-kimi-turnend-hook.sh | 201 | def validate_firstmate_files_for_remove() -> None: | STRING |
| LOW | bin/fm-bootstrap.sh | 1204 | def malformed_optional_fields($items): | CODE |
| LOW | bin/fm-record-export.py | 118 | def open_parent_for_new_directory(path: str, label: str) -> tuple[int, str]: | CODE |
| LOW | bin/fm-record-export.py | 447 | def ensure_relative_directory(root_fd: int, parts: list[str]) -> int: | CODE |
| LOW | bin/fm-record-export.py | 687 | def metadata_spawn_generation(metadata_fd: int) -> str: | CODE |
| LOW | bin/fm-record-export.py | 825 | def load_and_validate_manifest(generation_fd: int, task: str, spawn_gen: str) -> list[dict[str, object]]: | CODE |
| LOW | bin/fm-record-export.py | 844 | def validate_committed_against_sources( | CODE |
| LOW | bin/fm-record-export.py | 857 | def revalidate_archive_sources(state_fd: int, task: str, sources: list[ArchiveSource], entries: list[dict[str, object]]) | CODE |
| LOW | .opencode/plugins/fm-primary-watch-arm.js | 298 | function confirmHandlingDeliveryWithRetry(paths, recovery) { | CODE |
| LOW | .opencode/plugins/fm-primary-watch-arm.js | 366 | async function restoreAfterActionableClose(paths, sessionID, client, predecessorArmPid) { | CODE |
| LOW | .opencode/plugins/lib/fm-operational-input.js | 10 | export function encodeFirstmateOperationalInput(root, kind, content) { | CODE |
| LOW | tests/fm-pi-branch-extension.test.sh | 269 | export function getSupportedThinkingLevels(model) { | CODE |
| LOW | tests/fm-pi-branch-extension.test.sh | 998 | function directlyRequestsResourceReport(mirror) { | CODE |
| LOW | tests/fm-voice-relay.test.sh | 654 | async def resolve_while_the_loop_runs(): | CODE |
| LOW | tests/fm-voice-relay.test.sh | 1596 | def lose_connection_while_waiting(record): | CODE |
| LOW | tests/fm-voice-relay.test.sh | 4136 | async def invoke_model_with_bidirectional_stream(self, operation): | CODE |
| LOW | tests/fm-backend-herdr-eventwait.test.py | 51 | def test_deadline_is_clean_timeout(self): | CODE |
| LOW | tests/fm-backend-herdr-eventwait.test.py | 62 | def test_peer_closure_is_runtime_failure(self): | CODE |
| LOW⚡ | tests/fm-backend-herdr-eventwait.test.py | 75 | def test_receive_error_is_runtime_failure(self): | CODE |
| LOW⚡ | tests/fm-backend-herdr-eventwait.test.py | 84 | def test_main_reports_early_stream_closure(self): | CODE |
| LOW⚡ | tests/fm-backend-herdr-eventwait.test.py | 93 | def test_main_does_not_signal_readiness_before_valid_ack(self): | CODE |
| LOW | tests/fm-calm-pi-extension.test.sh | 1666 | function createInstalledToolHtmlRenderer() { | CODE |
| LOW | .claude/mods/firstmate-calm/lib/fm-calm-presentation.ts | 44 | export function calmCodeRootFromPluginRoot(pluginRoot: string): string { | CODE |
| LOW | .claude/mods/firstmate-calm/lib/fm-calm-presentation.ts | 114 | export function classifyRestoredTranscript(rows: readonly CalmSessionRow[]): { | CODE |
| LOW | .claude/mods/firstmate-calm/lib/fm-calm-presentation.ts | 150 | export function userTextOperationalRecord(text: string): string | undefined { | CODE |
| LOW | .claude/mods/firstmate-calm/lib/fm-operational-input.ts | 68 | export function firstmateOperationalInputKind(message: string): string | undefined { | CODE |
| LOW | .claude/mods/firstmate-calm/lib/fm-operational-input.ts | 78 | export function firstmateLegacyOperationalInputKind(message: string): string | undefined { | CODE |
| LOW | .claude/mods/firstmate-calm/lib/fm-operational-input.ts | 100 | export function classifyFirstmateOperationalText(message: string): string | undefined { | CODE |
| LOW | .claude/mods/firstmate-calm/lib/fm-operational-input.ts | 109 | export function firstmateOperationalDoorbellPath(message: string): string | undefined { | CODE |
| LOW | .claude/mods/firstmate-calm/lib/fm-operational-input.ts | 128 | export function firstmateOperationalRecordKind(content: string): string | undefined { | CODE |
| LOW | .claude/mods/firstmate-calm/lib/fm-branch-notes.ts | 138 | export function recordSessionShownThrough(stored: unknown, sessionId: string, seq: number): [string, number][] { | CODE |
| LOW | …mods/firstmate-calm/lib/fm-calm-working-ship-sprite.ts | 171 | export function createCalmWorkingShipSprite(): CalmWorkingShipSprite { | CODE |
| LOW | .omp/extensions/fm-primary-omp-watch.ts | 184 | function replacementCoordinatorFor(handoff: string): ReplacementCoordinator { | CODE |
| LOW | .omp/extensions/fm-primary-omp-watch.ts | 332 | function validatePendingActionable(value: unknown): PendingActionableClose { | CODE |
| LOW | .omp/extensions/fm-primary-omp-watch.ts | 351 | function validateReplacementHandoff(value: unknown): PendingActionableClose[] { | CODE |
| LOW | .omp/extensions/fm-primary-omp-watch.ts | 385 | function persistReplacementHandoff(pending: PendingActionableClose[]): void { | CODE |
| LOW | .omp/extensions/fm-primary-omp-watch.ts | 513 | async function waitForGenerationChildClose(armChild: ChildProcess | null): Promise<void> { | CODE |
| LOW | .omp/extensions/fm-primary-omp-watch.ts | 633 | function confirmHandlingDeliveryWithRetry( | CODE |
| LOW | .omp/extensions/fm-primary-omp-watch.ts | 725 | async function processPendingActionables(owner: SessionGeneration): Promise<void> { | CODE |
| LOW | .omp/extensions/fm-primary-omp-watch.ts | 882 | async function restoreAfterActionableClose(owner: SessionGeneration, predecessorArmPid: string): Promise<{ | CODE |
| LOW | .omp/extensions/fm-primary-turnend-guard.ts | 162 | function sessionstartGenerationIsLive(generation: SessionstartGeneration): boolean { | CODE |
| LOW | .omp/extensions/fm-primary-turnend-guard.ts | 185 | function sessionstartProcessGroupAlive(processGroupId: number): boolean { | CODE |
| LOW | .omp/extensions/fm-primary-turnend-guard.ts | 194 | function waitForSessionstartProcessGroupExit( | CODE |
| LOW | .omp/extensions/fm-primary-turnend-guard.ts | 222 | function stopSessionstartGeneration(generation: SessionstartGeneration): Promise<void> { | CODE |
| LOW | .omp/extensions/fm-primary-turnend-guard.ts | 390 | function createSessionstartGeneration( | CODE |
| LOW | .pi/extensions/fm-primary-read-repetition.ts | 68 | export function registerReadRepetitionGuard(pi: ExtensionAPI, options: { | CODE |
| LOW | .pi/extensions/fm-calm.ts | 117 | function installCalmPresentationAdapter(name: string, install: () => void): void { | CODE |
| LOW | .pi/extensions/fm-primary-pi-watch.ts | 190 | function replacementCoordinatorFor(handoff: string): ReplacementCoordinator { | CODE |
| LOW | .pi/extensions/fm-primary-pi-watch.ts | 421 | function validatePendingActionable(value: unknown): PendingActionableClose { | CODE |
| LOW | .pi/extensions/fm-primary-pi-watch.ts | 439 | function validateReplacementHandoff(value: unknown): PendingActionableClose[] { | CODE |
| LOW | .pi/extensions/fm-primary-pi-watch.ts | 473 | function persistReplacementHandoff(pending: PendingActionableClose[]): void { | CODE |
| LOW | .pi/extensions/fm-primary-pi-watch.ts | 594 | async function waitForGenerationChildClose(armChild: ChildProcess | null): Promise<void> { | CODE |
| LOW | .pi/extensions/fm-primary-pi-watch.ts | 741 | function confirmHandlingDeliveryWithRetry( | CODE |
| LOW | .pi/extensions/fm-primary-pi-watch.ts | 864 | async function processPendingActionables(owner: SessionGeneration): Promise<void> { | CODE |
| LOW | .pi/extensions/fm-primary-pi-watch.ts | 1020 | async function restoreAfterActionableClose(owner: SessionGeneration, predecessorArmPid: string): Promise<{ | CODE |
| LOW | .pi/extensions/fm-primary-turnend-guard.ts | 182 | function sessionstartGenerationIsLive(generation: SessionstartGeneration): boolean { | CODE |
| LOW | .pi/extensions/fm-primary-turnend-guard.ts | 205 | function sessionstartProcessGroupAlive(processGroupId: number): boolean { | CODE |
| LOW | .pi/extensions/fm-primary-turnend-guard.ts | 214 | function waitForSessionstartProcessGroupExit( | CODE |
| LOW | .pi/extensions/fm-primary-turnend-guard.ts | 242 | function stopSessionstartGeneration(generation: SessionstartGeneration): Promise<void> { | CODE |
| LOW | .pi/extensions/fm-primary-turnend-guard.ts | 415 | function createSessionstartGeneration( | CODE |
| 30 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | bin/fm-brief-heading-lib.sh | 5 | # This file is the single owner of how a brief's sections are read: the | COMMENT |
| MEDIUM | bin/fm-credential-source-lib.sh | 5 | # This file is the single owner of the credential-source declaration: a JSON | COMMENT |
| MEDIUM | bin/fm-afk-start.sh | 15 | # This file is sourceable: its BASH_SOURCE guard keeps main from running, while | COMMENT |
| MEDIUM | bin/fm-x-lib.sh | 9 | # This file is sourced, never executed. It defines: | COMMENT |
| MEDIUM | bin/fm-tasks-axi-lib.sh | 27 | # This file is the single owner of FM_TASKS_AXI_MIN. bin/fm-bootstrap.sh turns a | COMMENT |
| MEDIUM | bin/fm-primary-scope-lib.sh | 4 | # This file is sourced by hook entrypoints and has no side effects on source. | COMMENT |
| MEDIUM | bin/fm-project-capacity-lib.sh | 15 | # This file is the single owner of the declaration format, of what holds a | COMMENT |
| MEDIUM | bin/fm-hook-host-lib.sh | 4 | # This file is sourced by hook entrypoints and has no side effects on source. | COMMENT |
| MEDIUM | bin/fm-operational-input.sh | 4 | # This file is both a source-safe shell library and the cross-language CLI used | COMMENT |
| MEDIUM | bin/fm-pending-reply-lib.sh | 327 | # Create a durable pending-reply expectation. Prints corr_id on success. | COMMENT |
| MEDIUM⚡ | bin/fm-session-lock-lib.sh | 14 | # This file is sourced by scripts and has no side effects on source. | COMMENT |
| MEDIUM | bin/fm-dod-lib.sh | 98 | # This file is the one owner of the no-mistakes `--intent` contract: only the | COMMENT |
| MEDIUM | bin/fm-env-lib.sh | 5 | # This file is the single owner of the one-key .env read: the Relay pairing | COMMENT |
| MEDIUM | bin/fm-quota-axi-lib.sh | 9 | # This file is the single owner of that version number. bin/fm-bootstrap.sh | COMMENT |
| MEDIUM | tests/fm-kiro-signals-live-e2e.test.sh | 115 | # Create the session/window without -c (unsupported on older tmux) and cd into | COMMENT |
| MEDIUM | tests/fm-update.test.sh | 585 | # Create a bare fork whose `carry` branch is origin's current main plus one | COMMENT |
| MEDIUM⚡ | tests/fm-afk-inject-e2e.test.sh | 161 | # Create a fake crewmate window (the watcher lists fm-* windows for stale | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | bin/fm-voice-client.py | 476 | def close(self): | CODE |
| LOW | bin/fm-voice-client.py | 391 | except Exception: # noqa: BLE001 | CODE |
| LOW | bin/fm-voice-client.py | 480 | except Exception: # noqa: BLE001 | CODE |
| LOW | bin/fm-voice-client.py | 515 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | bin/fm-voice-client.py | 651 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | bin/fm-voice-client.py | 681 | except Exception: # noqa: BLE001 | CODE |
| LOW | bin/fm-voice-client.py | 957 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | bin/fm-voice-client.py | 1359 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | bin/fm-voice-relay.py | 589 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | bin/fm-voice-relay.py | 739 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | bin/fm-voice-relay.py | 755 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | bin/fm-voice-relay.py | 855 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | bin/fm-voice-relay.py | 979 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | bin/fm-voice-relay.py | 1244 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | bin/fm-mail.py | 62 | except Exception: | CODE |
| LOW | bin/fm-mail.py | 99 | except Exception: | CODE |
| LOW | bin/fm-mail.py | 138 | except Exception: | CODE |
| LOW | bin/fm-mail.py | 141 | except Exception as e: | CODE |
| LOW | bin/fm-mail.py | 161 | except Exception as e: | CODE |
| LOW | bin/fm-mail.py | 376 | except Exception: | CODE |
| LOW | bin/fm-mail.py | 406 | except Exception: | CODE |
| LOW | bin/fm-mail.py | 461 | except Exception as e: | CODE |
| LOW | bin/fm-mail.py | 471 | except Exception: | CODE |
| MEDIUM | bin/fm-mail.py | 104 | def cmd_read(): | CODE |
| MEDIUM | bin/fm-mail.py | 146 | def cmd_send(to, subj, body): | CODE |
| LOW | bin/fm-kimi-turnend-hook.sh | 191 | except Exception: | STRING |
| LOW | bin/fm-record-export.py | 113 | except Exception: | CODE |
| LOW | bin/fm-record-export.py | 346 | except Exception: | CODE |
| LOW | bin/fm-record-export.py | 455 | except Exception: | CODE |
| LOW | bin/fm-record-export.py | 1035 | except Exception: | CODE |
| LOW | bin/fm-record-export.py | 1094 | except Exception: | CODE |
| LOW⚡ | bin/fm-jev-mem-guard.py | 48 | except Exception: | CODE |
| LOW⚡ | bin/fm-jev-mem-guard.py | 58 | except Exception: | CODE |
| LOW⚡ | bin/fm-jev-mem-guard.py | 63 | except Exception: | CODE |
| LOW | bin/fm-jev-mem-guard.py | 83 | except Exception: | CODE |
| LOW | bin/fm-jev-mem-guard.py | 91 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bin/fm-voice-client.py | 718 | CODE | |
| LOW | bin/fm-voice-client.py | 774 | CODE | |
| LOW | bin/fm-voice-relay.py | 944 | CODE | |
| LOW | bin/fm-voice-relay.py | 449 | CODE | |
| LOW | bin/fm-mail.py | 79 | CODE | |
| LOW | bin/fm-mail.py | 267 | CODE | |
| LOW | bin/fm_voice_records.py | 361 | CODE | |
| LOW | bin/fm-record-export.py | 398 | CODE | |
| LOW | bin/fm-record-export.py | 427 | CODE | |
| LOW | bin/fm-record-export.py | 502 | CODE | |
| LOW | bin/fm-record-export.py | 557 | CODE | |
| LOW | bin/fm-record-export.py | 624 | CODE | |
| LOW | bin/fm-record-export.py | 793 | CODE | |
| LOW | bin/fm-record-export.py | 906 | CODE | |
| LOW | bin/fm-record-export.py | 976 | CODE | |
| LOW | bin/fm-record-export.py | 1056 | CODE | |
| LOW | bin/fm-record-export.py | 796 | CODE | |
| LOW | bin/fm-record-export.py | 560 | CODE | |
| LOW | bin/fm-jev-mem-guard.py | 36 | CODE | |
| LOW | bin/fm-jev-mem-guard.py | 53 | CODE | |
| LOW | bin/fm-jev-mem-guard.py | 98 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bin/fm-dod-lib.sh | 265 | # Print the value of every "Base branch: <name>" line that directly follows the | COMMENT |
| LOW | bin/fm-watch.sh | 978 | # Set SECONDMATE_BUSY_CLASS to the first token of the semantic busy | COMMENT |
| LOW | bin/fm-bootstrap.sh | 123 | # Set FM_BOOTSTRAP_NETWORK to split this run by whether a step talks to | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/verification/secondmate-parent-channel.md | 26 | $ # Step 1: the child appends its terminal line from inside its own real tmux pane | CODE |
| LOW | docs/verification/secondmate-parent-channel.md | 44 | $ # Step 2: the mate registers the PR with fm-pr-check; the ready line with the canonical URL reaches the parent from th | CODE |
| LOW | docs/verification/secondmate-parent-channel.md | 58 | $ # Step 3: the mate holds a task for the captain; the hold reaches the parent from fm-captain-hold itself | CODE |
| LOW | docs/verification/secondmate-parent-channel.md | 63 | $ # Step 4: the captain's answer is recorded in the mate home; the close reaches the parent from fm-captain-hold itself | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | bin/fm-jev-mem-guard.py | 19 | a false alarm; an unassessed host reports null measured percentages (JSON null, | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bin/fm-record-export.py | 9 | CODE | |
| LOW | bin/fm-record-export.py | 11 | CODE |