CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

jbaruch/nanoclaw-conferences

Finds open conference CFPs relevant to the user across Java/AI/developer conferences, with persistent sent/dismissed/remind state and source-aware Sessionize verification. NanoClaw per-chat overlay, loaded via containerConfig.additionalTiles.

Quality

90%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

Overview
Quality
Evals
Security
Files

run-state.mdskills/check-cfps/references/

Run-state checkpoint store — cfp-run/

Referenced from check-cfps SKILL.md (Resume guard). Per coding-policy: stateful-artifacts, every stateful artifact ships a schema document next to its owner skill; this file is that document for the run-state checkpoint store — the per-stage scratch artifacts check-cfps writes so an interrupted run resumes from disk.

Path

/workspace/group/state/cfp-run/ (overrideable per-process via the CFP_RUN_STATE_DIR env var, used by tests). A flat directory:

cfp-run/
  manifest.json        run bookkeeping
  fetch.json           saved stage artifacts (one file per saved stage)
  candidates.json
  verify.json
  working_set.json
  verify-evidence.json the Step 5 driver's verification marker (read by the Step 8 stamp gate)

Owner

tessl__check-cfps (this skill). Written and cleared exclusively by scripts/run-state.py. The wrapper nightly-cfp-sync never touches it — it calls check-cfps, which manages its own run-state internally.

Reader

scripts/run-state.py load <stage> only. No other skill or script reads these artifacts; they are scratch state for a single in-flight run, distinct from cfp-state.json (the durable, owned CFP data).

manifest.json shape

{
  "run_date": "2026-06-13",
  "completed": ["fetch", "candidates", "verify"]
}
FieldTypeRequiredDescription
run_datestringyesUTC date (YYYY-MM-DD) the run began. begin resumes only when this equals today.
completedstring[]yesStage names saved so far, in completion order, deduped.

The store lives for one UTC day and is scratch: a manifest that is missing, from another day, unreadable or carrying an invalid stage name is not resumed, and begin starts fresh. A fresh run is always safe, so the store carries no schema version and never migrates; an older manifest's extra schema_version field is ignored.

Stages

The check-cfps pipeline checkpoints these stages in order. Each is the JSON artifact a step already produces — save it as soon as the step yields it, so the next continuation resumes from the first stage NOT in completed.

StageProduced afterArtifact
fetchStep 3 fetch scriptcheck-cfps-fetch.py stdout ({cfps, warnings, sources, feed_failure, checked_at})
candidatesSteps 2–4 mergethe merged, slug-deduped candidate pool (Sessionize + fetch; interactive runs also include web-search results)
verifyStep 5 driververify-sessionize.py stdout ({prep, results, decisions, summary, non_sessionize, evidence})
working_setSteps 5–7the in-memory entry set (verified + relevance + travel applied) about to be written in Step 8

Stage-name validation is defined by STAGE_RE in skills/check-cfps/scripts/run-state.py. The table above names the pipeline's checkpoints.

Commands

# Start or resume. Resets across a UTC-day boundary; resumes within the same day.
python3 /home/node/.claude/skills/tessl__check-cfps/scripts/run-state.py begin
# -> {"resume": false, "run_date": "2026-06-13", "completed": []}
# -> {"resume": true,  "run_date": "2026-06-13", "completed": ["fetch", "verify"]}

# Persist a stage artifact (JSON on stdin).
echo '<artifact json>' | python3 /home/node/.claude/skills/tessl__check-cfps/scripts/run-state.py save verify
# -> {"saved": "verify"}

# Reload a saved stage on resume.
python3 /home/node/.claude/skills/tessl__check-cfps/scripts/run-state.py load verify          # prints the artifact; exit 2 if never saved

# Clear on success (end of Step 8, after the state write + stampers).
python3 /home/node/.claude/skills/tessl__check-cfps/scripts/run-state.py done                 # -> {"cleared": true}

# Drop failed stages (and the driver's evidence marker) so a same-day
# retry re-runs them instead of reloading failed output. Cascades to every
# stage completed after the earliest named one (later stages derive from
# earlier ones), so `completed` always stays a resumable prefix. Idempotent —
# a stage with no artifact on disk is reported under "absent".
python3 /home/node/.claude/skills/tessl__check-cfps/scripts/run-state.py invalidate verify working_set verify-evidence
# -> {"invalidated": ["verify", "working_set", "verify-evidence"], "absent": []}

Lifecycle

  • Fresh run — begin finds no usable manifest (absent, unreadable, stale run_date or an invalid stage name), clears any leftover files, writes a fresh manifest, returns resume: false. The agent runs Steps 2–8, calling save <stage> as each artifact appears.
  • Resumed run — a token-limit continuation re-invokes the skill; begin finds today's manifest and returns resume: true with completed. The agent loads each completed stage instead of recomputing it and resumes at the first uncompleted stage.
  • Scheduled invocation — after begin, invalidate the prior pipeline stages and verification marker using SKILL.md Step 1's scheduled override. Restart at Step 2 regardless of completed; each scheduled invocation fetches, verifies, and judges its own cohort. This also discards incomplete interactive artifacts and prevents an earlier same-day evidence marker from freshening a new scheduled run. Checkpoint contents never authorize web research or promise a continuation turn.
  • Success — Step 8 finishes the state write and stampers, then calls done to remove the directory. The next run starts clean.
  • Failure — on a technical failure the agent stops without done; artifacts persist so a same-day retry resumes. A retry on a later UTC day resets to a fresh full run.
  • Verification-gate failure — when stamp-last-checked.py exits 3 (verification not evidenced), the agent keeps the store but runs invalidate verify working_set verify-evidence first (references/write-state.md item 12). Without this, a same-day retry would resume from the saved verify/working_set artifacts and repeat the heartbeat refusal without a new Sessionize call; with it, the retry reloads fetch/candidates and re-runs Step 5 live.

LICENSE

README.md

tile.json