@oussamadouhou/agent-enforcement 0.1.6 → 0.1.7
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/docs/EVIDENCE_SYSTEM.md +43 -0
- package/package.json +1 -1
package/docs/EVIDENCE_SYSTEM.md
CHANGED
|
@@ -191,6 +191,49 @@ When you try to mark a todo complete without evidence:
|
|
|
191
191
|
|
|
192
192
|
---
|
|
193
193
|
|
|
194
|
+
## Best Practices
|
|
195
|
+
|
|
196
|
+
### Sequential Completion (Recommended)
|
|
197
|
+
|
|
198
|
+
**Workflow:**
|
|
199
|
+
1. Execute the task (run tool/command)
|
|
200
|
+
2. Capture output in your response
|
|
201
|
+
3. Provide complete evidence block
|
|
202
|
+
4. Mark todo as `completed`
|
|
203
|
+
5. Move to next task
|
|
204
|
+
|
|
205
|
+
**Why sequential?**
|
|
206
|
+
- Clearer evidence trail per task
|
|
207
|
+
- Easier to verify each completion
|
|
208
|
+
- Reduces batch-completion confusion
|
|
209
|
+
- Helps with debugging if validation fails
|
|
210
|
+
|
|
211
|
+
**Example:**
|
|
212
|
+
```markdown
|
|
213
|
+
I'll check the working directory.
|
|
214
|
+
[tool: bash] pwd
|
|
215
|
+
Output: /home/user/project
|
|
216
|
+
|
|
217
|
+
**Evidence for todo-1**:
|
|
218
|
+
**Execution**: `pwd`
|
|
219
|
+
**Verification**: Path `/home/user/project` returned
|
|
220
|
+
**Checklist**:
|
|
221
|
+
- [x] Tool executed successfully
|
|
222
|
+
- [x] Output captured
|
|
223
|
+
- [x] Result matches expected
|
|
224
|
+
- [x] No workarounds used
|
|
225
|
+
- [x] Independently verifiable
|
|
226
|
+
**Trust**: 🟢 HIGH | ✅ Ground Truth
|
|
227
|
+
|
|
228
|
+
[tool: todowrite] mark todo-1 as completed
|
|
229
|
+
|
|
230
|
+
Now moving to todo-2...
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
**Note:** Sequential completion is optional but recommended. The plugin validates evidence regardless of whether you complete tasks one-by-one or in batches.
|
|
234
|
+
|
|
235
|
+
---
|
|
236
|
+
|
|
194
237
|
## Technical Details
|
|
195
238
|
|
|
196
239
|
### Hook Points
|