GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — mcpx: docs, API description and settings help still promise hardlink delivery — nothing hardlinks since #3046, PutFile/Export copy · Issue #3064 · developing-today/code

mcpx: docs, API description and settings help still promise hardlink delivery — nothing hardlinks since #3046, PutFile/Export copy #3064

New issue
Copy link
New issue
Copy link
Closed
Closed
mcpx: docs, API description and settings help still promise hardlink delivery — nothing hardlinks since #3046, PutFile/Export copy#3064
Copy link
Assignees
dezren39
Labels
app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)effort/xsTrivial: expected under 30 minutes of workkind/docsDocumentation improvement or additionpriority/lowNice to have; do when convenientsource/creatorFiled by the new-issue-creator jobtask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

@dezren39
dezren39
opened on Oct 31, 2026
Issue body actions

mcpx: user-facing docs and API/settings text still promise hardlink delivery — no code hardlinks anything since #3046

Evidence (main c6e099c9, verified this run)

PR #3046 (commit 99597566, fixing #1660) changed artifacts.Store.PutFile and Store.Export to copy, never link, because a blob sharing an inode with a file outside the store could be rewritten in place under its original hash. There is now no os.Link / Linkname call anywhere in pkgs/mcpx Go code (grep-verified this run). The code comments inside the two fixed functions say so explicitly:

  • pkgs/mcpx/internal/artifacts/artifacts.go:269-272 (PutFile body): "Copy, never link (mcpx(artifacts): a content-addressed blob can change after registration — PutFile and Export hardlink it to files outside the store, and adopt() then cements the mutated bytes under the original hash #1660)…"
  • pkgs/mcpx/internal/artifacts/artifacts.go:554-557 (Export doc): "Always a copy, never a link (mcpx(artifacts): a content-addressed blob can change after registration — PutFile and Export hardlink it to files outside the store, and adopt() then cements the mutated bytes under the original hash #1660)…"

But the surrounding and user-facing text still describes the old hardlink behavior:

  • pkgs/mcpx/internal/artifacts/artifacts.go:223 — PutFile's own doc comment (directly above the fixed function) still says: "A hardlink where the filesystem allows one, a copy where it does not."
  • pkgs/mcpx/internal/api/ops_exec.go:43 — the published API description for artifact_put says a caller may "send X-Mcpx-Path and have the file hardlinked, which is why handing back a large local file costs an inode rather than a copy."
  • pkgs/mcpx/internal/settings/exec.go:84 — the artifacts.dir setting's long help says "the files are hardlinked into it rather than copied, so handing back a gigabyte costs an inode."
  • pkgs/mcpx/internal/execsvc/execsvc.go:85 — SharedFs field doc: "Artifacts are placed there -- hardlinked, not copied"; :1041 — deliver comment: "hardlinking them into its directory costs an inode and no I/O" (the path it describes calls Store.Export, which copies).
  • pkgs/mcpx/internal/daemon/routes_exec.go:378 — handleArtifactPut doc: "the named file is hardlinked instead."
  • pkgs/mcpx/internal/cli/exec.go:152 — localStore doc: the CLI "can hardlink a blob into an output directory rather than fetching its own copy."
  • pkgs/mcpx/internal/cli/commands.go:1093 and pkgs/mcpx/internal/codegen/emit.go:1507,1534 — generated-client / CLI comments saying the daemon/store hardlinks the named file.
  • pkgs/mcpx/internal/artifacts/name.go:121 — uniquePath comment: "Removed again so Link can have the name" — there is no Link call left; the reservation is now for the copy in copyInto.
  • Book docs: pkgs/mcpx/docs/exec.md:219 ("the store hardlinks it"), :229 ("hardlinked there"), :284 ("hardlinking them into its directory costs an inode and no I/O"); pkgs/mcpx/docs/remote.md:127 ("a {path} artifact is only hardlinked when…").

Why it matters

  • The settings help and API description are user-facing: they promise O(1)-inode delivery for large local files. Since fix(mcpx/artifacts): copy instead of hardlink in PutFile and Export (#1660) #3046, handing back a gigabyte costs a full copy (time + disk) — a caller sizing timeouts/disk on the documented promise is misled.
  • The stale text also inverts the safety story of mcpx(artifacts): a content-addressed blob can change after registration — PutFile and Export hardlink it to files outside the store, and adopt() then cements the mutated bytes under the original hash #1660: a reader of PutFile's doc comment or docs/exec.md would believe blobs still share inodes with outside files — exactly the mutation-under-hash hazard mcpx(artifacts): a content-addressed blob can change after registration — PutFile and Export hardlink it to files outside the store, and adopt() then cements the mutated bytes under the original hash #1660 closed — and could design on top of that assumption (e.g. editing an exported file expecting the store to see it, or vice versa).
  • PutFile's doc comment contradicts the comment inside its own body, so the package disagrees with itself on the same screen.

Acceptance criteria

  • Every "hardlink" claim in pkgs/mcpx Go source (code comments, API operation descriptions, settings help) and in pkgs/mcpx/docs/exec.md / docs/remote.md describes the actual post-fix(mcpx/artifacts): copy instead of hardlink in PutFile and Export (#1660) #3046 behavior: a copy into the store / into the delivery directory, never a shared inode.
  • Wording preserves the reason where it is load-bearing (mcpx(artifacts): a content-addressed blob can change after registration — PutFile and Export hardlink it to files outside the store, and adopt() then cements the mutated bytes under the original hash #1660: a blob must not share an inode with a file outside the store), so a future reader does not "optimize" the copy back into a link.
  • A guard exists so the drift cannot silently return: e.g. a test or lint step that fails if hardlink reappears in these surfaces without an accompanying os.Link in the artifacts path (or an equivalent doc-current test in the style of TestStoryDocumentIsCurrent).
  • go test ./internal/artifacts ./internal/api ./internal/settings -count=1 passes (run on a dev machine / CI, per pkgs/mcpx/internal/AGENTS.md — package-scoped, not ./...).

Dedup: searched open + closed issues for "hardlink" this run — only #1660 (closed, the behavior fix itself) and #1908 (unrelated cache design) match; no issue tracks the leftover text.

Activity

Next
  1. dezren39
    added
    queue/queuedHas a queued queue task
    source/creatorFiled by the new-issue-creator job
    task/triageQueue packet kind: verify, reproduce, and route this item
    status/needs-triageNot yet triaged; needs a first look
    priority/lowNice to have; do when convenient
    app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)
    kind/docsDocumentation improvement or addition
    effort/xsTrivial: expected under 30 minutes of work
    on Oct 31, 2026
  2. dezren39 commented on Oct 31, 2026

    @dezren39
    dezren39
    on Oct 31, 2026
    MemberAuthor
    More actions

    🤖 Agent note · filed

    • Agent: new-issue-creator job (lane B, slug new-issue-creator-code-b)
    • Session / ID: cron job new-issue-creator-code-b, run 2026-10-31 08:20 CDT
    • Found via: filed this run
    • Task: Filed: mcpx user-facing docs/API/settings text still promises hardlink artifact delivery although fix(mcpx/artifacts): copy instead of hardlink in PutFile and Export (#1660) #3046 made PutFile/Export copy and no os.Link remains in pkgs/mcpx. Evidence (file:line list, grep verification on main c6e099c) is in the issue body.
    • Expectation: effort/xs — text corrections across the listed surfaces plus a drift guard; triage packet enqueued to repo-health-code-pilot.
    • Links: queue packet packet-3064-triage.json (hidden_files, keep-the-four-repos-healthy goal)
  3. github-actions
    assigned
    dezren39
    on Oct 31, 2026
  4. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 1, 2026
  5. 33 remaining items

  6. dezren39
    removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 1, 2026
  7. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane A
    • Session / ID: task 5632
    • Found via: queue claim (resume — task 5632 was parked awaiting Codex re-review of PR fix(mcpx): describe artifact copies accurately (#3064) #3721 head cb88818)
    • Task: Re-check Codex findings and CI on PR fix(mcpx): describe artifact copies accurately (#3064) #3721; merge if clean and checks are green or proven pre-existing, then close issue mcpx: docs, API description and settings help still promise hardlink delivery — nothing hardlinks since #3046, PutFile/Export copy #3064.
    • Expectation: effort xs — done when PR fix(mcpx): describe artifact copies accurately (#3064) #3721 is merged (or re-parked with a named resume condition) and task 5632 reaches a terminal state.
    • Links: PR fix(mcpx): describe artifact copies accurately (#3064) #3721 — fix(mcpx): describe artifact copies accurately (#3064) #3721
  8. dezren39
    added a commit that references this issue on Nov 1, 2026

    fix(mcpx): register artifact-copy change fragment in compendium manif…

    a74c1cc
  9. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 1, 2026
  10. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked

    • Agent: queue worker (repo-worker-code), lane A
    • Session / ID: task 5632
    • Found via: queue claim (resume)
    • Task: Codex re-review of PR fix(mcpx): describe artifact copies accurately (#3064) #3721 head cb88818 landed with one P2 — the new change fragment docs/changes/artifact-copy-semantics.md was missing from the compendium manifest. FIXED in a74c1cc (registered as not-compendium with reason; thread replied and resolved). Targeted verification: TestEveryDocumentHasAChapter unplaced list is back to the 3 pre-existing files only.
    • Expectation: parked 20 min for CI + Codex re-review on head a74c1cc; on clean re-review, merge PR fix(mcpx): describe artifact copies accurately (#3064) #3721 and close issue mcpx: docs, API description and settings help still promise hardlink delivery — nothing hardlinks since #3046, PutFile/Export copy #3064 (CI lint/stress failures were proven pre-existing on clean main in the previous shift).
    • Links: PR fix(mcpx): describe artifact copies accurately (#3064) #3721 — fix(mcpx): describe artifact copies accurately (#3064) #3721
  11. dezren39
    added a commit that references this issue on Nov 1, 2026

    Merge pull request #3721 from developing-today/queue/5632-3064-align-…

    bd6492e
  12. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), lane A
    • Session / ID: task 5632
    • Found via: queue claim (resume)
    • Task: PR fix(mcpx): describe artifact copies accurately (#3064) #3721 MERGED (merge commit bd6492e) — artifact text now describes copy semantics everywhere, with the delivery-claim drift guard in place. Final gate evidence: Codex re-review of head a74c1cc (2026-11-01T15:32:58Z) completed with no findings and none unresolved (the one P2 on the prior head — the unregistered change fragment — was fixed in that head and its thread resolved). CI on the merged head: docs-history check, plugin tests, and the mcpx-docs build PASS; the lint and stress failures are the pre-existing main breakage (conformance test fakes vs the mcpx(daemon): /v1/complete never applies the 100-value spec cap — local fallback honors an unclamped completion.maxValues (0 = unlimited), upstream replies pass through verbatim #2878 Complete signature), verified line-by-line in run 41321753830's logs — the files involved are untouched by PR fix(mcpx): describe artifact copies accurately (#3064) #3721 and the workflow is red on main itself for the same reason. Targeted tests: artifacts + api PASS; the settings compendium test's unplaced list is back to the 3 pre-existing files.
    • Expectation: issue mcpx: docs, API description and settings help still promise hardlink delivery — nothing hardlinks since #3046, PutFile/Export copy #3064 closed as completed; task 5632 completed with outcome fixed_merged.
    • Links: PR fix(mcpx): describe artifact copies accurately (#3064) #3721 — fix(mcpx): describe artifact copies accurately (#3064) #3721
  13. dezren39
    closed this as completedon Nov 1, 2026
  14. dezren39
    removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    work/assignedQueue worker lifecycle state
    on Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)effort/xsTrivial: expected under 30 minutes of workkind/docsDocumentation improvement or additionpriority/lowNice to have; do when convenientsource/creatorFiled by the new-issue-creator jobtask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.