Automated summary
Governs how to append to and edit this repo's append-heavy shared files (failure ledger, evidence manifest, RESULTS.md, SESSION-COORDINATION.md) so concurrent sessions don't collide or silently break CI.
Strengths
- Enforces serialization of appends: the locking MCP serializer tool, or an explicit `OWNS:` claim in SESSION-COORDINATION.md before any hand-edit.
- Explains the validator's substring trap — `resolved` beats `open`, so a Status like `fail-closed` silently flips an OPEN row to resolved.
- Warns that the ledger table ends at the first `## ` section, so an end-of-file append is dropped while the validator still exits 0 and reports structural validity OK.
- Gives a concrete verification rule (delta in `tableRows`/`openCount`) and a one-shared-file-per-PR constraint.
Limitations
- Tightly scoped to this repository: paths, tool names and the sophia-agi MCP server do not transfer elsewhere.
- Assumes the MCP append serializer is enabled; otherwise only the manual coordination-file claim remains.
- The provided document is truncated and leans on internals of validation scripts it does not fully describe.
Use it right before adding a failure-ledger row or editing the evidence manifest, RESULTS.md, or SESSION-COORDINATION.md.
Skip it for a one-off edit to a file that is not one of this repo's ledgers or generated artifacts.
Security analysis
SafeThe skill only advises read-only inspection and validation commands (grep, awk, python validation) and coordination via an MCP append tool or SESSION-COORDINATION.md. No destructive actions, network exfiltration, secret handling, or obfuscated payloads are present. The bash examples are non-mutating aside from the intended append workflow, which is clearly scoped.
No concerns found
How this analysis is madeExamples
Add a row to agi-proof/failure-ledger.md for the failed fp8 kernel run, status NO-GO — make sure the append actually lands in the table.I need to update SESSION-COORDINATION.md and RESULTS.md for this task — check who owns them and claim before I edit.Write the ledger entry for the gate that fail-closed on timeout, and confirm it still counts as OPEN after validation.name: ledger-append-etiquette
description: >
Run BEFORE you append a row to agi-proof/failure-ledger.md, or write to any of this repo's
append-heavy shared files — agi-proof/evidence-manifest.json, RESULTS.md, or the live
SESSION-COORDINATION.md — and whenever a task adds/edits a failure-ledger row, records a
NO-GO/candidate result, claims/releases work in the coordination ledger, or regenerates the
evidence manifest. These files are touched concurrently by many Claude/Copilot/GLM/human
sessions on ONE checkout; two sessions hand-editing the same one collide, a bad Status string
silently flips OPEN→resolved, and a stale manifest fails CI. Use even if the edit "looks like
one line".
ALSO fires the instant you are about to >> / append / "add a row to" the failure ledger:
the table ENDS at the first ## section (~line 530 of ~6900), so a row appended at
end-of-file is parsed as section prose and SILENTLY DROPPED while
validate_failure_ledger.py still exits 0 and prints structural validity: OK. Verify an
append by the CHANGE IN tableRows/openCount, never by the exit code — see §2b.
metadata:
short-description: "Serialize + union-resolve appends to the shared ledger/manifest/coordination files without collisions or a fail-closed Status"
Ledger / manifest append etiquette (this repo)
See also
ci-artifact-drift(the ledger is a CI-validated artifact; the evidence manifest is regenerable-not-committed, see §3),session-handover§1 (SESSION-COORDINATION.mdis the live ownership ledger), andgit-discipline§4 (isolate your changes; nevergit add -A).
Several files here are append-heavy and shared: every session adds rows/sections to the same tail. Because 5+ sessions run on one checkout, the recurring waste is (a) two sessions editing the same file in parallel PRs → merge conflict or a clobbered append, and (b) a Status string that fails CI after the GPU work is already done. This skill is the cheap pre-flight.
The files this governs:
| File | Shape | Gate |
|---|---|---|
| agi-proof/failure-ledger.md | append ## <id> sections + a table row | tools/validate_failure_ledger.py --check |
| agi-proof/evidence-manifest.json | generated + gitignored — never hand-edit, never commit | regenerate locally with python tools/build_agi_proof_package.py; CI rebuilds it (see §3) |
| RESULTS.md | generated from published-results.json — never hand-edit | tools/build_results_page.py --check |
| SESSION-COORDINATION.md | live, untracked CLAIM/OWNS/DONE ledger | none (ephemeral) — but still collision-prone |
1. Route the append through the serializer — don't hand-race the tail
Two sessions writing the tail of the same shared file in parallel PRs is the #1 collision. Before appending:
- Prefer the append-serializer MCP tool (the sophia-agi MCP server,
.mcp.json→sophia_mcp/server.py) when it is enabled — it takes a per-file lock, appends your block, and regenerates the dependent artifact atomically, so two sessions can't interleave. - If you are hand-editing, first claim the file in
SESSION-COORDINATION.md(append anOWNS: failure-ledger.md — <session-id>line, read the existing OWNS lines first). Never open a second PR that touches a shared file another live session already claimed. - One shared file per PR. Do NOT hand-edit two of these files in the same branch/PR — split them so each lands (and conflict-resolves) independently.
- This pairs with the one-GPU-job invariant (
spark-cluster-ops): finish and land the ledger row for a run before the next session launches over it.
2. The Status cell must NEVER contain the substring closed
tools/validate_failure_ledger.py classifies a row by substring:
_RESOLVED_MARKERS = ("closed", "cleared", "superseded", "resolved", "fixed", …) and resolved
beats open. So a Status like fail-closed, gate closed, or closed-loop on an item that
is actually still OPEN is silently reclassified resolved — it drops off the "what still blocks
the AGI claim" list. Footgun, not a feature.
- For an open item use
OPEN,PARTIAL,BLOCKED,PENDING,NOT YET(these hit_OPEN_MARKERS). - Describe fail-closed behavior in the body prose, never in the Status cell/
**Status:**line. - To actually mark something done, use
RESOLVED/CLEARED/SUPERSEDED— a word, deliberately.
2b. The row must land INSIDE the table — appending at EOF is a silent no-op
_parse_table stops at the first ## heading:
cutoff = next((i for i, ln in enumerate(lines) if ln.startswith("## ")), len(lines))
agi-proof/failure-ledger.md is a short table (ends ~line 530) followed by hundreds of
## <id> write-up sections. So the "tail" of the file is not the tail of the table. A row
appended with >> at end-of-file is parsed as prose inside the last section, and:
validate_failure_ledger.pyexits 0,- prints
structural validity: OK, - and the row does not exist as far as every consumer is concerned.
Nothing reports this. A clean exit means "nothing parsed", not "row accepted" — the same
dishonest-failure shape as the :LINE citation trap at the top of the ledger. Measured
2026-08-03: a row appended at EOF left tableRows at 491 and openCount at 437, unchanged.
Append here instead — as the last line of the table, immediately before the first ## :
CUT=$(grep -n "^## " agi-proof/failure-ledger.md | head -1 | cut -d: -f1)
awk -v c="$CUT" 'NR<c && /^\|/ {last=NR} END{print "insert after line", last}' agi-proof/failure-ledger.md
Then verify by COUNT, never by exit code (this is the check that would have caught it):
python3.12 tools/validate_failure_ledger.py --json # before and after
# tableRows and openCount MUST each rise by exactly 1, and your id MUST appear in openItems
If the counts did not move, your row is not in the ledger no matter what the exit code said.
3. The evidence manifest is regenerated, NOT committed — never git add it
agi-proof/evidence-manifest.json reads the ledger's OPEN/RESOLVED summary, so a new/edited row
makes it stale. It used to be committed and regenerated in every PR — which made it the #1
recurring merge conflict in this repo: concurrent PRs each regenerated it and collided on its
machine-generated body, and it cannot be auto-merged (its content is a function of the whole
merged ledger, which git doesn't have while merging line-by-line). So it is now gitignored and
untracked: CI (ci.yml validate-build, pages.yml) rebuilds it, and readers tolerate its
absence. After touching the ledger:
python tools/validate_failure_ledger.py --check # structure + Status sanity (see §2)
python tools/build_agi_proof_package.py # regenerate the manifest LOCALLY (optional)
make claim-check # the no-overclaim contract (must stay green)
- Only stage the ledger —
git add agi-proof/failure-ledger.md(explicit path). The manifest is gitignored; do NOTgit add/git add -fit back. Force-adding it re-tracks the file and re-introduces the exact conflict this design killed. - Regenerating locally is only for your own inspection (the web build, a local
benchread). It is never part of a commit and never needs to match anyone else's copy. - Never hand-edit
evidence-manifest.jsonorRESULTS.md—RESULTS.mdis still committed, so regenerate it frompublished-results.jsonand stage it; the manifest is not. - Do not wire
python tools/build_agi_proof_package.py --checkinto any workflow —--checkfail-closes on the (now normally-absent) file and would red the required checks.
4. On conflict, UNION-resolve — never drop a sibling's append
These are append-only logs: a conflict means two sessions each added a block at the tail.
- Keep BOTH sides. Resolve by concatenating the two appends (union), then re-sort/renumber ids if the format requires it — never take "ours" and discard the other session's row.
- After a union resolve, re-run
tools/validate_failure_ledger.py --check(a merged table can duplicate an id). The manifest no longer needs conflict-resolving (§3) — it is gitignored, so a ledger merge never touches it; regenerate it locally only if you want a fresh local copy. - For
SESSION-COORDINATION.md(untracked, so no git conflict) union by hand: read the whole file fresh, append your line, keep every existing OWNS/DONE line.
Rules
- Faithful reporting only: a NO-GO/candidate result goes in the ledger as NO-GO/candidate —
never soften it, never lower a gate to make it pass (
ci-artifact-drift). This is dev-workflow etiquette; it makes no capability/AGI claim andcanClaimAGIstays false. - If your edit changes what is claimed (a result's status, "validated"), that is the no-overclaim
contract — stop and follow
sophia-agi/ci-artifact-drift, not just this skill.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/ledger-append-etiquette-mse7in5h/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/ledger-append-etiquette-mse7in5h' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/ledger-append-etiquette-mse7in5h/download' --output '.skill-downloads/ledger-append-etiquette-mse7in5h/SKILL.md.part' && mv '.skill-downloads/ledger-append-etiquette-mse7in5h/SKILL.md.part' '.skill-downloads/ledger-append-etiquette-mse7in5h/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/ledger-append-etiquette-mse7in5h/SKILL.md' && test -s '.skill-downloads/ledger-append-etiquette-mse7in5h/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/ledger-append-etiquette' && cp -R '.skill-downloads/ledger-append-etiquette-mse7in5h' '.claude/skills/ledger-append-etiquette'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/ledger-append-etiquette-mse7in5h'openskills read 'ledger-append-etiquette-mse7in5h'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/ledger-append-etiquette-mse7in5h/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Configure a Chat Channel with SecretRefs
DevOps
Set up chat channels using non-interactive commands, with secrets only as SecretRefs. Covers gather, mutate, repair, and prove steps for reliable delivery.
Investigate ClickHouse CI Failures
DevOps
Investigate a ClickHouse CI failure end-to-end from a PR or S3 report URL. Fetches failed tests, classifies flaky vs real regression, and checks for existing issues/fixes.
Ansible PR Review
DevOps
Reviews an Ansible PR following the project's standardized process, including changelog checks, test coverage validation, and feedback tracking.