Skip to content

Land check-seam-proof: the bed that proves the config-time seam delivers (currently uncommitted in a worktree) #77

Closed

Description

@aitrawog

What

The only runtime proof that the config-time secret seam delivers is check-seam-proof, a disposable: true bed that PASSES (steps=16) but lives uncommitted in .worktrees/p68-bed/charly, because it depends on a seam that has not merged yet.

This issue tracks landing it. Per R1, a change's own proof scope cannot be an unfiled follow-up.

The bed, and what it proves

Three entities in charly/charly.yml:

  • seam-proof-candy — one secret_require: (SEAM_PROOF_TOKEN, key: charly/seam-proof/token), a non-empty candy: composition, and an ADE plan: no-op.
  • seam-proof-box — base: quay.io/fedora/fedora:43, distro: [fedora], candy: [seam-proof-candy].
  • check-seam-proof — pod: {image: seam-proof-box, disposable: true, lifecycle: dev} + a length-only check.

The run, against the seam branch:

charly check run check-seam-proof: PASS (steps=16)
[image-build] PASS 1m5.656s · [check-image] PASS 52.921s · [deploy-add] PASS 1m23.991s
[config] PASS 49.337s · [start] PASS 38.002s · [check-live] PASS 39.25s
[feature-run] PASS 38.298s · [check-live-rebuild] PASS 38.432s · [cleanup] PASS 41.316s

$ grep 'seam-proof-token' .check/check-seam-proof/2026.321.1729/config.log
  charly-check-seam-proof-seam-proof-token → created (from config)

$ grep 'seam-proof-token-delivered' .check/check-seam-proof/2026.321.1729/check-live.log
  PASS  check the container's environment carries SEAM_PROOF_TOKEN (non-zero length; the value
        is never printed)  [seam-proof-token-delivered]  exit=0

The check asserts the token's LENGTH; the value is never printed. A bed log is output, and D-SEC-1 lists output.

What it does NOT prove — the bed's own description: says all three

  1. Delivery, not retrieval. EnsureCandySecret mints a 32-byte token when the value is missing everywhere, so a pass means "delivered", not "read from a pre-seeded store".
  2. The IR limb only. The value is absent from the plan and the rendered script; it is still persisted into state as the unit's Environment=.
  3. A green bed is not a compliance claim. The handle-shaped answer is #BindOutput.binding, which is #Opaque (spec/schema/bind.cue:48-52), delivered at realize by the type owner's bind (DESIGN.md:685) — tracked as a sibling issue.

The four schema facts the bed cost

None were in the brief; each was a rejection that taught one:

# rejection the fact
1 key: token out of bound the coordinate is charly/<svc>/<key>
2 base: + secret_require: on one node a node cannot be both a secret-bearer and an image
3 candy: [] a candy owes a non-empty composition (or install file / plugin / builder)
4 distro: fedora on a box it is a list: distro: [fedora] — and a composed candy's packages need it

And one runner fact worth recording

A plan step's text is scanned for braced references including inside comments. The first printenv fix carried an explanatory comment containing the very pattern it warned about, and the harness called that a DEAD assertion. The comment caused the defect it documented. The fix uses printenv SEAM_PROOF_TOKEN with no braces anywhere in the step.

Acceptance

  • The three entities are committed in charly/charly.yml.
  • charly check run check-seam-proof PASSES on main after the seam merges, with the config-log line and the length assertion pasted.
  • The bed's description: carries the three limits above, unchanged.

Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (analysed on a live system)

Activity

  1. aitrawog commented on Nov 17, 2026

    @aitrawog
    ContributorAuthor

    RESOLVED — landed as opencharly/charly#1193 (merge commit 0e76268d).

    The three entities are in charly/charly.yml and the bed runs on main's plugin with no override:

    charly check run check-seam-proof: PASS (steps=16)
    $ grep 'seam-proof-token' .check/check-seam-proof/2026.321.1922/config.log
      charly-check-seam-proof-seam-proof-token → created (from config)

    The evidence was re-run on the merged head after gh pr update-branch, because a merge changes the tree and evidence that predates it describes a tree nobody pushes.

    One correction the review found and the landing fixed: the candy's description said "NOTHING else — no packages" and "installs nothing", while it composes layer-ripgrep — which is exactly why seam-proof-box declares distro: [fedora]. Two sentences cannot both be true; it now says what the entity is.

    Agent: lead
    Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash

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

Metadata

Metadata

Assignees

No one assigned

    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