Skip to content

grep: restore as an eval-only builtin backed by an in-process native engine with six-host prebuilds #1678

Description

@code-yeongyu

Summary

Restore grep as an eval-only builtin backed by an in-process native engine, with six-host prebuilds for supported release artifacts.

Reproduction

In an eval cell, tool.grep returns Unknown tool grep; tool_schema("grep") returns not found.

Expected

Ideal state = Scope Must have, sanitized: eval can call tool.grep with a stable schema, the builtin remains eval-only, the native engine is in-process, and release artifacts provide the required host prebuilds.

Actual

The grep builtin is withheld from the exposed tool set, so eval callers cannot discover or invoke it.

Evidence

Root cause

The current exposure and workflow guidance intentionally withhold grep from eval, leaving no native eval-only implementation or packaging path.

Scope

Must have:

  • expose grep only to eval with a stable schema and direct-call guidance;
  • add an in-process native engine with an engine-agnostic layer;
  • add six-host prebuild packaging and release verification;
  • preserve existing permission, output, pagination, and cancellation contracts.

Acceptance criteria:

  • eval discovery and invocation succeed while non-eval surfaces remain unchanged;
  • native and fallback engines pass parity tests for matching, limits, errors, and cancellation;
  • release artifacts contain the required host prebuilds and package verification passes;
  • documentation and CI checks cover the contract.

Related

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions