Skip to content
Back to skills

Lanes

ASecurity

1. **Brief lint checks command spans only** (DESIGN.md §16 "Brief lint: command spans only"). In `src/brief/lint.ts`, `denied-command` and `forbidden-shape` apply only to: - inline code in the `Acceptance` section; - every line of a shell fence (the existing `SHELL_FENCES`); - inline code that its line introduces as something to run: the text before the span, on the same line, ends with "run", "runs", "execute", "call", "with the command" or "Bash:" (case-insensitive, trailing s

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 15, 2026
ai-agentsgoshellbashgitsecurity

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned October 15, 2026

npx -y skills add ozgursagiroglu/arbab --skill lanes --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Lanes?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Lanes
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ozgursagiroglu-lanes-arbab/badge)](https://www.skillsdirectory.com/skills/ozgursagiroglu-lanes-arbab)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# M2 · command-span lint, and the skill's lessons from M1

## Task

1. **Brief lint checks command spans only** (DESIGN.md §16 "Brief lint: command spans only"). In
   `src/brief/lint.ts`, `denied-command` and `forbidden-shape` apply only to:
   - inline code in the `Acceptance` section;
   - every line of a shell fence (the existing `SHELL_FENCES`);
   - inline code that its line introduces as something to run: the text before the span, on the same line, ends
     with "run", "runs", "execute", "call", "with the command" or "Bash:" (case-insensitive, trailing spaces and a
     colon ignored).

   Descriptive inline code elsewhere is no longer checked. Keep all other lint codes. Update the tests: one case for
   each kind of command span, and cases proving that descriptive spans pass. The descriptive cases are a parameter
   name in prose, a command mentioned in Facts, and a compound command described in Task as something a test should
   reject.
2. **The skill learns M1's lessons** (`skills/arbab/SKILL.md` and its references):
   - **Review**: when a finding can be tested, settle it with a deterministic probe lane (a small script the worker
     runs, reporting outcomes) before, or instead of, a skeptic pass. M1 settled its two security findings that way.
     Two lenses that find the same defect independently count as confirmation.
   - **Fence**: arbab denies writes to the repository's shared git directory. Measured: without that, code a
     worktree's worker runs can write loose refs there.
   - **Plans**: a short section on `plans/<name>.json`, plus `arbab plan check`, `arbab plan next` (after each
     `wait` notification) and `arbab plan status`, from DESIGN.md §16. Converting a design document into a plan
     means:
     - one phase per lane;
     - disjoint scopes;
     - dependencies only where a phase needs another's code;
     - shared contracts written by the orchestrator before the first wave.
   - **Digest**: when to use `arbab resume <lane> --digest` instead of a plain resume (a long attempt stopped long
     ago, or a session that went wrong).
   - **Integrate**: lane-level green is not repo-level green; run the gates after every merge, including on `main`
     after landing (M1's own landing found a test that only failed there).
   - Keep SKILL.md under 400 lines; update `src/skill.test.ts` if a test depends on changed text.

## Scope

You own `src/brief/lint.ts`, `src/brief/lint.test.ts`, `skills/**` and `src/skill.test.ts`. Change nothing else.

## Facts

- M1's briefs hit command-span false positives six times. Cases: a parameter name in backticks; a command in Facts
  describing a measurement; a compound command a test should reject; a plugin command shown as an example; git
  commands the runner (not the worker) runs; and a coordination heading.
- `matchesBashRule` and `isAllowedCommand` in `src/brief/rules.ts` stay as they are.

## Acceptance

- [ ] Lint and skill changes as above, with tests.
- [ ] Every `lanes/*.md` of this repository still lints without errors under its lane's profile. The parse test
      already covers parsing.
- [ ] `pnpm typecheck`, `pnpm test` and `pnpm build` exit 0.

Files in this skill

  • m1-brief.md6.5 KB
  • m1-cli.md6.5 KB
  • m1-config.md6.8 KB
  • m1-e2e.json123 B
  • m1-e2e.md5.8 KB
  • m1-fix-cli.json724 B
  • m1-fix-cli.md3 KB
  • m1-fix-fence.json491 B
  • m1-fix-fence.md3.4 KB
  • m1-fix-lifecycle.json625 B
  • m1-fix-lifecycle.md6.2 KB
  • m1-probe-gitwrite.json193 B
  • m1-probe-gitwrite.md820 B
  • m1-probe-gitwrite2.json159 B
  • m1-probe-gitwrite2.md1.4 KB
  • m1-probe-gitwrite3.json159 B
  • m1-probe-gitwrite3.md1.4 KB
  • m1-profile.md7.3 KB
  • m1-registry.md5.5 KB
  • m1-review-contracts.json145 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.