[Phase 16] S8 — Run-scoped effective state and provenance
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 12/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Active
- Tech stack
- huggingface, python
- Domain
- documentation, machine-learning
Research direction
Start with the step plan in docs/roadmap/phase-16-trust-surface-hardening.md (lines 518-551) and the ForgeTrainer run state, then trace how the model card and compliance manifest producers read the config today. The fit-check YAML emitter and the --compliance-export path without a training run are the other entry points. Done means the six exit criteria pass, including the 4x2 lora.method and CUDA matrix and the A-to-B and B-to-A run isolation test. This is cross-cutting design work spanning several units, so it should be split before anyone starts.
Written by the indexing model from the issue text.
Description
Roadmap · Phase 16, step S8 · size XL · 4 unit(s) · planned in
docs/roadmap/phase-16-trust-surface-hardening.md:518-551
Summary
Artifact producers and estimators re-interpret the original config instead of consuming this run's observed effective state, and the provenance that does exist is bound to a module singleton instead of the run. The model card misses DoRA, PiSSA and rsLoRA in all three of its surfaces, and the manifest's training_parameters.dora is False for method: dora, contradicting the same manifest's adapter_method — an internally inconsistent compliance artefact.
Units
| Unit | Tracked by (October 2026 review) |
|---|---|
C31-RUN-OUTCOME (= CORE-06 + CORE-07 + CORE-12) |
#569 · #572 · #647 · #700 · #804 |
F-W20260729-CORE-09 |
#503 · #561 |
F-W20260729-TRUST-08 |
#569 · #647 · #686 · #689 · #709 |
F-W20260729-OPS-22 |
— no review issue; tracked by this issue |
Decisions this step executes
- C-6 — keep
model_lineage.quantizationmeaning "requested" and addquantization_effectivebeside it. - C-7 — effective fields when no training run occurred: a
"not_observed"sentinel. - C-9 —
training.gradient_checkpointingdoes not become a real field; delete fit-check's invalid recommendation.
Plan
- Record the run's effective state in
ForgeTrainerand pass it to the card and manifest producers as a parameter — do not addCARD→MODELorCOMPLIANCE→MODELimport edges (architecture.md has none). forgelm --compliance-exportwithout a training run writes the"not_observed"sentinel.- No fixture mass-regeneration: each regenerated golden fixture needs a named reason.
Exit criteria
- A 4×2 matrix (
lora.method× CUDA available/absent,load_in_4bit) proves the card and the manifest name the method and quantization actually applied, with the requested value kept in its own field. - Runs A→B and B→A in one process produce manifests with no cross-contamination.
- A failed
merge_and_unload()is visible identically in the audit log, the card and the manifest. - Every YAML snippet fit-check emits validates against
ForgeConfig. - A directory fingerprint changes on content change and not on traversal order.
- A test enumerates all loader surfaces, so a new one cannot be added silently.
How to deliver
- One root-cause family, committed on its own; then an Opus review round and a Sonnet review round, each with verified findings fixed and committed before the next step begins.
- A reproducer that is red before the fix and green after; the full gauntlet from
CLAUDE.mdpasses under./.venv/bin/python. - Every English documentation edit ships with its Turkish mirror in the same commit; a new or renamed audit event gets its EN and TR catalog rows in the same PR.
- A step that grows a deferred module carries its
budget_historyjustification in the same diff; a widened guard rolls out non-strict first, then flips. - Commit bodies cite
Absorbs F-W20260729-…; the CHANGELOG[Unreleased]section gets an entry only for a change a user or library consumer can observe (decision C-20).
Planned in docs/roadmap/phase-16-trust-surface-hardening.md (read at f94595f). Unit IDs (F-W20260729-…) come from the 2026-07-29/30 full-project review; the issue numbers next to them are the October 2026 review's records of the same defects.
- Dominant language
- Python
- Stars
- 9
- Forks
- 1
- Avg merge
- 8h 10m
- Merged PRs (30d)
- 5
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from HodeTech/ForgeLM
-
area: dev-tooling bug severity: low source: roadmap wave: 4
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Site: the theme-locked --code-comment grey (#6a6f80) on the dark code surface is 3.8:1, below WCAG AA, in both themes (F-W1-SITE-06)Possibly taken @vortsghost2025 claimed this today. Openarea: site bug good first issue severity: low source: review-2026-09 wave: 4
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
-
documentation good first issue severity: medium source: review-2026-09 wave: 3
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
documentation good first issue severity: low source: review-2026-09 wave: 4
Difficulty 1/5 1-3 hours Newbie friendliness 80/100
-
documentation severity: medium source: review-2026-09 wave: 3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
All issues in HodeTech/ForgeLM
Similar issues
-
vis.image() reports "Unsupported number of image channels: 224" for an HxWxC imagePossibly taken @piyush182004 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
fossasia/visdom#1997 · 3 comments ·
Maintainers usually reply within 6 days
-
Byse new domainOpen
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Gujal00/ResolveURL#1525 ·
Maintainers usually reply within 1 day
-
Serialisation fails with pydantic 2.14: wrap serialisers pass SerializationInfo as index_keyPossibly taken @hugohills-regnosys claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
finos/rune-python-runtime#45 ·
-
[Bug]: LangGraph Store sync put bypasses namespace validationPossibly taken @ktz03 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
volcengine/OpenViking#6050 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
hummingbot/condor#283 ·
Maintainers usually reply within 1 day