@planu/cli 8.7.3 → 8.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/README.md +11 -3
- package/dist/sdd-engine/canonical-tools.d.ts +57 -0
- package/dist/sdd-engine/canonical-tools.js +78 -0
- package/dist/sdd-engine/client-workspace.d.ts +8 -1
- package/dist/sdd-engine/client-workspace.js +168 -1
- package/dist/sdd-engine/contracts.d.ts +1 -23
- package/dist/sdd-engine/contracts.js +1 -18
- package/dist/sdd-engine/feature-manifest.js +1 -1
- package/dist/sdd-engine/host-rule-pack.d.ts +7 -3
- package/dist/sdd-engine/host-rule-pack.js +28 -52
- package/dist/sdd-engine/host-skill-reader.d.ts +12 -10
- package/dist/sdd-engine/host-skill-reader.js +252 -194
- package/dist/sdd-engine/source-descriptor.d.ts +3 -0
- package/dist/sdd-engine/source-descriptor.js +332 -0
- package/dist/sdd-engine/tools/execution-tools.d.ts +2 -1
- package/dist/sdd-engine/tools/execution-tools.js +70 -86
- package/dist/sdd-engine/tools/workspace-tools.d.ts +2 -1
- package/dist/sdd-engine/tools/workspace-tools.js +10 -20
- package/dist/sdd-engine/tools.js +4 -2
- package/dist/sdd-engine/trinity-structure.js +1 -1
- package/dist/sdd-engine/verification-receipts.d.ts +3 -2
- package/dist/sdd-engine/verification-receipts.js +50 -1
- package/dist/sdd-engine/workspace-root.d.ts +33 -7
- package/dist/sdd-engine/workspace-root.js +204 -139
- package/dist/types/completion.d.ts +20 -2
- package/dist/types/resume-views.d.ts +62 -0
- package/dist/types/sdd-engine.d.ts +23 -60
- package/dist/types/verification.d.ts +59 -0
- package/package.json +1 -1
- package/templates/AGENTS.md +4 -0
- package/templates/host/planu-sdd.md +4 -0
- package/templates/skills/preflight-guardian.md +4 -0
- package/templates/skills/spec-executor.md +4 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { VerificationEvidence, VerificationPreflight, VerificationProcessEvidence } from './verification.js';
|
|
2
|
+
export type { VerificationReceipt, ReceiptRejectionReason, ReceiptSetResult, GateAssessment, PreflightBlockerReason, PreflightAction, VerificationPreflight, ReceiptSetAssessment, VerificationGate, VerificationEvidence, } from './verification.js';
|
|
2
3
|
export type TrinityRule = 'out_of_scope' | 'error_matrix' | 'bdd' | 'frozen_dependencies' | 'manifest_path' | 'checkbox_task' | 'glob_delete' | 'protected_write' | 'receipt_policy_invalid' | 'artifact_missing' | 'artifact_unreadable';
|
|
3
4
|
export interface TrinityIssue {
|
|
4
5
|
artifact: 'spec.md' | 'plan.md' | 'tasks.md';
|
|
@@ -15,49 +16,6 @@ export interface ReceiptSealFailure {
|
|
|
15
16
|
issues: TrinityIssue[];
|
|
16
17
|
};
|
|
17
18
|
}
|
|
18
|
-
export type VerificationReceipt = Omit<VerificationEvidence, 'gates'> & {
|
|
19
|
-
gateId: string;
|
|
20
|
-
procedureSha256: string;
|
|
21
|
-
environmentSha256: string;
|
|
22
|
-
outcome: 'pass' | 'fail' | 'skipped' | 'partial';
|
|
23
|
-
evidenceSha256: string;
|
|
24
|
-
signature: string;
|
|
25
|
-
};
|
|
26
|
-
export type ReceiptRejectionReason = 'receipt_malformed' | 'receipt_missing' | 'receipt_duplicate' | 'receipt_unexpected' | 'receipt_invalid_signature' | 'receipt_context_mismatch' | 'receipt_candidate_mismatch' | 'receipt_observed_mismatch' | 'receipt_procedure_mismatch' | 'receipt_environment_mismatch' | 'receipt_non_pass';
|
|
27
|
-
export type ReceiptSetResult = {
|
|
28
|
-
ok: true;
|
|
29
|
-
gateCount: number;
|
|
30
|
-
receiptSetSha256: string;
|
|
31
|
-
} | {
|
|
32
|
-
ok: false;
|
|
33
|
-
reason: ReceiptRejectionReason;
|
|
34
|
-
gateId?: string;
|
|
35
|
-
};
|
|
36
|
-
export interface GateAssessment {
|
|
37
|
-
gateId: string;
|
|
38
|
-
state: 'receipt_valid' | 'receipt_missing' | 'receipt_rejected';
|
|
39
|
-
reason?: ReceiptRejectionReason;
|
|
40
|
-
}
|
|
41
|
-
export type PreflightBlockerReason = ReceiptRejectionReason | 'unlocked' | 'command_missing' | 'platform_unsupported' | 'receipt_input_unavailable' | 'receipt_observed_baseline_drift' | 'receipt_scoped_unsupported' | 'receipt_not_configured' | 'verification_policy_mismatch' | 'verification_policy_workspace_mismatch' | 'verification_state_unavailable' | 'verification_in_progress' | 'verification_grant_consumed' | 'verification_grant_quarantined';
|
|
42
|
-
interface PreflightBlocker {
|
|
43
|
-
reason: PreflightBlockerReason;
|
|
44
|
-
}
|
|
45
|
-
export type PreflightAction = 'fix_inputs' | 'review_observed_drift' | 'obtain_receipts' | 'use_supported_runtime' | 'review_lock' | 'review_verification_policy' | 'restore_verification' | 'attempt_integration' | 'none';
|
|
46
|
-
export interface VerificationPreflight {
|
|
47
|
-
budget?: VerificationBudgetDiagnostic;
|
|
48
|
-
version: 1;
|
|
49
|
-
taskId: string | null;
|
|
50
|
-
status: 'blocked' | 'ready_to_attempt' | 'not_applicable';
|
|
51
|
-
gates: GateAssessment[];
|
|
52
|
-
blockers: PreflightBlocker[];
|
|
53
|
-
integration: 'not_run';
|
|
54
|
-
nextAction: PreflightAction;
|
|
55
|
-
}
|
|
56
|
-
export interface ReceiptSetAssessment {
|
|
57
|
-
result: ReceiptSetResult;
|
|
58
|
-
gates: GateAssessment[];
|
|
59
|
-
blockers: PreflightBlocker[];
|
|
60
|
-
}
|
|
61
19
|
export type ArtifactType = 'spec' | 'plan' | 'tasks';
|
|
62
20
|
export type FilePermission = 'CREATE' | 'MODIFY' | 'READ_ONLY' | 'DELETE';
|
|
63
21
|
export type ErrorCode = 'ERR_FEATURE_NOT_FOUND' | 'ERR_FEATURE_ALREADY_EXISTS' | 'ERR_SPEC_NOT_LOCKED' | 'ERR_SPEC_ALREADY_LOCKED' | 'ERR_SPEC_DRIFT' | 'ERR_TASK_OUT_OF_SEQUENCE' | 'ERR_TASK_NOT_FOUND' | 'ERR_FILE_OUT_OF_MANIFEST' | 'ERR_PERMISSION_VIOLATION' | 'ERR_PATCH_FAILED' | 'ERR_INVALID_ARTIFACT' | 'ERR_INVALID_SLICE' | 'ERR_WORKSPACE_UNRESOLVED' | 'ERR_TRINITY_INCOMPLETE' | 'ERR_LOCK_REASON_REQUIRED' | 'ERR_VERIFICATION_MISSING' | 'ERR_VERIFICATION_FAILED';
|
|
@@ -127,10 +85,31 @@ export interface ReadSpecArtifactInput {
|
|
|
127
85
|
feature_id: string;
|
|
128
86
|
artifact: ArtifactType;
|
|
129
87
|
}
|
|
88
|
+
export interface SourceSegmentV1 {
|
|
89
|
+
line: number;
|
|
90
|
+
lineOffsetBytes: number;
|
|
91
|
+
text: string;
|
|
92
|
+
endsLine: boolean;
|
|
93
|
+
}
|
|
94
|
+
export interface SourcePageV1 {
|
|
95
|
+
version: 1;
|
|
96
|
+
snapshotSha256: string;
|
|
97
|
+
requested: {
|
|
98
|
+
startLine: number;
|
|
99
|
+
endLine: number;
|
|
100
|
+
};
|
|
101
|
+
phase: 'seeking' | 'reading' | 'complete';
|
|
102
|
+
segments: SourceSegmentV1[];
|
|
103
|
+
reachedEof: boolean;
|
|
104
|
+
continuation: 'work_limit' | 'response_limit' | 'line_limit' | null;
|
|
105
|
+
nextCursor: string | null;
|
|
106
|
+
}
|
|
130
107
|
export interface ReadFileSliceInput {
|
|
131
108
|
path: string;
|
|
132
109
|
start_line: number;
|
|
133
110
|
end_line: number;
|
|
111
|
+
view?: 'bounded';
|
|
112
|
+
cursor?: string;
|
|
134
113
|
}
|
|
135
114
|
export interface RelockHistoryCursor {
|
|
136
115
|
snapshotSha256: string;
|
|
@@ -163,21 +142,6 @@ export interface ApplyFilePatchInput {
|
|
|
163
142
|
search_content: string;
|
|
164
143
|
replace_content: string;
|
|
165
144
|
}
|
|
166
|
-
export interface VerificationGate {
|
|
167
|
-
id: string;
|
|
168
|
-
procedureSha256: string;
|
|
169
|
-
environmentSha256: string;
|
|
170
|
-
}
|
|
171
|
-
export interface VerificationEvidence {
|
|
172
|
-
version: 1;
|
|
173
|
-
featureId: string;
|
|
174
|
-
taskId: string;
|
|
175
|
-
workspaceSha256: string;
|
|
176
|
-
lockSha256: string;
|
|
177
|
-
candidateSha256: string;
|
|
178
|
-
observedSha256: string;
|
|
179
|
-
gates: readonly VerificationGate[];
|
|
180
|
-
}
|
|
181
145
|
export interface CompleteTaskInput {
|
|
182
146
|
feature_id: string;
|
|
183
147
|
task_id: string;
|
|
@@ -296,5 +260,4 @@ export type HostSkillReadResult = {
|
|
|
296
260
|
ok: false;
|
|
297
261
|
cause: HostSkillReadCause;
|
|
298
262
|
};
|
|
299
|
-
export {};
|
|
300
263
|
//# sourceMappingURL=sdd-engine.d.ts.map
|
|
@@ -97,4 +97,63 @@ export interface VerificationProcessEvidence {
|
|
|
97
97
|
readonly cleanupScope: 'owned_process_group';
|
|
98
98
|
readonly fixturePostconditions: 'unknown';
|
|
99
99
|
}
|
|
100
|
+
export type VerificationReceipt = Omit<VerificationEvidence, 'gates'> & {
|
|
101
|
+
gateId: string;
|
|
102
|
+
procedureSha256: string;
|
|
103
|
+
environmentSha256: string;
|
|
104
|
+
outcome: 'pass' | 'fail' | 'skipped' | 'partial';
|
|
105
|
+
evidenceSha256: string;
|
|
106
|
+
signature: string;
|
|
107
|
+
};
|
|
108
|
+
export type ReceiptRejectionReason = 'receipt_malformed' | 'receipt_missing' | 'receipt_duplicate' | 'receipt_unexpected' | 'receipt_invalid_signature' | 'receipt_context_mismatch' | 'receipt_candidate_mismatch' | 'receipt_observed_mismatch' | 'receipt_procedure_mismatch' | 'receipt_environment_mismatch' | 'receipt_non_pass';
|
|
109
|
+
export type ReceiptSetResult = {
|
|
110
|
+
ok: true;
|
|
111
|
+
gateCount: number;
|
|
112
|
+
receiptSetSha256: string;
|
|
113
|
+
} | {
|
|
114
|
+
ok: false;
|
|
115
|
+
reason: ReceiptRejectionReason;
|
|
116
|
+
gateId?: string;
|
|
117
|
+
};
|
|
118
|
+
export interface GateAssessment {
|
|
119
|
+
gateId: string;
|
|
120
|
+
state: 'receipt_valid' | 'receipt_missing' | 'receipt_rejected';
|
|
121
|
+
reason?: ReceiptRejectionReason;
|
|
122
|
+
}
|
|
123
|
+
export type PreflightBlockerReason = ReceiptRejectionReason | 'unlocked' | 'command_missing' | 'platform_unsupported' | 'receipt_input_unavailable' | 'receipt_observed_baseline_drift' | 'receipt_scoped_unsupported' | 'receipt_not_configured' | 'verification_policy_mismatch' | 'verification_policy_workspace_mismatch' | 'verification_state_unavailable' | 'verification_in_progress' | 'verification_grant_consumed' | 'verification_grant_quarantined';
|
|
124
|
+
interface PreflightBlocker {
|
|
125
|
+
reason: PreflightBlockerReason;
|
|
126
|
+
}
|
|
127
|
+
export type PreflightAction = 'fix_inputs' | 'review_observed_drift' | 'obtain_receipts' | 'use_supported_runtime' | 'review_lock' | 'review_verification_policy' | 'restore_verification' | 'attempt_integration' | 'none';
|
|
128
|
+
export interface VerificationPreflight {
|
|
129
|
+
budget?: VerificationBudgetDiagnostic;
|
|
130
|
+
version: 1;
|
|
131
|
+
taskId: string | null;
|
|
132
|
+
status: 'blocked' | 'ready_to_attempt' | 'not_applicable';
|
|
133
|
+
gates: GateAssessment[];
|
|
134
|
+
blockers: PreflightBlocker[];
|
|
135
|
+
integration: 'not_run';
|
|
136
|
+
nextAction: PreflightAction;
|
|
137
|
+
}
|
|
138
|
+
export interface ReceiptSetAssessment {
|
|
139
|
+
result: ReceiptSetResult;
|
|
140
|
+
gates: GateAssessment[];
|
|
141
|
+
blockers: PreflightBlocker[];
|
|
142
|
+
}
|
|
143
|
+
export interface VerificationGate {
|
|
144
|
+
id: string;
|
|
145
|
+
procedureSha256: string;
|
|
146
|
+
environmentSha256: string;
|
|
147
|
+
}
|
|
148
|
+
export interface VerificationEvidence {
|
|
149
|
+
version: 1;
|
|
150
|
+
featureId: string;
|
|
151
|
+
taskId: string;
|
|
152
|
+
workspaceSha256: string;
|
|
153
|
+
lockSha256: string;
|
|
154
|
+
candidateSha256: string;
|
|
155
|
+
observedSha256: string;
|
|
156
|
+
gates: readonly VerificationGate[];
|
|
157
|
+
}
|
|
158
|
+
export {};
|
|
100
159
|
//# sourceMappingURL=verification.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@planu/cli",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.9.0",
|
|
4
4
|
"description": "Planu — MCP server for Spec Driven Development. Planning and file operations on macOS/Linux/Windows; automated verification requires macOS/Linux (POSIX).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
package/templates/AGENTS.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# SDD Engine v8 — Master Global Rules
|
|
2
2
|
|
|
3
|
+
Before optional views or observations, inspect setup diagnostics and require a recognized `engineCapabilities.version=1` and the relevant advertised value. An absent or unknown version means unsupported; never probe a mutation or fall back to lock/relock to discover support. This describes server implementation only: host catalogues remain unverified, and a host catalogue refresh is separate from restarting MCP.
|
|
4
|
+
|
|
3
5
|
You are operating within a Spec-Driven Development environment (Planu v8).
|
|
4
6
|
Canonical contract: `PLANU_V8_MANIFESTO.txt`.
|
|
5
7
|
|
|
@@ -9,6 +11,8 @@ After the local client has registered the MCP server and the intended project is
|
|
|
9
11
|
|
|
10
12
|
## Read-only diagnostics
|
|
11
13
|
|
|
14
|
+
For an opt-in bounded source read, first require `engineCapabilities.version=1`, `views.sdd_read_file_slice` containing `bounded`, and `observations.sourceSlice=1` in setup diagnostics. Treat an absent or unknown descriptor version or capability value as unsupported; do not probe a mutation. Use `sdd_read_file_slice` with `view="bounded"` and the required path and line range. Follow a non-null `nextCursor` read-only on the same server instance, repeating the same normalized path and range; the cursor is bound to that server, root, request and physical snapshot. Stop when `nextCursor` is null. The physical snapshot digest is not a content checksum. A same-UID replacement after the last filesystem check is not transactionally excluded. This view and its cursor grant no permission, retry authority or verification time. The default legacy read remains unchanged.
|
|
15
|
+
|
|
12
16
|
Use `sdd_list_features.hostSkills` to identify fixed installed role paths, causes and the bundled reference version. `catalog` stays `unverified` even when files match. An unavailable baseline requires inspecting the installation; unsafe paths require inspection before authorized setup. Project setup and client catalogue reload are explicit, separate actions.
|
|
13
17
|
|
|
14
18
|
For a rejected `sdd_lock_spec`, inspect `error.details.issues` for artifact, stable rule and optional 1-based original source line. Missing or ambiguous locations omit the line. Existing rejection codes and legacy details remain authoritative; rejection writes no lock. Do not automatically relock.
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Planu v8 host contract
|
|
2
2
|
|
|
3
|
+
Before optional views or observations, inspect setup diagnostics and require a recognized `engineCapabilities.version=1` and the relevant advertised value. An absent or unknown version means unsupported; never probe a mutation or fall back to lock/relock to discover support. This describes server implementation only: host catalogues remain unverified, and a host catalogue refresh is separate from restarting MCP.
|
|
4
|
+
|
|
3
5
|
The only SDD contract is `.sdd/features/{FEAT-*}/spec.md`, `plan.md`, and `tasks.md`.
|
|
4
6
|
|
|
5
7
|
## First use in this project
|
|
@@ -8,6 +10,8 @@ After the local client has registered the MCP server and the intended project is
|
|
|
8
10
|
|
|
9
11
|
## Read-only diagnostics
|
|
10
12
|
|
|
13
|
+
For an opt-in bounded source read, first require `engineCapabilities.version=1`, `views.sdd_read_file_slice` containing `bounded`, and `observations.sourceSlice=1` in setup diagnostics. Treat an absent or unknown descriptor version or capability value as unsupported; do not probe a mutation. Use `sdd_read_file_slice` with `view="bounded"` and the required path and line range. Follow a non-null `nextCursor` read-only on the same server instance, repeating the same normalized path and range; the cursor is bound to that server, root, request and physical snapshot. Stop when `nextCursor` is null. The physical snapshot digest is not a content checksum. A same-UID replacement after the last filesystem check is not transactionally excluded. This view and its cursor grant no permission, retry authority or verification time. The default legacy read remains unchanged.
|
|
14
|
+
|
|
11
15
|
Use `sdd_list_features.hostSkills` to identify fixed installed role paths, causes and the bundled reference version. `catalog` stays `unverified` even when files match. An unavailable baseline requires inspecting the installation; unsafe paths require inspection before authorized setup. Project setup and client catalogue reload are explicit, separate actions.
|
|
12
16
|
|
|
13
17
|
For a rejected `sdd_lock_spec`, inspect `error.details.issues` for artifact, stable rule and optional 1-based original source line. Missing or ambiguous locations omit the line. Existing rejection codes and legacy details remain authoritative; rejection writes no lock. Do not automatically relock.
|
|
@@ -4,6 +4,8 @@ role: SDD Readiness Guardian
|
|
|
4
4
|
target_tools: [sdd_list_features, sdd_read_spec_artifact, sdd_get_active_task, sdd_read_file_slice]
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
Before optional views or observations, inspect setup diagnostics and require a recognized `engineCapabilities.version=1` and the relevant advertised value. An absent or unknown version means unsupported; never probe a mutation or fall back to lock/relock to discover support. This describes server implementation only: host catalogues remain unverified, and a host catalogue refresh is separate from restarting MCP.
|
|
8
|
+
|
|
7
9
|
# SDD PREFLIGHT GUARDIAN DIRECTIVE
|
|
8
10
|
|
|
9
11
|
You act as the read-only readiness boundary before architecture or execution.
|
|
@@ -52,6 +54,8 @@ Preflight never edits product files and never marks tasks complete.
|
|
|
52
54
|
|
|
53
55
|
## Connection and read-only views
|
|
54
56
|
|
|
57
|
+
For an opt-in bounded source read, first require `engineCapabilities.version=1`, `views.sdd_read_file_slice` containing `bounded`, and `observations.sourceSlice=1` in setup diagnostics. Treat an absent or unknown descriptor version or capability value as unsupported; do not probe a mutation. Use `sdd_read_file_slice` with `view="bounded"` and the required path and line range. Follow a non-null `nextCursor` read-only on the same server instance, repeating the same normalized path and range; the cursor is bound to that server, root, request and physical snapshot. Stop when `nextCursor` is null. The physical snapshot digest is not a content checksum. A same-UID replacement after the last filesystem check is not transactionally excluded. This view and its cursor grant no permission, retry authority or verification time. The default legacy read remains unchanged.
|
|
58
|
+
|
|
55
59
|
For supported connections, inspect `sdd_list_features` with `view="setup_diagnostics"` and an optional fixed `host`; server registration, installed file hashes and client-reported identity do not prove the host-effective catalogue. Reload the client catalogue only when needed. For a locked task use `execution_window`, follow its `execution_detail` cursors and `evidence_history` pages; reread the window when a cursor is stale. These views are non-certifying. Explicitly record an already observed attempt with `sdd_lock_spec(operation="evidence_checkpoint")` only after inspecting the selected connection’s advertised input schema for `operation`, `checkpoint` and `task_id` and confirming a supporting engine version. The global 8.5.1 server does not gain new inputs from source edits: never probe an unknown mutation, or fall back to lock/relock, because old schemas may strip fields and seal instead. Report unsupported capability. The journal retains only explicitly recorded observations; failures are not recorded automatically. Its caller-reported outcome is not certification; the server captures identity and eligible digests. Preserve uncertain guards for operator review.
|
|
56
60
|
|
|
57
61
|
## Outcome
|
|
@@ -4,6 +4,8 @@ role: Zero-Freedom SDD Coder
|
|
|
4
4
|
target_tools: [sdd_get_active_task, sdd_read_file_slice, sdd_apply_file_patch, sdd_complete_task]
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
Before optional views or observations, inspect setup diagnostics and require a recognized `engineCapabilities.version=1` and the relevant advertised value. An absent or unknown version means unsupported; never probe a mutation or fall back to lock/relock to discover support. This describes server implementation only: host catalogues remain unverified, and a host catalogue refresh is separate from restarting MCP.
|
|
8
|
+
|
|
7
9
|
# SDD SPEC EXECUTOR DIRECTIVE (ZERO FREEDOM)
|
|
8
10
|
|
|
9
11
|
You act as the Implementation Agent operating in "Zero Freedom" mode.
|
|
@@ -35,6 +37,8 @@ You do not make architectural decisions, you do not add dependencies, and you do
|
|
|
35
37
|
|
|
36
38
|
## Evidence and current connection
|
|
37
39
|
|
|
40
|
+
For an opt-in bounded source read, first require `engineCapabilities.version=1`, `views.sdd_read_file_slice` containing `bounded`, and `observations.sourceSlice=1` in setup diagnostics. Treat an absent or unknown descriptor version or capability value as unsupported; do not probe a mutation. Use `sdd_read_file_slice` with `view="bounded"` and the required path and line range. Follow a non-null `nextCursor` read-only on the same server instance, repeating the same normalized path and range; the cursor is bound to that server, root, request and physical snapshot. Stop when `nextCursor` is null. The physical snapshot digest is not a content checksum. A same-UID replacement after the last filesystem check is not transactionally excluded. This view and its cursor grant no permission, retry authority or verification time. The default legacy read remains unchanged.
|
|
41
|
+
|
|
38
42
|
For supported connections, inspect `sdd_list_features` with `view="setup_diagnostics"` and an optional fixed `host`; server registration, installed file hashes and client-reported identity do not prove the host-effective catalogue. Reload the client catalogue only when needed. For a locked task use `execution_window`, follow its `execution_detail` cursors and `evidence_history` pages; reread the window when a cursor is stale. These views are non-certifying. Explicitly record an already observed attempt with `sdd_lock_spec(operation="evidence_checkpoint")` only after inspecting the selected connection’s advertised input schema for `operation`, `checkpoint` and `task_id` and confirming a supporting engine version. The global 8.5.1 server does not gain new inputs from source edits: never probe an unknown mutation, or fall back to lock/relock, because old schemas may strip fields and seal instead. Report unsupported capability. The journal retains only explicitly recorded observations; failures are not recorded automatically. Its caller-reported outcome is not certification; the server captures identity and eligible digests. Preserve uncertain guards for operator review.
|
|
39
43
|
|
|
40
44
|
Display evidence separately: optional smoke is caller-reported and never gate coverage; each required gate needs a valid matching PASS receipt; missing evidence, skipped/partial observations or unavailable inputs are pending; challenge mismatches (workspace, feature, task, lock, candidate, observed input, procedure or environment) and signature, shape or coverage failures are stale/rejected. Receipt v1 has no TTL. Even valid receipts require fresh integration; `ready_to_attempt` permits an attempt only. Obtain signed receipts from the operator-controlled issuer. Do not grant budgets, edit authority or treat the journal as a certificate.
|