inspectRecovery
Purpose and behavior
Section titled “Purpose and behavior”Inventory recovery state without deleting anything. Local mode scans the .outpost directory of the Git checkout, and optionally worktrees, locks and sandbox activity records; with transporter it lists that transport’s objects and can read activity records, whose ownership stays unknown. git or locks with a transporter, or an invalid maxEntries, reject with code configuration.
Complete example and detailed rules.
Parameters and properties
Section titled “Parameters and properties”optionsOptionalRecoveryInspectionOptions | undefinedLocal repository or transport inventory selection, entry limit and optional resource inspection. Git and process-lock checks require local mode.options.transporterOptionalTransport | undefinedInventory this transport’s objects instead of a local repository. Pass the transport given as activityTransport to read its activity records; git or locks then reject with code configuration.options.repositoryOptionalstring | undefinedGit checkout to inspect, default the current directory, resolved to its top-level root. In transport mode, only echoed back as a label.options.maxEntriesOptionalnumber | undefinedMaximum entries scanned before the inventory is marked incomplete, default 100000. Local resource inspection also stops at 10000 records; a non-positive value rejects with code configuration.options.gitOptionalboolean | undefinedAdds the Git state of each workspace under .outpost: registration, HEAD, branch, dirty and locked flags. Local mode only.options.locksOptionalboolean | undefinedAdds operation lock files with their owner’s status. Local mode only.options.resourcesOptionalboolean | undefinedAdds sandbox activity records with their ownership verdicts, read from .outpost/storage or, with transporter, from that transport.