Repository navigation
Conversation
…l route A general modal guide must hold every channel as a bound mode over the whole active band, so a channel that is cut off in the infrared limits the channel count of a run. The SEP proposes that each channel be carried where its provider certifies it and be absent below its own limit, with a per-channel mask in the kernel contract, and a performance phase first. Part III records two AI reviews, the responses to them and the maintainer's decisions. Tracking issue: #966. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XGENPu7fCXFcGW4uMS6XUx
Codex Review Summary: ✅ CompletedThis 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8902c6a208
ℹ️ 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".
| - **Identity and resume.** The modal identity records the new fields at their defaults, | ||
| so the configuration hash of every general modal run changes with the release that | ||
| carries them, and a file written before it does not resume after it. That is the | ||
| project's rule for new configuration fields. Reading older files is unaffected. | ||
| - **Output schema.** Unchanged. |
There was a problem hiding this comment.
Plan backward-compatible validation of stored modal identities
For existing general-modal output files, adding these fields to the guide identity also breaks reference-dependent reading, not just resume. In src/solprop/processing/modal.py, _checked_tables compares the rebuilt guide identity with the stored identity, and _identity_refusal explicitly rejects missing or extra paths. Consequently, older files without the new fields will raise OutputError when processing reconstructs their reference, contrary to the unchanged-reading guarantee here. Include an explicit compatibility path in phase 4 that interprets legacy identities using their original full-support semantics while retaining strict validation and the new resume hash.
AGENTS.md reference: AGENTS.md:L94-L97
Useful? React with 👍 / 👎.
|
📖 4 files changed · 1 added · 3 modified
Preview · build overview · solprop · built Dec. 4, 2026, 10:44 p.m. UTC |
Drafts SEP 55 (tracking issue #966): per-channel frequency support on the general modal route, so that a channel which is bound at the pump and cut off in the infrared no longer removes itself from the guide. Documentation only; no code changes.
What changed
docs/dev/seps/sep-0055-per-channel-frequency-support.md: the draft, two AI reviews recorded in Part III, and the revisions that answer them.docs/dev/seps/index.md: the index row and the toctree entry.What the SEP proposes, in short
cutoff="drop"(the default) or"refuse"on the guide, an optionallimitsmapping that raises a channel's limit, andcutoff_collarfor an optional taper above each limit. A guide that drops a channel warns when it is built, and a run warns by channel name when light reaches a limit.solvestays strict. A provider reports a partial set throughsolve_partial, declared as the refinement protocolPartialModalProvider;GradedIndexProvideris the first.node_rulecertifies the channels bound at its frequency.Measurements in the SEP
Taken with solprop 0.4.0 on an Apple M5 Max, native CPU build, six threads, two channels, Kerr only: 11.3 s per accepted step at 40 961 bins (median of 120 steps), a peak of 51 GB, and 83 % of the calling thread's samples inside a source evaluation in the two transform passes. The per-metre and seven-channel figures are labelled as estimates.
Review
Decided
The maintainer decided on 2026-12-04: the per-channel mask in the contract;
cutoff="drop"as the name and the default; a ratio target for the performance phase, placed first; and the provider interface (Q3). Four questions remain, each tied to the phase that measures it (section 12).How it was verified
git diff --checkand codespell on the changed files: clean.pytest tests/test_seps.py: 552 passed, 3 skipped, 3 xfailed.sphinx-build -W -non the documentation: succeeded.🤖 Generated with Claude Code
https://claude.ai/code/session_01XGENPu7fCXFcGW4uMS6XUx