LogNexus State: Set active subtask and file contract
lognexus_state_set_taskMarks a subtask as in progress and persists its delegation contract—allowed/forbidden files, decision budget, verification command—plus active issue tier so commit and audit enforce scope.
Instructions
Mark a subtask as in progress and persist its closed delegation contract (allowed files, forbidden files, decision budget, verification command) plus the active issue tier. Equivalent to 'lognexus state set-task [title]'. Use when you begin a new subtask and need the file scope enforced by the commit engine and the audit. Not for marking a subtask complete (use lognexus_state_finish_task) and not for reading the contract (use lognexus_state_get).
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tier": "tier-3",
"title": "Remove dead telemetry dispatch",
"taskId": "T1",
"allowedFiles": [
"src/telemetry/collector.ts"
],
"decisionBudget": "none",
"forbiddenFiles": [
"package.json"
],
"verificationCmd": "npm test"
},
"name": "lognexus_state_set_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | Operational routing tier ('tier-1', 'tier-2', 'tier-3'). | |
| title | No | Optional human-readable subtask title. | |
| taskId | Yes | Subtask identifier, e.g. 'T1'. | |
| allowedFiles | No | Optional list of files the subtask may modify. | |
| decisionBudget | No | Optional decision budget for the subtask contract. | |
| forbiddenFiles | No | Optional list of files the subtask must not modify. | |
| verificationCmd | No | Optional verification command for the subtask contract. |