Repository navigation
fix(sources): preserve declared live source admission - #4516
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Team Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
dc45b13 to
69ae0b8
Compare
## Summary `.lane/body.md` and `.lane/title` leave the index; `.gitignore` already lists `.lane/`. ## Problem Every merged lane PR rewrote the two tracked files, so every other open lane branch conflicted with master on them (#4509 rebased four times tonight, #4513/#4515/#4516/#4520/#4522 all cycled through the rebase reaction for this alone). The harvest reads the publication text from the worktree, not from the commit. ## Solution Untrack the two files. Lane branches that still carry them conflict once more (delete versus modify) and then never again. ## Verification ``` devtools verify --quick # exit 0 ``` ## Residual risk A lane that force-adds `.lane/` reintroduces the churn for itself only. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01YGi8wLWGR2HYBh8p8fXFXz Receipt: session-01YGi8wLWGR2HYBh8p8fXFXz Co-authored-by: Claude Fable 5.1 <[email protected]>
69ae0b8 to
4c22fa3
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4c22fa38a5
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Closing out open Codex review threads on this PR (evidence checked against master at c950478):
Resolving every thread listed; confirmed defects are fixed under the named bead. |
Summary
Require declared source classes for normal and source-only live batch admission. Classify source-only SQLite candidates without schema reads, retain default
codex-stateacquisition identity, and declare Codex database names beside their fidelity dispositions.Problem
The inherited lane admitted arbitrary SQLite files in source-only mode and probed Codex schemas before raw preservation. Its default
codex-statewatcher did not resolve to Codex, so source-only admission excluded declared state databases. It also used a broad Hermes SQLite suffix condition.Solution
Source-only admission returns typed unsupported for undeclared SQLite and uses declared Codex and Hermes acquisition identities. The
codex-statewatcher resolves to Codex. ZIP extraction remains ahead of source-class recognition. Codex filenames are declared beside their fidelity classifications rather than in a batch-local map.Verification
nix develop --accept-flake-config --command devtools test tests/unit/core/test_models.py::test_canonical_acquisition_provider_accepts_scoped_source_names tests/unit/sources/test_origin_specs.py tests/unit/sources/test_live_batch_support.py::test_source_only_full_ingest_snapshots_declared_codex_state_without_shape_probe tests/unit/sources/test_live_batch_support.py::test_source_only_foreign_sqlite_name_cannot_claim_codex_authority tests/unit/sources/test_live_batch_support.py::test_source_only_hermes_named_sqlite_uses_consistent_backup_before_generic_capture tests/unit/sources/parsers/test_codex_state.py::test_fidelity_declaration_covers_every_known_kind -p no:randomly: 41 passed.nix develop --accept-flake-config --command devtools verify --quick: exit 0.Residual risk
The complete corpus was not run.
Receipt: harvest-fce080fbfbf56f3f71529b3072606b6b