agentleFS
EvoClawEvoClaw/amplify/skills/metric-lock/SKILL.md

metric-lock

Skill12 starsChanged 9 months agoMITView on GitHub

Use when evaluation metrics, protocol, datasets, or splits have been confirmed in the research plan — enforces immutability of locked evaluation components without explicit user authorization

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After G2 plan freeze, the following are immutable:

    line 24

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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
SKILL.md

Metric Lock (Discipline Layer)

Overview

Changing evaluation metrics after confirmation is not optimization — it is goalpost-moving. This skill activates after plan freeze (G2) and remains in effect until project end.

Core principle: Locked means locked. No silent modifications.

Violating the letter of this rule is violating the spirit of this rule.

The Iron Law

EVALUATION METRICS, ONCE CONFIRMED, ARE IMMUTABLE WITHOUT USER PERMISSION

What Is Locked

After G2 plan freeze, the following are immutable:

  • Primary metrics (e.g., F1, BLEU, AUC)
  • Evaluation protocol (e.g., k-fold, held-out test, leave-one-out)
  • Datasets and splits (train/val/test partitions, exact files)
  • Random seeds
  • Baseline list and their configurations

What Is Allowed

Secondary/supplementary metrics may be added for additional analysis. They cannot replace primary metrics and cannot be used to override primary metric conclusions.

Change Request Process

IF you believe a locked item must change:

1. EXPLAIN: What exactly needs to change?
2. JUSTIFY: Why is the current version flawed?
3. PROVE: Show evidence the locked version is defective (not just suboptimal)
4. WAIT: User decides — not you
5. LOG: Record old value, new value, reason in change_log

Skip any step = unauthorized modification = academic misconduct

Red Flags — STOP

  • Quietly changing evaluation script parameters
  • Reporting a different metric than the one locked
  • Weakening baseline configuration after seeing results
  • Using a different data split than specified
  • Rounding, clipping, or post-processing metrics differently than protocol
  • "Forgetting" a baseline that was performing well

Rationalization Prevention

ExcuseReality
"This metric isn't quite right"You argued for it in Phase 3. To change, go through the change request process.
"A different metric shows better results"That's exactly why changing is forbidden.
"The community now prefers X"If true, convince the user. Don't change silently.
"Just adding a supplementary metric"Adding secondary is fine. Replacing primary is not.
"The baseline used a different metric"Adapt the baseline, don't change your protocol.
"It's a minor adjustment"Minor adjustments to locked items require user approval. Always.
"The metric has a known limitation"All metrics do. Document the limitation; don't swap the metric.

The Bottom Line

Locked item + no user approval = do not touch

Unauthorized modification of evaluation components is academic misconduct. No exceptions.

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.