General-purpose coding policy for Baruch's AI agents
—
—
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
Schema for the cross-invocation throttle stamps the SessionStart hooks write,
per rules/stateful-artifacts.md.
| Stamp path | Owner (writer + reader) | Purpose |
|---|---|---|
$FRESHNESS_STATE_DIR/last-check (default ${TMPDIR:-/tmp}/coding-policy-freshness/last-check) | hooks/check-policy-freshness.sh | Throttle the tessl outdated registry call |
$SYNC_STATE_DIR/sync-<repo-key> (default ${TMPDIR:-/tmp}/coding-policy-sync/sync-<repo-key>) | hooks/check-git-sync.sh | Throttle the git fetch origin call, per repo (<repo-key> = cksum of the repo toplevel path) |
Each stamp has exactly one owner hook that both writes and reads it. No other skill or hook touches it.
One line, two space-separated fields:
<schema_version> <checked_at>| Field | Type | Meaning |
|---|---|---|
schema_version | integer | Currently 1. Bumped on any shape change |
checked_at | integer | Epoch seconds when the owner last ran its throttled call |
Example: 1 1734567890
1 <now> before running the throttled call,
so a slow or failed call still throttles the next session. Never writes when
preserving a future-version record (see Migration).schema_version is
1 and checked_at is an integer within the throttle window. Every other
record is no usable prior state: the hook runs its call (no throttle).Only the owner hook migrates, and it distinguishes older records from newer ones
per rules/stateful-artifacts.md Migration Policy:
1 <now> record on its next run.schema_version > 1): the hook is the lagging
reader, not the migrator. It takes the no-usable-prior-state path (runs its
call) but must not downgrade the record — it preserves the future stamp
untouched until the hook is updated to accept that schema.schema_version for any shape change; do not repurpose checked_at
silently.The stamp is a last-seen timestamp cache, never ground truth. A missing, corrupt, or unreadable stamp degrades only to an extra call — never to a wrong result — so the hooks tolerate its absence at every read.
.tessl-plugin
hooks
rules
skills
adopt-fork-pr
migrate-to-plugin
onboard-repo