Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
36d1f80
chore: ignore pycache/agent-pack artifacts; fix codegraph MCP args
Aug 24, 2026
6ee98cb
docs(sources): register the 2026-08-24 one-shot quality-controller memo
Aug 24, 2026
b57c9d4
feat(jpxl-encode-policy): one-shot crossing predictor is the default …
Aug 24, 2026
0fd5b3b
feat(jpxl, jpxl-cli): --quality is a hard floor; fallbacks, trace/2, …
Aug 24, 2026
e38060a
feat(tools): oracle-label sweeps, pooled crossing trainer, corpus int…
Aug 24, 2026
8746713
chore(.akr): record the one-shot program - decision, evidence, promotion
Aug 24, 2026
dd8c5ed
docs(JPXL): JPEG bitstream recompression implementation plan
Aug 24, 2026
9c6e64a
perf(jpxl-plan-render, jpxl-perceptual): parallelize per-probe render…
Aug 24, 2026
101aa7c
chore(.akr): record the large-frame render parallelization measurement
Aug 24, 2026
1fc3ca7
chore(.akr): scope the recompression record to existing paths
Aug 24, 2026
b0c128c
refactor(jpxl-plan-render): band-parallel varblock sample scatter
liminalism Aug 25, 2026
6e13305
tools(quality-corpus): 26 saturated and 25 gradient source families
liminalism Aug 25, 2026
a523d01
docs(publish): README pass, MIT licensing audit, libjxl bench harness
liminalism Aug 25, 2026
c1cdbf5
feat(jpxl-jpeg): Phase A JPEG-1 coefficient codec, bit-exact re-emission
liminalism Aug 25, 2026
b6913f7
chore(.akr): record the 2026-08-25 session evidence and revisions
liminalism Aug 25, 2026
7f7c6d1
chore: Rebuild generated views after the session ledger commit
liminalism Aug 25, 2026
50334ab
chore: Log the current-together evidence papercut
liminalism Aug 25, 2026
c0253b3
perf(jpxl-perceptual): exact cost cuts in the blur and evaluator hot …
liminalism Aug 25, 2026
4bbb629
chore: Record the exact metric-path cost cuts: evidence and work rev 8
liminalism Aug 25, 2026
690cb64
chore: Log the canonical-truncation papercut
liminalism Aug 25, 2026
c23bc00
perf(jpxl-plan-render, jpxl-perceptual, jpxl-encode-policy): fused de…
liminalism Aug 25, 2026
9ac1f16
chore: Record the fused-render round: evidence and work rev 9
liminalism Aug 25, 2026
05733e9
feat(jpxl-encode, jpxl): EXIF container box and colour-space signalling
liminalism Aug 26, 2026
d2a54b5
perf(jpxl-perceptual): AVX2 metric pooling, bit-identical to scalar
liminalism Aug 26, 2026
b1f7196
build(jpxl): release-final profile (fat LTO) and PGO build script
liminalism Aug 26, 2026
05d84e8
chore: Record metadata-seam and AVX2 evidence; PGO re-measurement
liminalism Aug 26, 2026
e895c32
perf: Speed the VarDCT rate-search quantizer: Fast reserves only DCT8...
Aug 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
381 changes: 369 additions & 12 deletions .akr/akr.lock

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions .akr/records/jpegxl-rs/decisions.akr
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,35 @@ record jpegxl-rs.decision.perceptual-quality-contract/1 : decision {
}
}

record jpegxl-rs.decision.quality-miss-fallback-semantics/1 : decision {
title "An under-target perceptual result is refused at the facade by default; lossless and best-effort are explicit opt-in fallbacks"
state proposed
scope [
path "JPXL/crates/jpxl-cli/**",
path "JPXL/crates/jpxl-encode-policy/src/quality.rs",
path "JPXL/crates/jpxl/**"
]
decision """
An under-target perceptual result is never an ordinary success at the public facade. When the bounded controller stops at SaturatedTop or UnderTargetWorkCap, the default is to refuse: Encoder returns Error::TargetNotMet carrying a QualityMiss (kind LadderSaturated | WorkBudgetExhausted, requested and best verified scores, probe/price counts, metric version, quality trace), and the CLI exits 1 without creating the output file. Two explicit fallbacks exist via Encoder::with_quality_fallback / --quality-fallback: Lossless emits a mathematically lossless stream reported as PerceptualStatus::FallbackLossless with achieved score 100, and BestEffort emits the finest canonically verified under-target stream under its true status and score. SaturatedFloor remains a success. The policy layer (search_frame_perceptual) still returns every terminal status with bytes; the facade owns the refusal. The rescue probe stays one probe beyond the navigation cap and is documented as an observable per-solve maximum of pixel_probes + 1; folding it inside the cap is a deliberate search-policy change that would require the standing Contract B screen.
"""
context """
The 2026-08-24 one-shot advisor memo's first code finding, verified against quality.rs, jpxl/src/lib.rs and jpxl-cli/src/main.rs: the facade wrapped SaturatedTop and UnderTargetWorkCap outcomes as Ok and the CLI wrote the output file and exited 0, so a scripted caller checking only the exit code received a silently under-target stream — incompatible with the hard-floor reading of the perceptual-quality contract. The completed 91-cell locked holdout contains no under-target cells, so refusing changes no canonical-sweep behavior.
"""
consequences """
Met, MetAdjacentRungs, MetWorkCap, SaturatedFloor and RescuedFreshStructure outputs stay byte-identical. The public API adds Error::TargetNotMet, QualityMiss, QualityMissKind, QualityFallback, PerceptualStatus::FallbackLossless and Encoder::with_quality_fallback; the CLI adds --quality-fallback lossless|best-effort. A refused encode still appends its jpxl.quality-trace/1 record to JPXL_QUALITY_TRACE so failed searches remain calibration input. Facade, policy-layer and CLI tests now pin the miss path, which previously had no coverage anywhere.
"""
implements [ @jpegxl-rs.decision.perceptual-quality-contract/1 ]
author "GitHub Uploader"
source {
kind external
role origin
document "jpxl-one-shot-quality-controller-memo-2026-08-24"
use """
Adopted the memo's PR 0 contract repair: refusal by default, explicit lossless/best-effort fallback modes, structured failure payload, CLI exit-1 with no output file, and public miss-path tests.
"""
}
}

record jpegxl-rs.decision.quant-bias-defaults/1 : decision {
title "quant_bias defaults are 1 minus x"
state proposed
Expand Down
354 changes: 354 additions & 0 deletions .akr/records/jpegxl-rs/evidence.akr

Large diffs are not rendered by default.

141 changes: 141 additions & 0 deletions .akr/records/jpegxl-rs/observations.akr

Large diffs are not rendered by default.

59 changes: 59 additions & 0 deletions .akr/records/jpegxl-rs/papercuts.akr
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,18 @@ record jpegxl-rs.papercut.a-harmless-scratch-setup-command-was-rejected/1 : pape
created_at 2026-08-18
}

record jpegxl-rs.papercut.a-work-revision-that-cites-already-committed/1 : papercut {
title "A work revision that cites already-committed evidence in verified_by…"
state verified
statement """
A work revision that cites already-committed evidence in verified_by lands "not satisfied - predates the last change" unless the evidence rows are committed in the very same commit as the revision (the current-together grace); revising a record in a later .akr-only commit therefore un-satisfies checks whose measurements are still perfectly valid, and there is no way to re-land unchanged evidence. Retargeting a check citation onto fresh evidence needs either an observed_at at-or-after the revision commit (chicken-and-egg) or duplicated evidence records. Hit while pointing pqc-usable-efforts-cost's workspace-gates check at the 2026-08-25 gates evidence; repaired by dropping the revision commit.
"""
observed_at git:7f7c6d1433906f0f6751af94b2903cd3e3f80f72
about "akr"
author "claude"
created_at 2026-08-25
}

record jpegxl-rs.papercut.after-a-temporary-comparison-worktree-restored/1 : papercut {
title "After a temporary comparison worktree restored a modified source with…"
state verified
Expand Down Expand Up @@ -128,6 +140,18 @@ record jpegxl-rs.papercut.akr-view-active-work-current-state-etc-returned/1 : pa
created_at 2026-08-06
}

