René's URL Explorer Experiment


Title: test: audit all template directories for duplicated files and add sync tests · Issue #461 · github/squad · GitHub

Open Graph Title: test: audit all template directories for duplicated files and add sync tests · Issue #461 · github/squad

X Title: test: audit all template directories for duplicated files and add sync tests · Issue #461 · github/squad

Description: Summary PR #460 review revealed that template files exist in more locations than the fix covered. The repo has multiple template directories that must stay in sync, but there's no comprehensive test ensuring parity across all of them. Kn...

Open Graph Description: Summary PR #460 review revealed that template files exist in more locations than the fix covered. The repo has multiple template directories that must stay in sync, but there's no comprehensive tes...

X Description: Summary PR #460 review revealed that template files exist in more locations than the fix covered. The repo has multiple template directories that must stay in sync, but there's no comprehensive...

Opengraph URL: https://github.com/github/squad/issues/461

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test: audit all template directories for duplicated files and add sync tests","articleBody":"## Summary\n\nPR #460 review revealed that template files exist in **more locations than the fix covered**. The repo has multiple template directories that must stay in sync, but there's no comprehensive test ensuring parity across all of them.\n\n## Known duplicate locations\n\n| File | Known locations |\n|------|----------------|\n| `squad.agent.md` | `.squad-templates/`, `templates/`, `.github/agents/`, `packages/squad-cli/templates/`, `packages/squad-sdk/templates/` |\n| `casting-policy.json` | `.squad-templates/`, `templates/`, `packages/squad-cli/templates/`, `packages/squad-sdk/templates/` |\n| `casting-reference.md` | `.squad-templates/`, `templates/` (may need to be in package dirs too) |\n\nPR #460 fixed 3/5 `squad.agent.md` copies and 2/4 `casting-policy.json` copies — the `packages/` dirs were missed.\n\n## Work needed\n\n1. **Full audit** — scan ALL template directories and catalog every file that exists in multiple locations. Determine which files SHOULD be identical vs legitimately different.\n2. **Expand `test/template-sync.test.ts`** — cover all locations found in the audit, not just `.squad-templates/`, `templates/`, and `.github/agents/`.\n3. **Fix robustness issues** in existing tests:\n   - Replace `process.cwd()` with `import.meta.url`-based resolution\n   - Strengthen `extractUniverseCount` regex to anchor matches\n   - Add content parity tests for `casting-reference.md` (not just existence)\n   - Add test that casting-reference.md universe table count matches policy\n4. **Fix the missed files** — update `packages/squad-cli/templates/` and `packages/squad-sdk/templates/` to match\n\n## Found by\n\nDina Berry's squad (review of PRs #458 and #460) — squad obo dina","author":{"url":"https://github.com/diberry","@type":"Person","name":"diberry"},"datePublished":"2026-03-19T18:53:11Z","url":"https://github.com/github/squad/issues/461"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ca344c51-b07b-e40e-81d1-42b7fa85e1e0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA9D6:5896A:BAB10:FA12F:6B017F1A
html-safe-noncee5ee6dd44c95e91aa9e3ac1f12cfcf45a0dd4c40c34a387782945f11a8499718
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOUQ2OjU4OTZBOkJBQjEwOkZBMTJGOjZCMDE3RjFBIiwidmlzaXRvcl9pZCI6IjMyMzU2NTQ5NDc5Nzk1ODkzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac31821308f0a26d281ae08df10867dae28f607122d026d25641cf56d6b3d127b7
hovercard-subject-tagissue:4103581838
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/squad/461/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5e3fdb9d4135cc84a1a886926758f243dcc4e54f997d24f46a93aa82bb093f4a/github/squad/issues/461
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5e3fdb9d4135cc84a1a886926758f243dcc4e54f997d24f46a93aa82bb093f4a/github/squad/issues/461
og:image:altSummary PR #460 review revealed that template files exist in more locations than the fix covered. The repo has multiple template directories that must stay in sync, but there's no comprehensive tes...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamediberry
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/github/squad git https://github.com/github/squad.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id1151205052
octolytics-dimension-repository_nwogithub/squad
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1151205052
octolytics-dimension-repository_network_root_nwogithub/squad
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/github/squad/issues/461#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fsquad%2Fissues%2F461
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fsquad%2Fissues%2F461
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=github%2Fsquad
Reloadhttps://github.com/github/squad/issues/461
Reloadhttps://github.com/github/squad/issues/461
Reloadhttps://github.com/github/squad/issues/461
githubhttps://github.com/github
squadhttps://github.com/github/squad
Codehttps://github.com/github/squad
Issues108 (108)https://github.com/github/squad/issues
Pull requests26 (26)https://github.com/github/squad/pulls
Discussionshttps://github.com/github/squad/discussions
Actionshttps://github.com/github/squad/actions
Projectshttps://github.com/github/squad/projects
Security and qualityhttps://github.com/github/squad/security
Insightshttps://github.com/github/squad/insights
https://github.com/github/squad
New issuehttps://github.com/login?return_to=https://github.com/github/squad/issues/461
New issuehttps://github.com/login?return_to=https://github.com/github/squad/issues/461
#462https://github.com/github/squad/pull/462
test: audit all template directories for duplicated files and add sync testshttps://github.com/github/squad/issues/461#top
#462https://github.com/github/squad/pull/462
go:needs-researchNeeds investigationhttps://github.com/github/squad/issues?q=state%3Aopen%20label%3A%22go%3Aneeds-research%22
priority:p2Next sprinthttps://github.com/github/squad/issues?q=state%3Aopen%20label%3A%22priority%3Ap2%22
squadSquad triage inbox — Lead will assign to a memberhttps://github.com/github/squad/issues?q=state%3Aopen%20label%3A%22squad%22
https://github.com/diberry
diberryhttps://github.com/diberry
on Mar 19, 2026https://github.com/github/squad/issues/461#issue-4103581838
#460https://github.com/github/squad/pull/460
#460https://github.com/github/squad/pull/460
#458https://github.com/github/squad/pull/458
#460https://github.com/github/squad/pull/460
diberryhttps://github.com/diberry
on Mar 19, 2026https://github.com/github/squad/issues/461#event-23730795066
fix: audit template dirs, sync package templates, expand tests (githu…https://github.com/diberry/squad/commit/d0b1b7e369b56c29202be0beef19ed0c775a4def
githu…https://github.com/github/squad/issues/461
d0b1b7ehttps://github.com/diberry/squad/commit/d0b1b7e369b56c29202be0beef19ed0c775a4def
docs: update fenster history and decision for github#461https://github.com/diberry/squad/commit/ec41a850ee917689465cd39cf5c70f5500637d36
github#461https://github.com/github/squad/issues/461
ec41a85https://github.com/diberry/squad/commit/ec41a850ee917689465cd39cf5c70f5500637d36
https://github.com/diberry
diberryhttps://github.com/diberry
on Mar 19, 2026https://github.com/github/squad/issues/461#issuecomment-4093011748
#462https://github.com/github/squad/pull/462
fix: audit template dirs, sync package templates, expand tests (#461) #462https://github.com/github/squad/pull/462
fix: audit template dirs, sync package templates, expand tests (#461) #462https://github.com/github/squad/pull/462
fix: audit template dirs, sync package templates, expand tests (#461) #462https://github.com/github/squad/pull/462
#462https://github.com/github/squad/pull/462
diberryhttps://github.com/diberry
on Mar 19, 2026https://github.com/github/squad/issues/461#event-23731655053
feat: add build-time template sync script (github#461)https://github.com/diberry/squad/commit/73ac5e7da119d8c98174b24470dfec8f138c30c3
github#461https://github.com/github/squad/issues/461
73ac5e7https://github.com/diberry/squad/commit/73ac5e7da119d8c98174b24470dfec8f138c30c3
test: expand template-sync coverage per review (github#461)https://github.com/diberry/squad/commit/de68118fca30a9f405346551b199cd81ee51272a
github#461https://github.com/github/squad/issues/461
de68118https://github.com/diberry/squad/commit/de68118fca30a9f405346551b199cd81ee51272a
tamirdresherhttps://github.com/tamirdresher
on Mar 19, 2026https://github.com/github/squad/issues/461#event-23735125874
test: add template directory sync and casting consistency tests (gith…https://github.com/tamirdresher/squad/commit/7ba807b3310bbe4f1c16e472aad78bb1c6f24a66
gith…https://github.com/github/squad/issues/461
7ba807bhttps://github.com/tamirdresher/squad/commit/7ba807b3310bbe4f1c16e472aad78bb1c6f24a66
bradygasterhttps://github.com/bradygaster
squadSquad triage inbox — Lead will assign to a memberhttps://github.com/github/squad/issues?q=state%3Aopen%20label%3A%22squad%22
priority:p2Next sprinthttps://github.com/github/squad/issues?q=state%3Aopen%20label%3A%22priority%3Ap2%22
squad:fidohttps://github.com/github/squad/issues?q=state%3Aopen%20label%3A%22squad%3Afido%22
squad:procedureshttps://github.com/github/squad/issues?q=state%3Aopen%20label%3A%22squad%3Aprocedures%22
on Mar 20, 2026https://github.com/github/squad/issues/461#event-23737330860
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Mar 20, 2026https://github.com/github/squad/issues/461#issuecomment-4094539099
GitHub Actionshttps://help.github.com/en/actions
#461https://github.com/github/squad/issues/461
github-actionshttps://github.com/apps/github-actions
go:needs-researchNeeds investigationhttps://github.com/github/squad/issues?q=state%3Aopen%20label%3A%22go%3Aneeds-research%22
on Mar 20, 2026https://github.com/github/squad/issues/461#event-23737333203
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Mar 20, 2026https://github.com/github/squad/issues/461#issuecomment-4094539271
GitHub Actionshttps://help.github.com/en/actions
#461https://github.com/github/squad/issues/461
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Mar 20, 2026https://github.com/github/squad/issues/461#issuecomment-4094539329
GitHub Actionshttps://help.github.com/en/actions
#461https://github.com/github/squad/issues/461
bradygasterhttps://github.com/bradygaster
on Mar 20, 2026https://github.com/github/squad/issues/461#event-23746711212
fix: audit template dirs, sync package templates, expand tests (githu…https://github.com/diberry/squad/commit/1837aa79640b50002d8a03ded890d8c3a7e5bcb0
githu…https://github.com/github/squad/issues/461
1837aa7https://github.com/diberry/squad/commit/1837aa79640b50002d8a03ded890d8c3a7e5bcb0
docs: update fenster history and decision for github#461https://github.com/diberry/squad/commit/dcbc6a6d1f020ba7dc815358d8c3f48f825883e7
github#461https://github.com/github/squad/issues/461
dcbc6a6https://github.com/diberry/squad/commit/dcbc6a6d1f020ba7dc815358d8c3f48f825883e7
feat: add build-time template sync script (github#461)https://github.com/diberry/squad/commit/b944fd676f7ac1cc417f612f47fca4130e64d4c8
github#461https://github.com/github/squad/issues/461
b944fd6https://github.com/diberry/squad/commit/b944fd676f7ac1cc417f612f47fca4130e64d4c8
test: expand template-sync coverage per review (github#461)https://github.com/diberry/squad/commit/02cb888cee589178f987a4c6c957d42343149116
github#461https://github.com/github/squad/issues/461
02cb888https://github.com/diberry/squad/commit/02cb888cee589178f987a4c6c957d42343149116
bradygasterhttps://github.com/bradygaster
completedhttps://github.com/github/squad/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#462https://github.com/github/squad/pull/462
on Mar 20, 2026https://github.com/github/squad/issues/461#event-23746864058
bradygasterhttps://github.com/bradygaster
on Mar 20, 2026https://github.com/github/squad/issues/461#event-23746864065
fix: audit template dirs, sync package templates, expand tests (#461) (…https://github.com/github/squad/commit/cb4763766d0b1ed0b71d5c97d86a468359801872
#461https://github.com/github/squad/issues/461
…https://github.com/github/squad/pull/462
cb47637https://github.com/github/squad/commit/cb4763766d0b1ed0b71d5c97d86a468359801872
chrislomonicohttps://github.com/chrislomonico
on Mar 26, 2026https://github.com/github/squad/issues/461#event-23921571763
fix: update triage help text to reflect actual watch behavior (github…https://github.com/clomonico/squad/commit/bdaebb3862211b9eace01d4d87478ea513e03885
github…https://github.com/github/squad/pull/403
bdaebb3https://github.com/clomonico/squad/commit/bdaebb3862211b9eace01d4d87478ea513e03885
bradygasterhttps://github.com/bradygaster
squad:procedureshttps://github.com/github/squad/issues?q=state%3Aopen%20label%3A%22squad%3Aprocedures%22
squad:fidohttps://github.com/github/squad/issues?q=state%3Aopen%20label%3A%22squad%3Afido%22
on Sep 11, 2026https://github.com/github/squad/issues/461#event-31000789023
Sign up for freehttps://github.com/signup?return_to=https://github.com/github/squad/issues/461
Sign in to commenthttps://github.com/login?return_to=https://github.com/github/squad/issues/461
go:needs-researchNeeds investigationhttps://github.com/github/squad/issues?q=state%3Aopen%20label%3A%22go%3Aneeds-research%22
priority:p2Next sprinthttps://github.com/github/squad/issues?q=state%3Aopen%20label%3A%22priority%3Ap2%22
squadSquad triage inbox — Lead will assign to a memberhttps://github.com/github/squad/issues?q=state%3Aopen%20label%3A%22squad%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.