merge: integrate proxyctl ticket 07

# Conflicts:
#	cmd/proxyctl/main.go
#	internal/securefs/securefs.go
This commit is contained in:
proxyctl coordinator
2026-07-17 03:53:04 +08:00
15 changed files with 1242 additions and 53 deletions
+13
View File
@@ -38,6 +38,19 @@ type OperationResult struct {
Err error
}
// Check is one read-only diagnostic observation with the evidence behind it.
type Check struct {
Name string
OK bool
Evidence string
}
// Diagnosable is the optional Target capability for command and write-authority
// checks which cannot be inferred from availability and inspection alone.
type Diagnosable interface {
DiagnosticChecks(context.Context, *profile.Profile) []Check
}
// Target hides platform paths and commands from the application and TUI.
type Target interface {
ID() string