Skip to content

fix: make bundle prompts provider-neutral #383

Closed

Description

@Jammy2211

Overview

The PyAutoMind bundle renderer currently emits Anthropic-specific model names and Claude-specific subagent syntax even though the shared workflow defines provider-neutral capability tiers. Replace that generated contract with the judgment-tier / execution-tier language from PyAutoBrain/skills/WORKFLOW.md while preserving all existing one-issue, one-branch, and one-PR-per-member semantics.

Plan

  • Make generated bundle prompts resolve the execution tier through the shared workflow policy.
  • Describe delegation through the current harness's native subagent mechanism and documented fallback.
  • Strengthen tests to require provider-neutral wording and reject hardcoded model names or invocation syntax.
  • Regenerate both PyAutoMind dashboard artifacts and validate them for drift.
Detailed implementation plan

Affected Repositories

  • PyAutoBrain (primary)
  • PyAutoMind

Branch Survey

Repository Current Branch Dirty?
./PyAutoBrain main clean
./PyAutoMind main agent-agnostic prompts plus an unrelated untracked research prompt

The existing PyAutoBrain claim from oneshot-benchmark-harness was reviewed and explicitly waived: its PyAutoBrain PR #380 is already merged, while the broader task remains registered for separate assistant work.

Suggested branch: feature/provider-neutral-bundle-prompts

Implementation Steps

  1. Update bundle_prompt() in agents/conductors/intake/_intake.py so its opening and delegation contract use judgment-tier / execution-tier terminology, direct the session to skills/WORKFLOW.md, and require the current harness's native subagent mechanism or documented direct-execution fallback.
  2. Update tests/test_intake_dashboard.py::test_the_bundle_prompt_states_the_orchestration_contract to assert the neutral contract and explicitly reject Fable, Opus, and Agent(model=...) in generated prompts.
  3. Regenerate PyAutoMind/dashboard.md and PyAutoMind/dashboard.html through pyauto-brain intake --apply dashboard; do not hand-edit generated files.
  4. Run the focused intake-dashboard tests, then the dashboard drift check. Confirm the existing bundle invariants remain pinned.

Key Files

  • PyAutoBrain/agents/conductors/intake/_intake.py — bundle prompt generator.
  • PyAutoBrain/tests/test_intake_dashboard.py — generator contract tests.
  • PyAutoMind/dashboard.md — generated Markdown dashboard.
  • PyAutoMind/dashboard.html — generated HTML dashboard.

Original Prompt

Click to expand starting prompt

Make generated bundle prompts provider-neutral

Type: maintenance
Target: pyautobrain
Repos:

  • @PyAutoBrain
  • @PyAutoMind
    Difficulty: small
    Autonomy: supervised
    Priority: high
    Status: draft
    Filed: 2026-09-17
    Parent: draft/maintenance/organs/agent_harness_agnostic_setup.md

Request

Can you check that all Agent setup (skills, md files, etc) is agnostic to whether its claude or codex, been using claude for a while but gonna codex for the forseeable so worth an agnostic sweep

Scope

Replace the Fable/Opus and Agent(model="opus", ...) instructions emitted by
the intake bundle renderer with the provider-neutral judgment-tier /
execution-tier contract already defined in PyAutoBrain/skills/WORKFLOW.md.
Update the dashboard tests to reject provider model names and harness-specific
subagent syntax, then regenerate the Mind Markdown and HTML dashboards.

Acceptance

  • A generated bundle prompt tells the current session to resolve the execution
    tier from WORKFLOW.md and use its harness-native subagent mechanism.
  • Active generator code, tests and generated dashboards contain no hardcoded
    Fable/Opus/Agent(model=...) bundle contract.
  • Existing one-issue, one-branch and one-PR-per-member semantics are unchanged.

Activity

  1. Jammy2211 commented on Sep 17, 2026

    @Jammy2211
    ContributorAuthor

    Progress Update — 2026-09-17

    Summary

    Phase 1 implementation is complete in the isolated worktree. Generated bundle prompts now use the provider-neutral judgment-tier / execution-tier contract from skills/WORKFLOW.md, the contract test rejects the former provider-specific model names and invocation syntax, and both Mind dashboards were regenerated.

    Commits

    • 2ab5f92 — fix: make bundle prompts provider-neutral (PyAutoBrain, local only)
    • e3a5204 — docs: regenerate provider-neutral bundle prompts (PyAutoMind, local only)

    Autonomous ship gate

    • Tests: PASS — PyAutoBrain 895 passed; PyAutoMind 456 passed
    • Smoke: n/a — organism-only generator/dashboard change with no downstream script surface
    • Review: CLEAN — no lifted load-bearing claims
    • Heart: RED — shipping is parked
      • install verification FAILED (testpypi; checks F)
      • release validation FAILED (stage integrate)
      • warning: manifest drift: remote-session blocks (generated) — 2 mismatch(es) vs PyAutoMind/repos.yaml

    The RED reasons are unrelated to this change, so the corrective-PR exception does not apply. No task commits were pushed and no PR was opened.

    Remaining

    • Implement the provider-neutral generated contract
    • Update tests and regenerate dashboards
    • Run full tests and independent review
    • Re-run the Heart gate after organism readiness clears
    • Push both task commits and open the pending-release PRs
  2. Jammy2211 commented on Sep 17, 2026

    @Jammy2211
    ContributorAuthor

    Human Heart RED development override — 2026-09-17

    The live human explicitly authorized this task to ship and merge despite the current Heart RED, then explicitly approved adding the logged development-override policy.

    Human instructions in this session:

    i authorize you to merge despite red and go onwards

    I simply authorize it I am allowed to do that it should bei nthe skill

    The human answered yes when asked whether to amend the policy to permit an explicit, logged human RED override for unrelated development changes.

    Scope: PyAutoBrain#383, branch feature/provider-neutral-bundle-prompts, covering the provider-neutral bundle prompt change and the human-directed policy amendment. The authorization permits commit, push, PR-open, and merge only if every required GitHub check is green in this turn. It does not authorize a release, release rehearsal, force merge, protection bypass, or claiming this branch repairs Heart.

    Exact current Heart RED reasons surfaced before authorization:

    • install verification FAILED (testpypi; checks F)
    • release validation FAILED (stage integrate)

    Current branch gates before the policy amendment:

    • Tests: PASS — PyAutoBrain 895; PyAutoMind 456
    • Smoke: n/a — organism-only generator/dashboard surface
    • Review: CLEAN

    The policy amendment and its doctrine tests will be included in the re-run of these gates before any push.

  3. Jammy2211 commented on Sep 17, 2026

    @Jammy2211
    ContributorAuthor

    Shipped under the recorded Heart RED development override

    Both PRs carry pending-release. Heart remains RED for release purposes. The live merge authorization applies only in this turn and only if every required GitHub check is green; otherwise it expires and /prm must be invoked again.

  4. Jammy2211 commented on Sep 17, 2026

    @Jammy2211
    ContributorAuthor

    CI judgment — stopped on a required-check failure

    Failure:

    dashboard.md + dashboard.html stale — regenerate with pyauto-brain intake dashboard --apply

    The companion PR is generated by the new renderer in Brain #384, while its CI deliberately checks with PyAutoBrain main, which still has the old renderer. This is the expected library-first dependency, but it is still a required-check failure and cannot be bypassed. Per /prm, no PR was merged and the failed check was not rerun automatically.

    Next decision: explicitly authorize merging green Brain #384 first, then regenerate/re-run Mind #406 against the updated Brain main. The previous same-turn merge grant expires when this turn ends.

  5. Jammy2211 commented on Sep 17, 2026

    @Jammy2211
    ContributorAuthor

    Library-first merge update

    No waiter, subscription, auto-merge, or polling loop was armed. Re-run /prm once the Mind check completes; merge still requires a fresh human command because the prior grant expires at turn end.

  6. Jammy2211 commented on Sep 17, 2026

    @Jammy2211
    ContributorAuthor

    Shipped.

    • PyAutoBrain fix: make bundle prompts provider-neutral #384 merged as 49d064d64e1078b2f56c68f5e9401b13269e50d9.
    • PyAutoMind fix: keep broadcast discussions out of awaiting-response #406 merged as a7a3473c8fba92314a43163a88f1ed36ff0c75fe.
    • Current-head CI was fully judged before merge: Brain Python 3.12/3.13 green; Mind Dashboard Refresh green, Spawn Drift privacy green, conditional drift job skipped.
    • Local validation: PyAutoBrain 901 passed; PyAutoMind 456 passed; independent review CLEAN; dashboard and lifecycle checks current.
    • Heart remained RED for the exact acknowledged reasons install verification FAILED (testpypi; checks F) and release validation FAILED (stage integrate). The human granted the task-scoped development override recorded above; this did not authorize a release or waive GitHub CI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions