Skip to content

Studio map: plotkeeper map check, and a check of a map given as text #754

Done

Description

@danielrispler

Parent

#753

What to build

npx -y plotkeeper map check checks a repository's map anywhere, in CI or at the prompt, with the checker's own output and exit codes. The system-map library also checks a map given as text, for maps not yet on disk (the scan, Accept). #753, "Implementation Decisions": "Checking a map that is not on disk" and "Keep it current" (plotkeeper map check).

This ticket changes scripts/npm/smoke.sh, which only the release workflow's per-platform jobs run, and CI skips draft PRs: it runs as its own non-draft PR before /implement-spec (docs/agents/ticket-authoring.md, "Checks that need CI").

Acceptance criteria

  • The library gains check_text(root, files, map_text), the same check_with with the map given as text; a test shows its report equals check's on the same map written to disk.
  • The report's text and JSON output (print_check, pass_line) and system-map's run move into the library (a cli module); system-map's binary calls it, its output unchanged.
  • plotkeeper map check [--json] [--root] [--commit] prints what system-map check prints and exits 0 on pass, 1 on fail, 2 on error; process tests over a fixture repository show each.
  • plotkeeper passes only check (and, from ticket 2, scan) to the library; touched and imports stay system-map's own, and any other plotkeeper map argument is refused as today's unknown arguments are.
  • scripts/npm/smoke.sh runs plotkeeper map check through the launcher on a small fixture repository with a map, passing and exiting 0.
  • docs/studio/plugin.md (or settings.md) documents plotkeeper map check; system-map.json follows the new module.

Reading

Touches

  • Files: system-map/src/lib.rs, new system-map/src/cli.rs, system-map/src/main.rs, server/src/bin/plotkeeper.rs, scripts/npm/smoke.sh, docs/studio/plugin.md, system-map.json
  • Session: auto mode
  • Route: medium · effort medium — CLI plumbing over the library, output moved, no stored type or UI; more than three source files

Activity

  1. added
    ready-for-agent
    on Nov 27, 2026
  2. danielrispler commented on Nov 28, 2026

    @danielrispler
    OwnerAuthor

    Resolved in PR #776 (squash e6034bf on main), spec #753. Built on the integration branch as 03cba71: plotkeeper map check and a check of a map given as text; the release smoke test runs it.

    Route outcome: medium·medium claude/sonnet → pass | 9m

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

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions