Skip to content

Commit 4128841

Browse files
committed
Improve agent recovery and developer discovery
1 parent f11ab84 commit 4128841

16 files changed

Lines changed: 438 additions & 11 deletions

‎index.html‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@
66
<title>Computational Biology at Berkeley</title>
77
<meta name="description" content="A UC Berkeley student organization connecting biology, computer science, and healthcare through education, research, projects, and community." />
88
<meta name="author" content="Computational Biology at Berkeley" />
9+
<meta name="application-name" content="Computational Biology at Berkeley" />
910
<meta name="theme-color" content="#FFFFFF" />
1011
<link rel="canonical" href="https://compbioatberkeley.github.io/" />
1112
<link rel="describedby" href="/llms.txt" type="text/markdown" />
13+
<link rel="help" href="/developers.md" type="text/markdown" />
1214
<link
1315
rel="icon"
1416
type="image/svg+xml"
@@ -82,6 +84,7 @@
8284
</script>
8385

8486
<meta property="og:title" content="Computational Biology at Berkeley" />
87+
<meta property="og:site_name" content="Computational Biology at Berkeley" />
8588
<meta property="og:description" content="A UC Berkeley student organization connecting biology, computer science, and healthcare through education, research, projects, and community." />
8689
<meta property="og:type" content="website" />
8790
<meta property="og:url" content="https://compbioatberkeley.github.io/" />

‎public/404.html‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
/>
1111
<meta name="robots" content="noindex, nofollow" />
1212
<link rel="describedby" href="/llms.txt" type="text/markdown" />
13+
<link rel="alternate" href="/404.md" type="text/markdown" title="Markdown recovery" />
1314
<script>
1415
(function () {
1516
var projectName = "compbioatberkeley.github.io";
@@ -72,6 +73,18 @@
7273
line-height: 1.65;
7374
}
7475

76+
.agent-recovery {
77+
margin: 1.5rem 0 0;
78+
overflow-x: auto;
79+
border: 1px solid rgba(24, 34, 39, 0.18);
80+
border-radius: 0.25rem;
81+
padding: 1rem;
82+
font: inherit;
83+
font-size: 0.8rem;
84+
line-height: 1.6;
85+
white-space: pre-wrap;
86+
}
87+
7588
nav {
7689
display: flex;
7790
flex-wrap: wrap;
@@ -99,6 +112,10 @@
99112
a {
100113
color: #7dd3fc;
101114
}
115+
116+
.agent-recovery {
117+
border-color: rgba(238, 241, 237, 0.2);
118+
}
102119
}
103120
</style>
104121
</head>
@@ -110,11 +127,18 @@ <h1>Page not found</h1>
110127
The requested page does not exist or may have moved. Use the site map for all public pages,
111128
or use the agent guide for a concise Markdown overview of this site.
112129
</p>
130+
<pre class="agent-recovery" aria-label="Markdown recovery"># Page not found
131+
132+
- Sitemap: https://compbioatberkeley.github.io/sitemap.xml
133+
- Agent guide: https://compbioatberkeley.github.io/llms.txt
134+
- Developer resources: https://compbioatberkeley.github.io/developers.md</pre>
113135
<nav aria-label="Recovery links">
114136
<a href="/">Home</a>
115137
<a href="/sitemap.xml">Sitemap</a>
116138
<a href="/llms.txt">Agent guide (Markdown)</a>
117139
<a href="/agent-instructions.md">Agent instructions</a>
140+
<a href="/404.md">404 recovery (Markdown)</a>
141+
<a href="/developers/">Developer resources</a>
118142
<a href="/contact/">Contact</a>
119143
</nav>
120144
</main>

‎public/404.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Page not found
2+
3+
The requested Computational Biology at Berkeley page does not exist or may have moved.
4+
5+
- [Browse the sitemap](https://compbioatberkeley.github.io/sitemap.xml)
6+
- [Read the concise agent guide](https://compbioatberkeley.github.io/llms.txt)
7+
- [Read the agent instructions](https://compbioatberkeley.github.io/agent-instructions.md)
8+
- [Open the developer resource index](https://compbioatberkeley.github.io/developers.md)
9+
- [Contact the student team](https://compbioatberkeley.github.io/contact/)
10+
11+
Canonical public origin: [https://compbioatberkeley.github.io](https://compbioatberkeley.github.io/).

‎public/agent-instructions.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ Computational Biology at Berkeley is a UC Berkeley student organization. Use thi
2424
- The complete index of public HTML pages is at [/sitemap.xml](https://compbioatberkeley.github.io/sitemap.xml).
2525
- Crawler policy is at [/robots.txt](https://compbioatberkeley.github.io/robots.txt).
2626
- The concise agent entry point is at [/llms.txt](https://compbioatberkeley.github.io/llms.txt).
27-
- The site publishes structured Schema.org `Organization`, `EducationalOrganization`, and `WebPage` data in its rendered HTML.
27+
- Developer resources and explicit API, authentication, webhook, Markdown, and MCP status are at [/developers.md](https://compbioatberkeley.github.io/developers.md).
28+
- The site publishes structured Schema.org `Organization`, `EducationalOrganization`, `WebSite`, and `WebPage` data in its rendered HTML.
2829

2930
## Technical capabilities
3031

‎public/developers.md‎

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Developer resources for Computational Biology at Berkeley
2+
3+
> This page indexes the supported machine-readable resources and current technical capability boundaries for the Computational Biology at Berkeley public website.
4+
5+
Canonical public origin: [https://compbioatberkeley.github.io](https://compbioatberkeley.github.io/).
6+
7+
## Supported public resources
8+
9+
- [Developer resource page](https://compbioatberkeley.github.io/developers/): Human-readable HTML version with the same capability status.
10+
- [Agent guide](https://compbioatberkeley.github.io/llms.txt): Concise source index and annotated public-page links.
11+
- [Agent instructions](https://compbioatberkeley.github.io/agent-instructions.md): Source-selection, freshness, safety, and action boundaries.
12+
- [Sitemap](https://compbioatberkeley.github.io/sitemap.xml): Canonical inventory of public HTML pages.
13+
- [Crawler policy](https://compbioatberkeley.github.io/robots.txt): Crawler access policy and sitemap location.
14+
- [Website source](https://github.com/CompbioAtBerkeley/compbioatberkeley.github.io): Exact public repository that builds and publishes this static website.
15+
- [Student project repositories](https://github.com/Compbio-at-berkeley-projects): Public project code; these repositories are not an API contract for this website.
16+
17+
Rendered public pages include Schema.org `Organization`, `EducationalOrganization`, `WebSite`, `WebPage`, `PostalAddress`, and `ContactPoint` JSON-LD. Event details, officer rosters, forms, and recruitment windows are mutable; re-fetch the relevant canonical page for time-sensitive answers.
18+
19+
## API, OpenAPI, authentication, webhook, and MCP status
20+
21+
This static informational website does not offer a public API. Therefore:
22+
23+
- **API docs and OpenAPI:** No application API or OpenAPI specification is published.
24+
- **Authentication API:** No member accounts, API keys, OAuth clients, or authenticated developer portal are provided by this website.
25+
- **Webhooks:** No webhook events, signing secrets, delivery guarantees, or retry semantics are offered.
26+
- **MCP:** Computational Biology at Berkeley does not operate an MCP server for this website. There is no live MCP endpoint or manifest. Do not treat GitHub's MCP tooling, public repositories, or similarly named registry results as a service operated by this organization.
27+
- **Markdown negotiation:** Explicit Markdown resources such as this file and `agent-instructions.md` are served as `text/markdown`. Same-URL `Accept: text/markdown` negotiation is not available on the current static GitHub Pages origin.
28+
29+
Do not invent API endpoints, authentication flows, webhook subscriptions, tool calls, or transactional capabilities. If an API or MCP service is launched later, this resource index and [llms.txt](https://compbioatberkeley.github.io/llms.txt) will identify the canonical endpoint, protocol version, authorization model, and operational owner.

‎public/llms.txt‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ The organization welcomes students at all experience levels. Event details, offi
1212
- [Participation](https://compbioatberkeley.github.io/signup/): Use for public ways to join or receive updates; 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.
15+
- [Developer resources](https://compbioatberkeley.github.io/developers/): Use for machine-readable files and explicit API, OpenAPI, authentication, webhook, Markdown, and MCP capability status.
1516

1617
## Main pages
1718

@@ -23,6 +24,7 @@ The organization welcomes students at all experience levels. Event details, offi
2324
- [Join](https://compbioatberkeley.github.io/signup/): Interest form, newsletter signup, and community channels.
2425
- [Contact](https://compbioatberkeley.github.io/contact/): Verified public channels for general questions, partnerships, events, and participation.
2526
- [Privacy](https://compbioatberkeley.github.io/privacy/): How analytics, browser preferences, embedded services, forms, and external platforms handle information.
27+
- [Developers](https://compbioatberkeley.github.io/developers/): Supported machine-readable resources and current technical capability boundaries.
2628

2729
## Contact and community
2830

@@ -34,9 +36,10 @@ The organization welcomes students at all experience levels. Event details, offi
3436
## Machine-readable resources
3537

3638
- [Agent instructions](https://compbioatberkeley.github.io/agent-instructions.md): Detailed guidance on when to use each source and what agents must not infer or submit.
39+
- [Developer resource index](https://compbioatberkeley.github.io/developers.md): Markdown index of machine-readable resources and explicit API, authentication, webhook, and MCP status.
3740
- [Sitemap](https://compbioatberkeley.github.io/sitemap.xml): Canonical index of public HTML pages.
3841
- [Crawler policy](https://compbioatberkeley.github.io/robots.txt): Current crawler access policy and sitemap location.
39-
- [Organization identity](https://compbioatberkeley.github.io/): Rendered HTML includes Schema.org Organization, EducationalOrganization, PostalAddress, ContactPoint, and WebPage data.
42+
- [Organization identity](https://compbioatberkeley.github.io/): Rendered HTML includes Schema.org Organization, EducationalOrganization, WebSite, PostalAddress, ContactPoint, and WebPage data.
4043

4144
## Optional
4245

‎scripts/lib/site-seo.js‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,15 +128,19 @@ export const buildPageHtml = ({
128128

129129
html = html.replace(/\s*<meta\s+name="robots"[^>]*>/i, "");
130130
html = html.replace(/\s*<meta\s+name="google-site-verification"[^>]*>/i, "");
131+
html = html.replace(/\s*<link\s+[^>]*data-route-markdown[^>]*>/i, "");
131132
const robotsMeta = noindex
132133
? '<meta name="robots" content="noindex, nofollow" />'
133134
: '<meta name="robots" content="index, follow" />';
134135
const verificationMeta = siteIdentity.googleSiteVerification
135136
? `<meta name="google-site-verification" content="${escapeHtml(siteIdentity.googleSiteVerification)}" />`
136137
: "";
138+
const markdownAlternate = page.markdownPath
139+
? `<link rel="alternate" href="${escapeHtml(canonicalUrl(siteOrigin, page.markdownPath))}" type="text/markdown" data-route-markdown />`
140+
: "";
137141
html = html.replace(
138142
"</head>",
139-
` ${robotsMeta}\n ${verificationMeta}\n <script id="site-structured-data" type="application/ld+json">${jsonForHtml(structuredData)}</script>\n </head>`,
143+
` ${robotsMeta}\n ${verificationMeta}\n ${markdownAlternate}\n <script id="site-structured-data" type="application/ld+json">${jsonForHtml(structuredData)}</script>\n </head>`,
140144
);
141145
html = replaceRequired(
142146
html,

0 commit comments

Comments
 (0)