Spaces:
Sleeping
Sleeping
Claude Opus 4.7 (1M context)
[ai-standards][slice-1] orientation and deploy boundary (#7)
7a5c442 unverified |
Download AGENTS.md from DecodeMarketing/decode_tools: direct link, hf CLI and curl.
- Browser
- Download file 2.1 kB
-
https://huggingface.co/spaces/DecodeMarketing/decode_tools/resolve/main/AGENTS.md
- Command line
-
hf download hf://spaces/DecodeMarketing/decode_tools/AGENTS.md
-
curl -L -o AGENTS.md https://huggingface.co/spaces/DecodeMarketing/decode_tools/resolve/main/AGENTS.md
2.1 kB
| # AGENTS.md | |
| This file is the short, durable entrypoint for AI contributors working on `icat_app`. | |
| `icat_app` is a Streamlit app (8 tabs, one tool per tab) that auto-deploys to a Hugging Face Space on every push to `main`. Treat any change to runtime files as deploy-affecting. | |
| ## Read these first, in this order | |
| 1. `CLAUDE.md` β repo-level base rules, reviewer procedure, destructive-op rules, plugin requirements, repo-specific section. | |
| 2. `docs/INDEX.md` β map to all in-repo documentation (architecture, guides, reference, policies, progress). | |
| 3. `docs/guides/protected-boundary-policy.md` β what auto-deploys and the rules around touching it. | |
| 4. `docs/guides/review-workflow.md` β findings-first reviewer contract and the `.decode-reviewer-clean` marker. | |
| 5. `docs/guides/git-and-pr-rules.md` β branch model, PR rules, observed branches. | |
| ## Hard limits (also enforced by hooks) | |
| - No `git add -A` / `git add .` β stage files by name. | |
| - No destructive git ops (`push --force`, `reset --hard`, `clean -f`, `branch -D`, etc.) β blocked by `.claude/hooks/block-dangerous-git.sh`. Ask the user to run them manually. | |
| - No writes to `.env*`, `credentials*`, `*.pem`, `*.key` β blocked by `.claude/hooks/block-env-writes.sh`. | |
| - No AI attribution in commit messages β conventional format, human author. | |
| - No commits touching `*.py` / `scripts/` without a fresh `.decode-reviewer-clean` marker (enforced by `.githooks/commit-msg`). | |
| - No direct push to `main` β `main` auto-deploys to `huggingface.co/spaces/DecodeMarketing/decode_tools` via `HF_TOKEN`. PRs only. | |
| ## Local verification | |
| ```bash | |
| python scripts/repo_validate.py | |
| ``` | |
| This is the one-command structural check (py_compile sweep + `requirements.txt` parseable + README HF frontmatter sanity). It runs on every PR via `.github/workflows/repo_validate.yml`. Ruff lint over changed Python runs separately via `.github/workflows/gate.yml`. | |
| This file is intentionally short. Do not duplicate `CLAUDE.md` content here. Update `CLAUDE.md` (with reviewer) for behavior changes; update this file only when the entrypoint changes. | |