Repository navigation
Conversation
Review — BLOCKHead SHA: Change class: documentation-only (6 CHANGELOG H1 heading edits) Blocks
The diff itself is correct and internally consistent — all 6 H1s now byte-equal their filenames (2026.197.0738, 2026.197.2042, 2026.198.2057, 2026.213.2129, 2026.223.1626, 2026.228.0209), matching the body's accounting exactly. No security findings; no other applicable-rule violations for a docs-only change. Verdict: BLOCK ollama/deepseek-v4-flash — pi-review-action. |
Review — PASSHead SHA: Security screen: PASS — docs-only diff, no code/config/hook changes, no T1–T4 findings. Checklist: All applicable rules PASS or NA.
Verdict: PASS ollama/deepseek-v4-flash — pi-review-action. |
Review — BLOCKHead SHA: Change class: claimed documentation-only (6 CHANGELOG H1 fixes) — but the CURRENT diff is empty. Blocks
Verdict: BLOCK ollama/deepseek-v4-flash — pi-review-action. |
|
Closing as a no-op: the 6 H1 fixes are already on main (verified: CHANGELOG/2026.197.0738.md H1 = '# 2026.197.0738'). The merge commit emptied the diff; the validator correctly flagged it. |
Pull request was closed
…ized GitClient The loader's git operations now go through spec/refs.GitClient (the centralized git layer from spec#65) instead of each consumer running git commands itself (issues #423, #208): - refs_seams_executor.go: a process-wide gitClient() singleton whose cache lives under the project's charly dir (.charly/cache) when CHARLY_PROJECT_DIR is set, else the repo cache dir; the LatestTag seam callback uses it; - canonical_ref.go + scan_orchestrate.go: GitDefaultBranch calls go through gitClient().DefaultBranch (24h TTL); - refs_collect.go: mutable-ref DOWNLOADS go through gitClient().Download (5m TTL — a branch can move, but not on every invocation, so the status fan-out pays the download once); first-startup WARM-UP prints 'charly: fetching git metadata for N repo(s)...' when the cache is cold; - scan_candy.go: the actual candy name is the manifest node key (ly.Name), so bare-name refs to a root-level standalone candy repo resolve; - go.mod: bump spec to v0.2026241.711 (the GitClient). Measured: charly version 13.5s -> 0.31s (0 git calls); charly status 97s -> 11s (network git calls cached; remaining time is the podman store scan, issue #173).
…ized GitClient (#182) * fix(loaderkit): ParseCandyManifest finds candy nodes in a project file when ParseDoc fails (empty Threaded) The node-form branch depended on ParseDoc succeeding to classify the candy discriminator. In a resolver context before the provider registry is loaded, the Threaded snapshot is empty, kind classification fails, and a project file (version/repo/import/discover + entity nodes) yielded 'unrecognized candy manifest shape' — the 'charly.yml is everything at once' contract broke. Fix: when ParseDoc fails, fall back to a direct scan of the top-level mapping for a node whose value is a mapping carrying a candy: key — the candy discriminator — without needing kind classification. Adds TestParseCandyManifest_ProjectFileFallback. * feat(loaderkit): add ResolveRetentionDefaultsViaSeam — a config-only read that skips the project walk The clean command reached the retention defaults via ResolveRetentionDefaultsViaExecutor → LoadUnifiedViaExecutor, which WALKS the project and resolves every version-less @github import ref with a git ls-remote freshness check (70 network calls on the charly repo's own project, hanging charly clean --dry-run past the 2m never-hang ceiling, issue #423). ResolveRetentionDefaultsViaSeam reads the defaults through the lightweight 'retention-defaults' HostBuild seam — a config-only read with zero walk and zero network. * feat(loaderkit): route every loader git operation through the centralized GitClient The loader's git operations now go through spec/refs.GitClient (the centralized git layer from spec#65) instead of each consumer running git commands itself (issues #423, #208): - refs_seams_executor.go: a process-wide gitClient() singleton whose cache lives under the project's charly dir (.charly/cache) when CHARLY_PROJECT_DIR is set, else the repo cache dir; the LatestTag seam callback uses it; - canonical_ref.go + scan_orchestrate.go: GitDefaultBranch calls go through gitClient().DefaultBranch (24h TTL); - refs_collect.go: mutable-ref DOWNLOADS go through gitClient().Download (5m TTL — a branch can move, but not on every invocation, so the status fan-out pays the download once); first-startup WARM-UP prints 'charly: fetching git metadata for N repo(s)...' when the cache is cold; - scan_candy.go: the actual candy name is the manifest node key (ly.Name), so bare-name refs to a root-level standalone candy repo resolve; - go.mod: bump spec to v0.2026241.711 (the GitClient). Measured: charly version 13.5s -> 0.31s (0 git calls); charly status 97s -> 11s (network git calls cached; remaining time is the podman store scan, issue #173). * chore: re-trigger the validator * fix(loaderkit): drop the leftover DEBUG name-keyed stderr print * test(loaderkit): cover the seam, the node-key name override, and the bare-name keying B12 coverage for the three new behaviors in this PR: - resolve_retention_defaults_test.go: ResolveRetentionDefaultsViaSeam round-trips the project's keep_images/keep_check_runs through the lightweight HostBuild seam (no project walk, no @github refs — the #423 clean-hang fix); a nil executor degrades to 0/0; - scan_candy_nodekey_test.go: a root-level standalone candy repo whose manifest node key differs from its dir name (layer-versatiles-style owning the candy versatiles-style) materializes Model.Name = the node key, so bare-name refs resolve; - scan_barename_test.go: ScanCandyFromLocal keys a remote candy by its bare name IN ADDITION to its @github ref key, so a transitive bare-name dep (versatiles-style inside pod-versatiles-frontend's list) resolves instead of failing with 'unknown candy'. * chore: re-trigger the validator after the tier downgrade * feat(loaderkit): the GitClient cache lives in the per-host charly.yml `cache:` section The GitClient cache (spec#66) lives in the `cache:` section of the per-host charly.yml (~/.config/charly/charly.yml) — the single home for local system state — NOT in ad-hoc JSON files under ~/.cache/charly/repos. The process-wide gitClient() singleton passes the default deploy config path (honoring the CHARLY_DEPLOY_CONFIG override) to refs.NewGitClient, and the spec pin advances to v0.2026241.931 (the cache-in-charly.yml tag). --------- Co-authored-by: atrawog <[email protected]>
Summary
Fixes opencharly/charly#332: 6 CHANGELOG entries in this repo carry an author-time CalVer in their H1 that differs from the merge-time filename. The H1 must byte-equal the filename (the validator spec requires it).
Fixed: 2026.197.0738 (H1 was 2026.197.0800), 2026.197.2042 (H1 was 2026.197.2230), 2026.198.2057 (H1 was 2026.198.1944), 2026.213.2129 (H1 was 2026.213.2116), 2026.223.1626 (H1 was 2026.223.1018), 2026.228.0209 (H1 was 2026.227.2115).
How tested
Rulebook compliance
Change classification
documentation reviewed— this diff is CHANGELOG H1 text only.(Corrected from
fully tested and validated: that tier requires changed code paths to haveexecuted against a fresh rebuild, and a docs-only diff has none. The body's own
"Verification gate: documentation reviewed" line already said as much.)
Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (documentation reviewed)