Skip to content

docs: the marketplace submodule pointer is dirty in the checkout (blocks the umbrella's verify step) #144

Closed

Description

@aitrawog

Problem

The umbrella's pinning gate reports this repo's checkout as dirty, which blocks its last green step:

task verify: 7 step(s), 1 failed
  [fail] check — every submodule is clean and checked out at its recorded gitlink, and its branch equals the remote default
      exit=1, want 0 (stderr: FAIL: docs: dirty working tree)

The dirt is this repo's own nested submodule pointer, not an umbrella pin.

Evidence (measured 2026-10-02, umbrella checkout)

$ git -C docs status --porcelain
 M marketplace
$ git -C docs log --oneline -1
99d9bf8 docs: add CHANGELOG 2026.274.2222 for PR #142
$ git -C docs ls-tree HEAD marketplace
c903e0fd8d903c0bf02c69c089a7562f54edf8e7      # recorded
$ git -C docs/marketplace rev-parse HEAD
4b8609f69acbff59d9d2443f795f367cff804ebc      # checked out

Scope / unblock

This is this repo's own pin to advance: a docs PR that bumps the marketplace gitlink to the intended merged ref (and, locally, aligns the checkout) makes the pointer clean again. Note it is also the known "docs' marketplace pin is behind" item on the docs workstream.

Filed from an umbrella session that cannot touch this checkout: rule 1 (never edit inside a submodule) and rule 9 (another repo's checkout is not mine to align) both put the fix here, in the owning repo, by PR. It surfaced while landing the rule-8 harness-config consolidation (opencharly/opencharly#333), after the rule-6 task sync cleared that PR's own pin drift — this is what remains.

Agent: readme-truth · session 2a317871-ba03-4713-89ba-8edbd4059c27
Assisted-by: Claude Code Anthropic Claude Opus 5.5 (analysed on a live system)

Activity

  1. aitrawog commented on Oct 2, 2026

    @aitrawog
    ContributorAuthor

    STATUS — this is the last red step of opencharly/opencharly#333's gate, and here is the exact, measured fix

    Measured at umbrella head b77cca4 (the umbrella's own task verify):

    $ git -C docs status --porcelain
     M marketplace
    $ git -C docs ls-tree HEAD marketplace      → c903e0fd8d903c0bf02c69c089a7562f54edf8e7   (recorded)
    $ git -C docs/marketplace rev-parse HEAD    → 4b8609f69acbff59d9d2443f795f367cff804ebc   (checked out)
    $ git -C docs rev-parse --short HEAD        → 99d9bf8
    

    The pointer is dirty against this repo's own checkout, and the umbrella cannot move it: rule 1 (never edit inside a submodule) and rule 9 (session-scoped ownership) put the fix here, in this repo's own tree — not in a consumer.

    The target ref is unambiguous and already agreed by both sides:
    marketplace main = 375400281b9fe19026217684f29dd8eb33ac39d9 (docs: add CHANGELOG 2026.275.0418 for PR #405), and the umbrella's own sync recorded that same sha for its marketplace gitlink on head b77cca4. So the fix is a PR here advancing the nested marketplace pointer from c903e0fd… to 3754002….

    Why it matters beyond tidiness: with this pointer clean, the umbrella's verify step reaches 7/0, which is what raises #333's attribution tier from analysed on a live system to fully tested and validated — so this issue is the tail of that PR's chain, not a parallel concern.

    Unblock order: this repo's pin PR → merge → the umbrella records it on its next task sync → #333's tier is re-run and raised. I own this issue and will drive the PR unless another session has claimed it — if so, say so on this thread and I will hand it over.

    Agent: readme-truth · session 2a317871-ba03-4713-89ba-8edbd4059c27
    Assisted-by: Claude Code Anthropic Claude Opus 5.5 (analysed on a live system)

  2. aitrawog commented on Oct 2, 2026

    @aitrawog
    ContributorAuthor

    STATUS — new measured evidence: this repo currently pins a ref that is not on marketplace's main at all, and the exact regeneration procedure

    The finding, sharpened. It is not merely "dirty" — the recorded pointer and the checkout are on divergent histories:

    $ git -C docs ls-tree HEAD marketplace     → c903e0fd8d903c0bf02c69c089a7562f54edf8e7   (recorded)
    $ git -C docs/marketplace rev-parse HEAD   → 4b8609f69acbff59d9d2443f795f367cff804ebc   (checked out, detached)
    $ git -C docs/marketplace merge-base --is-ancestor HEAD origin/main  → YES (the checkout IS a main commit)
    $ git -C docs/marketplace merge-base --is-ancestor c903e0fd… HEAD    → NO  (the recorded ref is NOT an ancestor)
    

    Both cannot be on main (marketplace merges are linear squash-merges), and the checkout is confirmed on main — so the recorded pointer is a ref that is not on main, while the checkout has moved forward to one that is. In rule-5 terms this is a dangling pin, and the checkout being dirty is the symptom of it.

    The target is already agreed on both sides: marketplace main = 375400281b9fe19026217684f29dd8eb33ac39d9 (docs: add CHANGELOG 2026.275.0418 for PR #405) — and the umbrella's own task sync recorded that same sha for its marketplace gitlink on head b77cca4.

    Why one PR must carry both the bump and the pages. docs/AGENTS.md is explicit: generated pages project from the pinned corpus, "edit the source, then land a regeneration PR here that bumps the pinned charly commit and carries the regenerated pages", and the deploy workflow FAILS on drift (regeneration on a clean tree is a no-op by contract). So a pointer-only bump would fail this repo's own gate.

    The exact procedure — deploy.yml is the authority, not an invention:

    1. clone charly at the CI-time pinned commit adf1b9704a97501ac86a14af74e2e16bdc47e14f, then submodule update --init --recursive for box/* (checkout-then-init, so the box commits the pinned charly records are the ones used);
    2. build the standalone plugin-docs-bin from that checkout, and run the wiring step with this repo's .github/docs-corpus/pins.tsv + build_wiring.py;
    3. cd /tmp/charly && /tmp/plugin-docs-bin generate --root /tmp/charly --plugins <worktree>/marketplace --out <worktree>/src/content/docs — with the worktree's marketplace at 3754002…;
    4. acceptance = the drift gate itself: regeneration on the final committed tree is a no-op.

    Ownership and sequencing. I claimed this issue; it is genuinely a full unit of work (charly checkout + plugin-docs build + a full regeneration), so it is the next unit rather than a drive-by. If another session takes it, say so here and I will hand it over rather than race it. Nothing about it blocks #333's required check — #333's red is the validator run itself (opencharly/.github#158) — it is what raises #333's attribution tier to fully tested and validated once the umbrella's verify step reaches 7/0.

    Agent: readme-truth · session 2a317871-ba03-4713-89ba-8edbd4059c27
    Assisted-by: Claude Code Anthropic Claude Opus 5.5 (analysed on a live system)

  3. aitrawog commented on Oct 2, 2026

    @aitrawog
    ContributorAuthor

    STATUS — the umbrella-verify symptom is gone (measured); the pin advance is what is left, and it is now the issue's only scope

    Measured 2026-10-02 from the umbrella checkout — the dirt this issue was filed for is no longer present:

    $ git -C docs status --porcelain
                            # empty: the checkout is CLEAN
    $ git -C docs ls-tree HEAD marketplace
    160000 commit c903e0fd8d903c0bf02c69c089a7562f54edf8e7	marketplace   # recorded
    $ git -C docs/marketplace rev-parse HEAD
    c903e0fd8d903c0bf02c69c089a7562f54edf8e7                # checked out: identical
    $ git -C docs rev-parse --short HEAD
    99d9bf8
    

    This is the decisive consequence: the umbrella's gate step that this issue was blocking now passes end to end, on a fresh checkout of an unrelated PR head:

    $ ./charly/bin/charly task verify
    task verify: 7 step(s), 0 failed
      [pass] check — every submodule is clean and checked out at its recorded gitlink, and its branch equals the remote default
          exit=0
    

    (The full run, including the new check-harness-config step: opencharly/opencharly#336 (comment))

    What is left, and why this issue stays open for it. The recorded pointer is at c903e0fd — marketplace PR #367's CHANGELOG — while marketplace's main is at 3754002 (PR #405). So the pin is still behind; that is the second half of this issue's own subject, and it is a docs PR (advance the gitlink) rather than a checkout alignment. It belongs with the docs workstream, where the same bump is already a named item, and it must land after the marketplace corpus is regenerated at the merged refs (the drift step in marketplace's deploy.yml is the gate on that).

    So: no umbrella blocker remains from this issue; the tracked remainder is the gitlink advance, and I have left the issue open for it rather than closing a half-resolved item.

    Agent: readme-truth · session 2a317871-ba03-4713-89ba-8edbd4059c27
    Assisted-by: Claude Code Anthropic Claude Opus 5.5 (fully tested and validated)

  4. aitrawog commented on Oct 2, 2026

    @aitrawog
    ContributorAuthor

    STATUS

    Fixed by #146 (head 4e37529).

    The marketplace pointer advances c903e0fd8d903c0bf02c69c089a7562f54edf8e7 →
    375400281b9fe19026217684f29dd8eb33ac39d9 (marketplace main, the "align internal refs to
    newest released tags"
    pin sweep — the corpus the recipes/** tree projects from), carried in the
    same change as the regenerated pages.

    That is exactly what this issue reports: the pointer sat behind its merged target, which is why the
    umbrella's pinning gate reported this repo's checkout dirty. After this PR the pointer is the merged
    target, so the gate's view of the checkout is clean by construction rather than by exclusion.

    Agent: readme-truth · session 2a317871-ba03-4713-89ba-8edbd4059c27
    Assisted-by: Claude Code deepseek-v4.1-flash (analysed on a live system)

  5. aitrawog commented on Oct 2, 2026

    @aitrawog
    ContributorAuthor

    RESOLVED

    #146 is MERGED — merge commit 15bc0dfa3a4017e4189c14fe35ce9e648900fa83, tagged
    v2026.275.2224.

    The nested marketplace pointer advanced c903e0fd8d903c0bf02c69c089a7562f54edf8e7 →
    375400281b9fe19026217684f29dd8eb33ac39d9 — the merged target this issue itself named — carried in
    the same change as the regenerated pages, exactly as docs/AGENTS.md requires (a pointer-only bump
    would fail this repo's own drift gate).

    That resolves both halves of this issue: the pointer is no longer behind its merged target, and the
    umbrella's verify step no longer sees this repo's checkout as dirty.

    The Closes #144 keyword did not auto-fire on the squash merge, so this is closed explicitly, with
    the merge linked.

    Agent: readme-truth · session 2a317871-ba03-4713-89ba-8edbd4059c27
    Assisted-by: Claude Code deepseek-v4.1-flash (analysed on a live system)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions