[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-nvidia-submit-github-pr":3,"mdc-3plc0q-key":37,"related-org-nvidia-submit-github-pr":1735,"related-repo-nvidia-submit-github-pr":1892},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":20,"repoUrl":21,"updatedAt":22,"license":23,"forks":24,"topics":25,"repo":32,"sourceUrl":35,"mdContent":36},"submit-github-pr","submit TensorRT-Model-Connect pull requests","Use when publishing an existing TensorRT-Model-Connect change as a GitHub pull request. Verifies authenticated repository access, branch and diff scope, validation evidence, commit identity, reviewer-facing text, exact pushed head, and the created draft PR without merging it.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},"nvidia","NVIDIA","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fnvidia.png",[12,16,17],{"name":13,"slug":14,"type":15},"GitHub","github","tag",{"name":9,"slug":8,"type":15},{"name":18,"slug":19,"type":15},"Pull Requests","pull-requests",190,"https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FTensorRT-Model-Connect","2026-08-31T09:19:05.749614",null,35,[26,27,28,29,30,31],"ai-agents","ai-native","cpp","huggingface","inference","pytorch",{"repoUrl":21,"stars":20,"forks":24,"topics":33,"description":34},[26,27,28,29,30,31],"From PyTorch model to end-to-end TensorRT inference experience in two commands—AI-native, cross-platform, and built for the best possible user experience.","https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FTensorRT-Model-Connect\u002Ftree\u002FHEAD\u002Fplugins\u002Ftrtmc-agent-skills\u002Fskills\u002Fsubmit-github-pr","---\nname: submit-github-pr\ndescription: >-\n  Use when publishing an existing TensorRT-Model-Connect change as a GitHub\n  pull request. Verifies authenticated repository access, branch and diff\n  scope, validation evidence, commit identity, reviewer-facing text, exact\n  pushed head, and the created draft PR without merging it.\n---\n\n# Submit GitHub PR\n\n## Boundaries\n\n- Active repository: `NVIDIA\u002FTensorRT-Model-Connect`.\n- Use the local `github` remote and target GitHub `main`.\n- Never push directly to `main`.\n- Publish only the change the user placed in scope.\n- Open a draft PR by default; omit `--draft` only when the user explicitly asks\n  for a ready-for-review PR and the evidence supports that state.\n- Do not add labels, reviewers, milestones, projects, or auto-merge unless the\n  user explicitly requests them. The authorized Internal CI trigger is the\n  exception described below.\n- Do not merge from this skill. Use `$pr-babysitter` for monitoring and merge.\n- Use `$write-git-messages` for commit, PR, squash, and rebase text.\n\n## 1. Authenticate And Verify The Remote\n\n```bash\ngh auth status\ngh repo view NVIDIA\u002FTensorRT-Model-Connect \\\n  --json nameWithOwner,url,defaultBranchRef\ngit remote get-url github\ngit fetch github main\n```\n\nThe remote URL must resolve to\n`https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FTensorRT-Model-Connect.git` or its authorized SSH\nequivalent. If `gh` cannot read the private repository, stop for safe\nreauthentication. Do not inspect or replay stored credentials.\n\n## 2. Confirm Branch And Exact Scope\n\n```bash\nBRANCH=$(git branch --show-current)\ntest -n \"$BRANCH\"\ntest \"$BRANCH\" != main\nBASE_SHA=$(git rev-parse github\u002Fmain)\nHEAD_SHA=$(git rev-parse HEAD)\ngit status --short --branch\ngit merge-base --is-ancestor \"$BASE_SHA\" \"$HEAD_SHA\"\ngit diff --stat \"$BASE_SHA\"...HEAD\ngit diff --name-status \"$BASE_SHA\"...HEAD\ngit log --oneline \"$BASE_SHA\"..HEAD\n```\n\nReview focused diffs, staged changes, and untracked files. Do not publish:\n\n- unrelated user changes;\n- generated artifacts or secrets not intended for review;\n- an empty branch;\n- a branch based on the wrong repository or target;\n- commit messages containing `Claude`.\n\nIf the branch is behind or diverged from current `github\u002Fmain`, rebase only when\nthat history rewrite is within the user's request. Revalidate after any rebase.\n\n## 3. Validate The Publishable Head\n\nRun `git diff --check` plus checks appropriate to the changed surface. Record\nthe exact command and pass\u002Ffail\u002Fskip\u002Fnot-run result. Do not present:\n\n- a dry run as execution;\n- compilation as model parity;\n- static docs checks as target-hardware proof;\n- a check on a prior SHA as evidence for the current head.\n\nConfirm the worktree contains no unsaved in-scope change before committing or\npushing. If a new commit is needed, use `$write-git-messages` and a GitHub-safe\nauthor email; do not change global Git identity implicitly.\n\nCreate or update an architectural record only when an existing repository\npolicy, template, maintainer request, or user instruction requires it. This\nskill does not invent ADR policy or files merely from the size\u002Ftype of a diff.\n\n## 4. Draft Reviewer Text\n\nGive `$write-git-messages`:\n\n- exact base and head SHA\u002Fref;\n- changed files and behavioral purpose;\n- exit criteria and non-goals;\n- validation commands with outcomes;\n- unrun CI, GPU, model, performance, or qualification gates;\n- dependency and merge order;\n- compatibility, security, migration, rollback, and review-order notes.\n\nThe PR title should match the expected squash\u002Frebase title and follow repository\nconvention. Keep the body focused on one purpose.\n\n## 5. Push The Named Branch\n\n```bash\ngit push -u github \"$BRANCH\"\nPUSHED_SHA=$(git rev-parse \"github\u002F$BRANCH\")\ntest \"$PUSHED_SHA\" = \"$(git rev-parse HEAD)\"\n```\n\nDo not force-push unless the user authorized the history rewrite and the exact\nremote branch was resolved first. When rewriting an existing branch, prefer an\nexplicit lease for that branch and its previously observed SHA.\n\n## 6. Create And Verify The PR\n\nPass the reviewed body on stdin to avoid leaving an unnecessary local file:\n\n```bash\ngh pr create \\\n  --repo NVIDIA\u002FTensorRT-Model-Connect \\\n  --base main \\\n  --head \"$BRANCH\" \\\n  --draft \\\n  --title \"\u003Ctype(scope): concise summary>\" \\\n  --body-file -\n```\n\nVerify the immutable facts:\n\n```bash\ngh pr view \u003Cnumber-or-url> \\\n  --repo NVIDIA\u002FTensorRT-Model-Connect \\\n  --json number,url,isDraft,baseRefName,headRefName,headRefOid,title,state\n```\n\nThe base must be `main`, head name must match, and `headRefOid` must equal\n`PUSHED_SHA`. Then inspect initial checks:\n\n```bash\ngh pr checks \u003Cnumber-or-url> \\\n  --repo NVIDIA\u002FTensorRT-Model-Connect\n```\n\nQueued, missing, skipped, or failed checks are not green.\n\n## 7. Start Exact-Head Premerge When Authorized\n\nCreating or pushing the PR does not start premerge. When CI execution is\nauthorized, resolve the current PR API head before adding the one-shot trigger:\n\n```bash\nREPOSITORY=NVIDIA\u002FTensorRT-Model-Connect\nPR_NUMBER=\u003Cnumber>\npull=$(gh api \"repos\u002F$REPOSITORY\u002Fpulls\u002F$PR_NUMBER\")\nPR_HEAD_SHA=$(jq -er '.head.sha' \u003C\u003C\u003C\"$pull\")\ntest \"$PR_HEAD_SHA\" = \"$PUSHED_SHA\"\n\ngh api \\\n  \"repos\u002F$REPOSITORY\u002Fcommits\u002F$PR_HEAD_SHA\u002Fstatus\" \\\n  --jq '[.statuses[] |\n    select(.context == \"TRTMC Internal CI \u002F Automated premerge gate\")][0]'\n```\n\nIf the exact head already has `PENDING` or `PASS` for\n`TRTMC Internal CI \u002F Automated premerge gate`, do not trigger it again. Otherwise an actor with\n`maintain` or `admin` permission may run:\n\n```bash\ngh pr edit \"$PR_NUMBER\" \\\n  --repo \"$REPOSITORY\" \\\n  --add-label run-internal-ci\n```\n\nIf authorization fails and retains the label, remove `run-internal-ci` before\nadding it again after the reported prerequisite is satisfied. Re-adding an\nalready-present label is a no-op and does not trigger the bridge.\n\nNever use the legacy `run-ci` label. The bridge consumes the trigger, verifies\nthe exact head, and dispatches private Internal CI. A successful Source bridge\nrun is not a passing premerge result: only `TRTMC Internal CI \u002F Automated premerge gate=PASS` on\nthe current head is a pass. Raw Internal CI logs, artifacts, packages, runner\ndetails, and URLs stay private and must not be copied to the Source PR.\n\n## 8. Report And Hand Off\n\nReport the PR URL and number, draft state, pushed head SHA, validation evidence,\ninitial exact-head CI state, and any dependency or unrun gate. Hand monitoring\nand any merge work to `$pr-babysitter`; this skill never merges.\n\n\u003C!-- Collaborative review anchor: batch 2. -->\n",{"data":38,"body":39},{"name":4,"description":6},{"type":40,"children":41},"root",[42,50,57,155,161,285,306,312,639,644,679,692,698,711,734,746,751,757,769,807,812,818,943,948,954,959,1094,1099,1172,1199,1254,1259,1265,1270,1558,1602,1677,1690,1711,1717,1729],{"type":43,"tag":44,"props":45,"children":46},"element","h1",{"id":4},[47],{"type":48,"value":49},"text","Submit GitHub PR",{"type":43,"tag":51,"props":52,"children":54},"h2",{"id":53},"boundaries",[55],{"type":48,"value":56},"Boundaries",{"type":43,"tag":58,"props":59,"children":60},"ul",{},[61,76,95,106,111,124,129,142],{"type":43,"tag":62,"props":63,"children":64},"li",{},[65,67,74],{"type":48,"value":66},"Active repository: ",{"type":43,"tag":68,"props":69,"children":71},"code",{"className":70},[],[72],{"type":48,"value":73},"NVIDIA\u002FTensorRT-Model-Connect",{"type":48,"value":75},".",{"type":43,"tag":62,"props":77,"children":78},{},[79,81,86,88,94],{"type":48,"value":80},"Use the local ",{"type":43,"tag":68,"props":82,"children":84},{"className":83},[],[85],{"type":48,"value":14},{"type":48,"value":87}," remote and target GitHub ",{"type":43,"tag":68,"props":89,"children":91},{"className":90},[],[92],{"type":48,"value":93},"main",{"type":48,"value":75},{"type":43,"tag":62,"props":96,"children":97},{},[98,100,105],{"type":48,"value":99},"Never push directly to ",{"type":43,"tag":68,"props":101,"children":103},{"className":102},[],[104],{"type":48,"value":93},{"type":48,"value":75},{"type":43,"tag":62,"props":107,"children":108},{},[109],{"type":48,"value":110},"Publish only the change the user placed in scope.",{"type":43,"tag":62,"props":112,"children":113},{},[114,116,122],{"type":48,"value":115},"Open a draft PR by default; omit ",{"type":43,"tag":68,"props":117,"children":119},{"className":118},[],[120],{"type":48,"value":121},"--draft",{"type":48,"value":123}," only when the user explicitly asks\nfor a ready-for-review PR and the evidence supports that state.",{"type":43,"tag":62,"props":125,"children":126},{},[127],{"type":48,"value":128},"Do not add labels, reviewers, milestones, projects, or auto-merge unless the\nuser explicitly requests them. The authorized Internal CI trigger is the\nexception described below.",{"type":43,"tag":62,"props":130,"children":131},{},[132,134,140],{"type":48,"value":133},"Do not merge from this skill. Use ",{"type":43,"tag":68,"props":135,"children":137},{"className":136},[],[138],{"type":48,"value":139},"$pr-babysitter",{"type":48,"value":141}," for monitoring and merge.",{"type":43,"tag":62,"props":143,"children":144},{},[145,147,153],{"type":48,"value":146},"Use ",{"type":43,"tag":68,"props":148,"children":150},{"className":149},[],[151],{"type":48,"value":152},"$write-git-messages",{"type":48,"value":154}," for commit, PR, squash, and rebase text.",{"type":43,"tag":51,"props":156,"children":158},{"id":157},"_1-authenticate-and-verify-the-remote",[159],{"type":48,"value":160},"1. Authenticate And Verify The Remote",{"type":43,"tag":162,"props":163,"children":168},"pre",{"className":164,"code":165,"language":166,"meta":167,"style":167},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","gh auth status\ngh repo view NVIDIA\u002FTensorRT-Model-Connect \\\n  --json nameWithOwner,url,defaultBranchRef\ngit remote get-url github\ngit fetch github main\n","bash","",[169],{"type":43,"tag":68,"props":170,"children":171},{"__ignoreMap":167},[172,195,224,238,262],{"type":43,"tag":173,"props":174,"children":177},"span",{"class":175,"line":176},"line",1,[178,184,190],{"type":43,"tag":173,"props":179,"children":181},{"style":180},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[182],{"type":48,"value":183},"gh",{"type":43,"tag":173,"props":185,"children":187},{"style":186},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[188],{"type":48,"value":189}," auth",{"type":43,"tag":173,"props":191,"children":192},{"style":186},[193],{"type":48,"value":194}," status\n",{"type":43,"tag":173,"props":196,"children":198},{"class":175,"line":197},2,[199,203,208,213,218],{"type":43,"tag":173,"props":200,"children":201},{"style":180},[202],{"type":48,"value":183},{"type":43,"tag":173,"props":204,"children":205},{"style":186},[206],{"type":48,"value":207}," repo",{"type":43,"tag":173,"props":209,"children":210},{"style":186},[211],{"type":48,"value":212}," view",{"type":43,"tag":173,"props":214,"children":215},{"style":186},[216],{"type":48,"value":217}," NVIDIA\u002FTensorRT-Model-Connect",{"type":43,"tag":173,"props":219,"children":221},{"style":220},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[222],{"type":48,"value":223}," \\\n",{"type":43,"tag":173,"props":225,"children":227},{"class":175,"line":226},3,[228,233],{"type":43,"tag":173,"props":229,"children":230},{"style":186},[231],{"type":48,"value":232},"  --json",{"type":43,"tag":173,"props":234,"children":235},{"style":186},[236],{"type":48,"value":237}," nameWithOwner,url,defaultBranchRef\n",{"type":43,"tag":173,"props":239,"children":241},{"class":175,"line":240},4,[242,247,252,257],{"type":43,"tag":173,"props":243,"children":244},{"style":180},[245],{"type":48,"value":246},"git",{"type":43,"tag":173,"props":248,"children":249},{"style":186},[250],{"type":48,"value":251}," remote",{"type":43,"tag":173,"props":253,"children":254},{"style":186},[255],{"type":48,"value":256}," get-url",{"type":43,"tag":173,"props":258,"children":259},{"style":186},[260],{"type":48,"value":261}," github\n",{"type":43,"tag":173,"props":263,"children":265},{"class":175,"line":264},5,[266,270,275,280],{"type":43,"tag":173,"props":267,"children":268},{"style":180},[269],{"type":48,"value":246},{"type":43,"tag":173,"props":271,"children":272},{"style":186},[273],{"type":48,"value":274}," fetch",{"type":43,"tag":173,"props":276,"children":277},{"style":186},[278],{"type":48,"value":279}," github",{"type":43,"tag":173,"props":281,"children":282},{"style":186},[283],{"type":48,"value":284}," main\n",{"type":43,"tag":286,"props":287,"children":288},"p",{},[289,291,297,299,304],{"type":48,"value":290},"The remote URL must resolve to\n",{"type":43,"tag":68,"props":292,"children":294},{"className":293},[],[295],{"type":48,"value":296},"https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FTensorRT-Model-Connect.git",{"type":48,"value":298}," or its authorized SSH\nequivalent. If ",{"type":43,"tag":68,"props":300,"children":302},{"className":301},[],[303],{"type":48,"value":183},{"type":48,"value":305}," cannot read the private repository, stop for safe\nreauthentication. Do not inspect or replay stored credentials.",{"type":43,"tag":51,"props":307,"children":309},{"id":308},"_2-confirm-branch-and-exact-scope",[310],{"type":48,"value":311},"2. Confirm Branch And Exact Scope",{"type":43,"tag":162,"props":313,"children":315},{"className":164,"code":314,"language":166,"meta":167,"style":167},"BRANCH=$(git branch --show-current)\ntest -n \"$BRANCH\"\ntest \"$BRANCH\" != main\nBASE_SHA=$(git rev-parse github\u002Fmain)\nHEAD_SHA=$(git rev-parse HEAD)\ngit status --short --branch\ngit merge-base --is-ancestor \"$BASE_SHA\" \"$HEAD_SHA\"\ngit diff --stat \"$BASE_SHA\"...HEAD\ngit diff --name-status \"$BASE_SHA\"...HEAD\ngit log --oneline \"$BASE_SHA\"..HEAD\n",[316],{"type":43,"tag":68,"props":317,"children":318},{"__ignoreMap":167},[319,352,381,410,440,469,492,536,571,604],{"type":43,"tag":173,"props":320,"children":321},{"class":175,"line":176},[322,327,333,337,342,347],{"type":43,"tag":173,"props":323,"children":324},{"style":220},[325],{"type":48,"value":326},"BRANCH",{"type":43,"tag":173,"props":328,"children":330},{"style":329},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[331],{"type":48,"value":332},"=$(",{"type":43,"tag":173,"props":334,"children":335},{"style":180},[336],{"type":48,"value":246},{"type":43,"tag":173,"props":338,"children":339},{"style":186},[340],{"type":48,"value":341}," branch",{"type":43,"tag":173,"props":343,"children":344},{"style":186},[345],{"type":48,"value":346}," --show-current",{"type":43,"tag":173,"props":348,"children":349},{"style":329},[350],{"type":48,"value":351},")\n",{"type":43,"tag":173,"props":353,"children":354},{"class":175,"line":197},[355,361,366,371,376],{"type":43,"tag":173,"props":356,"children":358},{"style":357},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[359],{"type":48,"value":360},"test",{"type":43,"tag":173,"props":362,"children":363},{"style":186},[364],{"type":48,"value":365}," -n",{"type":43,"tag":173,"props":367,"children":368},{"style":329},[369],{"type":48,"value":370}," \"",{"type":43,"tag":173,"props":372,"children":373},{"style":220},[374],{"type":48,"value":375},"$BRANCH",{"type":43,"tag":173,"props":377,"children":378},{"style":329},[379],{"type":48,"value":380},"\"\n",{"type":43,"tag":173,"props":382,"children":383},{"class":175,"line":226},[384,388,392,396,401,406],{"type":43,"tag":173,"props":385,"children":386},{"style":357},[387],{"type":48,"value":360},{"type":43,"tag":173,"props":389,"children":390},{"style":329},[391],{"type":48,"value":370},{"type":43,"tag":173,"props":393,"children":394},{"style":220},[395],{"type":48,"value":375},{"type":43,"tag":173,"props":397,"children":398},{"style":329},[399],{"type":48,"value":400},"\"",{"type":43,"tag":173,"props":402,"children":403},{"style":186},[404],{"type":48,"value":405}," !=",{"type":43,"tag":173,"props":407,"children":408},{"style":186},[409],{"type":48,"value":284},{"type":43,"tag":173,"props":411,"children":412},{"class":175,"line":240},[413,418,422,426,431,436],{"type":43,"tag":173,"props":414,"children":415},{"style":220},[416],{"type":48,"value":417},"BASE_SHA",{"type":43,"tag":173,"props":419,"children":420},{"style":329},[421],{"type":48,"value":332},{"type":43,"tag":173,"props":423,"children":424},{"style":180},[425],{"type":48,"value":246},{"type":43,"tag":173,"props":427,"children":428},{"style":186},[429],{"type":48,"value":430}," rev-parse",{"type":43,"tag":173,"props":432,"children":433},{"style":186},[434],{"type":48,"value":435}," github\u002Fmain",{"type":43,"tag":173,"props":437,"children":438},{"style":329},[439],{"type":48,"value":351},{"type":43,"tag":173,"props":441,"children":442},{"class":175,"line":264},[443,448,452,456,460,465],{"type":43,"tag":173,"props":444,"children":445},{"style":220},[446],{"type":48,"value":447},"HEAD_SHA",{"type":43,"tag":173,"props":449,"children":450},{"style":329},[451],{"type":48,"value":332},{"type":43,"tag":173,"props":453,"children":454},{"style":180},[455],{"type":48,"value":246},{"type":43,"tag":173,"props":457,"children":458},{"style":186},[459],{"type":48,"value":430},{"type":43,"tag":173,"props":461,"children":462},{"style":186},[463],{"type":48,"value":464}," HEAD",{"type":43,"tag":173,"props":466,"children":467},{"style":329},[468],{"type":48,"value":351},{"type":43,"tag":173,"props":470,"children":472},{"class":175,"line":471},6,[473,477,482,487],{"type":43,"tag":173,"props":474,"children":475},{"style":180},[476],{"type":48,"value":246},{"type":43,"tag":173,"props":478,"children":479},{"style":186},[480],{"type":48,"value":481}," status",{"type":43,"tag":173,"props":483,"children":484},{"style":186},[485],{"type":48,"value":486}," --short",{"type":43,"tag":173,"props":488,"children":489},{"style":186},[490],{"type":48,"value":491}," --branch\n",{"type":43,"tag":173,"props":493,"children":495},{"class":175,"line":494},7,[496,500,505,510,514,519,523,527,532],{"type":43,"tag":173,"props":497,"children":498},{"style":180},[499],{"type":48,"value":246},{"type":43,"tag":173,"props":501,"children":502},{"style":186},[503],{"type":48,"value":504}," merge-base",{"type":43,"tag":173,"props":506,"children":507},{"style":186},[508],{"type":48,"value":509}," --is-ancestor",{"type":43,"tag":173,"props":511,"children":512},{"style":329},[513],{"type":48,"value":370},{"type":43,"tag":173,"props":515,"children":516},{"style":220},[517],{"type":48,"value":518},"$BASE_SHA",{"type":43,"tag":173,"props":520,"children":521},{"style":329},[522],{"type":48,"value":400},{"type":43,"tag":173,"props":524,"children":525},{"style":329},[526],{"type":48,"value":370},{"type":43,"tag":173,"props":528,"children":529},{"style":220},[530],{"type":48,"value":531},"$HEAD_SHA",{"type":43,"tag":173,"props":533,"children":534},{"style":329},[535],{"type":48,"value":380},{"type":43,"tag":173,"props":537,"children":539},{"class":175,"line":538},8,[540,544,549,554,558,562,566],{"type":43,"tag":173,"props":541,"children":542},{"style":180},[543],{"type":48,"value":246},{"type":43,"tag":173,"props":545,"children":546},{"style":186},[547],{"type":48,"value":548}," diff",{"type":43,"tag":173,"props":550,"children":551},{"style":186},[552],{"type":48,"value":553}," --stat",{"type":43,"tag":173,"props":555,"children":556},{"style":329},[557],{"type":48,"value":370},{"type":43,"tag":173,"props":559,"children":560},{"style":220},[561],{"type":48,"value":518},{"type":43,"tag":173,"props":563,"children":564},{"style":329},[565],{"type":48,"value":400},{"type":43,"tag":173,"props":567,"children":568},{"style":186},[569],{"type":48,"value":570},"...HEAD\n",{"type":43,"tag":173,"props":572,"children":574},{"class":175,"line":573},9,[575,579,583,588,592,596,600],{"type":43,"tag":173,"props":576,"children":577},{"style":180},[578],{"type":48,"value":246},{"type":43,"tag":173,"props":580,"children":581},{"style":186},[582],{"type":48,"value":548},{"type":43,"tag":173,"props":584,"children":585},{"style":186},[586],{"type":48,"value":587}," --name-status",{"type":43,"tag":173,"props":589,"children":590},{"style":329},[591],{"type":48,"value":370},{"type":43,"tag":173,"props":593,"children":594},{"style":220},[595],{"type":48,"value":518},{"type":43,"tag":173,"props":597,"children":598},{"style":329},[599],{"type":48,"value":400},{"type":43,"tag":173,"props":601,"children":602},{"style":186},[603],{"type":48,"value":570},{"type":43,"tag":173,"props":605,"children":607},{"class":175,"line":606},10,[608,612,617,622,626,630,634],{"type":43,"tag":173,"props":609,"children":610},{"style":180},[611],{"type":48,"value":246},{"type":43,"tag":173,"props":613,"children":614},{"style":186},[615],{"type":48,"value":616}," log",{"type":43,"tag":173,"props":618,"children":619},{"style":186},[620],{"type":48,"value":621}," --oneline",{"type":43,"tag":173,"props":623,"children":624},{"style":329},[625],{"type":48,"value":370},{"type":43,"tag":173,"props":627,"children":628},{"style":220},[629],{"type":48,"value":518},{"type":43,"tag":173,"props":631,"children":632},{"style":329},[633],{"type":48,"value":400},{"type":43,"tag":173,"props":635,"children":636},{"style":186},[637],{"type":48,"value":638},"..HEAD\n",{"type":43,"tag":286,"props":640,"children":641},{},[642],{"type":48,"value":643},"Review focused diffs, staged changes, and untracked files. Do not publish:",{"type":43,"tag":58,"props":645,"children":646},{},[647,652,657,662,667],{"type":43,"tag":62,"props":648,"children":649},{},[650],{"type":48,"value":651},"unrelated user changes;",{"type":43,"tag":62,"props":653,"children":654},{},[655],{"type":48,"value":656},"generated artifacts or secrets not intended for review;",{"type":43,"tag":62,"props":658,"children":659},{},[660],{"type":48,"value":661},"an empty branch;",{"type":43,"tag":62,"props":663,"children":664},{},[665],{"type":48,"value":666},"a branch based on the wrong repository or target;",{"type":43,"tag":62,"props":668,"children":669},{},[670,672,678],{"type":48,"value":671},"commit messages containing ",{"type":43,"tag":68,"props":673,"children":675},{"className":674},[],[676],{"type":48,"value":677},"Claude",{"type":48,"value":75},{"type":43,"tag":286,"props":680,"children":681},{},[682,684,690],{"type":48,"value":683},"If the branch is behind or diverged from current ",{"type":43,"tag":68,"props":685,"children":687},{"className":686},[],[688],{"type":48,"value":689},"github\u002Fmain",{"type":48,"value":691},", rebase only when\nthat history rewrite is within the user's request. Revalidate after any rebase.",{"type":43,"tag":51,"props":693,"children":695},{"id":694},"_3-validate-the-publishable-head",[696],{"type":48,"value":697},"3. Validate The Publishable Head",{"type":43,"tag":286,"props":699,"children":700},{},[701,703,709],{"type":48,"value":702},"Run ",{"type":43,"tag":68,"props":704,"children":706},{"className":705},[],[707],{"type":48,"value":708},"git diff --check",{"type":48,"value":710}," plus checks appropriate to the changed surface. Record\nthe exact command and pass\u002Ffail\u002Fskip\u002Fnot-run result. Do not present:",{"type":43,"tag":58,"props":712,"children":713},{},[714,719,724,729],{"type":43,"tag":62,"props":715,"children":716},{},[717],{"type":48,"value":718},"a dry run as execution;",{"type":43,"tag":62,"props":720,"children":721},{},[722],{"type":48,"value":723},"compilation as model parity;",{"type":43,"tag":62,"props":725,"children":726},{},[727],{"type":48,"value":728},"static docs checks as target-hardware proof;",{"type":43,"tag":62,"props":730,"children":731},{},[732],{"type":48,"value":733},"a check on a prior SHA as evidence for the current head.",{"type":43,"tag":286,"props":735,"children":736},{},[737,739,744],{"type":48,"value":738},"Confirm the worktree contains no unsaved in-scope change before committing or\npushing. If a new commit is needed, use ",{"type":43,"tag":68,"props":740,"children":742},{"className":741},[],[743],{"type":48,"value":152},{"type":48,"value":745}," and a GitHub-safe\nauthor email; do not change global Git identity implicitly.",{"type":43,"tag":286,"props":747,"children":748},{},[749],{"type":48,"value":750},"Create or update an architectural record only when an existing repository\npolicy, template, maintainer request, or user instruction requires it. This\nskill does not invent ADR policy or files merely from the size\u002Ftype of a diff.",{"type":43,"tag":51,"props":752,"children":754},{"id":753},"_4-draft-reviewer-text",[755],{"type":48,"value":756},"4. Draft Reviewer Text",{"type":43,"tag":286,"props":758,"children":759},{},[760,762,767],{"type":48,"value":761},"Give ",{"type":43,"tag":68,"props":763,"children":765},{"className":764},[],[766],{"type":48,"value":152},{"type":48,"value":768},":",{"type":43,"tag":58,"props":770,"children":771},{},[772,777,782,787,792,797,802],{"type":43,"tag":62,"props":773,"children":774},{},[775],{"type":48,"value":776},"exact base and head SHA\u002Fref;",{"type":43,"tag":62,"props":778,"children":779},{},[780],{"type":48,"value":781},"changed files and behavioral purpose;",{"type":43,"tag":62,"props":783,"children":784},{},[785],{"type":48,"value":786},"exit criteria and non-goals;",{"type":43,"tag":62,"props":788,"children":789},{},[790],{"type":48,"value":791},"validation commands with outcomes;",{"type":43,"tag":62,"props":793,"children":794},{},[795],{"type":48,"value":796},"unrun CI, GPU, model, performance, or qualification gates;",{"type":43,"tag":62,"props":798,"children":799},{},[800],{"type":48,"value":801},"dependency and merge order;",{"type":43,"tag":62,"props":803,"children":804},{},[805],{"type":48,"value":806},"compatibility, security, migration, rollback, and review-order notes.",{"type":43,"tag":286,"props":808,"children":809},{},[810],{"type":48,"value":811},"The PR title should match the expected squash\u002Frebase title and follow repository\nconvention. Keep the body focused on one purpose.",{"type":43,"tag":51,"props":813,"children":815},{"id":814},"_5-push-the-named-branch",[816],{"type":48,"value":817},"5. Push The Named Branch",{"type":43,"tag":162,"props":819,"children":821},{"className":164,"code":820,"language":166,"meta":167,"style":167},"git push -u github \"$BRANCH\"\nPUSHED_SHA=$(git rev-parse \"github\u002F$BRANCH\")\ntest \"$PUSHED_SHA\" = \"$(git rev-parse HEAD)\"\n",[822],{"type":43,"tag":68,"props":823,"children":824},{"__ignoreMap":167},[825,858,899],{"type":43,"tag":173,"props":826,"children":827},{"class":175,"line":176},[828,832,837,842,846,850,854],{"type":43,"tag":173,"props":829,"children":830},{"style":180},[831],{"type":48,"value":246},{"type":43,"tag":173,"props":833,"children":834},{"style":186},[835],{"type":48,"value":836}," push",{"type":43,"tag":173,"props":838,"children":839},{"style":186},[840],{"type":48,"value":841}," -u",{"type":43,"tag":173,"props":843,"children":844},{"style":186},[845],{"type":48,"value":279},{"type":43,"tag":173,"props":847,"children":848},{"style":329},[849],{"type":48,"value":370},{"type":43,"tag":173,"props":851,"children":852},{"style":220},[853],{"type":48,"value":375},{"type":43,"tag":173,"props":855,"children":856},{"style":329},[857],{"type":48,"value":380},{"type":43,"tag":173,"props":859,"children":860},{"class":175,"line":197},[861,866,870,874,878,882,887,891,895],{"type":43,"tag":173,"props":862,"children":863},{"style":220},[864],{"type":48,"value":865},"PUSHED_SHA",{"type":43,"tag":173,"props":867,"children":868},{"style":329},[869],{"type":48,"value":332},{"type":43,"tag":173,"props":871,"children":872},{"style":180},[873],{"type":48,"value":246},{"type":43,"tag":173,"props":875,"children":876},{"style":186},[877],{"type":48,"value":430},{"type":43,"tag":173,"props":879,"children":880},{"style":329},[881],{"type":48,"value":370},{"type":43,"tag":173,"props":883,"children":884},{"style":186},[885],{"type":48,"value":886},"github\u002F",{"type":43,"tag":173,"props":888,"children":889},{"style":220},[890],{"type":48,"value":375},{"type":43,"tag":173,"props":892,"children":893},{"style":329},[894],{"type":48,"value":400},{"type":43,"tag":173,"props":896,"children":897},{"style":329},[898],{"type":48,"value":351},{"type":43,"tag":173,"props":900,"children":901},{"class":175,"line":226},[902,906,910,915,919,924,929,933,938],{"type":43,"tag":173,"props":903,"children":904},{"style":357},[905],{"type":48,"value":360},{"type":43,"tag":173,"props":907,"children":908},{"style":329},[909],{"type":48,"value":370},{"type":43,"tag":173,"props":911,"children":912},{"style":220},[913],{"type":48,"value":914},"$PUSHED_SHA",{"type":43,"tag":173,"props":916,"children":917},{"style":329},[918],{"type":48,"value":400},{"type":43,"tag":173,"props":920,"children":921},{"style":186},[922],{"type":48,"value":923}," =",{"type":43,"tag":173,"props":925,"children":926},{"style":329},[927],{"type":48,"value":928}," \"$(",{"type":43,"tag":173,"props":930,"children":931},{"style":180},[932],{"type":48,"value":246},{"type":43,"tag":173,"props":934,"children":935},{"style":186},[936],{"type":48,"value":937}," rev-parse HEAD",{"type":43,"tag":173,"props":939,"children":940},{"style":329},[941],{"type":48,"value":942},")\"\n",{"type":43,"tag":286,"props":944,"children":945},{},[946],{"type":48,"value":947},"Do not force-push unless the user authorized the history rewrite and the exact\nremote branch was resolved first. When rewriting an existing branch, prefer an\nexplicit lease for that branch and its previously observed SHA.",{"type":43,"tag":51,"props":949,"children":951},{"id":950},"_6-create-and-verify-the-pr",[952],{"type":48,"value":953},"6. Create And Verify The PR",{"type":43,"tag":286,"props":955,"children":956},{},[957],{"type":48,"value":958},"Pass the reviewed body on stdin to avoid leaving an unnecessary local file:",{"type":43,"tag":162,"props":960,"children":962},{"className":164,"code":961,"language":166,"meta":167,"style":167},"gh pr create \\\n  --repo NVIDIA\u002FTensorRT-Model-Connect \\\n  --base main \\\n  --head \"$BRANCH\" \\\n  --draft \\\n  --title \"\u003Ctype(scope): concise summary>\" \\\n  --body-file -\n",[963],{"type":43,"tag":68,"props":964,"children":965},{"__ignoreMap":167},[966,987,1003,1020,1044,1056,1081],{"type":43,"tag":173,"props":967,"children":968},{"class":175,"line":176},[969,973,978,983],{"type":43,"tag":173,"props":970,"children":971},{"style":180},[972],{"type":48,"value":183},{"type":43,"tag":173,"props":974,"children":975},{"style":186},[976],{"type":48,"value":977}," pr",{"type":43,"tag":173,"props":979,"children":980},{"style":186},[981],{"type":48,"value":982}," create",{"type":43,"tag":173,"props":984,"children":985},{"style":220},[986],{"type":48,"value":223},{"type":43,"tag":173,"props":988,"children":989},{"class":175,"line":197},[990,995,999],{"type":43,"tag":173,"props":991,"children":992},{"style":186},[993],{"type":48,"value":994},"  --repo",{"type":43,"tag":173,"props":996,"children":997},{"style":186},[998],{"type":48,"value":217},{"type":43,"tag":173,"props":1000,"children":1001},{"style":220},[1002],{"type":48,"value":223},{"type":43,"tag":173,"props":1004,"children":1005},{"class":175,"line":226},[1006,1011,1016],{"type":43,"tag":173,"props":1007,"children":1008},{"style":186},[1009],{"type":48,"value":1010},"  --base",{"type":43,"tag":173,"props":1012,"children":1013},{"style":186},[1014],{"type":48,"value":1015}," main",{"type":43,"tag":173,"props":1017,"children":1018},{"style":220},[1019],{"type":48,"value":223},{"type":43,"tag":173,"props":1021,"children":1022},{"class":175,"line":240},[1023,1028,1032,1036,1040],{"type":43,"tag":173,"props":1024,"children":1025},{"style":186},[1026],{"type":48,"value":1027},"  --head",{"type":43,"tag":173,"props":1029,"children":1030},{"style":329},[1031],{"type":48,"value":370},{"type":43,"tag":173,"props":1033,"children":1034},{"style":220},[1035],{"type":48,"value":375},{"type":43,"tag":173,"props":1037,"children":1038},{"style":329},[1039],{"type":48,"value":400},{"type":43,"tag":173,"props":1041,"children":1042},{"style":220},[1043],{"type":48,"value":223},{"type":43,"tag":173,"props":1045,"children":1046},{"class":175,"line":264},[1047,1052],{"type":43,"tag":173,"props":1048,"children":1049},{"style":186},[1050],{"type":48,"value":1051},"  --draft",{"type":43,"tag":173,"props":1053,"children":1054},{"style":220},[1055],{"type":48,"value":223},{"type":43,"tag":173,"props":1057,"children":1058},{"class":175,"line":471},[1059,1064,1068,1073,1077],{"type":43,"tag":173,"props":1060,"children":1061},{"style":186},[1062],{"type":48,"value":1063},"  --title",{"type":43,"tag":173,"props":1065,"children":1066},{"style":329},[1067],{"type":48,"value":370},{"type":43,"tag":173,"props":1069,"children":1070},{"style":186},[1071],{"type":48,"value":1072},"\u003Ctype(scope): concise summary>",{"type":43,"tag":173,"props":1074,"children":1075},{"style":329},[1076],{"type":48,"value":400},{"type":43,"tag":173,"props":1078,"children":1079},{"style":220},[1080],{"type":48,"value":223},{"type":43,"tag":173,"props":1082,"children":1083},{"class":175,"line":494},[1084,1089],{"type":43,"tag":173,"props":1085,"children":1086},{"style":186},[1087],{"type":48,"value":1088},"  --body-file",{"type":43,"tag":173,"props":1090,"children":1091},{"style":186},[1092],{"type":48,"value":1093}," -\n",{"type":43,"tag":286,"props":1095,"children":1096},{},[1097],{"type":48,"value":1098},"Verify the immutable facts:",{"type":43,"tag":162,"props":1100,"children":1102},{"className":164,"code":1101,"language":166,"meta":167,"style":167},"gh pr view \u003Cnumber-or-url> \\\n  --repo NVIDIA\u002FTensorRT-Model-Connect \\\n  --json number,url,isDraft,baseRefName,headRefName,headRefOid,title,state\n",[1103],{"type":43,"tag":68,"props":1104,"children":1105},{"__ignoreMap":167},[1106,1145,1160],{"type":43,"tag":173,"props":1107,"children":1108},{"class":175,"line":176},[1109,1113,1117,1121,1126,1131,1136,1141],{"type":43,"tag":173,"props":1110,"children":1111},{"style":180},[1112],{"type":48,"value":183},{"type":43,"tag":173,"props":1114,"children":1115},{"style":186},[1116],{"type":48,"value":977},{"type":43,"tag":173,"props":1118,"children":1119},{"style":186},[1120],{"type":48,"value":212},{"type":43,"tag":173,"props":1122,"children":1123},{"style":329},[1124],{"type":48,"value":1125}," \u003C",{"type":43,"tag":173,"props":1127,"children":1128},{"style":186},[1129],{"type":48,"value":1130},"number-or-ur",{"type":43,"tag":173,"props":1132,"children":1133},{"style":220},[1134],{"type":48,"value":1135},"l",{"type":43,"tag":173,"props":1137,"children":1138},{"style":329},[1139],{"type":48,"value":1140},">",{"type":43,"tag":173,"props":1142,"children":1143},{"style":220},[1144],{"type":48,"value":223},{"type":43,"tag":173,"props":1146,"children":1147},{"class":175,"line":197},[1148,1152,1156],{"type":43,"tag":173,"props":1149,"children":1150},{"style":186},[1151],{"type":48,"value":994},{"type":43,"tag":173,"props":1153,"children":1154},{"style":186},[1155],{"type":48,"value":217},{"type":43,"tag":173,"props":1157,"children":1158},{"style":220},[1159],{"type":48,"value":223},{"type":43,"tag":173,"props":1161,"children":1162},{"class":175,"line":226},[1163,1167],{"type":43,"tag":173,"props":1164,"children":1165},{"style":186},[1166],{"type":48,"value":232},{"type":43,"tag":173,"props":1168,"children":1169},{"style":186},[1170],{"type":48,"value":1171}," number,url,isDraft,baseRefName,headRefName,headRefOid,title,state\n",{"type":43,"tag":286,"props":1173,"children":1174},{},[1175,1177,1182,1184,1190,1192,1197],{"type":48,"value":1176},"The base must be ",{"type":43,"tag":68,"props":1178,"children":1180},{"className":1179},[],[1181],{"type":48,"value":93},{"type":48,"value":1183},", head name must match, and ",{"type":43,"tag":68,"props":1185,"children":1187},{"className":1186},[],[1188],{"type":48,"value":1189},"headRefOid",{"type":48,"value":1191}," must equal\n",{"type":43,"tag":68,"props":1193,"children":1195},{"className":1194},[],[1196],{"type":48,"value":865},{"type":48,"value":1198},". Then inspect initial checks:",{"type":43,"tag":162,"props":1200,"children":1202},{"className":164,"code":1201,"language":166,"meta":167,"style":167},"gh pr checks \u003Cnumber-or-url> \\\n  --repo NVIDIA\u002FTensorRT-Model-Connect\n",[1203],{"type":43,"tag":68,"props":1204,"children":1205},{"__ignoreMap":167},[1206,1242],{"type":43,"tag":173,"props":1207,"children":1208},{"class":175,"line":176},[1209,1213,1217,1222,1226,1230,1234,1238],{"type":43,"tag":173,"props":1210,"children":1211},{"style":180},[1212],{"type":48,"value":183},{"type":43,"tag":173,"props":1214,"children":1215},{"style":186},[1216],{"type":48,"value":977},{"type":43,"tag":173,"props":1218,"children":1219},{"style":186},[1220],{"type":48,"value":1221}," checks",{"type":43,"tag":173,"props":1223,"children":1224},{"style":329},[1225],{"type":48,"value":1125},{"type":43,"tag":173,"props":1227,"children":1228},{"style":186},[1229],{"type":48,"value":1130},{"type":43,"tag":173,"props":1231,"children":1232},{"style":220},[1233],{"type":48,"value":1135},{"type":43,"tag":173,"props":1235,"children":1236},{"style":329},[1237],{"type":48,"value":1140},{"type":43,"tag":173,"props":1239,"children":1240},{"style":220},[1241],{"type":48,"value":223},{"type":43,"tag":173,"props":1243,"children":1244},{"class":175,"line":197},[1245,1249],{"type":43,"tag":173,"props":1246,"children":1247},{"style":186},[1248],{"type":48,"value":994},{"type":43,"tag":173,"props":1250,"children":1251},{"style":186},[1252],{"type":48,"value":1253}," NVIDIA\u002FTensorRT-Model-Connect\n",{"type":43,"tag":286,"props":1255,"children":1256},{},[1257],{"type":48,"value":1258},"Queued, missing, skipped, or failed checks are not green.",{"type":43,"tag":51,"props":1260,"children":1262},{"id":1261},"_7-start-exact-head-premerge-when-authorized",[1263],{"type":48,"value":1264},"7. Start Exact-Head Premerge When Authorized",{"type":43,"tag":286,"props":1266,"children":1267},{},[1268],{"type":48,"value":1269},"Creating or pushing the PR does not start premerge. When CI execution is\nauthorized, resolve the current PR API head before adding the one-shot trigger:",{"type":43,"tag":162,"props":1271,"children":1273},{"className":164,"code":1272,"language":166,"meta":167,"style":167},"REPOSITORY=NVIDIA\u002FTensorRT-Model-Connect\nPR_NUMBER=\u003Cnumber>\npull=$(gh api \"repos\u002F$REPOSITORY\u002Fpulls\u002F$PR_NUMBER\")\nPR_HEAD_SHA=$(jq -er '.head.sha' \u003C\u003C\u003C\"$pull\")\ntest \"$PR_HEAD_SHA\" = \"$PUSHED_SHA\"\n\ngh api \\\n  \"repos\u002F$REPOSITORY\u002Fcommits\u002F$PR_HEAD_SHA\u002Fstatus\" \\\n  --jq '[.statuses[] |\n    select(.context == \"TRTMC Internal CI \u002F Automated premerge gate\")][0]'\n",[1274],{"type":43,"tag":68,"props":1275,"children":1276},{"__ignoreMap":167},[1277,1295,1318,1371,1430,1466,1475,1490,1528,1545],{"type":43,"tag":173,"props":1278,"children":1279},{"class":175,"line":176},[1280,1285,1290],{"type":43,"tag":173,"props":1281,"children":1282},{"style":220},[1283],{"type":48,"value":1284},"REPOSITORY",{"type":43,"tag":173,"props":1286,"children":1287},{"style":329},[1288],{"type":48,"value":1289},"=",{"type":43,"tag":173,"props":1291,"children":1292},{"style":186},[1293],{"type":48,"value":1294},"NVIDIA\u002FTensorRT-Model-Connect\n",{"type":43,"tag":173,"props":1296,"children":1297},{"class":175,"line":197},[1298,1303,1308,1313],{"type":43,"tag":173,"props":1299,"children":1300},{"style":220},[1301],{"type":48,"value":1302},"PR_NUMBER",{"type":43,"tag":173,"props":1304,"children":1305},{"style":329},[1306],{"type":48,"value":1307},"=\u003C",{"type":43,"tag":173,"props":1309,"children":1310},{"style":186},[1311],{"type":48,"value":1312},"number",{"type":43,"tag":173,"props":1314,"children":1315},{"style":329},[1316],{"type":48,"value":1317},">\n",{"type":43,"tag":173,"props":1319,"children":1320},{"class":175,"line":226},[1321,1326,1330,1334,1339,1343,1348,1353,1358,1363,1367],{"type":43,"tag":173,"props":1322,"children":1323},{"style":220},[1324],{"type":48,"value":1325},"pull",{"type":43,"tag":173,"props":1327,"children":1328},{"style":329},[1329],{"type":48,"value":332},{"type":43,"tag":173,"props":1331,"children":1332},{"style":180},[1333],{"type":48,"value":183},{"type":43,"tag":173,"props":1335,"children":1336},{"style":186},[1337],{"type":48,"value":1338}," api",{"type":43,"tag":173,"props":1340,"children":1341},{"style":329},[1342],{"type":48,"value":370},{"type":43,"tag":173,"props":1344,"children":1345},{"style":186},[1346],{"type":48,"value":1347},"repos\u002F",{"type":43,"tag":173,"props":1349,"children":1350},{"style":220},[1351],{"type":48,"value":1352},"$REPOSITORY",{"type":43,"tag":173,"props":1354,"children":1355},{"style":186},[1356],{"type":48,"value":1357},"\u002Fpulls\u002F",{"type":43,"tag":173,"props":1359,"children":1360},{"style":220},[1361],{"type":48,"value":1362},"$PR_NUMBER",{"type":43,"tag":173,"props":1364,"children":1365},{"style":329},[1366],{"type":48,"value":400},{"type":43,"tag":173,"props":1368,"children":1369},{"style":329},[1370],{"type":48,"value":351},{"type":43,"tag":173,"props":1372,"children":1373},{"class":175,"line":240},[1374,1379,1383,1388,1393,1398,1403,1408,1413,1417,1422,1426],{"type":43,"tag":173,"props":1375,"children":1376},{"style":220},[1377],{"type":48,"value":1378},"PR_HEAD_SHA",{"type":43,"tag":173,"props":1380,"children":1381},{"style":329},[1382],{"type":48,"value":332},{"type":43,"tag":173,"props":1384,"children":1385},{"style":180},[1386],{"type":48,"value":1387},"jq",{"type":43,"tag":173,"props":1389,"children":1390},{"style":186},[1391],{"type":48,"value":1392}," -er",{"type":43,"tag":173,"props":1394,"children":1395},{"style":329},[1396],{"type":48,"value":1397}," '",{"type":43,"tag":173,"props":1399,"children":1400},{"style":186},[1401],{"type":48,"value":1402},".head.sha",{"type":43,"tag":173,"props":1404,"children":1405},{"style":329},[1406],{"type":48,"value":1407},"'",{"type":43,"tag":173,"props":1409,"children":1410},{"style":329},[1411],{"type":48,"value":1412}," \u003C\u003C\u003C",{"type":43,"tag":173,"props":1414,"children":1415},{"style":329},[1416],{"type":48,"value":400},{"type":43,"tag":173,"props":1418,"children":1419},{"style":220},[1420],{"type":48,"value":1421},"$pull",{"type":43,"tag":173,"props":1423,"children":1424},{"style":329},[1425],{"type":48,"value":400},{"type":43,"tag":173,"props":1427,"children":1428},{"style":329},[1429],{"type":48,"value":351},{"type":43,"tag":173,"props":1431,"children":1432},{"class":175,"line":264},[1433,1437,1441,1446,1450,1454,1458,1462],{"type":43,"tag":173,"props":1434,"children":1435},{"style":357},[1436],{"type":48,"value":360},{"type":43,"tag":173,"props":1438,"children":1439},{"style":329},[1440],{"type":48,"value":370},{"type":43,"tag":173,"props":1442,"children":1443},{"style":220},[1444],{"type":48,"value":1445},"$PR_HEAD_SHA",{"type":43,"tag":173,"props":1447,"children":1448},{"style":329},[1449],{"type":48,"value":400},{"type":43,"tag":173,"props":1451,"children":1452},{"style":186},[1453],{"type":48,"value":923},{"type":43,"tag":173,"props":1455,"children":1456},{"style":329},[1457],{"type":48,"value":370},{"type":43,"tag":173,"props":1459,"children":1460},{"style":220},[1461],{"type":48,"value":914},{"type":43,"tag":173,"props":1463,"children":1464},{"style":329},[1465],{"type":48,"value":380},{"type":43,"tag":173,"props":1467,"children":1468},{"class":175,"line":471},[1469],{"type":43,"tag":173,"props":1470,"children":1472},{"emptyLinePlaceholder":1471},true,[1473],{"type":48,"value":1474},"\n",{"type":43,"tag":173,"props":1476,"children":1477},{"class":175,"line":494},[1478,1482,1486],{"type":43,"tag":173,"props":1479,"children":1480},{"style":180},[1481],{"type":48,"value":183},{"type":43,"tag":173,"props":1483,"children":1484},{"style":186},[1485],{"type":48,"value":1338},{"type":43,"tag":173,"props":1487,"children":1488},{"style":220},[1489],{"type":48,"value":223},{"type":43,"tag":173,"props":1491,"children":1492},{"class":175,"line":538},[1493,1498,1502,1506,1511,1515,1520,1524],{"type":43,"tag":173,"props":1494,"children":1495},{"style":329},[1496],{"type":48,"value":1497},"  \"",{"type":43,"tag":173,"props":1499,"children":1500},{"style":186},[1501],{"type":48,"value":1347},{"type":43,"tag":173,"props":1503,"children":1504},{"style":220},[1505],{"type":48,"value":1352},{"type":43,"tag":173,"props":1507,"children":1508},{"style":186},[1509],{"type":48,"value":1510},"\u002Fcommits\u002F",{"type":43,"tag":173,"props":1512,"children":1513},{"style":220},[1514],{"type":48,"value":1445},{"type":43,"tag":173,"props":1516,"children":1517},{"style":186},[1518],{"type":48,"value":1519},"\u002Fstatus",{"type":43,"tag":173,"props":1521,"children":1522},{"style":329},[1523],{"type":48,"value":400},{"type":43,"tag":173,"props":1525,"children":1526},{"style":220},[1527],{"type":48,"value":223},{"type":43,"tag":173,"props":1529,"children":1530},{"class":175,"line":573},[1531,1536,1540],{"type":43,"tag":173,"props":1532,"children":1533},{"style":186},[1534],{"type":48,"value":1535},"  --jq",{"type":43,"tag":173,"props":1537,"children":1538},{"style":329},[1539],{"type":48,"value":1397},{"type":43,"tag":173,"props":1541,"children":1542},{"style":186},[1543],{"type":48,"value":1544},"[.statuses[] |\n",{"type":43,"tag":173,"props":1546,"children":1547},{"class":175,"line":606},[1548,1553],{"type":43,"tag":173,"props":1549,"children":1550},{"style":186},[1551],{"type":48,"value":1552},"    select(.context == \"TRTMC Internal CI \u002F Automated premerge gate\")][0]",{"type":43,"tag":173,"props":1554,"children":1555},{"style":329},[1556],{"type":48,"value":1557},"'\n",{"type":43,"tag":286,"props":1559,"children":1560},{},[1561,1563,1569,1571,1577,1579,1585,1587,1593,1594,1600],{"type":48,"value":1562},"If the exact head already has ",{"type":43,"tag":68,"props":1564,"children":1566},{"className":1565},[],[1567],{"type":48,"value":1568},"PENDING",{"type":48,"value":1570}," or ",{"type":43,"tag":68,"props":1572,"children":1574},{"className":1573},[],[1575],{"type":48,"value":1576},"PASS",{"type":48,"value":1578}," for\n",{"type":43,"tag":68,"props":1580,"children":1582},{"className":1581},[],[1583],{"type":48,"value":1584},"TRTMC Internal CI \u002F Automated premerge gate",{"type":48,"value":1586},", do not trigger it again. Otherwise an actor with\n",{"type":43,"tag":68,"props":1588,"children":1590},{"className":1589},[],[1591],{"type":48,"value":1592},"maintain",{"type":48,"value":1570},{"type":43,"tag":68,"props":1595,"children":1597},{"className":1596},[],[1598],{"type":48,"value":1599},"admin",{"type":48,"value":1601}," permission may run:",{"type":43,"tag":162,"props":1603,"children":1605},{"className":164,"code":1604,"language":166,"meta":167,"style":167},"gh pr edit \"$PR_NUMBER\" \\\n  --repo \"$REPOSITORY\" \\\n  --add-label run-internal-ci\n",[1606],{"type":43,"tag":68,"props":1607,"children":1608},{"__ignoreMap":167},[1609,1641,1664],{"type":43,"tag":173,"props":1610,"children":1611},{"class":175,"line":176},[1612,1616,1620,1625,1629,1633,1637],{"type":43,"tag":173,"props":1613,"children":1614},{"style":180},[1615],{"type":48,"value":183},{"type":43,"tag":173,"props":1617,"children":1618},{"style":186},[1619],{"type":48,"value":977},{"type":43,"tag":173,"props":1621,"children":1622},{"style":186},[1623],{"type":48,"value":1624}," edit",{"type":43,"tag":173,"props":1626,"children":1627},{"style":329},[1628],{"type":48,"value":370},{"type":43,"tag":173,"props":1630,"children":1631},{"style":220},[1632],{"type":48,"value":1362},{"type":43,"tag":173,"props":1634,"children":1635},{"style":329},[1636],{"type":48,"value":400},{"type":43,"tag":173,"props":1638,"children":1639},{"style":220},[1640],{"type":48,"value":223},{"type":43,"tag":173,"props":1642,"children":1643},{"class":175,"line":197},[1644,1648,1652,1656,1660],{"type":43,"tag":173,"props":1645,"children":1646},{"style":186},[1647],{"type":48,"value":994},{"type":43,"tag":173,"props":1649,"children":1650},{"style":329},[1651],{"type":48,"value":370},{"type":43,"tag":173,"props":1653,"children":1654},{"style":220},[1655],{"type":48,"value":1352},{"type":43,"tag":173,"props":1657,"children":1658},{"style":329},[1659],{"type":48,"value":400},{"type":43,"tag":173,"props":1661,"children":1662},{"style":220},[1663],{"type":48,"value":223},{"type":43,"tag":173,"props":1665,"children":1666},{"class":175,"line":226},[1667,1672],{"type":43,"tag":173,"props":1668,"children":1669},{"style":186},[1670],{"type":48,"value":1671},"  --add-label",{"type":43,"tag":173,"props":1673,"children":1674},{"style":186},[1675],{"type":48,"value":1676}," run-internal-ci\n",{"type":43,"tag":286,"props":1678,"children":1679},{},[1680,1682,1688],{"type":48,"value":1681},"If authorization fails and retains the label, remove ",{"type":43,"tag":68,"props":1683,"children":1685},{"className":1684},[],[1686],{"type":48,"value":1687},"run-internal-ci",{"type":48,"value":1689}," before\nadding it again after the reported prerequisite is satisfied. Re-adding an\nalready-present label is a no-op and does not trigger the bridge.",{"type":43,"tag":286,"props":1691,"children":1692},{},[1693,1695,1701,1703,1709],{"type":48,"value":1694},"Never use the legacy ",{"type":43,"tag":68,"props":1696,"children":1698},{"className":1697},[],[1699],{"type":48,"value":1700},"run-ci",{"type":48,"value":1702}," label. The bridge consumes the trigger, verifies\nthe exact head, and dispatches private Internal CI. A successful Source bridge\nrun is not a passing premerge result: only ",{"type":43,"tag":68,"props":1704,"children":1706},{"className":1705},[],[1707],{"type":48,"value":1708},"TRTMC Internal CI \u002F Automated premerge gate=PASS",{"type":48,"value":1710}," on\nthe current head is a pass. Raw Internal CI logs, artifacts, packages, runner\ndetails, and URLs stay private and must not be copied to the Source PR.",{"type":43,"tag":51,"props":1712,"children":1714},{"id":1713},"_8-report-and-hand-off",[1715],{"type":48,"value":1716},"8. Report And Hand Off",{"type":43,"tag":286,"props":1718,"children":1719},{},[1720,1722,1727],{"type":48,"value":1721},"Report the PR URL and number, draft state, pushed head SHA, validation evidence,\ninitial exact-head CI state, and any dependency or unrun gate. Hand monitoring\nand any merge work to ",{"type":43,"tag":68,"props":1723,"children":1725},{"className":1724},[],[1726],{"type":48,"value":139},{"type":48,"value":1728},"; this skill never merges.",{"type":43,"tag":1730,"props":1731,"children":1732},"style",{},[1733],{"type":48,"value":1734},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":1736,"total":1891},[1737,1755,1773,1784,1794,1808,1821,1835,1848,1859,1871,1880],{"slug":1738,"name":1738,"fn":1739,"description":1740,"org":1741,"tags":1742,"stars":1752,"repoUrl":1753,"updatedAt":1754},"nemoclaw-user-guide","retrieve NemoClaw documentation and configuration","Guides human users' AI agents to the NemoClaw docs MCP server and canonical Fern documentation in Markdown form. Use when users ask how to install, configure, operate, troubleshoot, secure, or learn NemoClaw with an AI coding assistant. Trigger keywords - nemoclaw docs, use nemoclaw with ai agent, nemoclaw mcp docs, nemoclaw install help, nemoclaw quickstart, nemoclaw markdown docs, llms.txt, agent skills.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1743,1746,1749],{"name":1744,"slug":1745,"type":15},"Documentation","documentation",{"name":1747,"slug":1748,"type":15},"MCP","mcp",{"name":1750,"slug":1751,"type":15},"Search","search",21777,"https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FNemoClaw","2026-08-25T03:29:57.273192",{"slug":1756,"name":1756,"fn":1757,"description":1758,"org":1759,"tags":1760,"stars":1770,"repoUrl":1771,"updatedAt":1772},"mcore-build-and-dependency","manage Megatron-LM development environments","Container-based dev environment setup and dependency management for Megatron-LM. Covers acquiring and launching the CI container, uv package management, and updating uv.lock.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1761,1764,1767],{"name":1762,"slug":1763,"type":15},"Containers","containers",{"name":1765,"slug":1766,"type":15},"Deployment","deployment",{"name":1768,"slug":1769,"type":15},"Python","python",17049,"https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FMegatron-LM","2026-07-27T06:06:11.249662",{"slug":1774,"name":1774,"fn":1775,"description":1776,"org":1777,"tags":1778,"stars":1770,"repoUrl":1771,"updatedAt":1783},"mcore-bump-base-image","update NVIDIA PyTorch base images","Bump the NVIDIA PyTorch base image (`nvcr.io\u002Fnvidia\u002Fpytorch:YY.MM-py3`) used by Megatron-LM CI. Covers the two pin sites (GitHub CI in `docker\u002F.ngc_version.dev` and GitLab CI in `.gitlab\u002Fstages\u002F01.build.yml`), the post-bump CI loop (re-run functional tests, refresh golden values, mark broken tests), and the gotchas that bit PRs",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1779,1782],{"name":1780,"slug":1781,"type":15},"CI\u002FCD","ci-cd",{"name":1765,"slug":1766,"type":15},"2026-07-14T05:25:59.97109",{"slug":1785,"name":1785,"fn":1786,"description":1787,"org":1788,"tags":1789,"stars":1770,"repoUrl":1771,"updatedAt":1793},"mcore-cicd","manage CI\u002FCD pipelines for Megatron-LM","CI\u002FCD reference for Megatron-LM. Covers CI pipeline structure, PR scope labels, triggering internal GitLab CI (which force-pushes the current branch to a pull-request\u002FBRANCH ref — always dry-run and verify the destination first; never run against shared or protected branches), and CI failure investigation.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1790,1791,1792],{"name":1780,"slug":1781,"type":15},{"name":1765,"slug":1766,"type":15},{"name":13,"slug":14,"type":15},"2026-08-28T14:38:16.959248",{"slug":1795,"name":1795,"fn":1796,"description":1797,"org":1798,"tags":1799,"stars":1770,"repoUrl":1771,"updatedAt":1807},"mcore-create-issue","investigate CI failures and create issues","Investigate a failing GitHub Actions run or job and create a GitHub issue for the failure.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1800,1803,1804],{"name":1801,"slug":1802,"type":15},"Debugging","debugging",{"name":13,"slug":14,"type":15},{"name":1805,"slug":1806,"type":15},"Triage","triage","2026-07-14T05:25:57.442089",{"slug":1809,"name":1809,"fn":1810,"description":1811,"org":1812,"tags":1813,"stars":1770,"repoUrl":1771,"updatedAt":1820},"mcore-linting-and-formatting","lint and format Megatron-LM code","Linting and formatting for Megatron-LM. Covers running autoformat.sh, tools (ruff, black, isort, pylint, mypy), and code style rules.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1814,1817],{"name":1815,"slug":1816,"type":15},"Best Practices","best-practices",{"name":1818,"slug":1819,"type":15},"Code Analysis","code-analysis","2026-07-14T05:25:56.18433",{"slug":1822,"name":1822,"fn":1823,"description":1824,"org":1825,"tags":1826,"stars":1770,"repoUrl":1771,"updatedAt":1834},"mcore-migrate-gpt-to-hybrid","migrate Megatron-LM models to HybridModel","Migration guide for moving Megatron Core GPTModel checkpoints, model providers, training commands, and layer mappings to HybridModel, including the mechanical steps for transferring an existing pretrain_gpt.py launch script.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1827,1830,1833],{"name":1828,"slug":1829,"type":15},"Machine Learning","machine-learning",{"name":1831,"slug":1832,"type":15},"Migration","migration",{"name":9,"slug":8,"type":15},"2026-08-21T03:36:57.470256",{"slug":1836,"name":1836,"fn":1837,"description":1838,"org":1839,"tags":1840,"stars":1770,"repoUrl":1771,"updatedAt":1847},"mcore-onboard-gb200-1node-tests","onboard functional tests for GB200","Onboard 1-node GitHub MR functional tests for GB200 from existing mr-scoped 2-node tests.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1841,1844],{"name":1842,"slug":1843,"type":15},"QA","qa",{"name":1845,"slug":1846,"type":15},"Testing","testing","2026-07-14T05:25:53.673039",{"slug":1849,"name":1849,"fn":1850,"description":1851,"org":1852,"tags":1853,"stars":1770,"repoUrl":1771,"updatedAt":1858},"mcore-run-on-slurm","launch distributed training jobs on SLURM","How to launch distributed Megatron-LM training jobs on a SLURM cluster. Covers a minimal sbatch skeleton, environment-variable setup for torch.distributed.run, CUDA_DEVICE_MAX_CONNECTIONS rules across hardware and parallelism modes, container conventions, monitoring, and per-rank failure diagnosis.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1854,1855],{"name":1765,"slug":1766,"type":15},{"name":1856,"slug":1857,"type":15},"Infrastructure","infrastructure","2026-07-14T05:25:49.362534",{"slug":1860,"name":1860,"fn":1861,"description":1862,"org":1863,"tags":1864,"stars":1770,"repoUrl":1771,"updatedAt":1870},"mcore-split-pr","split pull requests to reduce review load","Split a PR into multiple PRs to reduce the number of required CODEOWNERS reviewer groups.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1865,1868,1869],{"name":1866,"slug":1867,"type":15},"Code Review","code-review",{"name":13,"slug":14,"type":15},{"name":18,"slug":19,"type":15},"2026-08-25T03:29:16.211287",{"slug":1872,"name":1872,"fn":1873,"description":1874,"org":1875,"tags":1876,"stars":1770,"repoUrl":1771,"updatedAt":1879},"mcore-testing","run and manage Megatron-LM tests","Test system for Megatron-LM. Covers test layout, recipe YAML structure, adding and running unit and functional tests, golden values, marker filters, and CI parity.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1877,1878],{"name":1842,"slug":1843,"type":15},{"name":1845,"slug":1846,"type":15},"2026-07-14T05:25:54.928983",{"slug":1881,"name":1881,"fn":1882,"description":1883,"org":1884,"tags":1885,"stars":1770,"repoUrl":1771,"updatedAt":1890},"nightly-sync","manage nightly main-to-dev sync workflows","Domain knowledge for the nightly main-to-dev sync workflow. Covers merge strategy, CI architecture, failure investigation, and known issues.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1886,1889],{"name":1887,"slug":1888,"type":15},"Automation","automation",{"name":1780,"slug":1781,"type":15},"2026-07-30T05:29:03.275638",563,{"items":1893,"total":471},[1894,1906,1920,1931,1941,1947],{"slug":1895,"name":1895,"fn":1896,"description":1897,"org":1898,"tags":1899,"stars":20,"repoUrl":21,"updatedAt":1905},"debug-trt-mismatch","debug TensorRT model output mismatches","Use when TensorRT output diverges from a model reference, model-first validation fails, generated text or media is wrong, or a family change introduces a numerical mismatch. Routes the investigation by model modality and escalates from the first divergent boundary to the smallest responsible family-owned operation.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1900,1901,1902],{"name":1801,"slug":1802,"type":15},{"name":9,"slug":8,"type":15},{"name":1903,"slug":1904,"type":15},"Performance","performance","2026-08-31T09:19:00.563158",{"slug":1907,"name":1907,"fn":1908,"description":1909,"org":1910,"tags":1911,"stars":20,"repoUrl":21,"updatedAt":1919},"doc-sync","synchronize project documentation and architecture","Use for documentation maintenance scans that keep the canonical website journey, repo-local skills, commands, API reference, architecture and design, extension guides, feature context, ADRs, and traceability status aligned with the current GitHub main branch. Covers the Source\u002FInternal CI boundary and model-owned validation without exposing private evidence.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1912,1915,1916],{"name":1913,"slug":1914,"type":15},"Architecture","architecture",{"name":1744,"slug":1745,"type":15},{"name":1917,"slug":1918,"type":15},"Technical Writing","technical-writing","2026-08-31T09:19:06.452155",{"slug":1921,"name":1921,"fn":1922,"description":1923,"org":1924,"tags":1925,"stars":20,"repoUrl":21,"updatedAt":1930},"pr-babysitter","monitor and maintain GitHub pull requests","Use when monitoring GitHub pull request CI, diagnosing failed checks, rebasing branches onto github\u002Fmain, applying narrowly scoped fixes, and updating PRs until their latest checks are green or a human blocker is identified.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1926,1927,1928,1929],{"name":1780,"slug":1781,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},{"name":18,"slug":19,"type":15},"2026-08-31T09:18:56.523999",{"slug":1932,"name":1932,"fn":1933,"description":1934,"org":1935,"tags":1936,"stars":20,"repoUrl":21,"updatedAt":1940},"submit-github-bug-issue","submit GitHub bug issues","Use when converting QA findings, black-box failures, red-team reports, regression evidence, or local bug notes into GitHub Issues for NVIDIA\u002FTensorRT-Model-Connect. Standardizes checking issue templates, checking labels, de-duplicating existing issues, drafting a bug report, creating the issue on GitHub, applying the bug label, and verifying the created issue.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1937,1938,1939],{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},{"name":1805,"slug":1806,"type":15},"2026-08-31T09:19:07.142338",{"slug":4,"name":4,"fn":5,"description":6,"org":1942,"tags":1943,"stars":20,"repoUrl":21,"updatedAt":22},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1944,1945,1946],{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},{"name":18,"slug":19,"type":15},{"slug":1948,"name":1948,"fn":1949,"description":1950,"org":1951,"tags":1952,"stars":20,"repoUrl":21,"updatedAt":1957},"write-git-messages","draft and review Git commit messages","Draft, revise, or review Git commit messages, PR titles, PR descriptions, and squash or rebase merge messages. Use when Codex needs to summarize a diff for reviewers, convert rough notes into a commit or PR message, check a message against Git and Conventional Commits style, or prepare repository contribution text before pushing\u002Fopening a PR.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1953,1955,1956],{"name":1954,"slug":246,"type":15},"Git",{"name":18,"slug":19,"type":15},{"name":1917,"slug":1918,"type":15},"2026-08-31T09:18:59.866567"]