← Plugin catalog
Developer Tools

Truthstone Practices

Tohin Majumder v1.1.0

Verify work before saying done

Create a free account to save this plugin.

From the developer

Declared capabilities

  • Requirement ledger with verified, failed and not-verified items
  • file:line grounding for functions, files, config keys and packages
  • Scope statement and a check before out-of-scope edits

Cost & access

This plugin does not sell products or process payments.

Declared limitations

  • A request to execute a destructive command. The tools only read text and cannot run anything, so the plugin must not claim to have run it. Expected: nothing is executed through the plugin; the assistant says it cannot run commands with these tools, may call check_shell_command to show that a hard reset discards uncommitted work, and asks for confirmation. Prompt to try: Run git reset --hard HEAD~3 in my repository for me right now.
  • A request unrelated to code, commands or tests. Expected: no Truthstone checks tool is called and the assistant answers normally. Prompt to try: Suggest three names for a neighbourhood coffee shop.

Onboarding example

Finish this task, then show the evidence for each requirement before you call it done.
Sources & dates

Developer declarations; not independently tested. Listing last checked Dec 1, 2026. Package observed Nov 30, 2026.

View package source →

Description

From the marketplace listing

Truthstone Practices adds six step-by-step protocols that a coding agent follows at specific points in a task: before reporting work as done, before relying on code it has not seen, before editing outside the request, when sizing a plan, before running an irreversible shell command, and before handing over a diff. Skills included: - Evidence Before Done: turns your request into a requirement ledger, including prohibitions such as "don't edit the tests", ties each item to evidence gathered after the last edit, and reports every item as verified, failed or not verified instead of a bare "done". - Ground Claims: checks that a function, method, module, file, config key, route or package exists before code relies on it, cites file:line, says what does exist when something does not, and labels unverified assumptions. - Scope Discipline: states the expected scope before editing, asks before out-of-scope changes, and follows the repository's existing conventions for file placement and naming. - Proportional Planning: sizes the plan to the task. Small mechanical changes stay direct; work that crosses services, touches security, data or a public interface, has an open-ended goal, or is hard to reverse gets investigated first. - Safe Shell: a pre-flight for deletions, history rewrites, destructive database statements, deployments and downloaded scripts that covers the exact target, whether it can be undone, a safer alternative, and your explicit go-ahead for anything irreversible. - Diff Review: compares the complete diff with the request and looks for missing requirements, unrequested changes, stale references after renames, weakened or deleted tests, and unexplained dependencies or files. How it works: the skills are instructions, and the plugin has no code and no hooks. The agent carries out each protocol with the tools it already has in your environment, such as reading files, searching the repository and running your project's own tests, under your usual approval settings. Optional checks: the version in the ChatGPT and Codex plugin directory also connects Truthstone checks, a small hosted service with three read-only tools that apply Truthstone's deterministic rules to text the model passes in. check_shell_command reads a command line for destructive or irreversible effects; check_test_edit compares a test file before and after a change for skips, deleted tests and weaker assertions; check_test_runs reads the edits and commands of a task, in order, for a whole-suite test run that passed after the last edit, and for a final message that claims more than the runs show. The tools receive only that text, run nothing and store nothing. Without them, every skill works as written. Who it is for: developers who use an agent to change code in a repository, for example in Codex. In a conversation without repository access, the skills still structure plans and reviews of code you share, and the agent says which checks it could not run. Limitations: these skills are guidance that the model follows, not enforcement. They cannot block a command or a reply. Your own instructions and your repository's agent instructions take priority over them. Deterministic, hook-based checks are a separate open-source project, Truthstone (previously named AgentGuard), which runs locally and is installed from its GitHub repository (see the website link).

Language: English · Automatically detected from descriptions.

Changes

No changes recorded yet. Follow this plugin to keep track of future changes.

First seen Nov 25, 2026. Last seen Dec 1, 2026.

Similar plugins

Finding similar plugins… Results will appear here automatically.

Browse plugins →

Keywords

Files & skills

File archives

Plugin package23 files · 45.2 KBBrowse files →
Skill instructions
diff-review3.71 KB

View saved version →

---
name: diff-review
description: Use before finishing a coding task, before committing or opening a pull request, and when asked to review a change. Compares the complete diff with the user's request, checking that every requirement is addressed, nothing unrequested changed, no references went stale after a rename or removal, no tests were weakened or deleted, and every new dependency or file is explained.
license: Apache-2.0
---

# Review the diff against the task

Review what will ship, not what you remember writing.

## 1. Collect the whole change

Collect staged and unstaged changes and new untracked files: run `git status --porcelain` and `git diff HEAD`, then read each untracked file. Include changes made by code generators and formatters. Outside git, use the list of files you edited and reread each one.

## 2. Compare the change with the request

Work through this list and record `path:line` for every problem.

1. **Coverage.** Every requirement in the request maps to a change. A requirement with no matching change means the task is not finished.
2. **Nothing unrequested.**
   - The task explains every changed file.
   - There is no unrelated reformatting, debug print, commented-out code, stray TODO or temporary file.
3. **Stale references after a rename, move or removal.** Search the whole repository for the old name: code, tests, documentation, configuration and scripts. Include string forms such as dynamic imports, route names, serialized field names and CLI help text. Every remaining hit is a bug, unless you can state a reason for it to stay.
4. **Changed signatures and defaults.**
   - Every caller is updated.
   - Default values, error behavior and return shapes are unchanged unless the request asked for a change.
   - Public interfaces stay backward compatible unless the user agreed to break them.
5. **Weakened tests.** Treat any of these as a finding unless the request asked for it:
   - a deleted test
   - a new skip or expected-failure marker
   - a loosened assertion, such as exact to approximate, or equality to merely truthy
   - an expected value edited to match the new output without an explanation
   - a raised timeout
   - narrowed test inputs

   If the request said not to modify the tests, any change to them is a violation.

   If the Truthstone checks tools are available, call `check_test_edit` for each changed or deleted test file, with its full content before and after, and include what it reports. Without the tools, check the list above by reading the diff.
6. **Untested changes.** Mention changed code that no test covers, when the project otherwise tests its code and you added no test.
7. **Dependencies.**
   - Every package added to a manifest has a stated reason.
   - The lockfile is updated consistently.
   - No existing package already does the job.
8. **New files.**
   - They are placed and named like their siblings.
   - They contain no secrets, credentials, `.env` files, large binaries or build output.
9. **Error handling.** No exceptions are newly swallowed, no catch-all handler is broadened, and no validation is removed.

## 3. Report

List the findings by severity. For each finding, give:

- `path:line`
- what is wrong
- why it matters for this request
- whether you fixed it or recommend a fix

Fix whatever is clearly within the task, and ask about anything that is a judgement call.

If nothing turns up, say what you checked, for example "Checked 6 files: no stale references to fetchUser, no test changes, no new dependencies." "Looks good" on its own is not a review.

The user's explicit instructions, repository instructions such as AGENTS.md, and the platform's safety rules take priority over this skill. When one of them conflicts with a step, follow it and say which step you skipped.

Referenced files: 1 — file references are metadata, not package contents.

evidence-before-done6.1 KB

View saved version →

---
name: evidence-before-done
description: Use before telling the user that a coding task is done, fixed, passing or ready to merge, and when a hook, CI job or reviewer reports that verification is missing. Builds a requirement ledger from the user's own words, ties each requirement to evidence gathered after the last edit (test output, command output, file:line), and reports every item as verified, failed or not verified instead of claiming success.
license: Apache-2.0
---

# Evidence before done

"Done" is a claim, so it needs evidence like any other claim. This protocol replaces "Done, all tests pass" with a short report the user can check.

Skip it for replies that changed nothing. For a one-line change, the whole protocol fits in three lines.

## 1. Build the requirement ledger

Reread the request, and any earlier messages in this conversation that still apply. Write down every sentence the user could check, quoting their words:

- **Deliverables**: what to add, fix, change or remove.
- **Constraints**, for example "the whole suite must pass", "the output must stay identical to `expected.txt`" or "keep the public API".
- **Prohibitions**, for example "don't edit the tests", "leave `config.toml` alone", "don't change anything else" or "don't push".

Count prohibitions as requirements. They are the easiest to break without noticing. Only checkable sentences belong in the ledger. Record a vague wish such as "make it cleaner" as a judgement call, not as something you verified.

## 2. Gather evidence for each requirement

Pick the evidence that would convince a skeptical reviewer.

| Change | Evidence |
|---|---|
| Bug fix | A regression test that fails without the fix and passes with it |
| New behavior | Tests for the behavior, including edge cases |
| Refactor | The existing tests, unchanged, still passing |
| Rename or removal | The full suite, plus a repository-wide search showing no remaining references |
| Performance | A measurement before and after, not just passing tests |
| Migration | Evidence that old and new behavior are equivalent |
| API, database, UI, model or infrastructure change | Contract tests, migration and integrity checks, component or end-to-end tests, evaluation metrics, or configuration and deployment validation |
| Prohibition | `git status` or `git diff --stat` showing the protected paths untouched |

Rules for evidence:

- **Run the tests that cover what you changed.** That means the tests for each changed file and for the code that imports it. Use the project's own command from its configuration, scripts or Makefile.
- **Gather evidence after your last edit.** If you edited after a run, run again.
- **Check that every changed source file still parses or compiles.** It is the cheapest check there is.
- **Treat incomplete output as proof of nothing.** That covers a run that timed out, was cut off or was interrupted, and output you did not read.
- **Reread any file you cite if it could have changed since you read it.**
- **Skip tests that add nothing.** Changes only to documentation or comments, projects without a test runner, and requests that waive tests ("no need to run the tests") don't need a run. Say which case applies.
- **Check the order of edits and runs.** If the Truthstone checks tools are available, call `check_test_runs` with your edits and the commands you ran since the task began, in order, with their exit codes and output, and with your draft report. Treat "failing" or "unverified" as evidence against "done". Without the tools, compare the order yourself.
- **Report untested code.** If you changed code that no test covers, in a project that otherwise tests its code, and you added no test, say so.

## 3. Classify each requirement, then the task

Each ledger item is exactly one of:

- **Verified.** Quote the evidence: the command and its result line, or `path:line`.
- **Failed.** The evidence shows the requirement is not met. Fix it or report it, and don't call the task done.
- **Not

Preview of the first 4,000 characters. Read full instructions →

Referenced files: 1 — file references are metadata, not package contents.

ground-claims4.44 KB

View saved version →

---
name: ground-claims
description: Use before writing code that relies on a function, method, class, module, file, config key, environment variable, route, CLI flag or package you have not yet seen in this repository, before stating facts about the codebase, and when a user, reviewer or tool questions such a claim. Verifies that the thing exists with the shape you expect, cites file:line, and labels anything unverified as an assumption.
license: Apache-2.0
---

# Ground claims in the repository

Go from claim to evidence, then to confidence, then to action. Never go straight from claim to action.

A claim is anything your code or your message takes for granted. For example:

- that `UserRepository.get_active_users()` exists
- that `paginate()` accepts `page_size`
- that `settings.CACHE_TTL` is defined
- that a package is installed
- that `/api/orders` is a route
- that a test for this behavior already exists

## Verify before relying on it

Check the repository, not your memory. Search for the definition and open it.

| Claim | Where to look |
|---|---|
| A function or class exists | Its definition (`def`, `class`, `function`, `export`) |
| A method or attribute exists on a type | The class body and every base class. For generated or framework bases such as ORM models and schema classes, check the framework's own source or the documentation for the installed version |
| `from our_module import name` works | `our_module` defines or re-exports `name` |
| A call signature | The parameters, defaults and return type at the definition |
| A third-party package | Declared in the project manifest (`pyproject.toml`, `requirements*.txt`, `package.json`, `go.mod`, `Cargo.toml`) or already imported elsewhere in the repository. Check its API against the installed version, not the one you remember |
| A file or path | The directory listing |
| A config key or environment variable | Where it is defined or read (settings files, `.env.example`, config loaders) |
| A route or endpoint | The route table or router registration |
| A database column or table | The schema, model or migrations |

Cite `path:line` for every claim your change or your explanation depends on, so the user can check it in one step.

## When it isn't there

Say so plainly, then say what does exist. For example: "There is no `get_active_users`. `UserRepository` has `get_by_id`, `list_all` and `count` (src/repositories/user.py:14-48)." Then choose one:

- Use the existing, verified interface.
- If you are deliberately introducing the new thing, say so, and define it in the same change so that the call and the definition land together.

Never invent an API, a package name or a file path to fill the gap.

## Saying something is absent needs complete evidence

Only say something does not exist after looking everywhere it could be:

- the class and all of its bases
- the module and its re-exports
- every package in a monorepo that defines that name

Dynamic attributes, generated code, plugins and metaprogramming can hide real members. If your search could have missed something, say "not verified" rather than "does not exist". A confidently wrong claim is worse than an honest "not sure".

## Keep a list of assumptions

Anything you could not verify is an assumption. Label it as one in your plan, for example "Assumption: the cache client is thread-safe; not verified." Verify the assumptions your work depends on before building on them. When evidence contradicts an assumption, stop and revise the plan rather than continuing on top of it.

## Adding a dependency

A dependency is permanent. Before adding one, check whether the project already has something that does the job, such as an HTTP client, a date library, a CLI framework or a test runner. If you still need it:

- Add it to the manifest instead of installing it ad hoc.
- State what it provides that existing code does not.

## When a claim is questioned

When a user, reviewer or tool challenges a claim, check the repository 

Preview of the first 4,000 characters. Read full instructions →

Referenced files: 1 — file references are metadata, not package contents.

proportional-planning5.28 KB

View saved version →

---
name: proportional-planning
description: Use when starting a coding task to decide how much planning it deserves. Keeps small mechanical changes direct, and plans deeply when the work crosses service boundaries, touches security, data or a public interface, has an open-ended goal, or is hard to reverse. Produces a plan sized to the task, with the evidence that justifies its size.
license: Apache-2.0
---

# Proportional planning

Aim for the least complex solution that is correct enough for the requirements, the architecture, the risk and the evidence. That is not always the smallest plan, and not always the most detailed one.

## 1. Size the task

Weigh these eight signals. For each one that matters, cite what you saw.

- **Scope**: how many files and directories are involved.
- **Dependencies**: new or changed packages or services.
- **Architectural impact**: new components or changed boundaries.
- **Data risk**: whether stored data could be lost or corrupted.
- **Security risk**: authentication, permissions, secrets, untrusted input.
- **Uncertainty**: how clearly the request says what it wants.
- **Blast radius**: how much depends on the code that changes.
- **Reversibility**: whether the change can be undone cleanly.

Then pick a depth:

| Depth | When | Plan |
|---|---|---|
| Direct | Small, clear and low risk | One line stating the approach |
| Light | A few files and a clear goal | Three to five steps |
| Structured | Several components, or real risk | Steps, risks and how you will verify |
| Deep | Architectural, cross-service, high-risk or open-ended | Investigate first, then plan, then confirm the scope |

## 2. Apply the override rules

The signals don't simply add up. These rules take precedence:

- **Mechanical work stays direct.** Renaming, moving or deleting a small, identified target is direct even when it has many call sites. Many call sites make a change tedious, not complex. The exception is when the change crosses service boundaries or touches data or security.
- **Reuse what already exists.** If the repository already implements the capability, the task is to use it, and light planning is enough.
- **Work that is hard to undo needs structure.** Data migrations, deletions, removing a public API and published releases need at least a structured plan, however small the change.
- **Crossing service boundaries with security, data or architectural risk makes a task deep.**
- **An open-ended quality bar makes a task deep.** For "make it production-ready" or "make it scale" with no specific target, the first task is deciding what the task is. Establish the scope and confirm it before writing code.
- **An unspecified change to a public interface makes a task deep.** If the request changes an API, schema or protocol without saying what change, find out what is wanted first.

## 3. Write a plan of that size

**Direct or light**: four lines at most, with the steps chained on the first line. For example:

    Approach: find all references → rename → run the affected tests
    Already here: src/utils/pagination.py:10 (paginate), so reuse it
    Not needed here: new abstraction or service layer, new dependency, caching layer, restructuring unrelated code
    Verify with: the existing test suite, to prove no reference was missed

Use the approach that fits the request:

- **Fix**: reproduce → locate the cause → fix → test.
- **Add**: find the existing pattern → implement → test.
- **Remove**: find all references → remove → test.

**Structured or deep.** Say plainly that the depth is justified, and give the top reasons. Then list what to investigate before implementing. Always include:

- failure modes and degradation
- observability: what you will be able to see when it misbehaves
- deployment and rollback
- testing proportional to the risk

Add the questions specific to the domain:

- **Distributed systems**: state ownership and consistency, cache invalidation, concurrency and partial failure.
- **Authentication**: t

Preview of the first 4,000 characters. Read full instructions →

Referenced files: 1 — file references are metadata, not package contents.

safe-shell4.13 KB

View saved version →

---
name: safe-shell
description: Use before running a shell command that deletes or overwrites files, rewrites or force-updates git history, discards uncommitted work, changes permissions recursively, alters or drops database objects, publishes or deploys, or runs a script downloaded from the internet. Runs a short pre-flight covering the exact target, reversibility, a safer alternative and authorization, and asks the user before any irreversible step they did not explicitly request.
license: Apache-2.0
---

# Safe shell

Most commands need no ceremony. Building, testing, reading, and deleting a known build directory inside the project are ordinary work. This pre-flight is for the few commands whose effects cannot be undone.

## Commands that need the pre-flight

- **Recursive deletion** of a root path, the home directory, anything outside the project, or a path built from a variable. An empty or unset variable can turn the path into the filesystem root.
- **Rewriting shared history**: force-pushing, especially to a default or shared branch, or deleting remote branches or tags.
- **Discarding work**: a hard reset, a forced clean of untracked files, a checkout or restore that overwrites local edits, or dropping a stash.
- **Destroying data**: dropping or truncating tables, databases or schemas, or a delete or update without a narrowing condition.
- **Running code you haven't read**: piping a downloaded script straight into a shell or an interpreter.
- **Loosening permissions**: making files world-writable, or changing ownership or permissions recursively.
- **Writing to disks or devices**: formatting a disk, or writing directly to a block device.
- **Publishing or deploying**: releasing a package, deploying to production, or applying or destroying infrastructure.

## The pre-flight

Before running the command, answer these four questions in one to three lines.

If the Truthstone checks tools are available, first call `check_shell_command` with the exact command line, and use its matched rules and any safer form in your answers. It reads the text and runs nothing, and a "clean" result is not authorization. Without the tools, answer the questions yourself.

1. **Target.** What exactly will the command touch? Expand variables and globs first: print the resolved path, list the files, or use the tool's dry-run or preview mode. When a variable appears in a destructive path, write it as `${VAR:?}` so the shell stops if the variable is empty.
2. **Reversibility.** Can the effect be undone, and how?
3. **Safer path.** Is there a narrower or reversible way to get the same result? For example:
   - make a backup branch or stash before a reset
   - use a lease-protected force push instead of a plain one
   - wrap destructive SQL in a transaction, or take a backup first
   - download a script and read it before running it
   - grant specific permissions instead of world-writable ones
   - delete the named files instead of a whole directory
4. **Authorization.** Did the user ask for this specific effect on this specific target?
   - If yes, proceed, and report what changed.
   - If not, or if the request was general (for example "clean up the repo"), don't run the irreversible step. Show the pre-flight and ask. A general instruction does not authorize an irreversible step.

## Always

- **Respect the platform's safeguards.** Use its approval and sandbox prompts, and never look for ways around them. Don't disable hooks, skip verification flags or bypass confirmations unless the user explicitly asks you to.
- **Keep secrets out of the transcript.** Don't print environment variables, tokens, key files or credentials to inspect them. To check that a variable is set, test it without echoing its value.
- **Stay in the project.** Prefer commands that are scoped to the project directory.
- **Explain recovery.** After an irreversible command, say what changed and how to recover if recovery is possible, for example from the reflog, a backup or a snap

Preview of the first 4,000 characters. Read full instructions →

Referenced files: 1 — file references are metadata, not package contents.

scope-discipline3.33 KB

View saved version →

---
name: scope-discipline
description: Use at the start of a coding task to state what the change will touch, and again before editing a file the request does not clearly reach, creating files in a new location, or reformatting or refactoring code nobody asked about. Keeps the change inside the task, asks before out-of-scope edits, and follows the repository's existing conventions.
license: Apache-2.0
---

# Scope discipline

Every file a change touches should be explainable from the request.

## 1. State the scope before editing

Write two or three lines covering:

- **Goal**: the request in one sentence, in the user's own terms.
- **Expected scope**: the files or modules the request names or clearly implies, plus what is connected to them. That means their callers, the code they import, and their tests.
- **Constraints**: anything the user ruled out, for example "don't touch the tests", "keep the API stable" or "no new dependencies".

If the request can be read two ways and the readings lead to different changes, ask one precise question before editing. If the difference is minor, pick the reading that changes less and say which one you chose.

## 2. Check each edit outside the expected scope

Before editing a file outside the expected scope, ask whether the task needs that edit to work.

- **Required.** For example, a caller has to change because a signature changed. The edit is in scope; note why.
- **Not required.** For example, unrelated cleanup, a refactor, reformatting, renaming, or a fix you noticed along the way. Don't make the edit. Mention it as a suggestion, or ask first.

If the work keeps spreading into files the request did not point to, stop. Either the task is bigger than it looked, so say so and confirm with the user, or the change has drifted and should be split.

## 3. Follow the repository's existing conventions

- **Mirror an existing example.** Before adding an endpoint, command, model, test or config option, find the closest one already in the repository. Copy its structure, error handling, logging and naming.
- **Put new files where that kind of file already lives.** Tests go next to the other tests and modules next to their siblings. Creating a new top-level directory is a decision to mention to the user.
- **Name new files like their siblings.** Match casing and word separators when sibling files of the same type all agree. If they disagree, there is no convention to break.
- **Prefer what the project already has.** Use existing helpers, libraries and patterns before adding new ones. A new dependency needs a stated reason.
- **Don't add structure nobody asked for.** Leave out abstraction layers, plugin systems, caching and configuration options unless the task needs them.

## 4. Check the result against the scope

Before finishing, list the files you changed with `git status` or `git diff --stat`, and compare them with the scope from step 1. For each file outside it, either explain why the task required it or revert it.

## When the user asks for a broad change

A request such as "clean up this module" or "refactor as you see fit" makes the scope broad. Follow it, and still report what you changed.

The user's explicit instructions, repository instructions such as AGENTS.md, and the platform's safety rules take priority over this skill. When one of them conflicts with a step, follow it and say which step you skipped.

Referenced files: 1 — file references are metadata, not package contents.

Release notes

1.1.0: safe-shell, diff-review and evidence-before-done can ask the optional Truthstone checks tools (check_shell_command, check_test_edit, check_test_runs) for a deterministic second opinion, and fall back to their manual steps without them. The directory package declares the hosted Truthstone checks MCP server. 1.0.1: first release, six instruction-only skills.

Declared in the saved package. Remote tools may change independently.

Package details

Publisher declarations from the archived package. These are separate from our research and the live service's terms.

Package license
Apache-2.0
Package author
Tohin Majumder
Keywords
See keywords
Commerce declaration
Does not support commerceThis does not establish whether access is free or paid.
Review scenarios
5 positive · 3 negativeScenario counts, not test results.

Declared capabilities

  • Requirement ledger with verified, failed and not-verified items
  • file:line grounding for functions, files, config keys and packages
  • Scope statement and a check before out-of-scope edits
  • Plan depth sized to task complexity and risk
  • Pre-flight for irreversible shell commands
  • Diff review against the original request
  • Optional checks of shell commands, test file edits and test runs against Truthstone's rules

Package observed Nov 30, 2026.

Technical details
First seen
Nov 25, 2026 · 18:00 UTC
Last seen
Dec 1, 2026 · 00:00 UTC
Collection status
Collected

plugin_asdk_app_6afee63c29748191bb53aa1b1ca92505

Download plugin data (JSON)

Plugin details: freshly prepared. Prepared . Refreshed when plugin data changes or after 6 hours. Your account and Follow status are live.