Skip to content

Add active agent preference#2003

Merged
chubes4 merged 4 commits into
mainfrom
restore-active-agent-preference
May 14, 2026
Merged

Add active agent preference#2003
chubes4 merged 4 commits into
mainfrom
restore-active-agent-preference

Conversation

@chubes4
Copy link
Copy Markdown
Member

@chubes4 chubes4 commented May 14, 2026

Summary

  • Add Data Machine abilities for reading and setting a per-user active agent preference stored as a canonical agent slug.
  • Mark active agents in datamachine/list-agents and use the preference before ambiguous CLI owner fallback.
  • Cover effective CLI resolution so explicit --agent remains authoritative.

Testing

  • php tests/cli-effective-agent-resolver-smoke.php
  • vendor/bin/phpcs inc/Abilities/AgentAbilities.php inc/Cli/AgentResolver.php tests/cli-effective-agent-resolver-smoke.php

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Drafted the active-agent preference implementation and targeted smoke coverage; Chris reviewed direction and requested the implementation.

@homeboy-ci
Copy link
Copy Markdown
Contributor

homeboy-ci Bot commented May 14, 2026

Homeboy Results — data-machine

Lint

lint — passed

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

Test

test — passed

  • 1004 passed
  • 3 skipped

ℹ️ 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 b75ee96

Audit

audit — passed

  • requested_detectors — 123 finding(s)
  • test_coverage — 31 finding(s)
  • intra-method-duplication — 8 finding(s)
  • dead_code — 3 finding(s)
  • dead_guard — 2 finding(s)
  • repeated_literal_shape — 2 finding(s)
  • Directives — 1 finding(s)
  • Retention — 1 finding(s)
  • structural — 1 finding(s)
  • Total: 172 finding(s)

Deep dive: homeboy audit data-machine --changed-since b75ee96

Tooling versions
  • Homeboy CLI: homeboy 0.179.9+3118086e
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: fd26410
  • Action: unknown@unknown

@chubes4 chubes4 merged commit 009e41f into main May 14, 2026
5 checks passed
@chubes4 chubes4 deleted the restore-active-agent-preference branch May 14, 2026 13:58
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