flurdy/agent-skills / skills/next
next
UnverifiedRank ready beads across validated workspace stores or one local store. List read-only, or claim one selected bead, show its details, and continue into its work.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 50.3 KB |
| pi/index.ts | script | 2.5 KB |
| pi/lease-selection.ts | script | 16.9 KB |
| references/dolt-recovery.md | markdown | 7.7 KB |
| references/source-scope.md | markdown | 12.5 KB |
| scripts/bd-showexecutable | script | 1.1 KB |
| scripts/collect.pyexecutable | script | 25.5 KB |
| scripts/next-bdexecutable | script | 16.5 KB |
| scripts/next-selectexecutable | script | 21.3 KB |
| tests/lease-extension.test.mjs | script | 7.4 KB |
| tests/lease-kernel.test.mjs | script | 3.7 KB |
| tests/lease-selection.test.mjs | script | 20.1 KB |
| tests/test_defer_dates.py | script | 6.8 KB |
| tests/test_dolt_recovery_contract.py | script | 3.3 KB |
| tests/test_machine_routing.py | script | 10.1 KB |
| tests/test_next_bd.py | script | 43.8 KB |
| tests/test_next_select.py | script | 36.2 KB |
| tests/test_ownership_contract.py | script | 2.8 KB |
| tests/test_read_deadlines.py | script | 8.2 KB |
| tests/test_related.py | script | 11.4 KB |
| tests/test_source_scope.py | script | 10.1 KB |
| tests/workspace_fixture.py | script | 10.8 KB |
tests/test_dolt_recovery_contract.py
View on GitHub"""Attended skill contract, not runtime enforcement or an automatic startup test."""
from pathlib import Path
import unittest
NEXT = Path(__file__).resolve().parents[1]
class DoltRecoveryContractTest(unittest.TestCase):
def setUp(self):
self.skill = (NEXT / "SKILL.md").read_text()
self.recovery = (NEXT / "references/dolt-recovery.md").read_text()
def test_recovery_is_explicit_and_separate_from_listing_and_claiming(self):
self.assertIn("/next recover <repo>", self.skill)
self.assertIn("references/dolt-recovery.md", self.skill)
self.assertIn("do not pass `recover` to `next-bd`", self.skill)
self.assertIn("Listing never starts servers", self.skill)
for phrase in (
"scheduled/unattended tick", "never drop `--readonly`",
"Shared, proxied,", "auto-start-disabled and ambiguous",
):
self.assertIn(phrase, self.skill)
for phrase in (
"not an executable collector flag", "not permission to",
"never batch-start", "unknown means ineligible",
"Do not restart `next-select start`", "next_safe",
"Reproduce list Markdown verbatim",
):
self.assertIn(phrase, self.recovery)
def test_effective_policy_checks_cannot_be_replaced_by_a_connection_error(self):
for phrase in (
"both** `Dolt server unreachable`", "`connection refused`",
"numeric loopback", "metadata.json", "dolt_mode: server",
"repo-local `.beads/dolt`", "`.beads/redirect`",
"No shared-server, proxied-server, team-server",
"explicitly pinned host, port, socket", "BEADS_DOLT_AUTO_START",
"BEADS_DIR", "BEADS_DB", "BD_DB", "BEADS_PROXIED_SERVER_*",
"`.beads/.env`", "config.local.yaml", "global/user configuration",
"never print credentials", "partial YAML parser",
"Never override a disable setting",
):
self.assertIn(phrase, self.recovery)
def test_confirmation_discloses_lifecycle_effects_and_preserves_guards(self):
for phrase in (
"may clean up", "initialise missing storage or identity",
"reclaim a port", "no no-kill/no-init switch",
"bd -C <directory> --sandbox dolt start",
"Obtain fresh explicit approval", "invalidates confirmation",
"Session guards remain", "standalone visible tool call",
"60-second timeout", "No remote sync",
):
self.assertIn(phrase, self.recovery)
self.assertLess(self.recovery.index("Obtain fresh explicit approval"),
self.recovery.index("Execute the exact approved command"))
def test_failed_start_and_failed_retry_do_not_loop_or_claim_success(self):
for phrase in (
"no start and no retry", "never retry a failed start",
"a background child may already exist", "Only after exit zero",
"read still unverified", "read-only invocation once",
"same cwd/options/qualified", "never inject prose into JSON stdout",
"A failed read remains unavailable", "No other store is started",
"Successful recovery returns to the picker",
):
self.assertIn(phrase, self.recovery)
if __name__ == "__main__":
unittest.main()
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |