git status --short
PYTHONPATH=src pytest -q
Commit or intentionally document local changes before agent execution.
Use TestQL or another runtime source to exercise meaningful GUI journeys. A topology containing only the root page and assets cannot prove API or table usage.
deconnected scan . \
--testql-topology .testql/topology.json \
--database-url "$DATABASE_URL" \
--out .deconnected/graph.json
deconnected classify-tables .deconnected/graph.json
Interpretation rule:
probable_legacy != safe_to_delete
Check external services, cron jobs, manual scripts, data migrations and production traffic.
deconnected plan-refactor \
.deconnected/graph.json \
"extract protocol audit feature"
Open the JSON and review:
allowed_paths;affected_symbols;blockers;validations;forbidden_operations;rollback.A plan with blockers cannot be simulated.
deconnected simulate-refactor \
. \
.deconnected/refactor-plan.json \
--keep-worktree
Keeping the worktree is recommended until the patch has been reviewed.
cat .deconnected/runs/<plan-id>/policy.json
cat .deconnected/runs/<plan-id>/verification.json
git apply --stat .deconnected/runs/<plan-id>/patch.diff
Apply or cherry-pick only after review. Deconnected 0.6.1 does not automatically merge or push agent changes.
High-risk changes should require a separate migration plan and human approval.