From a6988e42f9a7257e9209caae29716131b58f2a98 Mon Sep 17 00:00:00 2001 From: Sinity Date: Sat, 5 Sep 2026 16:46:16 +0200 Subject: [PATCH] chore(agentctl): drop descriptor keys agentctl does not read agentctl rejects unknown descriptor tables and fields, so the retired `preflight`, `provider`, `identity_check`, `checkpoint_untracked`, `verification_operations`, `[conflicts]` and `[owner_adapters]` entries go. The files agentctl writes into a worker worktree now live under `.agentctl/` (prompt, result schema, result); .gitignore excludes them and keeps project.toml tracked. tests/unit/devtools/test_verify.py stops asserting the removed key; nothing else in the repository reads it. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01YHwAE9cH8DjXFSorzfSxD8 --- .agentctl/project.toml | 27 --------------------------- .gitignore | 5 +++-- tests/unit/devtools/test_verify.py | 1 - 3 files changed, 3 insertions(+), 30 deletions(-) diff --git a/.agentctl/project.toml b/.agentctl/project.toml index 3f181e4ef2..00b8e8fd1b 100644 --- a/.agentctl/project.toml +++ b/.agentctl/project.toml @@ -8,8 +8,6 @@ root_markers = ["pyproject.toml", "polylogue"] [environment] kind = "nix-develop" command = ["nix", "develop", "--accept-flake-config", "--command"] -preflight = ["devtools", "status", "--stderr"] -preflight_timeout_seconds = 600 inherit = ["HOME", "USER", "LANG", "TERM", "SSH_AUTH_SOCK", "XDG_RUNTIME_DIR", "DBUS_SESSION_BUS_ADDRESS", "WAYLAND_DISPLAY", "DISPLAY", "XDG_CONFIG_HOME", "XDG_DATA_HOME", "XDG_STATE_HOME"] unset = ["PYTHONPATH", "PYTHONHOME", "VIRTUAL_ENV", "_PYTHON_SYSCONFIGDATA_NAME", "_PYTHON_HOST_PLATFORM", "PYTHONPYCACHEPREFIX"] require = ["POLYLOGUE_ARCHIVE_ROOT"] @@ -18,21 +16,8 @@ require = ["POLYLOGUE_ARCHIVE_ROOT"] POLYLOGUE_ARCHIVE_ROOT = "/realm/state/polylogue" [workspace] -provider = "git-worktree" root = "/realm/worktrees" default_base = "origin/master" -identity_check = ["git", "diff", "--quiet", "--", "pyproject.toml", "uv.lock"] -checkpoint_untracked = true -verification_operations = ["verify_quick"] - -[conflicts] -exact_files = ["pyproject.toml", "uv.lock"] -generated_surfaces = ["docs/reference/schema-support-matrix.md"] - -[conflicts.semantic_slots] -archive-schema = ["polylogue/storage/schema.py", "polylogue/storage/sqlite/migrations/*.py"] -command-catalog = ["devtools/command_catalog.py", "docs/devtools.md"] -verification-graph = ["devtools/verify.py", "pyproject.toml"] [operations.verify_affected] description = "Run Polylogue's affected-test verification plan" @@ -95,15 +80,3 @@ pool = "interactive" result = "json" cache = "none" timeout_seconds = 180 - -[owner_adapters.polylogue_archive] -namespace = "polylogue.archive" -owner = "polylogue-archive" -authority = "owner" -lifecycle = "read_only" -protocol_versions = [1] -source_scoped = true -source_ref = "sinnix://polylogue/archive" -exec = ["polylogue-agentctl-adapter"] -timeout_seconds = 300 -documentation = "Argument-free, generation-pinned, bounded Polylogue archive status." diff --git a/.gitignore b/.gitignore index 219ebcc499..112314b521 100644 --- a/.gitignore +++ b/.gitignore @@ -121,8 +121,9 @@ _site/ *.db .beads-credential-key -# Lane-authored publication text, read by the integrator. -.lane/ +# What agentctl writes into a worktree for its agent; project.toml is tracked. +.agentctl/* +!.agentctl/project.toml # testmon caches are machine-local and environment-fingerprinted; a committed # one never matches a real checkout, so affected verification refuses forever. diff --git a/tests/unit/devtools/test_verify.py b/tests/unit/devtools/test_verify.py index 1876fa1014..84547103f8 100644 --- a/tests/unit/devtools/test_verify.py +++ b/tests/unit/devtools/test_verify.py @@ -299,7 +299,6 @@ def test_verify_quick_descriptor_accepts_the_declared_json_projection() -> None: operation="verify_quick", ) - assert descriptor["workspace"]["verification_operations"] == ["verify_quick"] assert operation["exec"] == ["devtools", "verify", "--quick"] assert operation["result"] == "json" assert affected["exec"] == ["env", "POLYLOGUE_PYTEST_WORKERS=2", "devtools", "verify"]