Atlas / Skills / web-crafts-org / gemba

gembaSAFE

skills/web-crafts-org/gemba

Gemba: a task-based system for working with AI agents. The gemba CLI and its specification

Verdict
SAFE
Grade
B
Trust score
89 /100
Version
1.0
Hosts
4 documented
License
MIT
Stars
0
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://github.com/web-crafts-org/gemba/actions/workflows/ci.yml) [](https://pypi.org/project/gemba-cli/) [](https://pypi.org/project/gemba-cli/) [](https://github.com/web-crafts-org/gemba/blob/main/LICENSE)

Gemba is a task-based system for working with AI agents. Every unit of work is one Markdown file in a repository of your own, your agent registers, launches, updates and closes those tasks through fixed processes, and each task is worked on inside a harness: a folder of its own, with its notes, its evidence and the code it touches, where nothing leaves without your written approval. Everything that is specific to one organization, its kinds of work, its fields, its rules, lives in one config file, so you keep one tasks repo per organization and the agent behaves the same in all of them.

The name is 現場, gemba: "the actual place", where the work happens. In Gemba that place is the harness, a folder made for one task, where the agent works on it and on nothing else, with everything the task needs inside and none of the noise of every other pending thing. The task file is the logbook of that work: what was done, when, and what it cost, recorded day by day. The harness is where the work gets done; the task file is where you learn from it, the record that over time lets you see how you work, measure it and improve it.

The idea

your tasks repo                                  the harness of one run
+-------------------------------------+          +--------------------------------+
| gemba.yaml   your organization:     |  launch  | task.md     the task, read-only|
|              workstreams, fields,   | -------> | notes/      what the agent     |
|              rules per process      |          |     
Read from source at commit f7ab43c16130OBSERVED · 2026-10-12
02

Install

Commands as the repository documents them. They are shown, not run.

uv sync                                          # environment, lock file, editable install
uv run python -m unittest discover -s tests      # full suite: cases, unit tests, traceability
uv run python -m unittest discover -s tests -p test_config.py   # one module
uv run python -m unittest discover -s tests -k test_create_invalid_slug   # one case file
uv run ruff format .  &&  uv run ruff check .  &&  uv run pyright
uv run pre-commit install --hook-type pre-commit --hook-type pre-push   # lint on commit, suite on push
03

Host compatibility

What the documentation claims. We have not run a compatibility test.

HostStatusNotes
claude-codementioned
codexmentioned
cursormentioned
gemini-climentioned
04

What it tells the agent

The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.

---
name: openspec-apply-change
description: Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks. Also use when the user says "openspec apply", "opsx apply", or "openspec implement".
allowed-tools: Bash(openspec:*)
license: MIT
compatibility: Requires openspec CLI.
metadata:
  author: openspec
  version: "1.0"
  generatedBy: "1.14.1"
---

Implement tasks from an OpenSpec change.

**Store selection:** If the user names a store (a store is a standalone OpenSpec repo registered on this machine) or the work lives in one, run `openspec store list --json` to discover registered store ids, then pass `--store <id>` on the commands that read or write specs and changes (`new change`, `status`, `instructions`, `list`, `show`, `validate`, `archive`, `doctor`, `context`, `schemas`, `view`). Once selected, treat `--store <id>` as sticky for the rest of the workflow. Every unscoped example of those commands below is shorthand: before running it, append the flag. For example, run `openspec status --change "<name>" --json --store "<id>"`, not the unscoped form shown below. Other commands do not take the flag. Hints printed by commands already carry the flag; keep it on follow-ups. Without a store, commands act on the nearest local `openspec/` root.

**Project check:** These steps expect a project that already uses OpenSpec. Before the first step that writes anything (`new change`, `archive`, `sync specs`, or authoring an artifact file), confirm the project has a root: run `openspec list --json` (with `--store <id>` when a store is selected, since the store is then the root) and read `root`. A root object means the project is set up. `"root": null` means it is not - there is no `openspec/` directory here, and a write such as `openspec new change` would create one as a side effect. The command also exits non-zero, which is that answer rather than a broken CLI, so read the JSON instead of retrying or working around it.

One `"root": null` is not about setup: when a `status` error message starts with `Declared in` or `Invalid store declaration in` and names this project's `openspec/config.yaml` (or `config.yml`), the project does use OpenSpec through a store it declares, which this machine cannot resolve (the store is not registered, or the `store:` line is malformed). Do not treat it as uninitialized and skip the branches below: stop before writing and show the user that error's `message` and `fix`.

Otherwise, with no root, what happens next depends on how this workflow was reached:

- **Auto-selected**: you chose this workflow yourself, without the user naming OpenSpec, naming this skill, or running its slash command. Stop using OpenSpec and answer the request normally, as you would with no OpenSpec installed. Do not ask them to set anything up and do not mention OpenSpec setup.
- **Explicit OpenSpec request**: the user named OpenSpec, named this skill, or ran its slash command. Stop before writing and ask how to proceed: set this project up (`openspec init`), target a store they already have (`--store <id>`), or continue without OpenSpec for this request. Wait for their answer.

In both branches, never create the root as a side effect: do not run `openspec init` until the user asks for it, do not hand-create `openspec/` files, and do not let a command create it.

**Input**: Optionally specify a change name (e.g., `/opsx:apply add-auth`). If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.

**Steps**

1. **Select the change**

   If a name is provided, use it. Otherwise:
   - Infer from conversation context if the user mentioned a change
   - Auto-select if only one active change exists
   - If ambiguous, run `openspec list --json` to get available changes and ask the user to select one

   Always announce: "Using change: <name>" and how to override (e.g., `/opsx:apply <other>`).

2. **Check status to understand the schema**
   ```bash
   openspec status --change "<name>" --json
   ```
   Parse the JSON to understand:
   - `schemaName`: The workflow being used (e.g., "spec-driven")
   - `planningHome`, `changeRoot`, and `actionContext`: planning scope and edit constraints
   - Which artifact contains the tasks (typically "tasks" for spec-driven, check status for others)

3. **Get apply instructions**

   ```bash
   openspec instructions apply --change "<name>" --json
   ```

   This returns:
   - `contextFiles`: artifact ID -> array of concrete file paths (varies by schema - could be proposal/specs/design/tasks or spec/tests/implementation/docs)
   - Progress (total, complete, remaining)
   - Task list with status, source path, and source line
   - Dynamic instruction based on current state
   - Optional `context`: current required project instruction input from the selected root
   - Optional `operationGuidance`: current advisory guidance for apply
   - `missingArtifacts` (when present): required artifact ids with no output

   **Handle states:**
   - If `state: "blocked"`: show the message and pause implementation.
     - If `missingArtifacts` is non-empty: suggest completing the missing artifacts. Run `openspec status --change "<name>" --json`, select the next `ready` artifact (not `skipped` or `blocked`), and use `openspec instructions "<artifact-id>" --change "<name>" --json` for its rules and template. Keep the selected `--store <id>` on both commands.
     - Otherwise, follow the CLI instruction to create or repair the schema-configured tracking file from existing planning artifacts. Do not assume another artifact is ready or start implementation while blocked.
   - If `state: "all_done"`: report that all tracked tasks are complete and suggest review or verification as appropriate before archiving
   - Otherwise: proceed to implementation

   Treat `context` as a required prompt-level input. Read and consider it, and
   apply relevant project
05

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (1 observation(s))
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (7)

LOWInventory / provenance · inv.hidden_file · CWE-1104
.pre-commit-config.yaml
.pre-commit-config.yaml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
openspec/changes/archive/2026-10-11-prepare-publication/.openspec.yaml
.openspec.yaml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
openspec/changes/archive/2026-10-11-release-page/.openspec.yaml
.openspec.yaml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.symlink · CWE-1104
CLAUDE.md
CLAUDE.md
Why it matters. link not followed
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/cases/harness/harness-repository-initialized.yaml:36
harnesses/support/2026-09-30-SUP-1-login-fails/task.md: ../../../tasks/support/2026-09-30-SUP-1-login-fails.md
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/cases/harness/task-linked.yaml:24
harnesses/support/2026-09-30-SUP-1-login-fails/task.md: ../../../tasks/support/2026-09-30-SUP-1-login-fails.md
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/test_harness.py:53
"../../../tasks/support/2026-09-30-SUP-1-login-fails.md",

Gates applied: no_behavioural_pass.

Audited 2026-10-12 · audit v0.4.1 · source sha f7ab43c16130full audit observations/trust-audit/skill/web-crafts-org__gemba.json · Report an issue / request a re-scan
06

Audit history

Every audit this skill has had.

DateSourceVerdictGradeScoreChange
2026-10-12f7ab43c16130SAFEB89first audit
07

Questions

What does the gemba skill do?

Gemba: a task-based system for working with AI agents. The gemba CLI and its specification

Is gemba safe to install?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.

What can gemba access on my machine?

The audit observed that it reads or writes files. Each of those is consistent with what it says it does. Secrets in the source: none found.

Which assistants does gemba work with?

Its documentation mentions claude-code, codex, cursor and gemini-cli. That is what the text claims, not a compatibility test we ran.

How current is this page?

The grade is for one exact copy of the source (f7ab43c16130), read on 2026-10-12. The repository is watched, and a new audit runs when it changes — this is the first audit.

Advertisement