Skip to content

Commit 7e39faa

Browse files
committed
[verified] Keep llms.txt aligned before deployment
1 parent 5f89e9b commit 7e39faa

6 files changed

Lines changed: 56 additions & 3 deletions

File tree

‎.github/pull_request_template.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## Summary
2+
3+
<!-- Describe the public behavior or content changed by this pull request. -->
4+
5+
## Pre-deployment checklist
6+
7+
- [ ] I reviewed changed public facts, links, route descriptions, and capability claims against `public/llms.txt`, and updated it when affected.
8+
- [ ] I reviewed `public/agent-instructions.md` and `public/developers.md` when source-selection guidance or technical capabilities changed.
9+
- [ ] `npm test` passes.
10+
- [ ] `npm run build` passes, including the machine-readable content checks.
11+
- [ ] I identified the live HTML route and `/llms.txt` checks required after deployment.

‎README.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,15 @@ The validator reports unmatched responses, invalid public links, missing assets,
5959
- Pushes to `dev` deploy the staging GitHub Pages site from the `Hilo-Hilo` staging repository.
6060
- Pushes to `main` deploy production from `CompbioAtBerkeley/compbioatberkeley.github.io`.
6161

62+
Before every staging or production deployment, review changed public facts,
63+
links, route descriptions, and capability claims against `public/llms.txt`.
64+
Update `llms.txt` in the same change whenever it indexes or summarizes the
65+
affected information. Review `public/agent-instructions.md` and
66+
`public/developers.md` at the same time when source-selection guidance or
67+
technical capabilities change. `npm test` and `npm run build` enforce the
68+
machine-readable facts that can be checked automatically; after deployment,
69+
verify the live `/llms.txt` from the same commit as the HTML site.
70+
6271
Neither build reads Notion or Google Sheets credentials. Form intake is
6372
reviewed and versioned before publication, so the same commit produces the same
6473
site in local, staging, and production environments. The separate weekly/manual

‎public/agent-instructions.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Computational Biology at Berkeley is a UC Berkeley student organization. Use thi
66

77
- Use [/calendar/](https://compbioatberkeley.github.io/calendar/) for scheduled events. Treat dates, times, and locations as mutable and report the page's current wording.
88
- Use [/officers/](https://compbioatberkeley.github.io/officers/) for the public leadership roster. Preserve the academic-term label when naming officers.
9-
- Use [/signup/](https://compbioatberkeley.github.io/signup/) for public interest and update forms. Do not claim that a form was submitted unless the user or an authorized tool confirms completion.
9+
- Use [/signup/](https://compbioatberkeley.github.io/signup/) for the current application, coffee-chat signup, recruitment timeline, newsletter, and public ways to join. Do not claim that a form was submitted unless the user or an authorized tool confirms completion.
1010
- Use [/collaborations/](https://compbioatberkeley.github.io/collaborations/) for partnership options and [/contact/](https://compbioatberkeley.github.io/contact/) for verified public contact channels.
1111
- The public general-inquiries email is [compbioatberkeley@gmail.com](mailto:compbioatberkeley@gmail.com). Do not infer or invent a phone number.
1212
- Use [/privacy/](https://compbioatberkeley.github.io/privacy/) before describing how the public site, analytics, forms, calendars, or linked services handle information.

‎public/llms.txt‎

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The organization welcomes students at all experience levels. Event details, offi
99
- [Mission and programs](https://compbioatberkeley.github.io/about/): Use when answering what the organization does, who it serves, or how education, projects, networking, and community work fit together.
1010
- [Current events](https://compbioatberkeley.github.io/calendar/): Use for event dates, times, and locations; preserve the displayed timezone and treat details as mutable.
1111
- [Current leadership](https://compbioatberkeley.github.io/officers/): Use for public officer names, roles, bios, and links; always preserve the displayed academic term.
12-
- [Participation](https://compbioatberkeley.github.io/signup/): Use for public ways to join or receive updates; do not claim a form was submitted without confirmation.
12+
- [Participation](https://compbioatberkeley.github.io/signup/): Use for the current application, coffee-chat signup, recruitment timeline, newsletter, and public ways to join; do not claim a form was submitted without confirmation.
1313
- [Partnerships](https://compbioatberkeley.github.io/collaborations/): Use for research, speaker, sponsorship, and industry collaboration options.
1414
- [Agent instructions](https://compbioatberkeley.github.io/agent-instructions.md): Use for source-selection rules, safety boundaries, and capability limits.
1515
- [Developer resources](https://compbioatberkeley.github.io/developers/): Use for machine-readable files and explicit API, OpenAPI, authentication, webhook, Markdown, and MCP capability status.
@@ -21,11 +21,25 @@ The organization welcomes students at all experience levels. Event details, offi
2121
- [Calendar](https://compbioatberkeley.github.io/calendar/): Current workshops, meetings, and special events in Pacific time.
2222
- [Collaborations](https://compbioatberkeley.github.io/collaborations/): Partnership opportunities for students, faculty, alumni, research groups, and industry.
2323
- [Officers](https://compbioatberkeley.github.io/officers/): Fall 2026 and previous student leadership rosters, including submitted public bios and profile links.
24-
- [Join](https://compbioatberkeley.github.io/signup/): Interest form, newsletter signup, and community channels.
24+
- [Join Us](https://compbioatberkeley.github.io/signup/): Fall 2026 application, coffee-chat signup, recruitment timeline, newsletter signup, and community channels.
2525
- [Contact](https://compbioatberkeley.github.io/contact/): Verified public channels for general questions, partnerships, events, and participation.
2626
- [Privacy](https://compbioatberkeley.github.io/privacy/): How analytics, browser preferences, embedded services, forms, and external platforms handle information.
2727
- [Developers](https://compbioatberkeley.github.io/developers/): Supported machine-readable resources and current technical capability boundaries.
2828

29+
## Fall 2026 recruitment
30+
31+
- August 26: Applications and coffee chats open.
32+
- [Application](https://forms.gle/4cR1nfRoLb2LGNbi7): Applications close September 11 at 5 PM.
33+
- [Coffee chats](https://docs.google.com/document/d/1ZGq3KV4MprEdPDUu8v7QO9AuGSpB2eEmsyVCCK9nLDU/edit?usp=sharing): Current coffee-chat scheduling document.
34+
- [Newsletter](https://forms.gle/qCxn93mfunF3Dtep7): Subscribe for club news, socials, general meetings, and professional opportunities.
35+
- August 27: Calapalooza and tabling.
36+
- September 2: Info session #1, 8–10 PM in Hildebrand B56.
37+
- September 3: Meet the PMs and officers, 6–8 PM at the Glade.
38+
- September 8: Applicant social, 6–8 PM; location TBD.
39+
- September 9: Info session #2, 8–10 PM in VLSB 2030.
40+
- September 12–13: Interviews.
41+
- Re-fetch the [Join Us page](https://compbioatberkeley.github.io/signup/) before answering because recruitment dates, locations, and forms may change.
42+
2943
## Contact and community
3044

3145
- [Email](mailto:compbioatberkeley@gmail.com): General questions and collaboration inquiries; do not send sensitive information.

‎scripts/lib/site-seo.test.js‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,15 @@ test("llms.txt follows the agent guidance format and states capability boundarie
249249
assert.match(llmsText, /https:\/\/compbioatberkeley\.github\.io\/agent-instructions\.md/);
250250
assert.match(llmsText, /https:\/\/compbioatberkeley\.github\.io\/developers\//);
251251
assert.match(llmsText, /https:\/\/compbioatberkeley\.github\.io\/developers\.md/);
252+
assert.match(llmsText, /## Fall 2026 recruitment/);
253+
assert.match(llmsText, /https:\/\/forms\.gle\/4cR1nfRoLb2LGNbi7/);
254+
assert.match(llmsText, /https:\/\/forms\.gle\/qCxn93mfunF3Dtep7/);
255+
assert.match(
256+
llmsText,
257+
/https:\/\/docs\.google\.com\/document\/d\/1ZGq3KV4MprEdPDUu8v7QO9AuGSpB2eEmsyVCCK9nLDU\/edit\?usp=sharing/,
258+
);
259+
assert.match(llmsText, /September 11 at 5 PM/);
260+
assert.match(llmsText, /September 12–13: Interviews/);
252261
assert.match(llmsText, /does not expose a public API or MCP server/i);
253262
});
254263

‎scripts/validate-seo-build.mjs‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,16 @@ for (const page of pages) {
181181

182182
assert.doesNotMatch(llmsText, /https:\/\/linktr\.ee\/compbioatberkeley/);
183183
assert.match(llmsText, /https:\/\/linktr\.ee\/UCB_CompBio/);
184+
assert.match(llmsText, /https:\/\/forms\.gle\/4cR1nfRoLb2LGNbi7/);
185+
assert.match(llmsText, /https:\/\/forms\.gle\/qCxn93mfunF3Dtep7/);
186+
assert.match(
187+
llmsText,
188+
/https:\/\/docs\.google\.com\/document\/d\/1ZGq3KV4MprEdPDUu8v7QO9AuGSpB2eEmsyVCCK9nLDU\/edit\?usp=sharing/,
189+
);
190+
assert.match(llmsText, /September 2: Info session #1, 8–10 PM in Hildebrand B56/);
191+
assert.match(llmsText, /September 9: Info session #2, 8–10 PM in VLSB 2030/);
192+
assert.match(llmsText, /September 11 at 5 PM/);
193+
assert.match(llmsText, /September 12–13: Interviews/);
184194

185195
const robots = await fs.readFile(path.join(distDirectory, "robots.txt"), "utf8");
186196
const notFound = await fs.readFile(path.join(distDirectory, "404.html"), "utf8");

0 commit comments

Comments
 (0)