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
Adds generic corpus indexing job summary conventions so job list/detail and job artifact payloads can expose concise operator-facing counts and artifact references.
Preserves corpus artifact metadata through job artifact projection without narrowing Data Machine to a product-specific corpus implementation.
Adds a separate corpus artifact retention policy hook, CLI/system-task retention surface, and scoped artifact-file cleanup path.
The new artifact retention cleanup targets JSON files under the existing Data Machine job artifact directory and relies on artifact payload retention_scope or known generic corpus artifact types; consumers still need to write artifact payloads using those conventions.
AI assistance
AI assistance: Yes
Tool(s): OpenCode (gpt-5.5)
Used for: Drafted and verified the generic job summary, artifact projection, retention hooks, and smoke test changes for Chris to review.
ℹ️ Auto-fix lint issues: homeboy refactor data-machine --from lint --write
ℹ️ Collect coverage: homeboy test data-machine --coverage
ℹ️ Save test baseline: homeboy test data-machine --baseline
ℹ️ Pass args to test runner: homeboy test -- [args]
ℹ️ Full options: homeboy docs commands/test
Deep dive: homeboy test data-machine --changed-since 6745e42
Artifacts and drill-down
CI results artifact: homeboy-ci-results-data-machine-test-quality-Linux-node24 contains immediate command JSON for this action invocation.
Observation artifact: homeboy-observations-data-machine-test-quality-Linux-node24 contains exported Homeboy run history for deeper queries.
Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
Lint follow-up from controller triage: Homeboy observations show 37 PHPCS findings, primarily formatting/alignment in inc/Core/CorpusJobSurfaces.php; examples include assignment alignment at lines 14 and 17 and array double-arrow alignment around lines 64-66. Homeboy autofix failed because its runner saw uncommitted changes, so please fix manually or with a clean local fixer run, rerun lint/test, and push.
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
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
Closes #2490.
Tests
php tests/corpus-job-surfaces-smoke.phpphp tests/retention-system-tasks-smoke.phpvendor/bin/phpcs inc/Abilities/Job/JobHelpers.php inc/Core/CorpusJobSurfaces.php inc/Core/JobArtifacts.php inc/Core/FilesRepository/FileCleanup.php inc/Engine/AI/System/Tasks/Retention/RetentionCleanup.php inc/Engine/AI/System/SystemAgentServiceProvider.php inc/Engine/AI/System/Tasks/Retention/RetentionCorpusArtifactsTask.php inc/Cli/Commands/RetentionCommand.php tests/corpus-job-surfaces-smoke.php tests/retention-system-tasks-smoke.phpgit diff --checkRemaining risks
retention_scopeor known generic corpus artifact types; consumers still need to write artifact payloads using those conventions.AI assistance