AGENTS.md@web/srcA

AGENTS.md@web/src from sap/astonish is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add sap/astonish/web/src/AGENTS.md@git:20260725.2d7f59a

Pins git:20260725.2d7f59a in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
sap/astonish
Path
web/src/AGENTS.md
Versions recorded
5
Latest version
git:20260725.2d7f59a, committed Jul 25, 2026
First version recorded
Jul 11, 2026
Size
6,648 bytes
Repository stars
26
License
Apache-2.0

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

# web/src — AGENTS.md

React 19 SPA for Astonish Studio. Mixed **TypeScript (`.ts`/`.tsx`)** and **legacy JSX (`.jsx`)** — new files should be `.tsx`.

## Scope
- Entry: `main.tsx` (React root) and `App.tsx`.
- `components/` — React components (mix of `.tsx` and `.jsx`).
- `api/` — SPA fetch/SSE client for the Go `/api/*` surface.
- `sandbox-runtime.ts` — sandboxed iframe runtime for Apps (generative UI).

## Conventions
- **Language**: `.tsx` for new UI files unless mirroring an existing `.jsx` neighbor. `npm run build` runs `tsc --noEmit` — do not commit code that fails it.
- **Components**: functional + hooks, single per file, `export default` for the main component.
- **State**: React hooks only. **No Redux/Zustand/Jotai/etc.** Cross-cutting state uses React Context sparingly.
- **Styling**: Tailwind CSS v4 with semantic tokens in `index.css`. Prefer local shadcn primitives in `components/ui/*` and CSS variables (`bg-primary`, `var(--brand)`). Custom product surfaces must be tokenized — never hard-code purple/indigo brand hex or `purple-*` for chrome/CTAs. Full rules: `docs/architecture/studio-ui-system.md`.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add sap/astonish/web/src/AGENTS.md@sha256:f8985fe593004def

The line at the top of this page pins the label git:20260725.2d7f59a, 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_nqg2zs4u6xkltupt.svg)](https://markdownregistry.com/a/art_nqg2zs4u6xkltupt)

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

Versions

The registry has recorded 5 versions of this file, between Jul 11, 2026 and Jul 25, 2026, about one every 4 days.

versioncommittedcommitsizeaudit
git:20260725.2d7f59a latest2026-07-25 2d7f59a 6,648 BA view · diff
git:20260723.96a066e2026-07-23 96a066e 4,489 BA view · diff
git:20260717.ea608382026-07-17 ea60838 4,233 BA view · diff
git:20260715.27375c12026-07-15 27375c1 3,749 BA view · diff
git:20260711.9b4beab2026-07-11 9b4beab 3,467 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 (6648 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

sap/astonish · 26 stars · license Apache-2.0 · pushed 2026-11-02 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_nqg2zs4u6xkltupt
GET https://markdownregistry.com/api/v1/resolve?ref=sap/astonish/web/src/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/f8985fe593004def7090ad39d8ab9070c6c589ca2a0f40291967cf04116d2d31

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 sap/astonish

AGENTS.md AGENTS.md file
sap/astonish · AGENTS.md
git:20260926.5b6636f · audit A · 26 stars
CLAUDE.md CLAUDE.md file
sap/astonish · CLAUDE.md
git:20260811.3aa1eec · audit B · 26 stars
AGENTS.md@cmd/astonish AGENTS.md file
sap/astonish · cmd/astonish/AGENTS.md
git:20260819.fefe3c9 · audit A · 26 stars
AGENTS.md@docs/architecture AGENTS.md file
sap/astonish · docs/architecture/AGENTS.md
git:20260912.5810873 · audit A · 26 stars
AGENTS.md@ent AGENTS.md file
sap/astonish · ent/AGENTS.md
git:20260819.fefe3c9 · audit A · 26 stars
AGENTS.md@pkg/agent AGENTS.md file
sap/astonish · pkg/agent/AGENTS.md
git:20261101.0d54756 · audit A · 26 stars
AGENTS.md@pkg/api AGENTS.md file
sap/astonish · pkg/api/AGENTS.md
git:20260709.e232662 · audit A · 26 stars
AGENTS.md@pkg/browser AGENTS.md file
sap/astonish · pkg/browser/AGENTS.md
git:20260717.063b386 · audit A · 26 stars
AGENTS.md@pkg/channels AGENTS.md file
sap/astonish · pkg/channels/AGENTS.md
git:20260814.a3bb48b · audit A · 26 stars
AGENTS.md@pkg/channels/a2a AGENTS.md file
sap/astonish · pkg/channels/a2a/AGENTS.md
git:20260814.a3bb48b · audit A · 26 stars
AGENTS.md@pkg/config AGENTS.md file
sap/astonish · pkg/config/AGENTS.md
git:20260819.fefe3c9 · audit A · 26 stars
AGENTS.md@pkg/credentials AGENTS.md file
sap/astonish · pkg/credentials/AGENTS.md
git:20260819.fefe3c9 · audit A · 26 stars

Every file in sap/astonish

Other files named AGENTS.md@web/src

AGENTS.md@web/src AGENTS.md file
evanzhang008/open-walnut · web/src/AGENTS.md
git:20261103.0655444 · audit A · 98 stars

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