4 Commits

Author SHA1 Message Date
Jeff Emanuel 8619fa7a21 feat(codex): ingest archived rollouts without losing incremental history
Discover Codex's archived_sessions alongside active sessions from default,
CODEX_HOME, full-home and mirrored roots. Keep narrow session/file scopes
narrow and use the same inventory for discovery and guarded recovery.
Archive moves preserve mtime, so inventory archives independently of the
active cutoff and leave unchanged-source reuse to the existing host hook.
Preserve full-home native dated IDs across archive/unarchive moves while
retaining explicitly scoped archive identities and original provenance.

Separate the public source-selection surface from the byte-identical
existing parsing/enrichment implementation. Add real-consumer regressions
for both collections, old archived files, archive-only homes, exclusions,
root scopes, remote provenance, identity stability and failed archives.
Use existing published dependencies; no pin or lockfile change.
Also correct the import ordering left by the prior resume-test commit.
2026-09-19 19:45:36 -04:00
Jeff Emanuel a897707f28 test(codex): validate upstream reader changes in the real CASS consumer
Add --fad-checkout for pre-publication compatibility testing without changing
CASS's production registry pin or lockfile. Override only the temporary test
crate and verify Cargo metadata resolves the requested checkout, so an unused
patch cannot silently test the old published connector instead.

Keep the default published-dependency mode and all existing consumer tests.
2026-09-19 16:43:07 -04:00
Jeff Emanuel 687e5afc85 test(codex): preserve module layout in the native consumer harness
An absolute #[path] changes Rust's nested-module lookup base. Stage byte-
identical production files with their normal layout instead, without editing
or mocking the connector. Include the existing real-source containment tests
so the exclusion fix is checked alongside oversized-source error semantics.
2026-09-19 15:42:39 -04:00
Jeff Emanuel b2ce6c3b5d test(codex): exercise the production consumer on Windows and Linux
Build the actual CASS Codex module, its unit tests and the GH #486 public-API
regressions in a focused temporary crate. Read dependency versions and the
initial lockfile from CASS, rather than silently testing an upstream checkout
or maintaining a second pin. Check source-budget and enrichment behavior too.

This complements, and does not claim to replace, the full archive/TUI suite.
2026-09-19 15:38:08 -04:00