Skip to content

fix(sources): preserve declared live source admission - #4516

Merged
Sinity merged 4 commits into
masterfrom
feature/packet/polylogue-nrlsl
Sep 2, 2026
Merged

Sinity merged 4 commits into
masterfrom
feature/packet/polylogue-nrlsl

Conversation

@Sinity

@Sinity Sinity commented Sep 2, 2026 •

Copy link
Copy Markdown
Owner

Summary

Require declared source classes for normal and source-only live batch admission. Classify source-only SQLite candidates without schema reads, retain default codex-state acquisition 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-state watcher 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-state watcher 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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-02T11:23:11.371363Z 4c22fa3 New commits
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Team

Run ID: 7f5d19e6-0d47-4be8-9311-d4a502fa0298


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Sinity
Sinity force-pushed the feature/packet/polylogue-nrlsl branch from dc45b13 to 69ae0b8 Compare September 2, 2026 06:43
Sinity added a commit that referenced this pull request Sep 2, 2026
## 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]>
@Sinity
Sinity force-pushed the feature/packet/polylogue-nrlsl branch from 69ae0b8 to 4c22fa3 Compare September 2, 2026 11:15
@Sinity
Sinity merged commit 023c171 into master Sep 2, 2026
3 checks passed
@Sinity
Sinity deleted the feature/packet/polylogue-nrlsl branch September 2, 2026 11:21

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread polylogue/sources/live/batch.py Resolved
@Sinity

Sinity commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant