agentleFS
ondrej-svecondrej-svec/harness-lab/harness-cli/AGENTS.md

harness-lab / harness-cli

AGENTS.md0 starsChanged 8 months agoMITView on GitHub

Participant-facing CLI that installs the workshop skill and wraps privileged facilitator operations (auth, workshop lifecycle). The boundary rule: the CLI holds the credentials, the skill never does. Before editing under harness-cli/:

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 35,337 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository5 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

3 rules. About 1 is common, 0 are distinctive, and 2 are very specific to this project.

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Before editing under harness-cli/:

    line 9
  2. Very specific:

    If bundle sources changed, npm run verify:workshop-bundle confirms the packaged mirror matches.

    line 32
  3. Common:

    No raw credentials leaked into skill state or the packaged bundle.

    line 33

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

harness-cli/

Mission

Participant-facing CLI that installs the workshop skill and wraps privileged facilitator operations (auth, workshop lifecycle). The boundary rule: the CLI holds the credentials, the skill never does.

Read First

Before editing under harness-cli/:

  1. ../docs/harness-cli-foundation.md — auth model, session storage, CLI↔skill boundary.
  2. ../docs/resource-packaging-model.md — portable bundle shape, sync script contract.
  3. CHANGELOG.md for recent behavior changes.
  4. The current plan in ../docs/plans/ if the task is in flight.

Task Routing

  • New privileged operation → add a CLI command that wraps it; never hand the skill raw credentials or session material.
  • Bundle contents change → edit sources under workshop-skill/, content/, workshop-blueprint/, then node harness-cli/scripts/sync-workshop-bundle.mjs to resync. The bundle under assets/workshop-bundle/ is a generated mirror — do not hand-edit.
  • Auth flow change → coordinate with docs/harness-cli-foundation.md and the two load-bearing auth ADRs: docs/adr/2026-04-19-name-first-identify-with-neon-auth.md (canonical — participant identify: event code → name pick → password, dashboard-side control-plane) and docs/adr/2026-04-06-neon-auth-for-facilitator-identity.md (facilitator identity via Neon Auth, still load-bearing).
  • Installer behavior change → update src/skill-install.js and mirror the change in src/run-cli.js handleSkillInstall; add a regression test under test/.

Verification Boundary

  • cd harness-cli && npm test runs verify:workshop-bundle + node --test over test/*.test.js. Both must pass.
  • Bundle drift between authored sources and assets/workshop-bundle/ is a hard fail, not a warning. Resync in the same slice as any source edit.
  • Privileged-op tests live in test/run-cli.test.js and must assert credential-boundary behavior, not just happy-path exit codes.

Done Criteria

  1. npm test passes.
  2. If bundle sources changed, npm run verify:workshop-bundle confirms the packaged mirror matches.
  3. No raw credentials leaked into skill state or the packaged bundle.
  4. CHANGELOG.md updated if the change affects published @harness-lab/cli behavior.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.