You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
refactor: narrow devtools to repo control-plane orchestration #339
devtools should be the repository control plane: status, generated surface rendering, verification gate orchestration, packaging, and branch/PR readiness. It should not own Polylogue domain proof semantics. Today it directly owns or exposes pipeline probes, scenario projections, mutation campaigns, benchmark campaigns, and generated quality registries.
Scope
Define and migrate toward a narrower devtools contract.
Keep in devtools:
status
render-all and generated docs/reference renderers
verify and verify --quick
package/build commands
orchestration of verification gates
Move or delegate where appropriate:
pipeline probes
scenario projection execution
synthetic benchmark campaign runtime
mutation-front/domain law execution
lab evidence comparison
Acceptance criteria
A written command ownership policy exists in docs/devtools.md or adjacent docs.
devtools verify can delegate domain proof to lab commands without duplicating their semantics.
At least one domain-specific devtools command is moved or wrapped through the lab surface.
Generated command catalog remains accurate.
Scripts and docs do not require direct use of implementation modules for routine workflows.
I am taking a narrow control-plane slice rather than moving every probe/campaign command at once.
Planned changes:
Add a written command ownership policy to docs/devtools.md.
Keep devtools responsible for orchestration, generated surfaces, repo checks, and packaging.
Make devtools verify able to delegate optional lab checks by invoking lab commands instead of embedding proof/showcase semantics directly.
Wrap the existing devtools verify-showcase compatibility command through a new devtools lab-scenario verify-baselines action, so one domain-specific path now sits behind the lab surface while the routine workflow name remains available.
Regenerate the command catalog/docs and update focused tests.
Non-goal for this PR: relocating every pipeline probe, benchmark, mutation, or projection command. This issue asks for a migration step; I will make the policy and one concrete delegation path explicit first.
Added a command ownership policy to docs/devtools.md.
Added devtools verify --lab, which delegates the extra lab check to devtools lab-scenario run archive-smoke --tier 0 instead of embedding lab semantics in verify.
Added devtools lab-scenario verify-baselines for committed showcase baseline checks.
Kept devtools verify-showcase as a compatibility entrypoint, now delegating to lab-scenario verify-baselines.
Updated the showcase-baselines validation lane and generated quality docs to use devtools lab-scenario verify-baselines directly.
Activity
Sinity commentedon Apr 22, 2026
Tactic for #339:
I am taking a narrow control-plane slice rather than moving every probe/campaign command at once.
Planned changes:
docs/devtools.md.devtoolsresponsible for orchestration, generated surfaces, repo checks, and packaging.devtools verifyable to delegate optional lab checks by invoking lab commands instead of embedding proof/showcase semantics directly.devtools verify-showcasecompatibility command through a newdevtools lab-scenario verify-baselinesaction, so one domain-specific path now sits behind the lab surface while the routine workflow name remains available.Non-goal for this PR: relocating every pipeline probe, benchmark, mutation, or projection command. This issue asks for a migration step; I will make the policy and one concrete delegation path explicit first.
Sinity commentedon Apr 22, 2026
Checkpoint for #339:
Implemented the narrow control-plane slice.
Changed:
docs/devtools.md.devtools verify --lab, which delegates the extra lab check todevtools lab-scenario run archive-smoke --tier 0instead of embedding lab semantics inverify.devtools lab-scenario verify-baselinesfor committed showcase baseline checks.devtools verify-showcaseas a compatibility entrypoint, now delegating tolab-scenario verify-baselines.showcase-baselinesvalidation lane and generated quality docs to usedevtools lab-scenario verify-baselinesdirectly.Verification run locally:
ruff checkon touched Python filespytest -q tests/unit/devtools/test_lab_surface.py tests/unit/devtools/test_verify.py tests/unit/devtools/test_validation_lanes.py::TestCommandConstruction tests/unit/showcase/test_verification_lane.pypytest -q tests/unit/devtools/test_lab_surface.py tests/unit/devtools/test_verify.py tests/unit/devtools/test_validation_lanes.py::TestCommandConstruction tests/unit/devtools/test_devtools_main.py tests/unit/devtools/test_command_catalog.py tests/unit/showcase/test_verification_lane.pydevtools lab-scenario verify-baselinesdevtools verify-showcasedevtools verify --quick --labdevtools run-validation-lanes --lane showcase-baselines --dry-rundevtools render-all --checkdevtools verifyNote: the first
devtools verify --quick --labrun surfaced generatedAGENTS.mddrift. I refreshed it withdevtools render-agents; the rerun passed.refactor: delegate devtools lab checks (#355)
refactor: delegate devtools lab checks (#355)
refactor: delegate devtools lab checks (#355)
refactor: delegate devtools lab checks (#355)