Skip to content

Surface stale primaries in AGENTS inventory#808

Merged
chubes4 merged 4 commits into
mainfrom
fix/surface-stale-checkouts-in-agents-md
Jun 25, 2026
Merged

Surface stale primaries in AGENTS inventory#808
chubes4 merged 4 commits into
mainfrom
fix/surface-stale-checkouts-in-agents-md

Conversation

@chubes4

@chubes4 chubes4 commented Jun 25, 2026

Copy link
Copy Markdown
Member

Summary

  • Add a Primary Checkout Attention block to the generated AGENTS.md workspace inventory when primary checkouts need freshness attention.
  • Add compact freshness badges to repo inventory rows so stale/diverged/detached primaries are visible before agents read code.
  • Regenerate composable context after successful primary workspace git pull operations by emitting a primary_refresh workspace-change event.
  • Add smoke/behavior tests that pin stale primary rendering and primary-refresh invalidation behavior.

Testing

  • php -l inc/Runtime/AgentsMdSections.php
  • php -l inc/Workspace/WorkspaceGitOperations.php
  • php -l inc/Workspace/WorkspaceCoreUtilities.php
  • php -l tests/smoke-agents-md-workspace-freshness.php
  • php -l tests/workspace-git-pull-primary-refresh.php
  • php tests/smoke-agents-md-sections.php
  • php tests/smoke-agents-md-workspace-freshness.php
  • php tests/workspace-git-pull-primary-refresh.php

AI assistance

  • AI assistance: Yes
  • Tool(s): openai/gpt-5.5 via OpenCode
  • Used for: Investigating the DMC wake/AGENTS context path, implementing stale-primary inventory rendering and primary-refresh invalidation, and drafting focused tests.

@homeboy-ci

homeboy-ci Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Homeboy Results — data-machine-code

Lint

lint — passed

ℹ️ Full options: homeboy docs commands/lint
Deep dive: homeboy lint data-machine-code --changed-since 90bd720

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-code-lint-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-code-lint-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>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/data-machine-code/actions/runs/28193656232

Test

test — passed

ℹ️ Auto-fix lint issues: homeboy refactor data-machine-code --from lint --write
ℹ️ Collect coverage: homeboy test data-machine-code --coverage
ℹ️ Save test baseline: homeboy test data-machine-code --baseline
ℹ️ Pass args to test runner: homeboy test -- [args]
ℹ️ Full options: homeboy docs commands/test
Deep dive: homeboy test data-machine-code --changed-since 90bd720

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-code-test-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-code-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>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/data-machine-code/actions/runs/28193656232

Audit

audit — passed

  • audit — 16 finding(s)
  • Total: 16 finding(s)

Deep dive: homeboy audit data-machine-code --changed-since 90bd720

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-code-audit-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-code-audit-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>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/data-machine-code/actions/runs/28193656232
Tooling versions
  • Homeboy CLI: homeboy 0.261.0+6ac880c96e78+c674164
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: 0a3cef5e
  • Action: unknown@unknown

@chubes4
chubes4 merged commit 925da26 into main Jun 25, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant