Skip to content

Assigning a skill reports "delivered — available now" while dropping the injection's missing-dependency warnings #3136

Closed

Description

@webmixgamer

Problem

Assigning a skill delivers it (#2703) and returns a delivery report, but the report reduces each skill to {status, error?}: the per-skill warnings the injection computed are dropped. So an assign that lands a skill whose declared binary or env key is missing (missing_binary:*, missing_env:*, packages_not_checked, …) answers "delivered — available now" on the Library card, on the Skills tab's save note and over MCP assign_skill_to_agent / set_agent_skills. The warnings only surface after a manual Sync from the Skills tab, which the Library assign control does not have.

  • src/backend/services/skill_service.py::_deliver_assigned — per[n] = {"status": "injected"} for injected / fallback / unchanged.

Suggested fix

Carry the injection's warnings into per[n]["warnings"] when an injection ran (merge with the lifecycle codes abilityai/trinity-enterprise#672 already stamps there), and let utils/skillDelivery.js say "delivered, but …" when a dep warning is present. Decide whether a missing dependency changes the note's tone.

Acceptance criteria

  • An assign that lands a skill with a missing declared binary or env key says so in the delivery block and on both assign surfaces
  • Live skills with no warnings keep a byte-identical report
  • Tests on the running-agent path

Found while implementing abilityai/trinity-enterprise#672 (PR #3133).

Activity

  1. added
    priority-p3
    type-bug
    theme-ui-ux
    complexity-low
    on Sep 30, 2026
  2. added
    status-ready
    on Oct 5, 2026
  3. added
    status-in-dev
    on Nov 6, 2026
  4. removed
    status-ready
    on Nov 6, 2026
  5. removed
    status-in-dev
    on Nov 18, 2026
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

    complexity-lowpriority-p3theme-ui-uxtype-bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions