tendril-debug-plan
Debug a Tendril plan by analyzing its execution logs, session JSONL, verification results,…
Analyze a Tendril job's execution artifacts to identify issues and improvement opportunities in Tendril, promptware instructions, memory, or tools.
$ npx -y skills add Ivy-Interactive/Ivy-Tendril --skill tendril-debug-job --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/tendril-debug-jobContext preview
The summary Claude sees to decide when to auto-load this skill.
Analyze a Tendril job's execution artifacts to identify issues and improvement opportunities in Tendril, promptware instructions, memory, or tools.
name: tendril-debug-job description: Analyze a Tendril job's execution artifacts to identify issues and improvement opportunities in Tendril, promptware instructions, memory, or tools.
Analyze a job's execution artifacts to identify issues and improvement opportunities in Tendril, the promptware instructions, memory, or tools.
/tendril-debug-job <job-id> <comment>
Every job writes four files, flat, into `$TENDRIL_HOME/Jobs/`. They share one stem:
{jobId}-{planId}-{promptware} e.g. 00458-00044-ExecutePlan
{jobId}-{promptware} when the job has no plan (e.g. CreatePlan)| File | Name | |------|------| | `{stem}.md` | **Job Log** - status, timings, CLI command, final output, agent-authored `## Agent Log` sections | | `{stem}.prompt.md` | **Job Prompt** - the exact prompt handed to the agent | | `{stem}.raw.jsonl` | **Job Raw Log** - unparsed CLI stream-json output | | `{stem}.eventwire.jsonl` | **Job Eventwire Log** - Tendril's parsed event stream |
Locate them with a glob on the job id:
ls "$TENDRIL_HOME/Jobs/00458-"*
The promptware type is the **last** dash-separated segment of the stem; the plan id, when present, is the middle segment. There is no `Logs/` folder anywhere - not under promptwares, not under plans.
1. Reads the Job Log, the Job Prompt, and the Job Raw Log 2. Reconstructs the agent's execution timeline: tool calls, decisions, errors, retries 3. Cross-references with the promptware's Program.md, Memory, and Tools 4. Identifies concrete improvements to Tendril code, promptware instructions, or agent behavior 5. Produces actionable recommendations
The Job Log (`{stem}.md`, produced by `JobLogWriter`) has this structure:
# Job Log {stem}
- **JobId:** {id}
- **PlanId:** {planId} # present whenever the job produced or targeted a plan
- **Status:** {Completed|Failed|Timeout}
- **Exit Code:** {0|1|N/A}
- **Started:** {timestamp}
- **Completed:** {timestamp}
- **Duration:** {seconds}s
- **Provider:** {claude|copilot|codex|...}
- **SessionId:** {id}
- **Cost:** ${amount}
- **Tokens:** {count}
## CLI Command
{full command line}
## Final Output
{agent's last text response}
## Outcome
{commits, verifications, final plan state - ExecutePlan/RetryPlan only}
## Agent Log - {action} ({timestamp})
{narrative the agent appended mid-run via `tendril job add-log`}The compiled prompt is **not** in this file. Read `{stem}.prompt.md` for the full firmware + Program.md + references + custom instructions.
Extract:
`{stem}.raw.jsonl` is the CLI's `--output-format stream-json` output. Each line is a JSON object with a `type` field:
| Type | Contents | |------|----------| | `system` | System prompt setup | | `assistant` | Agent response with `content[]` array (text blocks and tool_use blocks) and `usage` (token counts) | | `tool_result` | Result of a tool call | | `result` | Final result text |
`{stem}.eventwire.jsonl` is Tendril's own parsed view of that same stream - use it when you want Tendril's interpretation (including `PermissionDenialEvent`) rather than the provider's raw wire format.
**Analysis approach (use targeted reads, never read the whole file if large):**
1. Count total lines: `wc -l` 2. Extract tool call patterns:
3. Token usage:
4. Error patterns:
5. Timeline:
Read the promptware's source files from the program folder:
| File | Purpose | |------|---------| | `Program.md` | The agent's instructions - did it follow them? | | `Memory/*.md` | Accumulated learnings - is anything missing or wrong? | | `Tools/*` | Custom tools available - were they used appropriately? |
Check:
Based on findings, check relevant Tendril source files:
| File | What It Controls | |------|-----------------| | `Helpers/JobLogPaths.cs` | Where every job artifact lives and how its stem is built | | `Services/FirmwareCompiler.cs` | Firmware template, prompt compilation | | `Services/Agents/AgentProviderFactory.cs` | Tool permissions, model/effort resolution | | `Services/Jobs/JobLauncher.cs` | Job launch, firmware values, environment setup | | `Services/Jobs/JobCompletionHandler.cs` | Post-completion
AI agents can now write 99% of the code. This changes what it means to be a developer. Our role shifts to knowing "what good looks like". To do that, we need completely new developer tools. Tendril is what replaces your IDE in an agentic era.
Repo: Ivy-Interactive/Ivy-Tendril
Debug a Tendril plan by analyzing its execution logs, session JSONL, verification results,…
Manage, build, test, package, install, and debug the Ivy Tendril extension in Antigravity IDE…
Updates the used Ivy NuGet packages to the latest stable versions in a branch from…
Comprehensive post-change review of all modified files. Checks for code smells, cleanup…
Find "Tendrillable" GitHub issues - open, recent, code-requiring issues that an agent can…