Skip to content

feat(ai): ask-jev command, MCP tool and skill #4306

Closed

Description

@dan-petty

Problem or Motivation

An agent has no way to ask TypeSafe Jev (typesafe/jev-1.14, the System One decision model) one question. The client in src/devops_cli/ai/jev.py serves fixed jobs only: routing, skill choice, tool-call gate, judge and passage filter. The owner asked for an ask-jev agent skill and an MCP tool (2026-11-10).

Proposed Solution & Architectural Design

  • Command: devops ai ask-jev <kind> <text> with kind choice, noul or score. It sends one decision request and prints the answer with its calibrated probability, and the token count. --json prints the typed result as JSON. --dry-run makes no request and prints the request that would be sent.
  • MCP tool: ai_ask_jev, generated from the command by the existing MCP generator (exposure table row, read-only). The command refuses an input larger than a bounded size from the constants module, so the CLI and the tool refuse the same input.
  • Skill: ask-jev in .claude/skills, .agents/skills and .kilocode/skills, with the same text. It says when to ask Jev and when not to, and that a Jev answer is evidence, not a verdict.
  • No change to src/devops_cli/ai/jev.py: the command calls create_jev_model and the decide method of the model.
  • Live check waits for fix(ai): the gateway has no route for the Jev Decisions API #4289 (POST /v1/systemone gives 404 through the gateway). Tests use a fake of the HTTP edge.

Target Subsystem

FastMCP & IDE Integrations; AI & Agentic Review Pipeline.

Existing Tool Considered

The pydantic_ai DecisionModel (SystemOneModel) is the open tool. The change adds no client: it adds a thin command, a table row and a skill.

Activity

  1. added
    source/agent
    type/feature
    scope/ai
    status/new
    value/medium
    effort/low
    on Nov 10, 2026
  2. dan-petty commented on Nov 10, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/feature. The feat prefix of the title gives the type.
    • Scope: scope/ai. The (ai) scope of the title gives the scope.
    • Priority: P2-Medium. Owner-requested feature with a dependency on #4289; not urgent but requested.
    • Value: Medium. Gives agents a direct way to query Jev for decisions, expanding the agent toolset.
    • Effort: Low. The body states the change adds a thin command, one table row, and a skill file, with no new client.
    • Related: feat(ai): integrate Jev 1.14 and agent configurations #4274, which asks for a different change. Both use the Jev 1.14 integration from #4274, but the candidate adds a new ask-jev command and tool while #4274 delivered the base integration.
  3. added
    priority/p2-medium
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 10, 2026
  4. removed
    status/in-review
    on Nov 10, 2026
  5. devops-cli-service commented on Nov 10, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-10 02:21 UTC

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

    effort/lowpriority/p2-mediumscope/aisource/agenttype/featurevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions