Repository navigation
refactor(core)!: delete agent schema-repair helpers and dead legacy helpers - #4156
Merged
Merged
Conversation
Contributor
Homeboy Results —
|
Contributor
Homeboy Results —
|
Member
Author
|
Follow-up 00e9ef7: AI disclosure: Claude (Anthropic) in the Pi coding agent, via a Roadie session at the maintainer's direction, wrote this comment and the follow-up commit. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Core still had pre-1.0 compatibility code that production data no longer needs: schema-repair helpers for the agents and processed-items tables, the shared legacy agent directory helpers, scalar provider/model aliases in agent config, an unused packet-success recorder, the metadata.tool_result envelope fallback, the legacy context-file cleanup CLI and the pre-v0.67 layer-directory copy cleanup. This change deletes all of it. Only the canonical install schema, per-agent directories, default_provider/default_model and tool_result_envelope remain.
What changed
wp datamachine agents cleanup-legacy-context-filessubcommand.stale_removed, and the@since x.y.zplaceholder is gone. Tests and smokes that only covered these paths were deleted or moved to the canonical shape, a test now checks the installer's deferral schema, and docs/core-system/tool-result-finder.md documents tool_result_envelope.Verification
( if git diff --quiet --no-renames 3b44185 -- ' (
( if git diff --quiet --no-renames 3b441855293e64f96937cb96dece6cbafe8b3f11 -- ':(literal)plugins/data-machine'; then :…): command succeeded; test execution not confirmed on6c96d7b. Basemain@3b44185unchanged. 171227 ms; retained gate metadata.! grep -rqE --exclude-dir=vendor --exclude-dir=node_modules --exclude-dir=build (
! grep -rqE --exclude-dir=vendor --exclude-dir=node_modules --exclude-dir=build "ensure_site_scope_column|ensure_identi…): command succeeded; test execution not confirmed on6c96d7b. Basemain@3b44185unchanged. 336 ms; retained gate metadata.1-verify-file-5b2bc8164930ca07a690b8643fcc558d42b74fbd7d89e2724c737233c67e8e07.txt (
(cd plugins/data-machine && { [ -d vendor ] || composer install -q --no-interaction; }); for f in $(git diff --name-onl…): Accepted inherited failure: 1 test also fails on basemain@3b44185.sha256:b0991e8431a49b0fc5ea9c545e59058fa24eeec3f7fb2d8134890324a6d8e0f4repro: verified (the repro gate failed on base and passed on the candidate).
CI: pending
Cook run
agent-task-54a2e259-47a6-44b1-9595-dd92382065baagent-task-54a2e259-47a6-44b1-9595-dd92382065ba-attempt-1-12b5250dcbd5c932778920038f2705c2fa1ef2f92bad99f5cbd5c932778920038f2705c2fa1ef2f92bad99f5Delivery
Evidence
AI disclosure
Tool: Homeboy Cook. Agent: Homeboy (roadie). Model: roadie · route cook-heavy · served claude-opus-5-5. Cook time: 30m44s.
The AI searched the monorepo for callers of each symbol, deleted the legacy code and the tests covering only that code, moved the remaining tests, smokes and docs to the canonical shapes, and ran syntax checks and smoke tests locally, under the direction of the Cook requester. Homeboy reports controller verification separately from this account of the AI's work. A human reviews before merge.
Closes #4151