AGENTS.md@scripts/libA

This file is byte-identical to the first copy the registry indexed. Same content hash, so the same checks give both the same grade.

AGENTS.md@scripts/lib from activeinferenceinstitute/generalized_notation_notation is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add activeinferenceinstitute/generalized_notation_notation/scripts/lib/AGENTS.md@git:20260906.02b3a34

Pins git:20260906.02b3a34 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
activeinferenceinstitute/generalized_notation_notation
Path
scripts/lib/AGENTS.md
Versions recorded
2
Latest version
git:20260906.02b3a34, committed Sep 6, 2026
First version recorded
Jul 6, 2026
Size
1,805 bytes
Repository stars
33
License
a license file GitHub does not identify

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# scripts/lib/ — Shared Script Utilities

## Overview

`scripts/lib/shared.py` provides common functions used across multiple audit and check scripts under `scripts/`. It reduces duplication of ROOT discovery, skip-path logic, and exit-code handling.

`scripts/lib/manuscript_figure_tokens.py` loads `output/data/manuscript_variables.json` as a mapping that records which keys a figure generator actually reads. `manuscript_build_figures.py` writes those `{key: value}` pairs into `output/figures/figure_registry.json`, and `src/tests/test_manuscript_figure_freshness.py` compares them against the live token map, so a committed PNG cannot keep printing a count the producer has moved past.

## Exports

| Function | Purpose |
|---|---|
| `repo_root()` | Return the repository root (`Path`), derived from file location |
| `should_skip_path(path, root, ...)` | Check if a path matches generated-output or skip-part patterns |
| `is_generated_output(rel)` | Detect paths under `_output`/`_outputs` dirs or generated report prefixes |
| `add_strict_flag(parser)` | Add a standard `--strict` flag to an argparse parser |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add activeinferenceinstitute/generalized_notation_notation/scripts/lib/AGENTS.md@sha256:781b6cb1c427370a

The line at the top of this page pins the label git:20260906.02b3a34, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_7dabd6l3t5rhpizz.svg)](https://markdownregistry.com/a/art_7dabd6l3t5rhpizz)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Jul 6, 2026 and Sep 6, 2026, about one every 62 days.

versioncommittedcommitsizeaudit
git:20260906.02b3a34 latest2026-09-06 02b3a34 1,805 BA view · diff
git:20260706.593ade82026-07-06 593ade8 1,105 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (1805 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

activeinferenceinstitute/generalized_notation_notation · 33 stars · license a license file GitHub does not identify · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_7dabd6l3t5rhpizz
GET https://markdownregistry.com/api/v1/resolve?ref=activeinferenceinstitute/generalized_notation_notation/scripts/lib/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/781b6cb1c427370a4d1a1018a37b4ef27d41e1ac5eeb3fa89232d13d8849c187

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from activeinferenceinstitute/generalized_notation_notation

AGENTS.md@.agent_rules AGENTS.md file
activeinferenceinstitute/generalized_notation_notation · .agent_rules/AGENTS.md
git:20261008.aa1f6bc · audit A · 33 stars
AGENTS.md@.benchmarks AGENTS.md file
activeinferenceinstitute/generalized_notation_notation · .benchmarks/AGENTS.md
git:20260415.181acef · audit A · 33 stars
AGENTS.md@.github AGENTS.md file
activeinferenceinstitute/generalized_notation_notation · .github/AGENTS.md
git:20260903.12a565b · audit A · 33 stars
AGENTS.md@.github/workflows AGENTS.md file
activeinferenceinstitute/generalized_notation_notation · .github/workflows/AGENTS.md
git:20261017.9c8c25f · audit A · 33 stars
AGENTS.md AGENTS.md file
activeinferenceinstitute/generalized_notation_notation · AGENTS.md
git:20261016.4bae4a7 · audit A · 33 stars
CLAUDE.md CLAUDE.md file
activeinferenceinstitute/generalized_notation_notation · CLAUDE.md
git:20260922.59f99ec · audit A · 33 stars
gnn-pipeline SKILL.md skill
activeinferenceinstitute/generalized_notation_notation · SKILL.md · Generalized Notation Notation (GNN) processing pipeline for Active Inference generative models. Use when working with…
git:20260922.84d602e · audit A · 33 stars
AGENTS.md@docs AGENTS.md file
activeinferenceinstitute/generalized_notation_notation · docs/AGENTS.md
git:20260907.ae194c2 · audit A · 33 stars
AGENTS.md@docs/active_inference AGENTS.md file
activeinferenceinstitute/generalized_notation_notation · docs/active_inference/AGENTS.md
git:20260917.482a267 · audit A · 33 stars
AGENTS.md@docs/activeinference_jl AGENTS.md file
activeinferenceinstitute/generalized_notation_notation · docs/activeinference_jl/AGENTS.md
git:20260917.482a267 · audit A · 33 stars
AGENTS.md@docs/activeinference_jl/actinf_jl_src AGENTS.md file
activeinferenceinstitute/generalized_notation_notation · docs/activeinference_jl/actinf_jl_src/AGENTS.md
git:20260906.82c8031 · audit A · 33 stars
AGENTS.md@docs/advanced_visualization AGENTS.md file
activeinferenceinstitute/generalized_notation_notation · docs/advanced_visualization/AGENTS.md
git:20260907.ae194c2 · audit A · 33 stars

Every file in activeinferenceinstitute/generalized_notation_notation

Other files named AGENTS.md@scripts/lib

AGENTS.md@scripts/lib AGENTS.md file
activeinferenceinstitute/generalizednotationnotation · scripts/lib/AGENTS.md
git:20260906.02b3a34 · audit A · 33 stars

Browse by kind, by grade A, or by owner.