Skip to content

preserve: codewith-e2b-build project skill off station01 (draft, not for merge) - #486

Draft
andrei-hasna wants to merge 2 commits into
mainfrom
preserve/a3d6e8e9-codewith-e2b-build-skill
Draft

preserve: codewith-e2b-build project skill off station01 (draft, not for merge)#486
andrei-hasna wants to merge 2 commits into
mainfrom
preserve/a3d6e8e9-codewith-e2b-build-skill

Conversation

@andrei-hasna

@andrei-hasna andrei-hasna commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

What this is

A preservation snapshot, not a finished change. Draft on purpose.

station01's tmux code session is being retired (todos a3d6e8e9). Window 2 of that
session was a live agent in the shared open-codewith checkout, which held an
untracked project skill that had been sitting on disk since 2026-07-20 — sixteen
days, on one machine, in no repository.

Contents — six files, and nothing else

A  .codewith/skills/codewith-e2b-build/SKILL.md
A  .codewith/skills/codewith-e2b-build/agents/openai.yaml
A  .codewith/skills/codewith-e2b-build/references/e2b-template-notes.md
A  .codewith/skills/codewith-e2b-build/scripts/.gitignore
A  .codewith/skills/codewith-e2b-build/scripts/codewith-e2b-build.mjs
A  .codewith/skills/codewith-e2b-build/scripts/package.json

That listing is git diff --name-status HEAD <tree> on the actual pushed tree, not a
description of intent. The vendored scripts/node_modules is excluded by the skill's own
.gitignore.

Two things deliberately NOT committed, and left on the machine

codex-rs/.cargo/config.toml — a local fast-compile tweak. Its own diff says so:

+# --- LOCAL FAST-COMPILE LOOP (do NOT commit) ---
+[build]
+rustc-wrapper = "sccache"
+incremental = true
+
+[target.aarch64-unknown-linux-gnu]
+rustflags = ["-C", "link-arg=-fuse-ld=mold"]

Machine-specific build tuning that its author explicitly marked do-not-commit. Left in
place, not deleted.

.factory/state/factory.db — a 446 KB SQLite runtime state file, last written
2026-07-23. Runtime state, not source. Left in place, not deleted.

Because of those exclusions this snapshot was built by taking HEAD as the baseline and
adding only the skill path, rather than add -A followed by removals — so the
excluded config keeps its committed content instead of being dropped from the tree.

How it was taken without disturbing the agent

Isolated index (GIT_INDEX_FILE + write-tree + commit-tree); the commit object was
pushed straight to a new ref. Nothing in the checkout was touched:

HEAD, branch and working-tree status : identical
.git/index md5 before                : 5a8bf94cb3cf01bec535664b386e878d
.git/index md5 after                 : 5a8bf94cb3cf01bec535664b386e878d

The checkout is on a detached HEAD at 9ac37840f, which is why the push targets an
explicit ref rather than tracking a branch.

Secrets

Mandated staged scan over the working-tree diff and every untracked file: 0 hits.
Positive control 2, negative control 0.

What this PR is NOT

Not reviewed. Whether a project-local skill belongs in this repo at all is a real
question and I am not the right person to answer it — if the answer is no, close this and
delete the branch. The point was that sixteen days of work should not disappear because a
session was killed.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Patch release carrying the durable background-agent spawn fix merged as #463,
which landed two commits above the 0.1.80 release commit and therefore shipped
in no published version.

Durable background agents fail at spawn on every new run in 0.1.80 and earlier:
the spawn-receipt lookback cursor was computed with i64::saturating_sub(20),
which bounds the type's range rather than clamping toward zero, so a freshly
admitted run (about four events at that point) produced a negative cursor that
the event-cursor retention guard rejected as "compacted".

Bumps the workspace version across Cargo.toml, Cargo.lock, and
codex-cli/package.json, and adds the 0.1.81 CHANGELOG section that the release
workflow requires before publishing.

Refs: todos 230af2c3

Agent: nepotianus
Preserved off station01's shared open-codewith checkout before its tmux 'code'
session is retired (todos a3d6e8e9). The checkout was in use by a live agent, so
this commit was built from the working tree with an isolated index and
commit-tree; the checkout's HEAD, branch, index and working tree were not
modified.

Six files: SKILL.md, an openai agent spec, e2b template notes, and the
codewith-e2b-build.mjs script with its package.json and lockfile. The vendored
scripts/node_modules is excluded by the skill's own .gitignore.

DELIBERATELY EXCLUDED, and left in place on the machine rather than committed:

  codex-rs/.cargo/config.toml  -- a local fast-compile tweak (sccache wrapper,
     incremental builds, mold linker) whose own diff carries the comment
     "--- LOCAL FAST-COMPILE LOOP (do NOT commit) ---". Machine-specific build
     tuning, correctly not source.
  .factory/state/factory.db    -- a 446 KB SQLite runtime state file last written
     2026-07-23. Runtime state, not source.

Staged secrets scan run over the working-tree diff and every untracked file:
0 hits, with a positive control returning 2 and a negative control 0.

NOT REVIEWED. The skill has been sitting untracked on disk since 2026-07-20.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant