Command line
The checked fragcap command surface: commands, options, values, defaults, sinks, and output routing.
Current native path
Deep Capture uses the library-owned native proxy for supported HTTP, streaming, generic TCP/UDP, and QUIC/HTTP/3 paths. Trust effects use native Windows APIs. Each capture records its own routing and protocol evidence. The Native product contract records the shipped boundary and its explicit non-claims.
Before capturing
Capture requires the npcap driver in WinPcap-compatible mode. Run
fragcap doctor first to inspect readiness without capturing anything.
Published baseline: v0.11.2.
This page describes the v0.11.2 command tree, checked by the production parser without dispatch. Ordinary Deep Capture is game-scoped, uses the exact final-client direct route, and records evidence during capture without a separate calibration step. Hidden test controls are excluded. clap's generated help and version controls remain available but are not repeated in every table.
In the tables, open means the parser accepts a value whose grammar is explained
in the Meaning column. none means clap declares no default; the application may
still apply the fallback described in Meaning. all means every build carries
the option, while net means a maintainer build with the optional network
feature carries it.
Running fragcap with no command lists registered targets and points at
--help.
Retired command migration
Older releases and their preserved changelog pages may refer to command forms that the current CLI no longer accepts. Use these replacements with the published v0.11.2 command surface:
| Retired form | Current form |
|---|---|
fragcap run ... | fragcap capture ... |
fragcap tap --process <image> ... | fragcap capture --process <image> ... |
fragcap calibrate <target> | fragcap deep-capture <target> --launch |
Historical pages remain searchable as release records. This page is the source of truth for commands accepted by the current binary.
Global options
These options propagate to every command.
| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--json | open | false | all | Emit structured command results instead of human text where the command supports them. See Output routing. |
--quiet | open | false | all | Suppress progress while retaining terminal results, warnings, and errors. Required authorization output remains visible. |
--silent | open | false | all | Suppress optional progress, summaries, and warnings. Errors and required authorization output still surface. |
Capture
capture
Capture a stored target or a directly named running process. Exactly one target
input is required: positional SELECTOR, --target, --id, or --process.
A selector is an exact handle, a case-insensitive exact name, or a 1-based row
number from targets list.
fragcap capture 1 --out capture.fcapng
fragcap capture --target sample-target --duration 30s --out capture.fcapng
fragcap capture --process sample.exe --out capture.fcapng| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--catalog-db | open | none | all | Override FRAGCAP_CATALOG_DB, then %APPDATA%\fragcap\catalog.db, for target context. The managed path is not required. |
--direction | both, in, out | both | all | Record the requested flow direction. Non-default directional output filtering is not yet enforced. |
-d, --duration | open | none | all | Stop after a duration measured from arm, such as 30s, 5m, or 2h. |
--id | open | none | all | Select a stored target by durable numeric identifier. |
-i, --interface | open | none | all | Select a capture interface; repeat for more than one. |
--launch | open | false | all | Start an eligible prepared stored target through its declared managed launch, then capture. |
--local-db | open | none | all | Override FRAGCAP_LOCAL_DB, then %APPDATA%\fragcap\local.db, for stored-target resolution. The managed path is not required. |
--loopback | open | false | all | Include the loopback adapter. |
--max-bytes | open | none | all | Stop after a byte count using an integer plus b, kb, mb, or gb. |
--max-packets | open | none | all | Stop after this many captured packets. |
--mode | file, ring, stream | none | all | Select file, bounded ring, or streaming output. The fallback is a profile mode when present, otherwise file. |
--no-payload | open | false | all | Write metadata without packet payload bytes. |
-o, --out | open | none | all | Write a pcapng file; shorthand for a file sink. |
--path | open | none | all | Require a case-insensitive substring in the target image path. |
--path-regex | open | none | all | Require the target image path to match a regular expression. |
--process | open | none | all | Capture a running process by image name without a stored target. |
--ring | open | none | all | Set the bounded ring window as a duration or size. See Capture modes for mode and sink constraints. |
--roles | open | none | all | Capture a comma-separated role list. The fallback is profile roles, then all roles. |
--scope | all, target | target | all | Write only attributed target traffic or everything captured. Exclusions are counted. |
--sink | open | none | all | Add an output sink; repeat for multiple destinations. See Sink specifications. |
--target | open | none | all | Explicit form of the stored-target selector. A numeric value is a row number, not a platform app id. |
--wait | open | none | all | Set the target acquisition timeout. With no value, wait until start or interruption. |
--roles is enforced. Since v0.10.8, --direction in and --direction out retain only the selected direction; excluded and unknown-direction packets are counted as scope decisions.
Sink specifications
The grammar is <destination>[,<key>=<value>]....
Accepted sink schemes: file, pcapng, jsonl, pipe, fifo, unix, tcp
Accepted sink modifiers: format, payload, rotate-size, rotate-duration, queue, timeout
| Form | Behavior |
|---|---|
file:PATH | File destination. Format follows format= or the extension (.jsonl means JSON Lines; anything else means pcapng). |
pcapng:PATH | Alias for file:PATH; format can still be overridden explicitly. |
jsonl:PATH | File destination defaulting to JSON Lines; format=pcapng overrides it. |
pipe:NAME | Windows named-pipe server. Requires format=pcapng or format=jsonl. |
fifo:PATH | Analyzer-provided FIFO or named-pipe path opened for pcapng writing. Used by extcap. |
unix:PATH | Unix-domain socket listener on supported non-Windows systems. Requires an explicit format. |
tcp://HOST:PORT | TCP listener. Requires an explicit format. |
format accepts pcapng or jsonl; payload accepts true or false.
rotate-size and rotate-duration apply only to file destinations and are
mutually exclusive. queue and timeout apply only to streaming destinations;
their runtime fallbacks are 1024 records and 5 seconds. Streaming destinations
cannot use rotation modifiers. Example:
fragcap capture 1 --sink "tcp://127.0.0.1:9000,format=jsonl,payload=false,queue=2048,timeout=10s"deep-capture
Run Capture with explicit, target-scoped local proxy inspection. Exactly one
stored-target input is required: positional SELECTOR, --target, or --id.
The current implementation requires a managed launch and one exact complete-plan
authorization. The ordinary path scopes inspection to the final game and uses
the exact final-client direct route.
fragcap deep-capture sample-target --launch --har --key-log
fragcap deep-capture sample-target --launch
fragcap deep-capture sample-target --launch --inspect-scope launch-chain --launcher-proxy socks-only| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--bundle | open | none | all | Select the session bundle directory. The fallback is a new directory under FRAGCAP_SESSION_DIR, then the current profile's .fragcap\roaming\sessions. |
--retain-bundle | open | false | all | Retain generated evidence until explicit cleanup. Otherwise generated history uses 30 days, 20 completed sessions and 2 GiB. Explicit --bundle is always retained. |
--output-recipient | open | none | all | Exact Windows recipient SID. Requires an explicit --bundle; an ordinary-account authenticated helper proves a recipient that default desktop resolution cannot establish. |
--authorize-stdin | open | false | all | Select prompt-free authorization. Read the emitted plan, return its exact plan-v1 identifier plus one LF on standard input in the same process, and keep the event stream open. Required with --json. |
--catalog-db | open | none | all | Override FRAGCAP_CATALOG_DB, then the managed per-user catalog store. |
-d, --duration | open | none | all | Set the observation bound measured from arm; it defaults to 60s and accepts a positive duration up to 5m. Unsupported values are refused before session effects. |
--har | open | false | all | Write an HTTP-oriented projection when HTTP semantics are observable. |
--id | open | none | all | Select a stored target by durable identifier. |
--inspect-scope | auto, game, launch-chain | auto | all | Resolve the inspection decision before effects. auto selects the final game. launch-chain explicitly expands inspection to managed launch roles. |
--launcher-proxy | native, socks-only, http-and-socks | none | all | native gives launchers no Fragcap proxy URL and is the ordinary game-scope behavior. With --inspect-scope launch-chain, socks-only exposes authenticated SOCKS (the advanced default), while http-and-socks also exposes HTTP. |
--retry-game-scope | open | false | all | Permit one separately authorized game-scope successor if an explicit launch-chain attempt fails. |
--fallback-capture | open | false | all | Permit packet-only Capture after an eligible failed inspected attempt; it creates no positive Deep Capture fact. |
-i, --interface | open | none | all | Select a capture interface; repeat for more than one. |
--key-log | open | false | all | Write a proxy-owned TLS key log at its final bundle path. |
--client-certificate | open | none | all | Present this explicit operator-owned certificate chain to an upstream requiring mutual TLS. Requires --client-private-key. |
--client-private-key | open | none | all | Use the private key matching --client-certificate. The key is never written to session output. |
--launch | open | false | all | Start the target through its managed launch. Required by the current implementation. |
--direct-route | open | false | all | Explicitly select the exact final-client direct route, which is already the ordinary default. Requires a Windows build with the direct-route feature, Administrator, and packaged WinDivert. |
--local-db | open | none | all | Override FRAGCAP_LOCAL_DB, then the managed per-user local store. |
--max-bytes | open | none | all | Stop after a byte count. |
--max-packets | open | none | all | Stop after this many captured packets. |
--no-payload | open | false | all | Write packet metadata without payload bytes. |
--proxy-bypass | open | none | all | Add an explicit target bypass rule. Repeat or comma-separate DNS domain, IP, CIDR, or port-qualified authority rules. Bare and leading-dot domains both include descendants. Ambient proxy variables are never inherited. |
--proxy-allow-destination | open | none | all | Authorize one exact upstream IP and port in the session plan, including a local peer. Repeat for more endpoints; the proxy listener remains refused. |
--proxy-family | ipv4, ipv6 | ipv4 | all | Bind the exact loopback family authorized by this session. No wildcard or automatic family fallback is used. |
--target | open | none | all | Explicit form of the stored-target selector. |
--restart-warm | open | false | all | Wait while the operator closes a warm application normally, then freshly prepare and authorize the cold launch. |
--wait | open | none | all | Set the target acquisition timeout. |
Deep Capture hides and rejects the former --trust-ca and --yes inputs for one release. The migration error points to the complete interactive plan or --authorize-stdin. Other commands retain their separately scoped --yes confirmations.
Authorization plan and prompt writes must succeed before input is read. Interactive approval requires a complete LF-terminated line, and effective deadlines are bound at exact millisecond precision. The plan states requested and effective inspection scope, middleware handling, selected roles, unresolved-owner behavior, optional retry or packet-only fallback, and cleanup obligations. Exact-game scope inspects only proven selected-game ownership; middleware and unresolved owners use blind relay and produce no decrypted application export or proxy-owned TLS key. The prepared CA must remain within its displayed validity period. Stored target authority is checked immediately after approval, then the facade independently resolves and compares the exact profile, executable paths, platform root, dispatch, and managed launch before endpoint selection. Before constructing a new plan, a bounded read-only inspection refuses any pending prior-session recovery and directs the operator to fragcap doctor --fix; the new plan never authorizes effects against an older session.
The published v0.10.9 plan authorizes a normal window close from exact session-created route owners when observation ends and corrects the earlier helper refusal. Fragcap verifies owner and observed helper exits before releasing the proxy route. The displayed grace and two-minute release ceiling bound this work. Save the selected application's work before authorizing; an exact owner still open after grace may be terminated. Helpers, warm applications, and unrelated processes are observed but never controlled. If any exit cannot be proved, cleanup stays partial and Doctor retains the recovery record. The operator closes an application manually only for warm preflight or when exact automatic cleanup remains incomplete.
v0.10.10 corrects the v0.10.9 installed-session findings #526 and #527. An ordinary --duration 4m now appears as 240,000 ms in the authorization plan and the terminal event; a separate five-second allowance is reserved for Capture to return after the requested observation. The historical guided-calibration command retained its 60-second maximum in that release and was retired in v0.11.2. A same-name process event without proven ancestry receives no control and no longer blocks release of independently proven managed owners. If any plausible routed owner remains unresolved, route cleanup stays partial, installation trust remains in place, and a stopped proxy is reported as unable to serve that route. Close the application normally, then use fragcap doctor --fix for exact recovery. Doctor verifies that every observed plausible routed process has exited before it replays route cleanup and refuses recovery if exit evidence is incomplete.
Read Output formats and session bundles for artifact authority, sensitivity, omission, correlation, retention, and cleanup. See Deep Capture compatibility for certificate-pinning, QUIC, and launch limits.
replay
Accept a capture path and trailing arguments, then report that replay is not yet implemented.
fragcap replay capture.fcapng| Option | Values | Default | Availability | Meaning |
|---|
Targets
The local target store resolves from an explicit local-store option, then
FRAGCAP_LOCAL_DB, then %APPDATA%\fragcap\local.db. The final location is a
managed fallback, so a --db or --local-db option is never required merely to
use the ordinary per-user store.
targets
With no subcommand, discover and register newly installed titles, then print the numbered target listing.
fragcap targets| Option | Values | Default | Availability | Meaning |
|---|
targets add
Register a target. Positional NAME is optional when --steam supplies the
installed title name.
fragcap targets add "Sample Game" --exe sample.exe --socket-holder yes
fragcap targets add --steam 620| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--anchor | open | none | all | Give the target a stable platform:id identity; mutually exclusive with --steam. |
--db | open | none | all | Override FRAGCAP_LOCAL_DB, then the managed per-user local store. |
--exe | open | none | all | Record a launch executable name. |
--handle | open | none | all | Override the derived handle, subject to normal validity and uniqueness rules. |
--socket-holder | open | none | all | Record whether --exe holds sockets: yes, no, or unsure. Requires --exe. |
--steam | open | none | all | Register an installed Steam title by app id and anchor it as steam:<app_id>. |
targets relocate
Recover an existing anchored Steam target after a library move. First preview,
then apply the exact printed plan_id:
fragcap targets relocate --steam 620
fragcap targets relocate --steam 620 --plan-id relocate-v1:<printed-digest>The preview names the old root, uniquely discovered new root, stored target, authored launch entries, and launch hint. Applying changes only the selected location and observed hints, preserves authored identity and roles, and marks historical Deep Capture facts stale. A changed plan, present old root, missing old volume, duplicate installation, changed executable hint, or missing authored executable refuses the update. This includes an absolute authored launcher path that still names the missing old library. Export the target, correct that authored path, import it, and preview relocation again. Published v0.10.8 does not provide this command; v0.10.9 does.
| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--steam | open | none | all | Select the stored steam:<app_id> target and exact platform discovery. Required for this command. |
--plan-id | open | none | all | Apply only an unchanged proposal; without it the command previews. |
--steam-root | open | none | all | Use a specific Steam installation root for discovery. |
--db | open | none | all | Select the effective local target store. |
targets list
Discover and register newly installed titles, then list row number, handle, readiness, and known technologies.
| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--db | open | none | all | Override FRAGCAP_LOCAL_DB, then the managed per-user local store. |
targets show
Show one target selected by positional SELECTOR or --id, including local
Deep Capture compatibility evidence.
fragcap targets show sample-target| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--db | open | none | all | Override FRAGCAP_LOCAL_DB, then the managed per-user local store. |
--id | open | none | all | Select by durable identifier instead of positional selector. |
targets discover
Human discovery groups candidates into deterministic source chapters. Each source starts flush-left after an 80-character underscore rule, followed by target headings indented four spaces and child fields indented eight. Every candidate appears once; duplicate display names keep their exact identities, and repeated technology categories keep all findings and their fidelity.
Values begin exactly four spaces after the longest displayed child key across
the report. Long values continue at that same anchor; exact long tokens may
extend past the terminal width. The divider stays 80 characters on narrow
terminals. Supported color highlights headings and keys, then resets before
values. Redirected output and NO_COLOR preserve the same plain hierarchy.
Store paths, conserved discovery counts, registration eligibility/reasons and
coverage warnings remain visible. --summary retains aggregate counts without
private candidate or warning text.
Targeted discovery refreshes only the exact selected Steam app and its install when its identity is known. Unrelated root coverage warnings remain in broad discovery. Relevant access, malformed metadata, ambiguity, missing identity and coverage limitations remain visible, with additive structured source, root, target, operation and diagnostic category provenance.
Read installed-game candidates from Steam and known roots without registering
the candidates. Detailed output reports whether each candidate is eligible for
automatic registration and why. --summary emits aggregate counts only and is
safe to retain as validation evidence without publishing local inventory.
| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--catalog-db | open | none | all | Override FRAGCAP_CATALOG_DB, then the managed per-user catalog store used to classify Steam titles. |
--local-db | open | none | all | Override FRAGCAP_LOCAL_DB, then the managed per-user store holding volume eligibility. |
--steam-root | open | none | all | Override automatic Steam installation discovery. |
--summary | open | false | all | Emit aggregate discovery and eligibility counts without local names, identities, paths, or warning text. |
targets reconcile
Preview conservative cleanup of historical tool-owned discovery residue. The
default is non-mutating. --yes rebuilds the preview and atomically removes only
exact rows whose complete stored value is unchanged; authored, anchored,
ambiguous, or incompletely inventoried rows remain.
fragcap targets reconcile
fragcap targets reconcile --yes| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--db | open | none | all | Override FRAGCAP_LOCAL_DB, then the managed per-user local store. |
--steam-root | open | none | all | Override automatic Steam installation discovery for the exact platform inventory. |
--yes | open | false | all | Confirm removal of the exact rows reported by the recomputed preview. |
targets scan
Treat positional DIR as one game location. With --catalog-db, attach
technology evidence. Discovered candidates are registered idempotently in the
resolved local store.
fragcap targets scan "C:\Games\Sample Game"| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--catalog-db | open | none | all | Select a catalog store whose signature table labels the directory. |
--db | open | none | all | Override FRAGCAP_LOCAL_DB, then the managed per-user local store used to register discoveries. |
targets remove
Remove one target selected by positional SELECTOR or --id.
| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--db | open | none | all | Override FRAGCAP_LOCAL_DB, then the managed per-user local store. |
--id | open | none | all | Select by durable identifier instead of positional selector. |
targets export
Write all registered targets, or positional SELECTOR or --id, as a JSON
array to standard output.
fragcap targets export| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--db | open | none | all | Override FRAGCAP_LOCAL_DB, then the managed per-user local store. |
--id | open | none | all | Export one target by durable identifier. |
targets import
Merge the target-entry JSON array at positional FILE by stable identifier.
fragcap targets import targets.json| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--db | open | none | all | Override FRAGCAP_LOCAL_DB, then the managed per-user local store, creating the selected store if absent. |
S185 installation CA
ca
fragcap ca status reports the public installation CA identity and LocalMachine/Root health without decrypting the signer. The S185 MSI provisions one machine-specific root for all Windows users after removing identified pre-S185 Fragcap state. A portable ZIP requires one explicit elevated fragcap ca install. Later repair, reinstall, upgrade, ordinary uninstall, session cleanup and Doctor recovery retain the root. Use elevated fragcap ca repair for missing or damaged state, fragcap ca repair --rotate only for intentional replacement, and fragcap ca remove --fingerprint <SHA-256> --yes for exact removal after reviewing ca status. Deep Capture proves both exact trust and signer use before session effects.
| Option | Values | Default | Availability | Meaning |
|---|
ca status
Read the public installation CA state without modifying trust or decrypting the signer.
| Option | Values | Default | Availability | Meaning |
|---|
ca install
Provision or reuse the machine CA in an elevated shell. Portable users run this once.
| Option | Values | Default | Availability | Meaning |
|---|
ca repair
Restore a missing exact root or explicitly rotate a damaged installation identity.
| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--rotate | open | false | all | Intentionally replace a healthy installation CA after review. |
ca remove
Remove only the installed CA and signer after checking its exact SHA-256 fingerprint.
| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--fingerprint | open | none | all | Exact SHA-256 fingerprint from fragcap ca status. |
--yes | open | false | all | Confirm machine-wide trust removal. |
Environment
technologies
Detect engine, anti-cheat, and DRM signatures in an install directory.
fragcap technologies --path "C:\Games\Sample Game"| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--catalog-db | open | none | all | Override FRAGCAP_CATALOG_DB, then the managed per-user catalog store containing signatures. |
-p, --path | open | none | all | Required install directory to scan. |
steam
Group Steam-specific inspection commands.
| Option | Values | Default | Availability | Meaning |
|---|
steam list
List installed Steam titles. Register one with targets add --steam <app_id>.
fragcap steam listHuman output contains no tab separators. It uses an aligned APP ID, NAME, STATE, and TARGET table when every complete row fits the selected 40-through-80 display-column width, then switches the entire result to labeled vertical records when a long or localized value would not fit. Values are never truncated, and positioned, registered without a current listing position, and unregistered titles remain distinct. Use global --json for the unchanged JSON Lines machine interface.
| Option | Values | Default | Availability | Meaning |
|---|
doctor
Report environment readiness. The default is read-only; --fix offers only the
remediations already named by the report.
Since v0.10.6 (S168), Doctor summarizes healthy retained history with separate observed session/resource counts and explicit bounded coverage. --history-details expands the exact human records. Active, mixed, actionable, and incomplete inventory findings remain individually visible; terminal resource state never proves inactive session ownership. Human reports use measured four-space column anchors at every width, including optional labels and Unicode, with exact indivisible values preserved. Global --json always retains every stable check and native_resource object containing session_id, resource_id, kind, state, health, ownership_authority, and recovery_eligible. Read-only Doctor never performs cleanup; exact eligible records are reviewed and confirmed through fragcap doctor --fix.
fragcap doctor| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--fix | open | false | all | Offer remediations interactively. Refused with --json or non-interactive standard output. |
--history-details | open | false | all | S168 source: expand retained healthy session/resource history in the human report. JSON always retains exact records. |
--timings | open | false | all | Published since v0.10.1: show phase and nested readiness completion timings on interactive stderr progress. No JSON or final report changes. Historical v0.10.0 accepts this option but hides it and supplies only coarse completion timings. |
--yes | open | false | all | Pre-confirm offered actions with --fix; interactive standard output is still required. |
extcap
Serve Wireshark's extcap protocol. Query flags print declarations to standard output; capture streams pcapng to the analyzer-provided FIFO.
| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--capture | open | false | all | Start extcap capture. |
--catalog-db | open | none | all | Override FRAGCAP_CATALOG_DB, then the managed per-user catalog store. |
--direction | both, in, out | none | all | Configure the requested direction. |
--extcap-config | open | false | all | Print configurable extcap options and exit. |
--extcap-dlts | open | false | all | Print link types and exit. |
--extcap-interface | open | none | all | Select the extcap interface. |
--extcap-interfaces | open | false | all | Print available extcap interfaces and exit. |
--extcap-version | open | none | all | Accept the analyzer protocol version query; currently not acted on. |
--fifo | open | none | all | Analyzer FIFO or named-pipe path for capture bytes. |
--local-db | open | none | all | Override FRAGCAP_LOCAL_DB, then the managed per-user local store. |
--loopback | open | false | all | Include loopback. |
--roles | open | none | all | Configure comma-separated capture roles. |
--target | open | none | all | Select the stored target by the same selector grammar as Capture. |
extcap install
Register fragcap in Wireshark's extcap directory. With no scope flag, use the per-user directory.
fragcap extcap install --user| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--dir | open | none | all | Use an explicit extcap directory instead of a discovered scope. |
--system | open | false | all | Use the machine-wide Wireshark directory; write privilege is required. |
--user | open | false | all | Use %APPDATA%\Wireshark\extcap, the default scope. |
extcap uninstall
Remove the corresponding extcap registration. Scope flags have the same
precedence as extcap install.
| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--dir | open | none | all | Use an explicit extcap directory instead of a discovered scope. |
--system | open | false | all | Use the machine-wide Wireshark directory. |
--user | open | false | all | Use the per-user Wireshark directory, the default scope. |
Data
bundle
Group explicit lifecycle operations for completed Deep Capture bundles.
| Option | Values | Default | Availability | Meaning |
|---|
bundle collect
Preview session content collection without changes. Review eligible, retained and unresolved sessions, recoverable logical bytes, exact refusal reasons and inventory limitations. Copy the returned proposal_id into --authorize with the same scope to apply the unchanged proposal. Mutation requires Windows exact filesystem handles; other platforms report unsupported.
fragcap bundle collect
fragcap bundle collect --authorize '<PROPOSAL_ID>'
fragcap bundle collect --include-retained
fragcap bundle collect --include-retained --authorize '<PROPOSAL_ID>'Use each identifier only with the exact options that produced it. Generated operational history uses 30 days, 20 completed sessions and 2 GiB, with oldest eligible contents collected first. Saved/custom and historical evidence retain their previous explicit-cleanup promise; --include-retained deliberately selects that evidence. Whole-session ownership, inactive generation leases, terminal manifest/journal closure and all recovery obligations must reconcile before deletion. Unknown contents, unreadable or unsupported provenance, reparses, outside aliases and changed objects refuse.
Routine collection leaves session container directories intact. Preview --purge-empty separately to request removal of proven eligible exact empty containers, then authorize that exact proposal. Containers with replacement or unknown contents refuse. A synchronized retirement record outside collected contents supports interruption retries and truthful empty-container diagnosis. Actual removed logical bytes differ from planned recoverable bytes and physical disk free space. Read-only Doctor performs no collection.
| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--bundle | open | none | all | Select one exact custom or retained bundle instead of the root history population. |
--include-retained | open | false | all | Explicitly include retained evidence in the reviewed deletion scope. |
--purge-empty | open | false | all | Separately request removal of eligible exact empty containers. |
--authorize | open | none | all | Apply only the unchanged exact proposal returned by preview. |
Historical bundle access
The S173 contract published in v0.10.7 retires historical permission inspection and repair. Those operations shipped in v0.10.6 and remain in its historical release/spec records. v0.10.7 rejects the retired verbs. For inaccessible historical output, use normal Windows permission administration and verify access from the intended ordinary account. fragcap does not automatically repair historical permissions. Collection, sensitive cleanup and Doctor recovery/retention remain separate supported operations.
bundle access-authorize
Complete one pending recipient handoff from the intended account's ordinary terminal. Copy the complete quoted command emitted by the waiting producer, including its exact request and destination, within sixty seconds. The request binds both values; missing, elevated, mismatched or expired helpers refuse. This grants no authority to delete evidence or alter proxy/trust resources. Different-account Deep Capture requires explicit --output-recipient <SID> and --bundle <PATH> before the producer emits this command.
| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--request | open | none | all | Required exact pending local recipient request emitted by the producer. |
--bundle | open | none | all | Required exact destination bound into that request. |
bundle cleanup
Delete only artifacts that the completed bundle manifest declares sensitive. The original journal records each intent and result so interrupted cleanup can resume without broad directory deletion.
fragcap bundle cleanup .\fragcap-session --yes| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--yes | open | false | all | Confirm targeted deletion of the manifest-declared sensitive artifacts. |
bundle export
Create a separate share copy containing ordinary artifacts and a complete sharing manifest. The source bundle is never modified.
fragcap bundle export .\fragcap-session --out .\fragcap-session-share| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--out | open | none | all | Required destination directory for the new share copy. |
bundle debug-report
Export a bounded route diagnosis from a complete or partial native bundle to a separate JSON file. The source bundle stays unchanged, and the report omits exact endpoints and process identities while naming unavailable evidence.
fragcap bundle debug-report .\fragcap-session --out .\route-debug.json| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--out | open | none | all | Required new JSON file outside the source bundle. |
fresh-start
Preview or irreversibly remove canonical fragcap user data. Preview is read-only and emits an inventory identifier. Execution requires both --confirm with that exact unchanged identifier and --yes. Current-user scope covers only %APPDATA%\fragcap and %LOCALAPPDATA%\fragcap. All-users scope requires an elevated Administrator session and a report path. It enumerates Windows profiles through the operating system profile authority rather than searching the filesystem. Deep Capture evidence in another profile remains for current-user recovery under that profile's Windows trust identity, so such an all-users result is partial until that recovery is complete.
fragcap fresh-start --scope current-user --preview
fragcap fresh-start --scope current-user --confirm <inventory-id> --yes --report .\fresh-start-report.json| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--confirm | open | none | all | Require the unchanged identifier emitted by the exact preview. |
--preview | open | false | all | List exact roots, categories, and inventory identity without mutation. |
--report | open | none | all | Write the bounded versioned cleanup result to a new local path outside cleanup roots. Required for all-users execution. |
--scope | all-users, current-user | current-user | all | Select one caller profile or the distinct elevated all-users inventory. |
--yes | open | false | all | Confirm irreversible execution after reviewing the inventory. |
Deep Capture session evidence is removed only after Doctor's exact recovery authority reaches safe terminal states. Custom paths, Npcap, Wireshark configuration, and independently managed extcap registrations are excluded. A redirection or recovery failure remains in the report and makes the result partial.
Catalog store options resolve from explicit --db, then
FRAGCAP_CATALOG_DB, then %APPDATA%\fragcap\catalog.db. The managed path is
the ordinary fallback, not a required argument.
catalog
Group commands for the shipped, disposable catalog store.
| Option | Values | Default | Availability | Meaning |
|---|
catalog import
Load positional SEED, a schema-conformant local JSON export, transactionally.
fragcap catalog import catalog.json| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--db | open | none | all | Override FRAGCAP_CATALOG_DB, then the managed per-user catalog store. |
catalog export
Write the catalog store as schema-conformant JSON to standard output.
| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--db | open | none | all | Override FRAGCAP_CATALOG_DB, then the managed per-user catalog store. |
catalog seed
Fill one repeatable --tier or every tier with an available source. --from
is the hermetic local source. --steam and --pcgamingwiki exist only in an
optional network-capable maintainer build.
fragcap catalog seed --tier signature
fragcap catalog seed --tier catalog --from catalog.json| Option | Values | Default | Availability | Meaning |
|---|---|---|---|---|
--db | open | none | all | Override FRAGCAP_CATALOG_DB, then the managed per-user catalog store. |
--from | open | none | all | Read one local source document; requires exactly one consumable --tier. |
--min-reviews | open | 500 | all | Set the title-tier review-count corpus threshold. |
--pcgamingwiki | open | false | net | Seed the engine tier from the live PCGamingWiki query API. |
--steam | open | false | net | Seed the title tier from the live Steam catalog. |
--tier | catalog, engine, launch, signature | none | all | Select a tier; repeat as needed. signature is always offline. |
schema
Group commands for the embedded master JSON schema.
| Option | Values | Default | Availability | Meaning |
|---|
schema validate
Validate positional FILE and report every structural violation in one pass.
fragcap schema validate targets.json| Option | Values | Default | Availability | Meaning |
|---|
schema print
Write the embedded master schema to standard output.
| Option | Values | Default | Availability | Meaning |
|---|
Output routing
--json changes presentation, not the ownership of streams. Structured command
results, such as target, Steam, doctor, catalog, and schema results, go to
standard output. Capture and Deep Capture lifecycle events go to standard error
so they cannot contaminate capture bytes. Packet bytes and packet JSON Lines go
only to the configured --out, --sink, or extcap FIFO destination. Warnings
and errors are diagnostics on standard error.
--quiet suppresses progress but retains authoritative terminal results, warnings, and errors. --silent suppresses optional progress, completion summaries, and warnings; errors and configured sinks remain active. Neither flag hides required complete authorization plans or turns consent into approval. A consumer must parse documented result and lifecycle streams separately; there is no combined JSON stream.