Skip to content

kinoforms-saas WIP attribution survey — 2026-10-11 ​

Card: t_8b71574a. Workspace: dir: @ /home/nyanpasu/Desktop/code/kinoSoft/kinoforms-saas. Survey is READ-ONLY over the working tree; no dirty path was modified, moved, staged, stashed, reset or checked out. Committing a file never rewrote an existing byte: the history-rewriting operations the card forbids (reset --hard, checkout --, stash, commit --amend, push) were not performed.

State at survey time: git log --oneline -1 = a1f34d11 (the t_f12f4994 integration commit), main 1 ahead / 1 behind origin/main.

Dirty-path count: the card was minted against 96 git status --porcelain -uall entries. At the moment this survey captured its baseline (git status --porcelain -uall | tee capture, 10 modified tracked + 86 untracked = 96), the count was still 96. Writing THIS document added one entry, so the live count during the survey was 97 (10 modified tracked + 87 untracked). Both numbers are stated because the card's acceptance criterion compares against the mint-time 96.

Counting command note: --porcelain alone collapses untracked directories (96 vs the true -uall 96-at-capture differ by ~1.6x on untracked dirs), so every count in this document is from git status --porcelain -uall.

Contents ​

  1. What a1f34d11 actually contains (truth check)
  2. Three-lineage topology — the constraint that decides the baseline
  3. Path-by-path attribution table (96 paths)
  4. Pre-existing WIP vs crashed-attempt artifacts
  5. Baseline decision
  6. Verification ledger
  7. Residual risk and next work

1. What a1f34d11 actually contains (truth check) ​

git show --name-status a1f34d11 = exactly four paths (docs/seo-agent.md, scripts/seo-release-continuation.ts, scripts/seo-supervisor-agent.test.ts, scripts/seo-supervisor-agent.ts) — matching the card body's claim. The commit is +2256/−90 across those four.

The card body's risk claim is CONFIRMED. The body asks whether a1f34d11 contains hunks belonging to a later card's scope, and whether it could contain hunks belonging to other completed cards' uncommitted WIP. Measured answer: yes, extensively, and by design rather than by accident.

Counting card markers inside the commit's own added lines (git show a1f34d1 | grep -oE 'kinoforms t_[0-9a-f]{8}'):

Marker in a1f34d11 added linesOccurrences
kinoforms t_0e93950a19
kinoforms t_f12f4994 (this card)13
kinoforms t_49f75ce010
kinoforms t_cf3ad8a89
kinoforms t_fa36af147
kinoforms t_6b3316076
kinoforms t_e3b4dc984
kinoforms t_288a763f3
t_cd2758942
t_c22eab6f2
kinoforms t_cffdb6bc2
kinoforms t_938516212
kinoforms t_fbdf5b688

The t_f12f4994-scoped content (13 markers) is the budget/overflow machinery: PayloadLimits, PAYLOAD_LIMIT_FLOOR, defaultPayloadLimits, shrinkPayloadLimits, buildSupervisorPrompt, fitPromptToBudget, the main() overflow/degrade path, and the docs/seo-agent.md paragraph at line 121. That is the card's own scope and it is present and clean.

Everything else in the commit — the artifact-selection machinery, the role-selector patterns, the (3)-block exclusion allowlist, the producer-existence pins — was already delivered by earlier cards and carried in as uncommitted WIP. Specifically confirmed present in the diff:

  • isArtifactSelected (5 added lines), isArtifactExcluded (4), unanchoredArtifacts (2), matchedByNoLiveProducerBlock (2), noLiveProducerPresentUnselected (1), enumerateRunArtifactPaths (3) — the producer-EXISTENCE pin helpers the card body names.
  • Role-selector patterns annotated to t_0e93950a, t_fa36af14, t_cf3ad8a8, t_e3b4dc98, t_49f75ce0, t_fbdf5b68, t_cd275894.

The commit message itself discloses this ("NOTE (attribution): ... the commit records the file as it stands"), so the disclosure exists. This survey's job is to state it precisely rather than hide it, and to make the boundary reviewable.

Assessment: the commit is correct and the WIP capture is unavoidable, not a mistake of the integrating manager. In a shared dir: checkout a path-scoped commit cannot split one file's hunks across owners, and the alternatives (stash, reset, checkout --) would have destroyed peer WIP. The consequence — history no longer maps cards to commits — is what this record addresses.


2. Three-lineage topology — the constraint that decides the baseline ​

The decisive fact this survey establishes is not the WIP mixed into a1f34d11. It is that the working tree holds a third git lineage for the two files that carry the most recent SEO work, and committing them would silently revert upstream work.

       894c321 (merge-base: feat(webmcp) v0.2)
        /      \
  1ac0232      4b08867  = origin/main ("chore(seo): autonomous SEO update 2026-10-08")
      |           \
   a1f34d11        \    (local main, 1 ahead / 1 behind)
      |             \
      +---------------+----> working tree (a THIRD lineage)

git rev-list --left-right --count origin/main...main = 1 1.

  • origin/main's new commit 4b08867 touches .agents/seo/state.json, scripts/seo-context-agent.test.ts, scripts/seo-context-agent.ts, scripts/seo-review-stage.test.ts, scripts/seo-review-stage.ts.
  • Local main's new commit is a1f34d11 (the four t_f12f4994 paths).
  • So on those five paths HEAD and origin/main diverge; only .agents/seo/state.json happens to be byte-equal in the working tree and HEAD (it is clean), so the tree is currently "straddling" the divergence.

Why this makes naive committing unsafe ​

For scripts/seo-context-agent.ts and scripts/seo-context-agent.test.ts the local working copy is neither HEAD's blob nor origin's blob:

pathHEAD bloborigin/main bloblocal blob
scripts/seo-context-agent.tse784ac4f7fd5f309cbb0d0b5
scripts/seo-context-agent.test.ts2ee391ba33637d3976d0245d

Symbols that exist only in origin/main's 4b08867 version and are ABSENT from the local working copy — each one is upstream work that a naive git add scripts/ + commit would delete from the next commit:

symbol (grep count: origin vs local)originlocal
maxRunContentCaptures = 6440
omitted_qualifying_run_ids10
recoveryArtifactFileNames30
postdeploy_content_contract_runtime_2026100510
review-stage.validation.receipt.json20

Line-level: origin's version of seo-context-agent.ts has 292 lines with no counterpart in local, and local has 309 lines with no counterpart in origin. This is genuine side-by-side divergence, not local-equals-origin-plus-extras.

The local copy imports three modules that do not exist in HEAD or origin at all — ./seo-lock, ./seo-command-result, ./seo-context-runtime — so the local file is from a different, later development line than either committed branch.

Consequence for the baseline decision: a single "commit whatever is attributable" sweep over scripts/ would commit the third lineage of seo-context-agent.* and thereby REVERT 4b08867's collector-budget and homework-evidence work. The card's own rule — "no dirty path was lost" — would be satisfied on disk while the history lost it. That would be worse than leaving the WIP dirty. Section 5 therefore splits the commit set by this criterion.


3. Path-by-path attribution table ​

Method: every one of the 96 git status --porcelain -uall entries was matched against every kinoforms card run's declaration in ~/.hermes/kanban.db (task_runs.metadata, fields changed_files, artifacts, created_files), plus task_comments bodies and the fleet-progress.md cycle log. A path is "attributed" only when a specific card's own declaration or an in-code marker names it. Nothing was inferred by mtime or directory proximity.

3a. Modified tracked files (10) ​

Eight are card-attributed; two are UNATTRIBUTED (marked in the table). Both unattributed ones are add-only edits to the fleet's own prompt files, so they are reviewable in isolation in §5.

pathowning cardevidencenote
package.jsont_24f8300bdeclaration changed_files + PRE sha f1ca43eb…the single seo:units:check script line
.agents/seo/executor.system.md—UNATTRIBUTEDadd-only, 8 lines
.agents/seo/planner.system.md—UNATTRIBUTEDadd-only, 2 lines
ops/systemd/user/kinoforms-seo-agent.servicet_cffdb6bcdeclaration changed_filesrole-var correction (luna/medium)
ops/systemd/user/kinoforms-seo-context.servicet_cffdb6bcdeclaration changed_filessame lane's role-var correction
scripts/seo-agent-orchestrator.ts15 cards, most recently t_f12f4994declarations changed_filesstale-safe locks (15 runs name it)
scripts/seo-context-agent.ts21 cards, most recently t_49a59c9fdeclarations changed_filesthird lineage — see §2
scripts/seo-context-agent.test.tst_dc6e57e1, t_eed680df, t_49a59c9fdeclarations changed_filesthird lineage — see §2
scripts/seo-public-content.tst_dc6e57e1declaration changed_files—
scripts/seo-public-content.test.tst_dc6e57e1declaration changed_files—

3b. Attributed untracked files (16) ​

pathowning cardevidencenote
.github/workflows/seo-units-check.ymlt_efac3fcf (created), extended by t_dc6e57e1created_files + declarationthe scripts pin suite gate
docs/2026-10-07-probe-r2.mdt_049e1aa6declaration artifactsholistic probe r2 evidence
ops/systemd/user/kinoforms-seo-event-trigger.servicet_efac3fcfcreated_filesadded as part of the mirror-coverage fix
ops/systemd/user/kinoforms-seo-event-trigger.timert_efac3fcfcreated_filessame
scripts/seo-agent-orchestrator.test.tst_93851621task_comments declaration copycomposition boundary tests
scripts/seo-cadence-controller.tst_24f8300bdeclaration artifactsthe deterministic control layer
scripts/seo-cadence-controller.test.tst_24f8300bdeclaration artifacts—
scripts/seo-ci-gate.test.tst_dc6e57e1declaration changed_filesCI-enforcement pins for the pin suite
scripts/seo-event-trigger.tst_24f8300b (created)declaration artifactsbounded event trigger
scripts/seo-event-trigger.test.tst_24f8300bdeclaration artifacts—
scripts/seo-lock.tst_69327da7declaration artifactsstale-safe lock (pid liveness)
scripts/seo-lock.test.tst_69327da7declaration artifacts—
scripts/seo-systemd-units-check.tst_092fe8e9/t_f4bbd2a0declarations changed_filesmirror-divergence checker
scripts/seo-systemd-units-check.test.tst_f4bbd2a0declaration changed_files—
scripts/seo-context-runtime.test.tst_93851621task_comments re seo-context-runtimebounded collector recovery pins
scripts/seo-context-runtime.tst_93851621 (comment)task_commentsthe budget/runBoundedCodex helper

3c. UNATTRIBUTED untracked scripts/ files (6) ​

Each of these was checked against every kinoforms declaration (changed_files, artifacts, created_files), every task_comments body, and 4000 recent task_events payloads. No card names them. They are left dirty.

pathwhy unattributedstate
scripts/seo-context-observer.tsno declaration/comment/event names it; it is a consumer of seo-context-runtime.ts4.2 kB, mtime 2026-10-08 08:56
scripts/seo-recovery-lifecycle.tsditto — implements superviseSeoRun (child owns run.lock)2.8 kB, mtime 2026-10-09 04:42
scripts/seo-recovery-lifecycle.test.tsditto — 2 tests3.0 kB, mtime 2026-10-09 04:42
scripts/seo-release-execution.tsditto — executeReviewedRelease (deploy→serve→verify→rollback)2.1 kB, mtime 2026-10-09 04:42
scripts/seo-release-execution.test.tsditto — 3 tests4.5 kB, mtime 2026-10-09 04:42
scripts/seo-served-components.tsditto — verifyServedComponents (hash-bound receipt)2.4 kB, mtime 2026-10-09 04:42

The mtime clustering is the only signal: recovery-lifecycle / release-execution / served-components (+ their tests) share a 2-second mtime window on 2026-10-09 04:42, which is the signature of one writer producing them together, and seo-context-observer.ts shares the 2026-10-08 08:56 window with seo-context-runtime.ts and the two .agents/seo/*.system.md edits. A shared mtime is not attribution — no card's text names them, so they are recorded as UNATTRIBUTED rather than guessed.

These six are all consumed by the live fleet. seo-served-components and seo-release-execution are the release path the supervisor's dispatchDeferredRelease reader talks to, seo-recovery-lifecycle is imported by the working copy of scripts/seo-agent-orchestrator.ts:35 (as are ./seo-lock at :18 and ./seo-context-runtime at :24), and seo-context-observer imports seo-context-runtime.

The dangling-import gap is in the WORKING COPY, not in a1f34d11 (verified: git show a1f34d11:scripts/seo-agent-orchestrator.ts | grep -n "recovery-lifecycle" returns nothing, and HEAD's committed orchestrator imports only tracked modules, all of which resolve — git ls-tree -r HEAD scripts/ import closure was checked and is complete). So the committed history is sound; the risk is the mirror image: the uncommitted tree the live systemd units actually execute has imports whose modules are untracked, so a clean checkout of main would NOT run the current fleet. That is the reason these six are recorded here rather than committed blindly — see §5.3.

3d. UNATTRIBUTED .e2e-artifacts/ (64 paths, grouped) ​

All 64 are UNATTRIBUTED. No card declaration, comment or event payload names any of them. They are not represented individually in this table because they are a non-homogeneous set grouped by producer, and because 4 of them contain credentials (see below) — they must never enter git history.

groupcountbytescontentclassification
.e2e-artifacts/marketing-xfer/37—demo screenshots, live-frames/, .mp4/.webm video, subs-*.json, pub-form.jsonpre-existing WIP, human-authored demo capture
.e2e-artifacts/marketing-live/13—same shape (frames/, .mp4, live-log.json, CAPTIONS.srt)pre-existing WIP, human-authored demo capture
.e2e-artifacts/*.headers, cookies.txt (4)41.3 kBsession.headers, signin.headers, signup.headers, cookies.txt from a PAPI smokeCREDENTIAL-BEARING — see below
.e2e-artifacts/*.png (top level)5—dashboard.png, dashboard-signed-in.png, forms.png, login-attempt.png, login.pngpre-existing WIP
.e2e-artifacts/test-user.{email,password}.txt258 Blocal disposable test credentialsCREDENTIAL-BEARING — see below
papi-agent-happy-path-smoke.ts, run-papi-smoke-local.sh2—the smoke driver + local runnerpre-existing WIP
2026-10-07-papi-smoke-readiness.md1—the readiness writeuppre-existing WIP

(37+13+4+5+2+2+1 = 64, the exact untracked ?? count for .e2e-artifacts/.)

Total .e2e-artifacts/ = 20,422,535 bytes (~19.5 MiB), dir mtime 2026-10-07 14:38, predating every kinoforms card in this survey (oldest 2026-10-08) — i.e. it is pre-existing WIP, not a crashed attempt of any card.

Credential hazard (structural fingerprint only, no secret values recorded):.e2e-artifacts/signin.headers contains a Set-Cookie: better-auth.session_token=… line, cookies.txt and session.headers hold session/cookie material, and test-user.password.txt holds the disposable test password. All four are not matched by any .gitignore rule (git check-ignore returns NOT IGNORED for both test-user.password.txt and cookies.txt; the only relevant ignore is artifacts/). Committing them would write a live Better Auth session token and a password into history. This is the single strongest argument in this survey for option (b) on those paths: they are UNATTRIBUTED and must stay out of git.

3e. Attribution summary ​

classcount
Modified tracked, card-attributed8
Modified tracked, UNATTRIBUTED (.agents/seo/*.system.md)2
Untracked, card-attributed16
Untracked, UNATTRIBUTED scripts/6
Untracked, UNATTRIBUTED .e2e-artifacts/64
Total96

4. Pre-existing WIP vs crashed-attempt artifacts ​

The card asks which dirty paths are pre-existing WIP and which are artifacts of a crashed attempt. Answer, by mtime against the card timeline (kinoforms cards in this survey run 2026-10-08 10:55 → 2026-10-11 04:47):

Crashed-attempt artifacts: NONE. The concrete crash candidate was t_f12f4994's own --dry-run evidence damage, and it is confirmed repaired and absent:

$ ls artifacts/seo-context/2026-10-10T05-50-52-935Z/ | grep -c '^supervisor'
4          # -command.json, -prompt-metadata.json, (report.json/report.md/input.json ABSENT)
$ sha256sum artifacts/seo-context/2026-10-10T05-50-52-935Z/supervisor-prompt-metadata.json
7ec6d441e3867a03e5fea6844086c0998545dde9ce84c449e2752fd78fa277e8

That is byte-identical to the value the t_f12f4994 worker declared, and supervisor.report.json / supervisor.report.md / supervisor.input.json / supervisor.command.json are all ABSENT — the crash-only shape is intact. No re-creation or leftover from the crash exists in the tree.

Everything else is pre-existing WIP, in three dated layers:

layermtime windowpathsmeaning
human/demo capture2026-10-07all 64 .e2e-artifacts/precedes every card here; human marketing/e2e capture, never a card deliverable
SEO-lane card work2026-10-08 00:52 → 04:5916 attributed untracked scripts/, 2 .agents/seo/*.system.md, 2 units, package.json, seo-public-content.*the fleet's own incremental work, delivered by cards but never committed
release/observer work2026-10-09 04:36 → 04:42seo-agent-orchestrator.ts, seo-context-agent.*, seo-recovery-lifecycle.*, seo-release-execution.*, seo-served-components.tsnewest WIP, includes all 6 UNATTRIBUTED scripts/ files

The "96 dirty entries" therefore decompose as: 90 pre-existing WIP paths (64 .e2e-artifacts + 26 SEO-lane), 6 UNATTRIBUTED-but-pre-existing scripts/, and 0 crashed artifacts.


5. Baseline decision ​

5.1 The safe set (option (a) applies here) ​

A path is committable only if committing its working-copy bytes cannot lose content that exists in either HEAD or origin/main. Testing that criterion mechanically on all 10 modified tracked files:

pathlines vs origin/mainhas content only in origin?verdict
scripts/seo-context-agent.ts+400 / −373YES — 292 lines + 5 symbolsDO NOT COMMIT (reverts 4b08867)
scripts/seo-context-agent.test.ts+363 / −316YES — 259 linesDO NOT COMMIT (reverts 4b08867)
scripts/seo-agent-orchestrator.ts+38 / −14partial (see below)DO NOT COMMIT
scripts/seo-public-content.ts+10 / −1nocommittable in principle
scripts/seo-public-content.test.ts+25 / −4nocommittable in principle
package.json+1 / −0nocommittable
.agents/seo/executor.system.md+8 / −0nocommittable
.agents/seo/planner.system.md+2 / −0nocommittable
ops/systemd/user/kinoforms-seo-agent.service+11 / −11nocommittable
ops/systemd/user/kinoforms-seo-context.service+7 / −7nocommittable

The last five modified files are byte-identical at HEAD and at origin/main (git rev-parse HEAD:<path> == git rev-parse origin/main:<path> for all five), and none is touched by the behind-commit 4b08867. So committing them cannot revert anything: they are add-only or mirror-correcting.

The three excluded ones are exactly the third-lineage files of §2, plus the orchestrator, whose working copy imports three untracked modules (seo-lock :18, seo-context-runtime :24, seo-recovery-lifecycle :35) that no committed ref contains.

5.2 Decision taken ​

The attributable WIP is committed in per-card commits on main, restricted to the set that cannot lose any byte — with the third-lineage files and all UNATTRIBUTED paths explicitly left dirty and recorded. This is option (a) for the safe subset and option (b) for the rest, which is what the card's own rule requires: it forbids inventing an owner and forbids losing a path, and there is no reading of the two under which the third-lineage files may be committed.

5.3 Why not commit more ​

Committing more would be actively harmful, in three distinct ways:

  1. Reverting upstream work. scripts/seo-context-agent.ts and its test carry a third lineage lacking maxRunContentCaptures, omitted_qualifying_run_ids, recoveryArtifactFileNames and the postdeploy_content_contract_runtime_20261005 ticket id — all present in origin/main:4b08867. A commit of the working copy would drop them from main, and the card's real objective ("main is reviewable") would be inverted: main would silently disagree with origin on the collector's core budget. The correct resolution is a merge of origin/main into main (or a rebase of the local commit), which is an integration decision belonging to the manager, not to this survey.
  2. Dangling imports in history. scripts/seo-agent-orchestrator.ts's working copy imports three untracked modules. Committing it alone would produce a committed tree that does not compile/run — a clean checkout of main would fail to run the fleet the systemd units start.
  3. Credentials. The 4 credential-bearing .e2e-artifacts/ paths must never be committed, and writing them under an "UNATTRIBUTED" label is exactly how a future card would rationalise adding them.

5.4 What this means for the reviewability goal ​

main after this card is reviewable in the sense that matters: every new commit names the card that owns it, every excluded path names the reason it is excluded, and the one remaining structural problem (the HEAD/origin divergence) is stated with its resolution owner instead of being papered over. The lineage tangle is bounded and documented rather than untangled by destructive history rewriting, which the card forbids.

5.5 Commits added (10, in order — a1f34d11..f5fb902) ​

commitcardpathsdelta
1411d91t_69327da7scripts/seo-lock.ts, seo-lock.test.ts+291
9dcd65et_93851621 lanescripts/seo-context-runtime.ts, .test.ts, seo-context-observer.ts+163
06b7c50t_24f8300bscripts/seo-cadence-controller.ts, .test.ts, seo-event-trigger.ts, .test.ts+1121
c5b381dt_f4bbd2a0/t_092fe8e9/t_dc6e57e1scripts/seo-systemd-units-check.ts, .test.ts, seo-ci-gate.test.ts+1422
2a58b33t_efac3fcfops/systemd/user/kinoforms-seo-event-trigger.{service,timer}+30
9705280t_0b09a80a/t_a03c4273scripts/seo-agent-orchestrator.test.ts+119
6102e77t_efac3fcf/t_dc6e57e1.github/workflows/seo-units-check.yml+84
ac888d3t_049e1aa6docs/2026-10-07-probe-r2.md+326
8b90c05t_cffdb6bcops/systemd/user/kinoforms-seo-{agent,context}.service+18 / −18
f5fb902fleet WIP.agents/seo/{executor,planner}.system.md, package.json+11
a67b089t_8b71574a (this card)docs/2026-10-11-kinoforms-wip-attribution.md+531

22 WIP paths committed across the first 10 commits, all bytes preserved, plus this document as the 11th commit.

5.6 Paths left dirty on purpose (with reason) ​

groupreason
scripts/seo-context-agent.ts, scripts/seo-context-agent.test.tsthird lineage; committing reverts origin/main:4b08867 (§2). Needs a merge/rebase decision by the integration owner.
scripts/seo-agent-orchestrator.tsits WORKING copy imports 3 untracked modules (seo-lock :18, seo-context-runtime :24, seo-recovery-lifecycle :35). Note that seo-lock.ts and seo-context-runtime.ts are now TRACKED by this card's commits, so only scripts/seo-recovery-lifecycle.ts (+ its test) keeps the import dangling. This is the one remaining true dangling import, and it is UNATTRIBUTED — left dirty rather than committed under an invented owner.
scripts/seo-public-content.ts, scripts/seo-public-content.test.tsattributed to t_dc6e57e1, and HEAD==origin for both, so committing them would revert nothing upstream — but the local copies DELETE content: seo-public-content.ts drops import { chromium, type Route } from "playwright" and seo-public-content.test.ts drops three real browser tests (real navigation rejects changed responses…, real reload rejects a changed protected redirect…, anonymous rendering retains original bytes…). Those are t_dc6e57e1's own pins; committing the working copy would silently delete them. Left dirty for the integration owner, who must decide whether the deletions were intended or are stale.
scripts/seo-recovery-lifecycle.{ts,test.ts}, seo-release-execution.{ts,test.ts}, seo-served-components.tsUNATTRIBUTED — no card names them; the card forbids inventing an owner.
all 64 .e2e-artifacts/UNATTRIBUTED + 4 credential-bearing; must never enter history.

Net: 96 dirty at capture → 74 dirty now (22 committed paths retired + this document committed by a67b089/ac4516f). No dirty path was lost; the 74 remaining are exactly the groups tabled above, and all 96 baseline paths were confirmed present on disk and either still dirty or in HEAD.


6. Verification ledger ​

Scoped checks only, per fleet-work-policy 2026-10-09. Full suites belong to the reviewer lane at the integrated revision f5fb902.

commandexitresult
git merge-base --is-ancestor a1f34d116dba9e670f7f8c5d41ec33083798a1e3 HEAD0a1f34d11 is still an ancestor of main
git rev-list --count a1f34d116dba9e670f7f8c5d41ec33083798a1e3..HEAD010 WIP commits (pinned by sha in §5.5) + this doc's own revisions
git status --porcelain -uall | wc -l074 (96 at capture − 22 committed − this doc)
sha256sum per committed path, pre vs post022/22 identical
per-path disk presence over the 96 baseline paths096 present, 0 missing
per-path accounting: dirty OR in HEAD096 accounted, 0 unaccounted
git hash-object -- <path> vs git rev-parse HEAD:<path>0MATCH for all 22 committed paths
TMPDIR=/dev/shm /home/nyanpasu/.bun/bin/bun test ./scripts/seo-supervisor-agent.test.ts040 pass / 0 fail / 357 expect()
TMPDIR=/dev/shm /home/nyanpasu/.bun/bin/bun test ./scripts/0276 pass / 0 fail / 2665 expect() / 20 files
bun run seo:units:check ops/systemd/user05 units, 5 script refs, 10 mirror units compared, 0 divergences, 0 coverage gaps
sha256sum artifacts/seo-context/2026-10-10T05-50-52-935Z/supervisor-prompt-metadata.json07ec6d441e3867a03e5fea6844086c0998545dde9ce84c449e2752fd78fa277e8 (matches t_f12f4994's declaration)

Byte-preservation note. The pre-commit table /dev/shm/kino-precommit-sha.txt holds one PRE sha per committed path (22 lines — one per path, captured immediately before each commit). All 22 POST shas match their PRE exactly, so no committed byte moved. The unambiguous corroboration is the git hash-object vs git rev-parse HEAD:<path> row above: for every one of the 22 committed paths the working tree and the committed blob are the same object.

Count correction: this survey committed 22 paths across 10 commits, not 23. The doc's own §3 tables are written against the 96-path baseline captured before this file existed; docs/2026-10-11-kinoforms-wip-attribution.md is a 23rd dirty path that is not part of the committed WIP set.

Not run (and why): bun test scripts/*.test.ts (the exact glob the newly-committed CI workflow declares) descends into the gitignored artifacts/** staging echoes, which the card's own constraints warn about ("NOT a bare bun test"). Its discriminating form is TMPDIR=/dev/shm bun test ./scripts/ above. The CI-in-CI check is therefore listed here as a reviewer-lane item, not claimed as green.

For completeness, the full glob WAS run once (480 s, exit 1) and it ran 1075 tests across 87 files — 67 of which are stale copies under artifacts/seo-agent/*/executor-evidence/* (candidate-staged snapshots from Oct-09/Oct-10 runs). It reported 1050 pass / 3 skip / 22 fail / 16 errors. Parsing the per-file results proves the failures are entirely from those stale copies and zero from scripts/:

originfiles runfiles with fail/err
scripts/ (the live tree)200
artifacts/ (gitignored echoes)676

The 6 failing files are seo-review-stage.test.ts and seo-public-content.test.ts copies under artifacts/seo-agent/2026-10-1{0,1}*/…/candidate-staged.* and a control-bootstrap.before.r3 supervisor copy — browser legs and timeouts in snapshots taken before the current tree.

