# kcode-commit-session
`kcode-commit-session` atomically materializes one sealed Kennedy session into
Kweb. It owns pending-reference resolution, one-transaction node and object
creation, durable idempotency receipts, and recovery across the narrow window
between Kweb finalization and receipt completion.
Its production API has one operation:
```rust,ignore
commit_session(&database, &receipt_database, request)
```
Callers retain session lifecycle, archive construction, attachment encoding,
HTTP adaptation, and writer scheduling. See [Documentation.md](Documentation.md)
for the complete API and [Specification.md](Specification.md) for guarantees.
## Verify
```sh
cargo test
```