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 formCurrent 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.

OptionValuesDefaultAvailabilityMeaning
--jsonopenfalseallEmit structured command results instead of human text where the command supports them. See Output routing.
--quietopenfalseallSuppress progress while retaining terminal results, warnings, and errors. Required authorization output remains visible.
--silentopenfalseallSuppress 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
OptionValuesDefaultAvailabilityMeaning
--catalog-dbopennoneallOverride FRAGCAP_CATALOG_DB, then %APPDATA%\fragcap\catalog.db, for target context. The managed path is not required.
--directionboth, in, outbothallRecord the requested flow direction. Non-default directional output filtering is not yet enforced.
-d, --durationopennoneallStop after a duration measured from arm, such as 30s, 5m, or 2h.
--idopennoneallSelect a stored target by durable numeric identifier.
-i, --interfaceopennoneallSelect a capture interface; repeat for more than one.
--launchopenfalseallStart an eligible prepared stored target through its declared managed launch, then capture.
--local-dbopennoneallOverride FRAGCAP_LOCAL_DB, then %APPDATA%\fragcap\local.db, for stored-target resolution. The managed path is not required.
--loopbackopenfalseallInclude the loopback adapter.
--max-bytesopennoneallStop after a byte count using an integer plus b, kb, mb, or gb.
--max-packetsopennoneallStop after this many captured packets.
--modefile, ring, streamnoneallSelect file, bounded ring, or streaming output. The fallback is a profile mode when present, otherwise file.
--no-payloadopenfalseallWrite metadata without packet payload bytes.
-o, --outopennoneallWrite a pcapng file; shorthand for a file sink.
--pathopennoneallRequire a case-insensitive substring in the target image path.
--path-regexopennoneallRequire the target image path to match a regular expression.
--processopennoneallCapture a running process by image name without a stored target.
--ringopennoneallSet the bounded ring window as a duration or size. See Capture modes for mode and sink constraints.
--rolesopennoneallCapture a comma-separated role list. The fallback is profile roles, then all roles.
--scopeall, targettargetallWrite only attributed target traffic or everything captured. Exclusions are counted.
--sinkopennoneallAdd an output sink; repeat for multiple destinations. See Sink specifications.
--targetopennoneallExplicit form of the stored-target selector. A numeric value is a row number, not a platform app id.
--waitopennoneallSet 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

FormBehavior
file:PATHFile destination. Format follows format= or the extension (.jsonl means JSON Lines; anything else means pcapng).
pcapng:PATHAlias for file:PATH; format can still be overridden explicitly.
jsonl:PATHFile destination defaulting to JSON Lines; format=pcapng overrides it.
pipe:NAMEWindows named-pipe server. Requires format=pcapng or format=jsonl.
fifo:PATHAnalyzer-provided FIFO or named-pipe path opened for pcapng writing. Used by extcap.
unix:PATHUnix-domain socket listener on supported non-Windows systems. Requires an explicit format.
tcp://HOST:PORTTCP 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
OptionValuesDefaultAvailabilityMeaning
--bundleopennoneallSelect the session bundle directory. The fallback is a new directory under FRAGCAP_SESSION_DIR, then the current profile's .fragcap\roaming\sessions.
--retain-bundleopenfalseallRetain generated evidence until explicit cleanup. Otherwise generated history uses 30 days, 20 completed sessions and 2 GiB. Explicit --bundle is always retained.
--output-recipientopennoneallExact Windows recipient SID. Requires an explicit --bundle; an ordinary-account authenticated helper proves a recipient that default desktop resolution cannot establish.
--authorize-stdinopenfalseallSelect 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-dbopennoneallOverride FRAGCAP_CATALOG_DB, then the managed per-user catalog store.
-d, --durationopennoneallSet 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.
--haropenfalseallWrite an HTTP-oriented projection when HTTP semantics are observable.
--idopennoneallSelect a stored target by durable identifier.
--inspect-scopeauto, game, launch-chainautoallResolve the inspection decision before effects. auto selects the final game. launch-chain explicitly expands inspection to managed launch roles.
--launcher-proxynative, socks-only, http-and-socksnoneallnative 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-scopeopenfalseallPermit one separately authorized game-scope successor if an explicit launch-chain attempt fails.
--fallback-captureopenfalseallPermit packet-only Capture after an eligible failed inspected attempt; it creates no positive Deep Capture fact.
-i, --interfaceopennoneallSelect a capture interface; repeat for more than one.
--key-logopenfalseallWrite a proxy-owned TLS key log at its final bundle path.
--client-certificateopennoneallPresent this explicit operator-owned certificate chain to an upstream requiring mutual TLS. Requires --client-private-key.
--client-private-keyopennoneallUse the private key matching --client-certificate. The key is never written to session output.
--launchopenfalseallStart the target through its managed launch. Required by the current implementation.
--direct-routeopenfalseallExplicitly 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-dbopennoneallOverride FRAGCAP_LOCAL_DB, then the managed per-user local store.
--max-bytesopennoneallStop after a byte count.
--max-packetsopennoneallStop after this many captured packets.
--no-payloadopenfalseallWrite packet metadata without payload bytes.
--proxy-bypassopennoneallAdd 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-destinationopennoneallAuthorize one exact upstream IP and port in the session plan, including a local peer. Repeat for more endpoints; the proxy listener remains refused.
--proxy-familyipv4, ipv6ipv4allBind the exact loopback family authorized by this session. No wildcard or automatic family fallback is used.
--targetopennoneallExplicit form of the stored-target selector.
--restart-warmopenfalseallWait while the operator closes a warm application normally, then freshly prepare and authorize the cold launch.
--waitopennoneallSet 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
OptionValuesDefaultAvailabilityMeaning

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
OptionValuesDefaultAvailabilityMeaning

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
OptionValuesDefaultAvailabilityMeaning
--anchoropennoneallGive the target a stable platform:id identity; mutually exclusive with --steam.
--dbopennoneallOverride FRAGCAP_LOCAL_DB, then the managed per-user local store.
--exeopennoneallRecord a launch executable name.
--handleopennoneallOverride the derived handle, subject to normal validity and uniqueness rules.
--socket-holderopennoneallRecord whether --exe holds sockets: yes, no, or unsure. Requires --exe.
--steamopennoneallRegister 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.

