Skip to content

docs(quantecon): add AGENTS.md for AI assistant context - #20

Closed
mmcky wants to merge 1 commit into
mainfrom
docs/quantecon-agents-md
Closed

mmcky wants to merge 1 commit into
mainfrom
docs/quantecon-agents-md

Conversation

@mmcky

@mmcky mmcky commented May 7, 2026

Copy link
Copy Markdown

Adds quantecon/AGENTS.md — a guide for AI coding assistants (Copilot, Claude Code, Codex, etc.) covering the branching model, build.sh workflow, standard operations, and GHA install instructions.

Complements quantecon/README.md (human guide) with a concise, agent-optimised reference.

@mmcky mmcky closed this May 7, 2026
@mmcky
mmcky deleted the docs/quantecon-agents-md branch May 7, 2026 04:29
Copilot AI review requested due to automatic review settings May 7, 2026 06:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an AI-assistant-oriented contributor guide under quantecon/, complementing the existing human-focused quantecon/README.md with a concise reference for branching, integration builds, and CI installation of the QuantEcon build.

Changes:

  • Introduces quantecon/AGENTS.md documenting the fork’s branch model and build.sh workflow.
  • Documents standard contributor workflows (sync, feature development, conflict resolution).
  • Provides a GitHub Actions snippet for installing/building the quantecon branch artifact.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread quantecon/AGENTS.md
Comment on lines +14 to +18
| Branch | Rule |
|--------|------|
| `main` | Mirror of `upstream/main` + `quantecon/` tooling. **Never commit directly.** |
| `feature/<name>` | **Must be branched from `upstream/main`**, not from `main`. This keeps the `quantecon/` folder out of the upstream PR diff. |
| `quantecon` | Throwaway integration build. **Never commit here** — always regenerated by `build.sh`. |
Comment thread quantecon/AGENTS.md
- Resets `quantecon` to `main`, merges each feature branch in order
- Patches `packages/mystmd/package.json` version to append `-qe` (e.g. `1.9.0-qe`)
- Requires a clean working tree (aborts if `git status --porcelain` is non-empty)
- macOS safe: no `mapfile` (bash 3.2 compatible), `BASH_SOURCE[0]:-$0` guard for zsh
Comment thread quantecon/AGENTS.md
Comment on lines +106 to +111
| Path | Purpose |
|------|---------|
| `quantecon/build.sh` | Builds and (optionally) pushes the `quantecon` integration branch |
| `quantecon/features.txt` | List of active feature branches to merge |
| `quantecon/README.md` | Full contributor guide |
| `quantecon/AGENTS.md` | This file |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants