DevTape publishes open session-recording protocol and local-first CLI
state: seedheat: lowuncertainty: mediumrelevance: mediumagent-observability session-recording developer-toolssayyidls
What is this?
DevTape is an Apache-2.0, local-first Rust CLI and vendor-neutral protocol project by GitHub user sayyidsh. Its repository describes DTP v0.1 and portable `.tape` archives for capturing, inspecting, replaying and exporting development sessions, including AI-agent sessions. It also describes streaming secret scrubbing, SQLite storage, read-only MCP tools, and Git snapshot/rewind features. The supplied evidence is the project repository linked from its Hacker News post; there is no independent adoption or performance evidence here.
Why it matters
Portable, inspectable session records could make agent work easier to reproduce, debug, audit and share without routing records through a hosted service. That is a useful building block for agent observability, but this evidence concerns an early, single-project implementation—not an established standard or demonstrated ecosystem.
Current assessment
The repository presents DevTape and DTP v0.1 as available, with CLI examples for recording command sessions, inspecting and replaying archives, exporting with different privacy profiles, and exposing read-only MCP tools. It describes bounded PTY buffering, streaming redaction, archive integrity hashes, and safety snapshots before Git rewind. These are project documentation claims; the supplied sources do not independently verify implementation quality, security effectiveness, performance, or adoption. The repository also documents material constraints: its declared Rust 1.80 version conflicts with the locked `time` dependency's Rust 1.88 requirement; network capture currently supports plain HTTP but not HTTPS CONNECT or chunked request bodies; and the browser viewer does not verify archive integrity. The project says archives should be scrubbed before sharing. If the format and tooling mature, portable session records could support debugging and review across agent tools while keeping data local, but interoperability and practical trust remain unproven. The web results provide no relevant corroboration.
Measured heat
now 0 pts/hpeak 6 pts/hcomments 0/hpeers p21momentum: steady2 platformsage 74h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion
How the heat travelled
pace: p14 vs 2088 stories at the 72h mark (now 74h old) — behind adobe-max-ai-agents-creative-tools-mcp (0.5x)
Evidence (2) — ⭐ canonical anchor
| source | object | author | score | comments |
| 🟧 hn | DevTape – Open protocol and 3.9MB Rust CLI for recording dev/AI sessions (.tape)Retrieved article excerptOpen article · Retrieved 2026-11-24T14:22:32.250217+00:00 # DevTape & DTP v0.1
DevTape is a local-first Rust implementation of the DevTape Protocol for recording, scrubbing, inspecting, and replaying development sessions in portable `.tape` archives. The protocol is specified in `spec/RFC-0001-dtp-v0.1.md` and `spec/dtp_v1.proto`.
Recording uses a PTY with bounded buffering and streaming redaction; archives carry events, a manifest, and an integrity hash. Sessions can be stored in SQLite, exported by privacy profile, inspected through read-only MCP tools, or viewed locally. Git snapshots use a private index, and rewind first creates a safety snapshot.
## Crates
- `dtp-codec`: tape encoding, validation, HLC, event types and replay ANSI filtering.
- `devtape-scrub`: streaming secret scrubbing.
- `devtape-pty`: PTY capture and backpressure.
- `devtape-git`: shadow snapshots, rewind and undo.
- `devtape-core`: SQLite session store and export profiles.
- `devtape-mcp`: read-only MCP stdio tools.
- `devtape-net`: opt-in loopback HTTP capture proxy.
- `devtape-ui`: loopback read-only timeline server.
- `dtp-wasm`: Rust decoding and viewer sanitization helper.
- `devtape-cli`: command-line interface.
## Usage
Run with `cargo run -p devtape-cli --`, or build and use the `devtape` binary. Examples below assume the binary is on `PATH`.
```
devtape doctor
devtape demo-tape --out sample.tape
devtape inspect sample.tape
devtape record --out session.tape --qos zero-stall --db sessions.db -- sh -c 'echo hello'
devtape record --net --out network.tape -- curl http://example.com/
devtape snapshot --repo . --label before-change
devtape rewind --repo . --to SNAPSHOT_ID
devtape undo-rewind --repo .
devtape sessions --db sessions.db
devtape export SESSION_ID --db sessions.db --profile full --review --out exported.tape
devtape export SESSION_ID --db sessions.db --profile diff-only --review --out diff.tape
devtape export SESSION_ID --db sessions.db --profile trace-only --review --out trace.tape
devtape view session.tape --port 0
devtape mcp --tape session.tape
printf 'Bearer example-token\n' | devtape scrub-check
```
`view` prints a loopback URL and runs until interrupted. It sanitizes dangerous terminal control sequences for display; its displayed integrity hash is that of the original archive. Archives should already have been scrubbed before sharing. `web/viewer/index.html` can display JSON locally and can decode `.tape` files when the browser supports Zstandard or a compatible `decode_and_sanitize_tape_json` JavaScript hook is supplied. Browser-native decoding does not verify the tape integrity hash. The `dtp-wasm` crate currently provides Rust functions; no browser binding or compiled WASM artifact is included.
`--net` captures plain HTTP; HTTPS CONNECT and chunked request bodies are currently unsupported. The proxy configures the child environment only and does not install a system CA.
The workspace declares Rust 1.80, but the currently locked `time` dependency requires Rust 1.88; use a compatible toolchain until that mismatch is resolved.
## Verification
```
CARGO_INCREMENTAL=0 cargo test --workspace
CARGO_INCREMENTAL=0 cargo clippy --workspace --all-targets -- -D warnings
```
Some integration tests require permission to bind loopback sockets.
## License
Apache-2.0. The protocol specification is open and vendor-neutral. | sayyidls | 1 | 0 |
| 🟧 echo.github ⭐ | The original source is the DevTape repository itself. Its README introduces “DevTape [as] a local-first Rust implementation of the DevTape P | Sayyid Shaban | — | — |
Interpretation history
2026-11-24T14:23:27Z
audience grounding: medium — Portable, inspectable session records could make agent work easier to reproduce, debug, audit and share without routing records through a hosted service. That is a useful building block for agent observability, but this evidence concerns an early, single-project implementation—not an established standard or demonstrated ecosystem.
Decision trace
- 11-25 01:25attention_candidatecreate
- 11-25 01:24promote_anchororigin walk conf 0.98
- 11-25 01:23groundPortable, inspectable session records could make agent work easier to reproduce, debug, audit and share without routing records through a hosted service. That is a useful building block for agent obse
- 11-25 01:23createThe linked project documents a substantial, usable session-recording tool and protocol, while adoption and interoperability remain unestablished.