Repository navigation
docs: fix stale cross-references left behind by earlier renames - #1120
Merged
Merged
Conversation
Three independent one-line staleness fixes, plus one dangling reference the acceptance criteria caught. The PR template still told first-time contributors to read `AGENTS.md`, which does not exist in a checkout (it is gitignored alongside the other local agent files). PR #1014 replaced the dead links in `CONTRIBUTING.md` but missed the template, which is the surface every contributor sees first. It now points at `CONTRIBUTING.md` and `docs/code-guidelines.md`, where the contract actually lives. The same dead reference in the `tests/surgery_cli.rs` doc comment on `REFERENCE_MODEL` is reworded; comment text only, no code or behavior change. `docs/supported-models.md` and `docs/turbo-kv-cache.md` both stamped themselves as describing the `v0.0.27` source tree while the workspace is at `0.5.0-beta.1`. The stamps are dropped rather than bumped: a version stamp nothing verifies goes stale again, and both pages already name the code as the source of truth. This is a stamp change only. The three allowlisted prefixes `turbo-kv-cache.md` lists (`qwen3_5`, `qwen3_5_moe`, `qwen3_next`) still match `ALLOWED_SYMMETRIC_TURBO_FAMILIES` in `src/lib/mlxcel-core/src/cache/turbo/allowlist.rs` exactly, so nothing behind either stamp needed rewriting. The allowlist section gains an explicit pointer to that file as the source of truth in place of the stamp. `docs/README.md` enumerated 18 documents while `docs/` holds 19 non-README `.md` files. The missing entry, `code-guidelines.md`, is one of the three core contract documents `CONTRIBUTING.md` names, and the only one of the three that was unindexed. It is added as item 19. Verified with `python3 scripts/ci/check_cross_repo_refs.py` and `cargo fmt --all -- --check`. Closes #1106
Bilingual report covering the four stale-reference fixes: why the version stamps were dropped rather than bumped, why satisfying acceptance criterion 1 required a comment-only edit in a .rs file, and how the docs/README.md index was verified by sorted-diff rather than by eye.
3 tasks done
inureyes
added a commit
that referenced
this pull request
Aug 13, 2026
## Summary Four PRs merged on 2026-08-13. Two of them, #1120 and #1122, got their bilingual technical reports from the chain workflow. #1118, #1119 and #1121 merged without one. This PR closes that gap after the fact so the batch is uniformly documented. Six files, `.en.md` and `.ko.md` per PR, following the naming and section shape of the two reports already in `TECHNICAL_REPORTS/` from this same batch. No source, documentation, or build file is touched. ## What is here | PR | Issue | Squash commit | Report | |---|---|---|---| | #1119 | #1104 | `cf4e22cd` | `1119-paged-decode-v2-env-vars-20260814.{en,ko}.md` | | #1118 | #1108 | `33322d66` | `1118-cli-dry-sequence-breakers-20260814.{en,ko}.md` | | #1121 | #1110 | `f0bf3a2c` | `1121-utils-used-by-annotations-20260814.{en,ko}.md` | Each report was written from the merged diff (`git show <commit>`) and the linked issue body, not from the PR description alone. Each records at least one thing the issue did not contain. ## Findings recorded in the reports **#1121 (issue #1110).** The issue was wrong on a load-bearing point. It recorded `create_causal_mask` as carrying no `Used by:` annotation. It carried one, and that annotation named Llama, Mixtral, Gemma, Cohere, Phi, GLM4, StarCoder2 and OLMo among its users while grep at that commit shows `mixtral.rs`, `phi.rs`, `phi3small.rs`, `starcoder2.rs`, `llama3.rs`, `gemma.rs`, `gemma2.rs`, `cohere.rs`, `glm4.rs`, `olmoe.rs` and `qwen3_moe.rs` each calling it zero times. Those families moved to the implicit-causal fused-SDPA path (`mask: None` when `seq_len > 1`). The PR therefore replaced a misleading roster rather than adding a missing one, which is a stronger defect than the issue described: a missing annotation sends a contributor to look, a wrong one tells them not to. Measured counts at that commit: 44 non-test callers under `src/models` (the issue's 46 counted `diffusion_gemma/tests.rs` and `phi3small_tests.rs`), 55 across all of `src`. **#1119 (issue #1104).** All six variable defaults were traced to their definition sites rather than to the issue text. Two out-of-scope defects are recorded rather than fixed: `docs/turbo-kv-cache.md` around lines 298 to 312 still carries the same pre-#899 "not a server knob" framing this PR corrected in `environment-variables.md`, and in `src/execution/memory_estimate.rs` the `Err(_)` arm of `resolve_paged_slab_blocks` warns "using the derived slab size" and then returns `None`, which keeps the 32-block pool default instead, so the warning describes behavior that does not happen. **#1118 (issue #1108).** The issue was reframed away from a flag-parity feature request into a docs fix after investigation showed the CLI omits nine server sampling knobs, not one. The change is comment-and-help-text only, 13 added lines all matching `^\s*(///|//)`. The second `dry_multiplier` field in `src/main.rs` belongs to `ServeArgs`, which already exposes `--dry-sequence-breakers` sixteen lines below, so it was deliberately left alone. ## Notes `TECHNICAL_REPORTS/` is listed in `.gitignore` but is tracked through the `TECHNICAL_REPORTS/.keep-reports` marker, so the six files were staged with `git add -f`. ## Test plan - [x] `git status --porcelain` shows exactly the six intended files staged and nothing else - [x] Every claim in each report checked against the merged commit: caller counts re-run with `git grep` at `f0bf3a2c`, variable defaults re-read at their definition sites, diffstats taken from `git show --stat` - [x] No build, test, lint, or format surface involved: the diff is six new Markdown files under `TECHNICAL_REPORTS/`
inureyes
added a commit
that referenced
this pull request
Aug 13, 2026
Review caught that this PR made the `SseKeepAlive` rustdoc wrong in the act of fixing the constants. It said the type is "constructed by `sse_channel`" and listed three consumers, but `router_front.rs` now constructs it directly at two sites and is a fourth consumer, since its streams do not come from `sse_channel` at all. The `Used by:` list is a convention this repo maintains across 20-odd rustdoc sites and deliberately tracks for staleness (see the report for PR #1120), so leaving it short would have been the exact defect that report was written about. The sibling list on `sse_channel` is untouched and still correct: `router_front` does not call it. Two pre-existing inaccuracies in the same file, folded in while the lines were open. The `sse_channel` doc told handlers to attach via `keep_alive(keepalive.0)`, but the field is private outside the module and all seven attach sites use `into_inner()`, which the struct doc five lines above already said correctly. The module-doc lead-in presented the keepalive as something only `sse_channel` hands out, which stopped being true for two of the seven sites. The report gains a paragraph on a second way the guard's reach widened, which was not obvious going in: `streaming_tests.rs` is included under `#[cfg(test)]`, so the assertion was const-evaluated only in test builds. As a module-level `const _` in `streaming.rs` it is evaluated in every build, which is why the 61 experiment reproduces under a plain `cargo check --lib`. Three surfaces instead of one, and all profiles instead of test-only. No code changed. Validated on GB10: `cargo test --profile test-fast --features cuda --lib server::streaming` is 25 passed and 0 failed, clippy with `-D warnings` is clean, and `cargo fmt --all -- --check` is clean. Refs #1105
be-free-snowboy
pushed a commit
to freestylejs/snowbrain-mlxcel
that referenced
this pull request
Oct 27, 2026
…up#1120) ## Summary Three independent one-line documentation staleness fixes from lablup#1106, plus one dangling reference that acceptance criterion 1 turned up outside the three named sites. No code or behavior change. ## What changed **7a. `.github/PULL_REQUEST_TEMPLATE.md`** told first-time contributors to read `AGENTS.md`, which does not exist in a checkout (it is gitignored alongside the other local agent files). PR lablup#1014 replaced the dead links in `CONTRIBUTING.md` but missed the template, which is the surface every contributor sees first. It now points at `CONTRIBUTING.md` and `docs/code-guidelines.md`. **7a follow-on. `tests/surgery_cli.rs`** carried the same dead `AGENTS.md` pointer in the doc comment on `REFERENCE_MODEL`. Acceptance criterion 1 ("no reference to `AGENTS.md` remains outside `CHANGELOG.md`") covers it, so the comment is reworded. Comment text only: no code, no behavior, no test change. The remaining `AGENTS.md` occurrences are the three historical `CHANGELOG.md` entries, which stay, and the `.gitignore` pattern, which is intentional and not a cross-reference. **7b. `docs/supported-models.md` and `docs/turbo-kv-cache.md`** both stamped themselves as describing the `v0.0.27` source tree while the workspace is at `0.5.0-beta.1`. The stamps are dropped rather than bumped, per the issue's reasoning: a stamp nothing verifies goes stale again, and both pages already name the code as the source of truth. This is a stamp change only. The three allowlisted prefixes `turbo-kv-cache.md` lists (`qwen3_5`, `qwen3_5_moe`, `qwen3_next`) still match `ALLOWED_SYMMETRIC_TURBO_FAMILIES` in `src/lib/mlxcel-core/src/cache/turbo/allowlist.rs` exactly, so nothing behind either stamp needed rewriting. The allowlist section gains an explicit pointer to that file as the source of truth in place of the stamp. **7c. `docs/README.md`** enumerated 18 documents while `docs/` holds 19 non-README `.md` files. The missing entry, `code-guidelines.md`, is one of the three core contract documents `CONTRIBUTING.md` names, and the only one of the three that was unindexed. It is added as item 19, described by its two rules: the `// Used by:` shared-function convention and the JIT kernel dtype cache-key requirement. ## Test plan - [x] `python3 scripts/ci/check_cross_repo_refs.py` passes - [x] `cargo fmt --all -- --check` passes - [x] No `AGENTS.md` reference remains outside `CHANGELOG.md` (verified by repo-wide grep; `.gitignore` pattern excluded as intentional) - [x] No `v0.0.27` reference remains under `docs/` (verified by grep) - [x] `ls docs/*.md` and the `docs/README.md` numbered list agree exactly, 19 entries each (verified by sorted diff) Closes lablup#1106
be-free-snowboy
pushed a commit
to freestylejs/snowbrain-mlxcel
that referenced
this pull request
Oct 27, 2026
…up#1121 (lablup#1123) ## Summary Four PRs merged on 2026-08-13. Two of them, lablup#1120 and lablup#1122, got their bilingual technical reports from the chain workflow. lablup#1118, lablup#1119 and lablup#1121 merged without one. This PR closes that gap after the fact so the batch is uniformly documented. Six files, `.en.md` and `.ko.md` per PR, following the naming and section shape of the two reports already in `TECHNICAL_REPORTS/` from this same batch. No source, documentation, or build file is touched. ## What is here | PR | Issue | Squash commit | Report | |---|---|---|---| | lablup#1119 | lablup#1104 | `cf4e22cd` | `1119-paged-decode-v2-env-vars-20260814.{en,ko}.md` | | lablup#1118 | lablup#1108 | `33322d66` | `1118-cli-dry-sequence-breakers-20260814.{en,ko}.md` | | lablup#1121 | lablup#1110 | `f0bf3a2c` | `1121-utils-used-by-annotations-20260814.{en,ko}.md` | Each report was written from the merged diff (`git show <commit>`) and the linked issue body, not from the PR description alone. Each records at least one thing the issue did not contain. ## Findings recorded in the reports **lablup#1121 (issue lablup#1110).** The issue was wrong on a load-bearing point. It recorded `create_causal_mask` as carrying no `Used by:` annotation. It carried one, and that annotation named Llama, Mixtral, Gemma, Cohere, Phi, GLM4, StarCoder2 and OLMo among its users while grep at that commit shows `mixtral.rs`, `phi.rs`, `phi3small.rs`, `starcoder2.rs`, `llama3.rs`, `gemma.rs`, `gemma2.rs`, `cohere.rs`, `glm4.rs`, `olmoe.rs` and `qwen3_moe.rs` each calling it zero times. Those families moved to the implicit-causal fused-SDPA path (`mask: None` when `seq_len > 1`). The PR therefore replaced a misleading roster rather than adding a missing one, which is a stronger defect than the issue described: a missing annotation sends a contributor to look, a wrong one tells them not to. Measured counts at that commit: 44 non-test callers under `src/models` (the issue's 46 counted `diffusion_gemma/tests.rs` and `phi3small_tests.rs`), 55 across all of `src`. **lablup#1119 (issue lablup#1104).** All six variable defaults were traced to their definition sites rather than to the issue text. Two out-of-scope defects are recorded rather than fixed: `docs/turbo-kv-cache.md` around lines 298 to 312 still carries the same pre-lablup#899 "not a server knob" framing this PR corrected in `environment-variables.md`, and in `src/execution/memory_estimate.rs` the `Err(_)` arm of `resolve_paged_slab_blocks` warns "using the derived slab size" and then returns `None`, which keeps the 32-block pool default instead, so the warning describes behavior that does not happen. **lablup#1118 (issue lablup#1108).** The issue was reframed away from a flag-parity feature request into a docs fix after investigation showed the CLI omits nine server sampling knobs, not one. The change is comment-and-help-text only, 13 added lines all matching `^\s*(///|//)`. The second `dry_multiplier` field in `src/main.rs` belongs to `ServeArgs`, which already exposes `--dry-sequence-breakers` sixteen lines below, so it was deliberately left alone. ## Notes `TECHNICAL_REPORTS/` is listed in `.gitignore` but is tracked through the `TECHNICAL_REPORTS/.keep-reports` marker, so the six files were staged with `git add -f`. ## Test plan - [x] `git status --porcelain` shows exactly the six intended files staged and nothing else - [x] Every claim in each report checked against the merged commit: caller counts re-run with `git grep` at `f0bf3a2c`, variable defaults re-read at their definition sites, diffstats taken from `git show --stat` - [x] No build, test, lint, or format surface involved: the diff is six new Markdown files under `TECHNICAL_REPORTS/`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Three independent one-line documentation staleness fixes from #1106, plus one dangling reference that acceptance criterion 1 turned up outside the three named sites. No code or behavior change.
What changed
7a.
.github/PULL_REQUEST_TEMPLATE.mdtold first-time contributors to readAGENTS.md, which does not exist in a checkout (it is gitignored alongside the other local agent files). PR #1014 replaced the dead links inCONTRIBUTING.mdbut missed the template, which is the surface every contributor sees first. It now points atCONTRIBUTING.mdanddocs/code-guidelines.md.7a follow-on.
tests/surgery_cli.rscarried the same deadAGENTS.mdpointer in the doc comment onREFERENCE_MODEL. Acceptance criterion 1 ("no reference toAGENTS.mdremains outsideCHANGELOG.md") covers it, so the comment is reworded. Comment text only: no code, no behavior, no test change. The remainingAGENTS.mdoccurrences are the three historicalCHANGELOG.mdentries, which stay, and the.gitignorepattern, which is intentional and not a cross-reference.7b.
docs/supported-models.mdanddocs/turbo-kv-cache.mdboth stamped themselves as describing thev0.0.27source tree while the workspace is at0.5.0-beta.1. The stamps are dropped rather than bumped, per the issue's reasoning: a stamp nothing verifies goes stale again, and both pages already name the code as the source of truth. This is a stamp change only. The three allowlisted prefixesturbo-kv-cache.mdlists (qwen3_5,qwen3_5_moe,qwen3_next) still matchALLOWED_SYMMETRIC_TURBO_FAMILIESinsrc/lib/mlxcel-core/src/cache/turbo/allowlist.rsexactly, so nothing behind either stamp needed rewriting. The allowlist section gains an explicit pointer to that file as the source of truth in place of the stamp.7c.
docs/README.mdenumerated 18 documents whiledocs/holds 19 non-README.mdfiles. The missing entry,code-guidelines.md, is one of the three core contract documentsCONTRIBUTING.mdnames, and the only one of the three that was unindexed. It is added as item 19, described by its two rules: the// Used by:shared-function convention and the JIT kernel dtype cache-key requirement.Test plan
python3 scripts/ci/check_cross_repo_refs.pypassescargo fmt --all -- --checkpassesAGENTS.mdreference remains outsideCHANGELOG.md(verified by repo-wide grep;.gitignorepattern excluded as intentional)v0.0.27reference remains underdocs/(verified by grep)ls docs/*.mdand thedocs/README.mdnumbered list agree exactly, 19 entries each (verified by sorted diff)Closes #1106