Replace starters with four graded examples seeded into new databases
The template catalog is now Example 1-4: one stage, two stages (handoff), feedback loop (runner-owned limits, retries, timeout) and human decision (type=human approve/revise/abort with notify hooks). All read-only or leave changes uncommitted; none commits, pushes or deploys. A brand-new database (schema created by this Open) gets the examples once at server start, bound to the configured default model and harness. A server_settings marker records the decision, so removed examples never come back and existing installs are marked without any pipeline being added or rewritten.
This commit is contained in:
@@ -12,7 +12,7 @@ class PackageTests(unittest.TestCase):
|
||||
with tarfile.open(archive) as tar:
|
||||
names = tar.getnames()
|
||||
self.assertTrue(any(name.endswith("install.sh") for name in names))
|
||||
self.assertTrue(any(name.endswith("examples/task.md") for name in names))
|
||||
self.assertTrue(any(name.endswith("examples/one-stage.md") for name in names))
|
||||
self.assertFalse(any("/secrets/" in name or name.endswith(".db") or "/.env" in name or "/__pycache__/" in name for name in names))
|
||||
self.assertTrue(archive.with_suffix(archive.suffix + ".sha256").exists())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user