Repository navigation
Conversation
There was a problem hiding this comment.
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.mddocumenting the fork’s branch model andbuild.shworkflow. - Documents standard contributor workflows (sync, feature development, conflict resolution).
- Provides a GitHub Actions snippet for installing/building the
quanteconbranch artifact.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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`. | |
| - 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 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 | |
4 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
quantecon/AGENTS.md— a guide for AI coding assistants (Copilot, Claude Code, Codex, etc.) covering the branching model,build.shworkflow, standard operations, and GHA install instructions.Complements
quantecon/README.md(human guide) with a concise, agent-optimised reference.