record jpegxl-rs.papercut.amending-an-akr-generated-commit-message-to/1 : papercut {
title "Amending an akr-generated commit message (to replace the generic…"
state verified
statement """
Amending an akr-generated commit message (to replace the generic "chore:" subject with a descriptive one while keeping the AKR trailers byte-identical) is rejected by the commit-msg hook with AKR-C031 because the change transaction closes at akr git commit; the only way through is git commit --amend --no-verify. Either akr git commit could accept a subject/body override, or the hook could allow amends whose trailers match the last commit.
"""
observed_at git:a523d0157ac223678b9d02342d0a8a7fbc34d642
about "akr"
author "claude"
created_at 2026-08-25
}

record jpegxl-rs.papercut.cargo-fmt-all-check-fails-on-code-committed-at/1 : papercut {
title "`cargo fmt --all --check` fails on code committed at HEAD (25213f6):…"
state verified
Expand Down Expand Up @@ -255,6 +279,18 @@ record jpegxl-rs.papercut.knowledge-complete-s-cited-evidence-gets-its/1 : paper
created_at 2026-08-07
}

record jpegxl-rs.papercut.knowledge-get-with-detail-canonical-on-jpegxl/1 : papercut {
title "knowledge.get with detail canonical on…"
state verified
statement """
knowledge.get with detail canonical on jpegxl-rs.work.pqc-usable-efforts-cost/7 truncated at the tool's token cap and the suggested continuation (detail summary) cannot return the acceptance block's source text either, so reproducing checks verbatim for a revision required reading .akr/records/jpegxl-rs/work.akr by hand. A continuation or an acceptance-only detail level would remove the need to touch the records directory.
"""
observed_at git:4bbb629fd4dc8bcf3cd33199b2d4aefdad39e351
about "akr"
author "claude"
created_at 2026-08-25
}

record jpegxl-rs.papercut.knowledge-propose-documents-observation/1 : papercut {
title "knowledge.propose documents observation observed_at as required but…"
state verified
Expand Down Expand Up @@ -291,6 +327,18 @@ record jpegxl-rs.papercut.knowledge-propose-exposes-topic-for-every/1 : papercut
created_at 2026-08-23
}

record jpegxl-rs.papercut.knowledge-propose-s-generic-slots-schema-does/1 : papercut {
title "knowledge.propose's generic `slots` schema does not expose that an…"
state verified
statement """
knowledge.propose's generic `slots` schema does not expose that an observation's `method` must be one of manual/command/instrumented/observation. V-022 said to add `method`; supplying explanatory prose then produced dozens of parser diagnostics before the enum expectation appeared.
"""
observed_at git:41a2e3f20631e000954b9ea76612c70f1847e745
about "akr"
author "codex"
created_at 2026-08-24
}

record jpegxl-rs.papercut.knowledge-propose-says-observation-requires/1 : papercut {
title "knowledge.propose says observation requires statement and observed_at,…"
state verified
Expand Down Expand Up @@ -384,6 +432,17 @@ record jpegxl-rs.papercut.the-frozen-pqc-holdout-reducer-scripts-and/1 : papercu
created_at 2026-08-22
}

record jpegxl-rs.papercut.the-frozen-pr7-holdout-parser-assumed/1 : papercut {
title "The frozen PR7 holdout parser assumed `ssimulacra2` immediately…"
state verified
statement """
The frozen PR7 holdout parser assumed `ssimulacra2` immediately followed `psnr_db`; the current compare line inserts `ssimulacra2_jpxl` and its version first, so an otherwise successful 12 MP resumed cell was needlessly rerun. Parse named fields independently or share the checked-in compare parser.
"""
observed_at git:41a2e3f20631e000954b9ea76612c70f1847e745
author "codex"
created_at 2026-08-24
}

record jpegxl-rs.papercut.the-installed-akr-0-3-1-rejected-four-existing/1 : papercut {
title "The installed akr 0.3.1 rejected four existing observation records…"
state verified
Expand Down
Loading
Loading