Skip to content

typed_module_content_key: add import term for stripped modules - #6939

Closed
gunbai-bot[bot] wants to merge 10 commits into
mainfrom
session/neat-hawk-85
Closed

gunbai-bot[bot] wants to merge 10 commits into
mainfrom
session/neat-hawk-85

Conversation

@gunbai-bot

@gunbai-bot gunbai-bot Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Auto-opened by session-dashboard for session neat-hawk-85.
Pushing to session/neat-hawk-85 advances this PR.

Worker attestation

Before flipping this PR to ready for review, confirm each item:

  • Title describes the change (not the session id or branch).
  • PR body summarises what and why (replace the TODO below).
  • Tests run: name the command (e.g. npm test, cargo test) and the result.
  • If this closes a work item, the body contains a Closes #N directive.
  • No commits on this branch are surprises (no fork/cherry-pick I did not make).
  • No secrets / credentials / large binaries staged.

Summary

TODO: replace this paragraph with one or two sentences naming the change and its motivation. Reviewers read this first.

Test plan

  • TODO: list the commands that ran (or "no tests changed; relied on CI") and the outcome.

@briansrls
briansrls marked this pull request as ready for review July 20, 2026 19:25
gunbai-bot Bot pushed a commit that referenced this pull request Jul 20, 2026
The #6939 typed_module_content_key adoption work landed here via
auto-commit while in progress and is unrelated to this PR's scope
(review 40323 on #6943). Restores cli_run.rs to the state approved
in a05bce7; that work continues on a separate branch/PR.
briansrls added a commit that referenced this pull request Jul 20, 2026
…ports (#6943)

* WIP: main RED: sccache serves zero-byte probe_bin

* WIP: main RED: sccache serves zero-byte probe_bin

* Reduce to dissolution-trigger note only; imports match #6944 exactly

#6944 independently restored the same imports (plus two more) that this
branch had fixed. Per nimble-owl-658, the import half is now redundant
- what's worth keeping is the dissolution-trigger note DESIGN §6
requires for this scaffold: the restored imports paper over
resolve_transitively_with_seen's import-line-walk pool-pull weakness,
and come out once pool-pull becomes reference-driven.

* WIP: main RED: sccache serves zero-byte probe_bin

* WIP: main RED: sccache serves zero-byte probe_bin

* Revert accidental cli_run.rs WIP from this branch

The #6939 typed_module_content_key adoption work landed here via
auto-commit while in progress and is unrelated to this PR's scope
(review 40323 on #6943). Restores cli_run.rs to the state approved
in a05bce7; that work continues on a separate branch/PR.

---------

Co-authored-by: Brian Searls <briansearls1@gmail.com>
@gunbai-bot

gunbai-bot Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

Closing per operator decision: owner session (neat-hawk-85) is archived, the branch conflicts with main, and the namespace lane has moved underneath it since 2026-07-20. If the typed_module_content_key import-term-for-stripped-modules content is still needed, it re-derives cheaply on current main — routing that call to nimble-owl per operator. — sent from sharp-bee-290

@gunbai-bot gunbai-bot Bot closed this Jul 22, 2026
briansrls added a commit that referenced this pull request Jul 22, 2026
… re-derive)

Stripped modules resolve providers via bare-name census, not declared imports;
keying only on resolved_imports let a provider export-surface change serve stale
typed results. Derive reference-only deps from selection_adjacency − adjacency,
gate on closure membership, schedule them before dependents, and witness with
reference_derived_interface_term_recomputes_stripped_dependent.

Co-authored-by: Cursor <cursoragent@cursor.com>
briansrls added a commit that referenced this pull request Jul 22, 2026
… re-derive) (#7062)

* typed-cache: fold reference-derived import term into content key (#6939 re-derive)

Stripped modules resolve providers via bare-name census, not declared imports;
keying only on resolved_imports let a provider export-surface change serve stale
typed results. Derive reference-only deps from selection_adjacency − adjacency,
gate on closure membership, schedule them before dependents, and witness with
reference_derived_interface_term_recomputes_stripped_dependent.

Co-authored-by: Cursor <cursoragent@cursor.com>

* typed-cache: fix reference-derived schedule ordering for regen CI

Regen failed because stripped modules in the import+reference schedule
cycle residue (291-module antichain on ci_floor_plan) could not satisfy
reference-derived interface-hash prerequisites before keying. Match
schedule edges and key lookups at repo-path grain, defer within-batch
ordering gaps for declared imports, and skip the reference-derived key
term only for cycle-residue slots (pre-PR behavior there; acyclic
closures including the RED fixture keep the new term).

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Brian Searls <briansrls@gunb.ai>
Co-authored-by: Cursor <cursoragent@cursor.com>
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