Skip to content

Report whether learned skills are deployed and usable #2168

Open

Description

@kantord

Relates to #1853, #2154.

Problem

A client cannot tell whether learned skills are actually deployed and usable.

Today ServerCapabilities.learned_skills only means "the caller-partitioned lifecycle API is available". The effective learning policy (mode, activation rule, evaluator, store) is not reported anywhere a client can read; it is only written to the daemon log (internal/app/learning.go, "automatic learning policy resolved").

Observed on a default local mecated serving with learning.mode: off (the default): the runtime reports learnedSkills, learningProposals, and reflection as true, and ListLearnedSkills answers supported with no items. A client therefore shows a working, empty review surface even though no draft can ever appear. The same ambiguity applies when drafting is on but cannot complete, for example when evaluator infrastructure is missing (the docs say such candidates "remain inactive"), when the store is partial, or when publishing into the live catalog is unavailable.

I did not verify what mecak8s reports with no learning.store.endpoint set (the Helm default is empty).

Outcome

A client can read, from the server, a clear and truthful statement of whether learned skills are deployed and usable, and why not when they are not.

Scope

  • Report the effective learning status through the capabilities or server-info surface, additively:
    • learning mode (off, review, auto) and whether new drafts can be produced at all;
    • the skill activation rule (validated or evaluated) and whether an evaluator is available;
    • the store in use (local or remote) and whether it supports the lifecycle operations;
    • whether publishing into the live skill catalog is available;
    • a stable machine-readable reason, plus a human-readable one, for each unavailable part.
  • Make learned_skills and learning_proposals mean one documented thing, and say so in the proto comments.
  • Cover mecated, mecak8s with and without a learning store, mecatui, and mecatequi.
  • Update the learning and deployment docs.

Acceptance

  • Tests cover the combinations of mode, evaluator, store, and publication, and assert the reported status for each.
  • On a default deployment with learning.mode: off, the status says drafting is off.
  • The change is additive and the SDK exposes it.
  • task test, task lint, and task docs pass.

Delivery

Bounded daemon and SDK contract addition. No Studio change in this issue.

Where Studio wires it in once this exists

Each is a small follow-up in apps/:

  • apps/web/src/features/knowledge/knowledge-workspace.tsx: today the Learned pill hides only when learnedSkills === false; use the new status to also say when drafting is off or unusable.
  • apps/web/src/features/knowledge/learned-skills.tsx: replace the generic "No learned skills yet" empty state with the real reason (drafting off, no evaluator, store unavailable).
  • apps/web/src/features/knowledge/skill-tool-disabled-banner.tsx: the same pattern for a learned-skills banner.
  • apps/server/src/mecatl/knowledge.ts and apps/contracts/src/schemas/runtime.ts: carry the status through the BFF.
  • Settings, next to the existing runtime facts: show the effective learning policy.

Fully or partially written by an AI agent.

Activity

  1. added
    enhancement
    on Oct 7, 2026
  2. added
    backend-service-gap
    WebUI
    on Oct 7, 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

    WebUIbackend-service-gapenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions