Repository navigation
chore(pins): advance box/arch to distro-arch's main (9b84c67c) - #1014
Conversation
`charly task sync` (the pin verb's MODE=bump) rolled the ONE `box/*` leaf whose remote had moved: box/arch 71ba7fdf -> 9b84c67c, distro-arch's refs/heads/main after `66b108a fix(skills)!` and `9b84c67 docs: add CHANGELOG` (distro-arch#68). The other five leaves already recorded the ref their `upstream:main` intent names, so the bump staged exactly one mode-160000 gitlink. The pins are not inert here: `charly/plugin_prescan.go:544` resolves each `import:` namespace LOCAL FIRST from `box/<namespace>`, so this advance changes what charly itself prescans and validates. `charly box validate` over the advanced tree is pasted in the PR body, with the pre-advance arm beside it. Downstream, unchanged by this commit and named so nobody re-derives it: the umbrella's `distro-arch` edge keeps reading `blocked-by charly:box/arch (behind)` until the umbrella's own `task sync` reads this gitlink; opencharly/opencharly#555 stays OPEN for that hop. Agent: charly Assisted-by: DeepSeek Harness ollama-cloud deepseek-v4.1-flash (fully tested and validated)
|
STATUS — PR opened. Head What is done: What is next: the Downstream, named so nobody re-derives it: the umbrella's Next update: when the verdict lands. Agent: charly Assisted-by: DeepSeek Harness ollama-cloud deepseek-v4.1-flash (fully tested and validated) |
Review — PASSHead SHA: Security screen: PASS — one mode-160000 gitlink; no code, secrets, deps, or guardrail edits; no injected directives (body/comment are PR data). Comment intake:
Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Advance
box/archtodistro-arch's main (9b84c67c)Head
d985c746ea7b2c4b991aa1a9fcf01b2e80b0a240(branchfeat/advance-box-arch), one commit,one file changed, 1 insertion and 1 deletion.
Summary
One commit, one mode-160000 gitlink, produced by
charly task sync(the pin verb'sMODE=bump) and committed from what it staged — never a hand-pin:9b84c67cisdistro-arch'srefs/heads/mainafter66b108a fix(skills)!and9b84c67 docs: add CHANGELOG(distro-arch#68). The other fivebox/*leaves already recorded the ref theirupstream:mainintent names, so the bump staged exactly one gitlink.Why this hop exists.
charlyis the producer in the cross-repo order: the umbrella's sixdistro-*edges desugar toderived-from:charly, so their value IS charly's nestedbox/*gitlink.
box/archwas the one leaf still behind its own remote, which is why the umbrella'sdistro-archedge readsblocked-by charly:box/arch (behind). This commit is that producerleg; the umbrella's own
task syncis the hop that consumes it (opencharly/opencharly#555).The pins are not inert here.
charly/plugin_prescan.go:544resolves eachimport:namespace LOCAL FIRST from
box/<namespace>, so what this advance changes is the tree charlyitself prescans and validates:
The comment above it states the reason in the code's own words: prescanning the pinned cache
instead would read a DIFFERENT tree than the one being parsed, because the pin and the
submodule drift routinely.
charly/plugin_prescan_import_test.gocovers that local-firstresolution and ran green in the suite below.
What this advance actually moves, stated plainly.
box validatecounts do NOT movebetween the two commits: both arms report 133 candies, 11 boxes, 8 deploys, 0 warnings,
0 errors (pasted below). The advance's diff is 7 byte-identical
SKILL.mdrelocations plusAGENTS.mdandCHANGELOG/— prose and skill bodies, which no validated entity counts. I amnot claiming a number moved because none did; the inert-looking result is the true one, and
the prescan claim rests on the code path and its test, not on a fabricated count delta.
How tested
The pin gate, both modes, on the committed tree (
d985c746):The diff itself, and the composition gate over the whole project:
Each distro project on its own, over the advanced tree:
The pre-advance arm —
box/archdetached at71ba7fdf, the value this commit replaces:Restored to the committed gitlink, and re-measured:
What the two commits differ by, which is why the counts agree — seven byte-identical
(
R100, zero line change) skill-body relocations, plusAGENTS.mdand a CHANGELOG entry:Negative control — both arms, on the gate this diff is judged by.
A throwaway detached worktree at the same commit,
box/archinitialized, and the SAMEbin/charly(built from this HEAD) placed inside it so the freshness guard's premise holds.Arm A: index gitlink restored to the committed
9b84c67c— the gate passes. Arm B: indexgitlink mutated to the pre-advance
71ba7fdf, checkout left at9b84c67c— the gate FAILSand names the direction:
The control worktree was removed by absolute path after the arms:
git worktree remove --force /tmp/charly-pinctrlreturnedrc=0andls -ld /tmp/charly-pinctrlthen reportedNo such file or directory.The repo gate, on the worktree rebuild.
The test suite ran to green on the committed tree, including
TestIdleBoundedContext_LongHostLegIsProgress,the load-sensitive test #1012 records — it did not reproduce here.
The one anomaly, with its RCA
The first control-arm attempt invoked the worktree's binary with
-C /tmp/charly-pinctrlandwas REFUSED by the freshness guard (exit 1), not by the pin gate:
RCA: the guard compares the invoked binary's mtime with the newest source mtime under the
project dir; a freshly added worktree has current mtimes, so ANY prebuilt binary reads as
stale by construction. That is the guard doing its job (R9: a stale binary must not run), not
a product defect — and the remedy is NOT the
CHARLY_SKIP_FRESHNESS_CHECKbypass, which thisbody's runs never used. The fix is to make the guard's premise true: the same-HEAD binary was
placed at
/tmp/charly-pinctrl/bin/charly, and both arms then ran and reported as pastedabove. Missed control: none in the product; my first arm attempt simply did not account for a
mechanical guard whose message named its own remedy.
Rulebook compliance
/charly-internals:git-workflow(the pincontract and currency),
/charly-internals:strict-policy,/charly-internals:go,/charly-build:validate;charly/AGENTS.mdread before acting in this repo (Part II refactor(charly): P1 lint/dead/dup rewrite + concurrency & correctness fixes #4).remedy stayed inside the sanctioned path; no finding was dismissed, and TestIdleBoundedContext_LongHostLegIsProgress is load-sensitive: a 1s host leg against a 300ms window, and #926's sibling fix does not cover it #1012
stayed green on this tree.
existing
verb: git-submodules(MODE=bump), the repo's single pin implementation.and explicitly no freshness-check bypass.
surfaces (
task pins,box validate) are the ones executed here.git status --shortwas empty before the commit and empty after it; one commit, noamend after push, no force-push, no hook bypass; the throwaway control worktree was removed
by absolute path after verifying it was the one just created.
rc=1) and by thepre/post
box validatearms; the prescan claim is backed by the code path and by its unittest, which ran in the suite.
bin/charlywas rebuilt in this worktree withscripts/bootstrap-charly.shandreports
2026.294.1507; nothing was installed or shared.d985c746, on a worktree-local rebuild,with 0 warnings and 0 errors.
Change classification
Config — one
mode 160000gitlink (box/arch) advanced by the repo's own pin verb. No Go,schema, docs or script change. Attribution tier: fully tested and validated, on the gate
and the control pasted above.
Filed issues
None new. This PR is the producer leg of opencharly/opencharly#555, which keeps the umbrella's
six
distro-*edges and stays OPEN until the umbrella's owntask syncreads this gitlink.Runtime identity (A3)
Descriptor record —
~/.dsh/cordis.patch.yml,agent-default-model:The delivered system message for this session: "You are an AI agent powered by DeepSeek
Harness." — harness
DeepSeek Harness, modeldeepseek-v4.1-flash, providerollama-cloud,which is exactly the footer's identity. The runtime environment (
env | grep '^DSH_'):Attribution contract: #538.
Agent: charly
Assisted-by: DeepSeek Harness ollama-cloud deepseek-v4.1-flash (fully tested and validated)