Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/systems-language-templates.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"agentic-debug-mode": minor
---

Add probe templates for five systems languages: C, C++, Rust, Java, and Kotlin. Each renders a
hypothesis-tagged, at-source-redacting fire-and-forget helper that appends bounded NDJSON evidence,
bringing the advertised helper/runtime pairs from nine to fourteen.
11 changes: 8 additions & 3 deletions DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,14 @@ The first supported combinations are:
- PowerShell + file
- C# + file
- Swift + file

Every advertised combination must pass a live end-to-end test with its real runtime. Rust, Java,
Kotlin, C, C++, and shell are not advertised until a safe serializer contract is defined.
- Rust + file
- C++ + file
- C + file
- Java + file
- Kotlin + file

Every advertised combination must pass a live end-to-end test with its real runtime. Shell is
not advertised until a safe serializer contract is defined.

### `debug-mode reset --session <id>`

Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ reproduces the failure, and proves the root cause with runtime evidence before i

Inspired from [Cursor's debug mode](https://cursor.com/blog/debug-mode) and built upon it: the same
hypothesis-driven core, made agent-agnostic (any coding agent that can run a CLI), and extended
with a session-scoped evidence store, hypothesis-tagged probes across nine languages, embedded
with a session-scoped evidence store, hypothesis-tagged probes across fourteen languages, embedded
structured queries over captured events, at-source secret redaction, and bounded reads that keep
large evidence sets token-cheap.

Expand Down Expand Up @@ -86,6 +86,11 @@ runtime:
| PowerShell | file |
| C# | file |
| Swift | file |
| Rust | file |
| C++ | file |
| C | file |
| Java | file |
| Kotlin | file |

## Development

Expand Down
5 changes: 5 additions & 0 deletions skills/agentic-debug-mode/REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ schema** for one language and transport. Templates never take `--session`.
| PowerShell | `powershell` (`pwsh`) | `file` |
| C# | `csharp` (`cs`, `c#`) | `file` |
| Swift | `swift` | `file` |
| Rust | `rust` (`rs`) | `file` |
| C++ | `cpp` (`c++`, `cxx`) | `file` |
| C | `c` | `file` |
| Java | `java` | `file` |
| Kotlin | `kotlin` (`kt`) | `file` |

HTTP templates use an ingest-URL placeholder; file templates use an append-path placeholder. Other
languages are unsupported until a safe serializer contract is defined.
Expand Down
4 changes: 3 additions & 1 deletion skills/agentic-debug-mode/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ with the Append Path. Advertised combinations, each verified end-to-end:
| TypeScript | http | PHP | file |
| Python | file | PowerShell | file |
| Go | file | C# | file |
| Swift | file | | |
| Swift | file | Rust | file |
| C++ | file | C | file |
| Java | file | Kotlin | file |

The output has four sections: **HELPER TEMPLATE**, **CALL TEMPLATE**, **PLACEHOLDERS**, and
**EVENT SCHEMA**.
Expand Down
7 changes: 6 additions & 1 deletion specs/building-a-debug-mode-agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,11 @@ advertised, end-to-end-tested combinations are:
- PowerShell + file
- C# + file
- Swift + file
- Rust + file
- C++ + file
- C + file
- Java + file
- Kotlin + file

Other languages are not advertised until a safe serializer contract is defined.

Expand Down Expand Up @@ -266,7 +271,7 @@ visually distinct, foldable, mechanically removable, and auditable as complete b

| Language/file type | Open | Close |
| --------------------------------- | ---------------------- | --------------- |
| JavaScript, TypeScript, Go, Swift | `// #region agent log` | `// #endregion` |
| JavaScript, TypeScript, Go, Swift, Rust, C++, C, Java, Kotlin | `// #region agent log` | `// #endregion` |
| C#, PowerShell | `#region agent log` | `#endregion` |
| Python, Ruby | `# region agent log` | `# endregion` |
| PHP | `// #region agent log` | `// #endregion` |
Expand Down
Loading
Loading