OptionValuesDefaultAvailabilityMeaning
--steamopennoneallSelect the stored steam:<app_id> target and exact platform discovery. Required for this command.
--plan-idopennoneallApply only an unchanged proposal; without it the command previews.
--steam-rootopennoneallUse a specific Steam installation root for discovery.
--dbopennoneallSelect the effective local target store.

targets list

Discover and register newly installed titles, then list row number, handle, readiness, and known technologies.

OptionValuesDefaultAvailabilityMeaning
--dbopennoneallOverride 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
OptionValuesDefaultAvailabilityMeaning
--dbopennoneallOverride FRAGCAP_LOCAL_DB, then the managed per-user local store.
--idopennoneallSelect 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.

OptionValuesDefaultAvailabilityMeaning
--catalog-dbopennoneallOverride FRAGCAP_CATALOG_DB, then the managed per-user catalog store used to classify Steam titles.
--local-dbopennoneallOverride FRAGCAP_LOCAL_DB, then the managed per-user store holding volume eligibility.
--steam-rootopennoneallOverride automatic Steam installation discovery.
--summaryopenfalseallEmit 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
OptionValuesDefaultAvailabilityMeaning
--dbopennoneallOverride FRAGCAP_LOCAL_DB, then the managed per-user local store.
--steam-rootopennoneallOverride automatic Steam installation discovery for the exact platform inventory.
--yesopenfalseallConfirm 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"
OptionValuesDefaultAvailabilityMeaning
--catalog-dbopennoneallSelect a catalog store whose signature table labels the directory.
--dbopennoneallOverride 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.

OptionValuesDefaultAvailabilityMeaning
--dbopennoneallOverride FRAGCAP_LOCAL_DB, then the managed per-user local store.
--idopennoneallSelect 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
OptionValuesDefaultAvailabilityMeaning
--dbopennoneallOverride FRAGCAP_LOCAL_DB, then the managed per-user local store.
--idopennoneallExport one target by durable identifier.

targets import

Merge the target-entry JSON array at positional FILE by stable identifier.

fragcap targets import targets.json
OptionValuesDefaultAvailabilityMeaning
--dbopennoneallOverride 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.

OptionValuesDefaultAvailabilityMeaning

ca status

Read the public installation CA state without modifying trust or decrypting the signer.

OptionValuesDefaultAvailabilityMeaning

ca install

Provision or reuse the machine CA in an elevated shell. Portable users run this once.

OptionValuesDefaultAvailabilityMeaning

ca repair

Restore a missing exact root or explicitly rotate a damaged installation identity.

OptionValuesDefaultAvailabilityMeaning
--rotateopenfalseallIntentionally replace a healthy installation CA after review.

ca remove

Remove only the installed CA and signer after checking its exact SHA-256 fingerprint.

OptionValuesDefaultAvailabilityMeaning
--fingerprintopennoneallExact SHA-256 fingerprint from fragcap ca status.
--yesopenfalseallConfirm machine-wide trust removal.

Environment

technologies

Detect engine, anti-cheat, and DRM signatures in an install directory.

fragcap technologies --path "C:\Games\Sample Game"
OptionValuesDefaultAvailabilityMeaning
--catalog-dbopennoneallOverride FRAGCAP_CATALOG_DB, then the managed per-user catalog store containing signatures.
-p, --pathopennoneallRequired install directory to scan.

steam

Group Steam-specific inspection commands.

OptionValuesDefaultAvailabilityMeaning

steam list

