# Runtime Streaming Pack

Use this as the primary pack when the change touches request streaming, pending
chains, fail-open flow, or deferred output ordering.

## Triggers

- primary surface identifiers: `streaming`, `pending-chain`, `fail-open`
- touched files under `components/nginx-module/**`
- touched files under
  `components/rust-converter/src/incremental.rs`
- touched files under
  `components/rust-converter/src/charset.rs`
- touched files under `tools/e2e/**`
- keywords like `NGX_AGAIN`, `last_buf`, `pending chain`, `streaming`

## Common Supporting Packs

- `observability-metrics` when a streaming outcome changes logs, counters, or
  operator-visible behavior

## Sync Points

- pending chain persistence vs terminal buffer emission
- header-forwarded state vs fail-open branches
- UTF-8 tail handling vs chunk boundaries
- media URL extraction parity (`img`/`video`/`audio`/`source`/`track`/`area`)
  vs full-buffer behavior
- replay/runtime fixtures vs new failure paths
- known-difference registry schema drift (`drift_type`/`severity`) vs parity
  suppressor semantics

## Minimum Verification

```bash
make harness-check
make test-rust-streaming
make test-nginx-unit-streaming
make verify-chunked-native-e2e-smoke
```

## Canonical References

- [../../architecture/REQUEST_LIFECYCLE.md](../../architecture/REQUEST_LIFECYCLE.md)
- [../../testing/README.md](../../testing/README.md)
- [../../../AGENTS.md](../../../AGENTS.md)

## Document Updates

| Version | Date | Author | Changes |
|---------|------|--------|---------|
| 0.5.0 | 2026-04-21 | docs-standardization | Added update tracking section |
| 0.6.2 | 2026-05-08 | Kang | Unified version narrative to 0.6.2 current release line |
