feat(sqlite): inspect offline snapshots with selective evidence (#2271)
Add offline SQLite database/WAL inspection through the shared CLI/MCP. Use compact inventory, selected-table schema, exact ordered columns and bounded row samples while preserving source identity and lossless values. Retain completed Evidence through late cancellation and private-root cleanup failures, bound concurrent inspections, and recheck journal validity after acquisition. Reuse prepared CI runtime artifacts across supported Node lines. Co-authored-by: Y0UW1SH <29498139+Y0UW1SH@users.noreply.github.com> Assisted-by: Kogasa (gensokyo-skills:kogasa-surprise-testing)
This commit is contained in:
@@ -198,15 +198,19 @@ type CapabilityAvailabilityCode = Exclude<
|
||||
CapabilityDescriptor["availabilityCode"],
|
||||
undefined
|
||||
>;
|
||||
type CapabilityProjection = Omit<CapabilityDescriptor, "available" | "reason"> &
|
||||
(
|
||||
// Wire capability projection also covers target-free operations outside binary routing.
|
||||
type CapabilityProjection = Omit<
|
||||
CapabilityDescriptor,
|
||||
"operation" | "available" | "reason"
|
||||
> & { readonly operation: string } & (
|
||||
| { readonly available: true; readonly reason: null }
|
||||
| { readonly available: false; readonly reason: string }
|
||||
);
|
||||
type ProviderCapabilityGroup = ProviderCapabilitySet["groups"][number];
|
||||
|
||||
/** Group inline capability facts without merging distinct providers or states. */
|
||||
const providerCapabilitySets = (
|
||||
/** Project provider descriptors once for binary and target-free status consumers. */
|
||||
export const providerCapabilitySets = (
|
||||
descriptors: readonly CapabilityProjection[],
|
||||
): ProviderCapabilitySet[] => {
|
||||
const providers = new Map<
|
||||
|
||||
Reference in New Issue
Block a user