List installed Steam titles. Register one with targets add --steam <app_id>.

fragcap steam list

Human 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.

OptionValuesDefaultAvailabilityMeaning

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
OptionValuesDefaultAvailabilityMeaning
--fixopenfalseallOffer remediations interactively. Refused with --json or non-interactive standard output.
--history-detailsopenfalseallS168 source: expand retained healthy session/resource history in the human report. JSON always retains exact records.
--timingsopenfalseallPublished 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.
--yesopenfalseallPre-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.

OptionValuesDefaultAvailabilityMeaning
--captureopenfalseallStart extcap capture.
--catalog-dbopennoneallOverride FRAGCAP_CATALOG_DB, then the managed per-user catalog store.
--directionboth, in, outnoneallConfigure the requested direction.
--extcap-configopenfalseallPrint configurable extcap options and exit.
--extcap-dltsopenfalseallPrint link types and exit.
--extcap-interfaceopennoneallSelect the extcap interface.
--extcap-interfacesopenfalseallPrint available extcap interfaces and exit.
--extcap-versionopennoneallAccept the analyzer protocol version query; currently not acted on.
--fifoopennoneallAnalyzer FIFO or named-pipe path for capture bytes.
--local-dbopennoneallOverride FRAGCAP_LOCAL_DB, then the managed per-user local store.
--loopbackopenfalseallInclude loopback.
--rolesopennoneallConfigure comma-separated capture roles.
--targetopennoneallSelect 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
OptionValuesDefaultAvailabilityMeaning
--diropennoneallUse an explicit extcap directory instead of a discovered scope.
--systemopenfalseallUse the machine-wide Wireshark directory; write privilege is required.
--useropenfalseallUse %APPDATA%\Wireshark\extcap, the default scope.

extcap uninstall

Remove the corresponding extcap registration. Scope flags have the same precedence as extcap install.

OptionValuesDefaultAvailabilityMeaning
--diropennoneallUse an explicit extcap directory instead of a discovered scope.
--systemopenfalseallUse the machine-wide Wireshark directory.
--useropenfalseallUse the per-user Wireshark directory, the default scope.

Data

bundle

Group explicit lifecycle operations for completed Deep Capture bundles.

OptionValuesDefaultAvailabilityMeaning

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.

OptionValuesDefaultAvailabilityMeaning
--bundleopennoneallSelect one exact custom or retained bundle instead of the root history population.
--include-retainedopenfalseallExplicitly include retained evidence in the reviewed deletion scope.
--purge-emptyopenfalseallSeparately request removal of eligible exact empty containers.
--authorizeopennoneallApply 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.

OptionValuesDefaultAvailabilityMeaning
--requestopennoneallRequired exact pending local recipient request emitted by the producer.
--bundleopennoneallRequired 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
OptionValuesDefaultAvailabilityMeaning
--yesopenfalseallConfirm 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
OptionValuesDefaultAvailabilityMeaning
--outopennoneallRequired 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
OptionValuesDefaultAvailabilityMeaning
--outopennoneallRequired 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
OptionValuesDefaultAvailabilityMeaning
--confirmopennoneallRequire the unchanged identifier emitted by the exact preview.
--previewopenfalseallList exact roots, categories, and inventory identity without mutation.
--reportopennoneallWrite the bounded versioned cleanup result to a new local path outside cleanup roots. Required for all-users execution.
--scopeall-users, current-usercurrent-userallSelect one caller profile or the distinct elevated all-users inventory.
--yesopenfalseallConfirm 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.

OptionValuesDefaultAvailabilityMeaning

catalog import

Load positional SEED, a schema-conformant local JSON export, transactionally.

fragcap catalog import catalog.json
OptionValuesDefaultAvailabilityMeaning
--dbopennoneallOverride FRAGCAP_CATALOG_DB, then the managed per-user catalog store.

catalog export

Write the catalog store as schema-conformant JSON to standard output.

OptionValuesDefaultAvailabilityMeaning
--dbopennoneallOverride 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
OptionValuesDefaultAvailabilityMeaning
--dbopennoneallOverride FRAGCAP_CATALOG_DB, then the managed per-user catalog store.
--fromopennoneallRead one local source document; requires exactly one consumable --tier.
--min-reviewsopen500allSet the title-tier review-count corpus threshold.
--pcgamingwikiopenfalsenetSeed the engine tier from the live PCGamingWiki query API.
--steamopenfalsenetSeed the title tier from the live Steam catalog.
--tiercatalog, engine, launch, signaturenoneallSelect a tier; repeat as needed. signature is always offline.

schema

Group commands for the embedded master JSON schema.

OptionValuesDefaultAvailabilityMeaning

schema validate

Validate positional FILE and report every structural violation in one pass.

fragcap schema validate targets.json
OptionValuesDefaultAvailabilityMeaning

schema print

Write the embedded master schema to standard output.

OptionValuesDefaultAvailabilityMeaning

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.