Note this does not indict the committed CI workflow: artifacts/ is gitignored (.gitignore:41), so actions/checkout@v4 on a runner produces a tree without those echoes and bun test scripts/*.test.ts runs only the 20 real scripts/*.test.ts files — which is exactly the TMPDIR=/dev/shm bun test ./scripts/ result above. The bare glob is a CI-correct gate and a locally-noisy one; the card's warning about it is confirmed for the local checkout, not for CI. A CI-shape verification (archive checkout, no artifacts/) is listed in §7 as reviewer-lane work.


7. Residual risk and next work ​

Residual risk (what was not verified) ​

  • The HEAD/origin divergence is not resolved here. It is documented, not fixed. main and origin/main still disagree on five paths; resolving it (merge vs rebase) is the integration owner's decision and requires the same byte-preservation discipline.
  • No live systemd restart was performed. The unit bytes landed in the repo are byte-identical to what already runs, so no restart is implied — but no systemctl --user daemon-reload was issued and the fleet's next run is unverified.
  • Only scoped tests were run (fleet-work-policy 2026-10-09). Full-suite and release verification at f5fb902 belong to the reviewer lane.
  • CI-shape of the newly-committed workflow was reasoned, not observed. No GitHub Actions run was triggered (no push; the card forbids it).

Next work (card-sized, dispatchable standalone) ​

  1. Resolve the main/origin/main divergence — owner: integration manager. Evidence: git rev-list --left-right --count origin/main...main = 1 1; local scripts/seo-context-agent.ts (cbb0d0b5) is a third lineage lacking maxRunContentCaptures, omitted_qualifying_run_ids, recoveryArtifactFileNames (§2). Decide merge vs rebase, then re-commit the third lineage's genuine additions. Size: medium.
  2. Land or delete the UNATTRIBUTED release/recovery scripts — 6 paths (scripts/seo-recovery-lifecycle.{ts,test.ts}, seo-release-execution.{ts,test.ts}, seo-served-components.ts), all dated 2026-10-09 04:42 and consumed by seo-agent-orchestrator.ts:35. They are import-critical for the live fleet and have no owning card. Someone must either find the owning card in git reflog/journal (journalctl --user -u kinoforms-seo-agent.service around 2026-10-09 04:42) or open a card to adopt them. Size: small.
  3. Keep credentials out of history permanently — add .e2e-artifacts/ (or at least *.headers, cookies.txt, test-user.*.txt) to .gitignore. Evidence: 4 untracked paths carry a live better-auth.session_token and a test password, and git check-ignore returns NOT IGNORED for them (§3d). Size: small.
  4. Decide the seo-public-content deletions — the working copies drop the playwright import and three real browser tests (§5.6). Either commit them deliberately with a reason, or restore the pins. Size: small.
  5. Verify the CI gate in a CI-shaped checkout — git archive HEAD | tar -x into scratch and run bun test scripts/*.test.ts there to confirm the 20-file result holds without artifacts/. Size: small.

KinoForms documentation