Opened by a workflow run, Nov 25, 2026 5:25 PM EST.
screen malicious
Screen Result: All Clear
Evidence: No prompt injection, agent-directed text, or covert-execution mechanism was found in PR #404 ("Add optional per-request activation steering for DeepSeek V4.1 cores", jcartu, head 8e5a1b0, 49 files, +1794/−309). I read the full discussion and the diffs of every substantive changed file, including both added files in full.
- No injected instructions. Repo-wide regex sweeps at the PR head for override/manipulation phrasing ("ignore previous/prior instructions", "disregard", "system prompt", "do not report", "all clear", "clearly malicious", "jailbreak", "uncensor"), AI-agent framing ("AI agent", "language model", "assistant", "autobot"), and embedded URLs returned only benign pre-existing hits (chat-template
tool_choicesentences, Apache-2.0 boilerplate, vLLM references). Unicode/zero-width and control-character sweeps returned nothing in the changed files. No docs or code addition is addressed to a reviewer or an automated agent. - No covert execution. Greps for
subprocess,os.system,eval/exec,requests/urllib,curl/wget,base64,pickle.loads,__import__found no new behaviour. The one new file that touches external data,ignition/recipes/deepseek41/steering.py:38-86, reads a local path withpath.read_bytes()andsafetensors.torch.load, then enforces an exact tensor inventory for layers 4..36 with FP32 scalar alpha > 0, BF16[5120] direction/gain and unit-norm checks — no pickle, no network, no code execution. - No weakened guards.
helios/src/model/admission.rs:74-80,132-143andheliopause/src/export/binding.rs:770-788only add a 0..1 bounds/default constraint;helios/src/server/request.rs:530-538adds an HTTP-boundary clamp;helios/src/model/packing.rs:176-190,273-289tightens width symmetry. No auth, permission, or route-registration code is touched. - No hidden hooks or workflows. Only two files are added (
ignition/recipes/deepseek41/steering.py,tests/recipes/test_deepseek41_steering.py); nositecustomize,conftest,__init__side effects,.githubworkflow or git hooks. The largeignition/preparation/runtime_core_pb2.pydiff is an opaque protoc 7.35.1→7.36.1 descriptor regeneration whose only semantic addition is the two optional proto fields matchinghelios/proto/runtime_core.proto:450-451,470.
Worth a human's attention, explicitly not an injection: the feature is functionally a per-request switch that suppresses the model's refusals on a shared serving core — the description's own numbers show 100-prompt semantic refusals falling from 76/100 to 0/100 at steering_scale = 1.0. This is disclosed openly, was raised by reviewer yatesdr as a policy/design objection (it is why the PR is in "changes requested"), and the author accepted the related Principle 1 objection rather than concealing it. Non-blocking nits: alpha is checked for finiteness/positivity but has no upper bound (steering.py:74-78), and the description's AI-disclosure names ("Gemini 4 Carbon", "GPT-6.2 Astra", "Claude Fable 5.2") are implausible — provenance sloppiness, not an attack.
Open questions: none that affect the verdict. I did not run the tests or reproduce the GPU benchmarks; the assessment is a security/provenance screen of the diff and discussion, not a correctness review.
Full report · Notes decide malicious: all_clear (100%): No malicious content found
explore
Author: jcartu (Joshua Cartu; CONTRIBUTOR — 2 merged PRs in the last 180 days, no prior merged work in ignition/recipes, ignition/components or ignition/direct; Discord: jcartu)
Motivation: Serving both normal and "activation-steered" DeepSeek V4.1 behaviour on one machine needed two ~473 GiB cores, because steering hooks cannot run inside the captured CUDA graphs; the author wants one loaded core to serve both a defensive-security workload at scale 0.0 and a red-team workload at 1.0 without a ~2-minute core swap.
Scale: +1,794 / −309 lines in 49 files
Proposal:
- New
--steering-sidecar <PATH>safetensors export flag for DeepSeek V4.1 (layers 4..36: FP32alpha, BF16direction, BF16attn_row_gain), with the sidecar SHA-256 folded into the core's model identity. - Per-request
steering_scalein[0,1]carried as a 7th f32 column of the existingValueSource::SamplingParametersbuffer; width (6 vs 7) and admission derived from the declared binding andsampling_ranges.steering_scale, not a capability flag. - Directional ablation + row-gain rescaling executed inside the captured forward (attention output after reduction; shared-expert partial before TP reduction), gated by
torch.where(token_scale == 0, output, steered). PARAMETERS: tl.constexpr = 6threaded through score/admission/draft/Markov/vocabulary sampling kernels;steering_scalewired throughignition/directand the HTTP boundary (sampling_numberclamp, HTTP 400 on malformed/conflicting values,/v1/modelsadvertises default 0.0 and range).PrefixHistoryroot digest salted with the exact nonzero FP32 scale bits, preserving unsteered keys and isolating scales across preemption, checkpoint readmission and pooled host-lookup retries. Touches:helios/src(16 files):SamplingParameterswidens to 7 for every core, packing/admission/prefix-hash/server parsing changes.ignition/components+ignition/direct(10 files): shared Triton sampling kernel signatures and direct-execution prefix-cache key shape.ignition/recipes/deepseek41+tests/recipes(7 files): recipe-owned code that no longer lives in this repository after the 2026-11-22 split. Related items:- #505 Bind core-declared FP32 graph inputs per request (open draft): the maintainer-directed generic successor to this design, by the same author, overlapping 22 files; #404 branch unchanged.
- #330 / #284 / #283 / #282 DeepSeek V4.1 decoder PRs (open): same recipe files, unrelated purpose.
- #167 Add a hard reasoning-token budget and DeepSeek V4.1 sampling ranges (merged): established the sampling-range/
/v1/modelssurface #404 extends. - #418 / #416 (merged): the author's prior merged work (tool schemas; host prefix-cache recency).
- #520 / #517 (open): author's other open runtime/serving items, incl. an SM120 Xid 31 fault in
_checkpoint_pages. Link: https://github.com/NVIDIA/hyperflare-inference/pull/404 Autobot comments: Undeclared in the description:steering_scaleis rejected on the Responses and Messages protocols; a second spelling viachat_template_kwargs.steering_scalemutates the template map; the 0..1 range is hard-coded in five places rather than declared; the direct path's prefix-cache key becomes a tuple and all direct-path number parsing changes. More importantly, the repository split of 2026-11-22 removedignition/recipesand most of the components files this PR edits (enforced bytests/preparation/test_core_boundary.py), so it cannot merge as written;original-el8's triage requires a linked recipe-repo PR. Two change-requested reviews stand unresolved, the author conceded the "no new captured-graph contract" claim was wrong (Principle 1, owner approval never given), and the branch has not moved since 2026-11-19. All GPU evidence predates the last rebase and no test runs the steered decoder; the headline effect is that atsteering_scale = 1.0the refusal rate falls from 90/100 to 0/100 semantic refusals, which the reviewer flagged as the reason the feature needs a stated purpose. The charter itself cites #404 by number as its example of "a good idea in the wrong place."
Value Proposition
Verdict: Not worth merging as written. The capability is worth having, but only through the generic mechanism the owner already asked for (#505) plus the recipe in hyperflare-recipes — not as this sampling-column change to shared Helios.
I reviewed the charter, docs/design-review.md, AGENTS.md, the PR description, its full discussion, and the diff (helios/src/{model,model/packing,model/admission,scheduler,cache/hash,server/*}, heliopause/src/export/binding.rs, ignition/components/{paged_batch,sampling,draft_sampling,vocabulary_sampling,markov_sampling,causal_draft,parallel_draft}.py, ignition/direct/*, ignition/recipes/deepseek41/*, tests and docs).
1. It needs an approval it does not have, and cannot get retrospective cover
Principle 1 (docs/design-review.md:22-26) requires Luke Alonso's explicit prior approval for a new captured-graph operation contract, "even if it reuses a graph kind or enum value," and adds that "a design acknowledgment does not grant approval." This PR puts a per-request value inside the captured forward:
ignition/components/paged_batch.py:48-56(gather_token_steering_scale),:306-309(PreparedBatch.begin),:129-134(Metadata.set),:160-166(Metadata.pack);ignition/recipes/deepseek41/decoder.py:237-241,:253-254,:375-377,:399.
Every existing captured operation reads SamplingParameters only in the sampling stage, after the logits. The author has already conceded exactly this on the PR ("I can't name a matching captured operation… My description was wrong. This needs explicit approval from Luke Alonso"), and no such approval exists in the thread. Luke's 2026-11-21 20:28 comment redirects the work: expose scalars in the model proto and bind them per request instead. The PR text still claims "no new captured-graph operation contract," which is not true.
2. Wrong layer for the problem it solves
The charter's "Keep the runtime small and model-agnostic" and "Solve the right problem in the right place / smallest footprint in shared code" both point away from this design. Measured cost of the current shape, +1,794/−309 across 49 files:
- Sampling layout is now variable.
helios/src/model/packing.rs:177-193(width must be 6 or 7 and uniform),:273-286(two-way metadata/binding symmetry),:506-530(nonzero scale requires 7 columns; packed bits must equal the planned prefix bits). Every core's parameter buffer now has a conditionally different row stride. - Kernel stride threaded through five families with
PARAMETERS: tl.constexpr = 6:ignition/components/sampling.py(_scores,_sampling_metadata,_admission_validate,_admission_finish,PreparedSampling,PreparedAdmission),draft_sampling.py(5 kernels),vocabulary_sampling.py(2),markov_sampling.py(not opened), plus newsteering=allocators inDeviceRequestState/AdmissionBuffers. - One recipe-specific invariant re-implemented seven times ("default 0.0, range [0,1], no range means fixed"):
heliopause/src/export/binding.rs:773-786,helios/src/runtime_core/protobuf.rs:92-110(twice),helios/src/server/config.rs:119-125,helios/src/model.rs:229-237and:265,ignition/components/sampling.py:64-66,ignition/direct/scheduler.pySamplingParameters.__post_init__. That is the maintenance bill for a capability onlydeepseek41can produce (ignition/planning.py:212, 509). - A recipe-named carve-out in shared protocol decoding.
helios/src/server/protocol/decode.rs:585-628pullssteering_scaleout ofchat_template_kwargsfor every core and rejects it on Responses/Messages (:630-636). Any chat template that genuinely takes asteering_scalevariable is silently overridden. This exists only because the value was bolted onto sampling rather than being a declared graph input. - Prefix-key salting on arbitrary float bits (
helios/src/cache/hash.rs:38-48,scheduler.rs:1415-1455,ignition/direct/scheduler.py:400-403) is defensible in isolation, but it is shared cache policy added for one recipe's knob.
The previous review round already forced the capability flag out (ValueSource::SamplingParameters width plus sampling_ranges.steering_scale), and that is a real improvement — but it moved the cost from an allowlist field into the layout of a shared buffer and the stride of every sampling kernel. Principle 1's guidance and the charter's #267/#334 both say that cost belongs in a separately declared operand.
3. Two behavioural defects that contradict the charter
- Silent field drop (#417).
helios/src/server/request.rs:530-538parses viasampling_number(:557-580), which, when a core declares no range, falls back toSamplingRange::fixed(default)— so{"steering_scale": 0.8}against a 6-column core returns HTTP 200 with scale 0.0. The charter is explicit: "either implement it according to the spec or reject it. Never accept it and quietly drop it." The behavior is asserted as intended intests/recipes/test_deepseek41_steering.py:275. It should be a 400, exactly like an unknown field elsewhere. - The dual spelling is unnecessary surface. Top-level plus
chat_template_kwargsconflict detection with i128/f64 exact-integer comparison (decode.rs:595-627, and again inignition/direct/server.py) is ~90 lines of precision bookkeeping for a knob nobody standardized. A single top-level extension field would do; neither eliminates the defect above.
4. Evidence is thorough in style but does not cover the changed forward
Credit where due: the four-part description is present, limitations are disclosed, prefix-isolation, preemption, retry, and 6-column back-compatibility checks are real, and helios/src/server/runtime/phase_tests.rs:3898 (not opened),3937 and helios/src/cache/tests.rs:128 (not opened) genuinely cover the cache plumbing. But:
- No test runs the decoder with steering.
tests/recipes/test_deepseek41_steering.py(7 tests) exercises sidecar validation, the gather helper,steer_attention/steer_shared_expertmath,Metadata.packundertorch.compile(fullgraph=True), and direct-scheduler cache keys. Nothing constructsPreparedDecoderwith steered weights, and nothing runs a 7-column core through native packing into a captured replay. The reviewer's original objection — "None runs the decoder with steering, so later changes to these paths have little protection" — still stands. - Head mismatch. Head is
8e5a1b0(base6555f939); every GPU number is from15ade6b9(base69858cd1), with a core exported from that worktree. The description states CUDA unit suites and the 4-GPU re-export were not repeated after the rebase. - No performance case, and a small negative. Charter merge criteria include "a measured performance/memory issue"; this PR claims no speedup. At scale 1.0, C=1 decode is 2–8% below the geometric mean of two 6-column baselines on a different core, and C=1 at 0.0 was not timed even though the gated steering kernels launch at every scale on a steered core. Correctness-sensitive hidden-state math (per-rank BF16 projection before TP4 all-reduce, verified only to 5e-3 relative at
tests/recipes/test_deepseek41_steering.py:104-140) with no whole-model agreement evidence beyond a 95-item score slice is thin for a numerics change in an optimized path.
5. Simpler ways to the same end already exist
- Zero engine change: export the steered checkpoint as its own core (the reference checkpoint the PR already benchmarks against at
0.92/0.20/0.84). This is yatesdr's recommendation and matches the charter's "a way to solve it without new code at all." It is exactly what the author's C=1/KV-capacity use case cannot do, but it is a legitimate path for everyone else. - The generic mechanism (maintainer-requested, already drafted): #505 "Bind core-declared FP32 graph inputs per request," +2,299/−276 across 33 files, declares named FP32 arguments in
ModelContract.scalar_arguments, binds them to prepared destinations, keys prefix identity on their canonical bits, and leaves the six-column sampling layout and every sampling kernel unchanged. It is the smallest-footprint answer and it satisfies Principle 1 on the mechanism while explicitly deferring approval of a consuming operation. jcartu has already exported and served a declaring core with it (embedding_gain, prefix isolation 0/4114 + 4114/4114). - The author's own option 2 (per-batch profile: stock graphs beside a steered graph ladder, batched by profile, prefix keyed by profile) keeps stock-only steps on unmodified graphs if single-batch mixing is not actually required.
The only thing #404 adds over (1) or (2) is mixing stock and steered requests in a single replay batch. The PR never demonstrates that requirement is real: the workload described is one host serving two workloads, not one batch containing both.
6. Scope / repository split
original-el8's 2026-11-24 triage asks for the DeepSeek recipe and model components to move to hyperflare-recipes, leaving only runtime interfaces here. ignition/recipes/deepseek41/steering.py, decoder.py, weights.py, bootstrap.py, contextual_tuning.py changes are recipe-owned and should not land in this repo as-is. The charter also requires new recipes/aliases to "support more than a single checkpoint" — a single sidecar-format contract for one checkpoint line is another reason to keep it out of the engine.
7. Risk assessment if merged as-is
- Any future change to sampling-kernel signatures,
SamplingParameterspacking, or the direct scheduler must hold at two widths forever; the invariant "declared range means 7 columns" is enforced in two languages and seven places with no single source of truth. - Salting the prefix root with arbitrary float bits sets a precedent that request-scoped conditioning is expressed through sampling columns, which invites replicated per-model branches — precisely what Principle 3 and the charter's "no per-model booleans/flags" exist to prevent.
- The 400-vs-silent-clamp defect ships inconsistent API behavior on every 6-column core, in a repo whose standard is explicit rejection.
What I would do
- Close #404 as an implementation. Keep it cited as the design rationale and the measurement record; it is genuinely good research and yatesdr is right that the capability is forward-looking.
- Continue in #505 as the single engine change: declared scalar operands, no sampling-layout change, canonical-bit prefix identity, per-recipe binding. Fix #505's own open items (unbound-read isolation at C>8, chat parity cause) before merging either.
- Move the DeepSeek adapter to
hyperflare-recipeswith the recipe's own tests, and restate the intended use as recipe-defined conditioning strength, not refusal removal. - If single-batch mixing really is required, bring a measurement showing it (e.g. a 31-stock/1-steered C32 batch is infeasible with per-profile batching) as an explicit Principle 1 exception request, with a decoder-with-steering integration test and post-rebase GPU evidence on the PR head.
Bottom line: real problem, honest evidence, good craft — but the change lands a one-recipe conditioning knob in the shared sampling layout, the protocol, the cache identity, and five kernel families, without the required owner approval, without a test that exercises the changed forward, and against a smaller generic design that the owner already asked for and that is now drafted. Not worth merging in this form.
Full report · Notes Decide Value: no (56%): It is low value or does not align with the project charter. Bypass Low Value Review: No answer in time.
This PR was identified as low value for the following reason.
It is low value or does not align with the project charter. Decision Summary
The auto-reviewer was stopped, but can be re-started manually.
Click "Approve" to override this decision and continue the code review