Keep the original Microsoft remote available as upstream or retain origin until the fork remote is configured. Review upstream changes before rebasing or merging.
Typical fork setup after creating the GitHub repository:
git remote rename origin upstream
git remote add origin <your-fork-url>
git fetch upstream
git rebase upstream/mainUse merge instead of rebase when the project's published-history policy requires it. Never rewrite a shared branch without explicit maintainer agreement.
After each upstream sync:
- read upstream release/migration notes and changed nested
AGENTS.mdfiles; - update
tools/coding-agent-kit/indexer/upstream-base.jsonto the synchronized upstream commit; - regenerate the catalog;
- inspect removed curated paths as blocking failures;
- review topic count changes and newly unclassified high-value sample directories;
- run kit validation;
- update the plugin version and release notes only for a deliberate kit release.
Import a public manifest produced by the local Learn mirror workflow:
python tools/coding-agent-kit/indexer/build_catalog.py \
--learn-manifest /path/to/agent-framework-md/manifest.jsonThe importer retains page title, section path, official URL, Markdown URL, source timestamp, and logical document path. It does not copy page content. Review unexpected domain changes before committing.
After an official page is adopted, its body may be collected separately when redistribution terms are
verified. Use tools/coding-agent-kit/knowledge/collect.py; do not add document files by hand.
- External projects stay in
knowledge/collection/project-routes.jsonas links, immutable versions, routes, design notes, and limitations. Never clone or copy them into the collection directory. - Retained documents must be
adopted, license-verified, and created bycollect.py add-document. - Run
python tools/coding-agent-kit/knowledge/collect.py checkafter every manifest or document change. - Re-review an entry after MAF/version/license changes, stale dates, security findings, or broken links.
- Rebuilds update
knowledge/collection/KNOWLEDGE_INDEX.md; do not edit that file by hand.
Update tools/coding-agent-kit/indexer/topics.json when:
- a new stable framework surface appears;
- an existing curated path moves or stops being the best entry point;
- lookup repeatedly misses a common MAF concept;
- a topic is too broad to produce a compact evidence bundle.
Do not add every matching file as curated. A curated entry should be stable, representative, and explain a design, usage pattern, implementation seam, or test contract.
Run:
python tools/coding-agent-kit/indexer/build_catalog.py
python tools/coding-agent-kit/indexer/build_catalog.py --checkCommit registry/indexer changes and regenerated outputs together. Never hand-edit docs/coding-agent-kit/catalog.
The repository Skill under .agents/skills/maf-expert is canonical. After editing it, run:
python tools/coding-agent-kit/sync_skill.py
python tools/coding-agent-kit/sync_skill.py --checkDo not hand-edit the generated plugin copy under skills/maf-expert.