import Link from "next/link"; import type { ReactNode } from "react"; import type { Metadata } from "next"; import { specMetadata } from "@/lib/page-meta"; import { SiteShell } from "@/components/site-shell"; import { mono, pre, table, td, th } from "../openontology/ui"; export const metadata: Metadata = specMetadata( "/openprofile", "OpenProfile.md is one Markdown file that says who you are and where you are, for people and agents alike: an identity block, your accounts, your topics, the terms on which you reshare, and the operator behind an agent. Served at /.well-known/openprofile.md, linked with rel=\"openprofile\", verified by linking back." ); const EXAMPLE = `# Ada Lovelace - **Kind**: person - **Handle**: @ada - **Web**: https://ada.example - **Pay**: eip155:8453:0x7E5F4552091A69125d5DfCb7b8C2659029395Bdf - **Resume**: https://agenticjobs.work/candidates/ada/resume.md Writes about machines that do not exist yet. ## Accounts - [Bluesky](https://bsky.app/profile/ada.example) - [Mastodon](https://mathstodon.xyz/@ada) - [GitHub](https://github.com/ada) ## Topics - computing, mathematics, poetry, #babbage ## Reshare - **Networks**: bluesky, mastodon - **Rate**: $0.05/reshare - **Limit**: 3/day - **Not**: gambling, politics`; const AGENT = `# Athena - **Kind**: agent - **Handle**: @athena Ships small fixes to open source projects, nightly. ## Operator - **Name**: Ada Lovelace - **Profile**: https://ada.example/.well-known/openprofile.md`; const MATCH = `## Match - **Born**: 1990-05-12 - **Gender**: woman - **Orientation**: bisexual - **Status**: single - **Height**: 168 cm - **Children**: none - **Wants children**: open - **Smoking**: never - **Seeking**: everyone - **For**: long-term - **Ages**: 30-45 - **Distance**: 50 km - **Not**: smokers, long-distance ## Photos - https://ada.example/photos/garden.jpg`; const RULES: Array<[string, string]> = [ ["One # heading", "It is the name. More than one and the first wins; none and the reader says it has no name."], ["The identity block", "The bullet list under the name. Kind, Handle, Web, Email, Avatar, Pay, Resume are understood; unknown keys are kept as written."], ["The headline", "One prose line between the block and the first ##. It is the bio a directory shows next to the name."], ["## opens a section", "Kept verbatim and normalised for matching: accounts, topics, reshare, operator, links, about, projects, services, contact. Unknown sections are kept."], ["Accounts", "One bullet per account and the URL is the identity. The network is derived from the host. An account is a claim until the page links back."], ["Topics", "The words you would use to find yourself. Readers lowercase, strip #, and match loosely. No taxonomy at write time."], ["Reshare", "What you will amplify for others and what it costs: Networks, Topics, Not, Rate, Limit. No section means no offer."], ["Operator", "For an agent: the person answerable for it, by Name and Profile or Email. Chains are followed a few hops and reported."], ["Match", "What a dating site or any matching platform needs, about you (Born, Gender, Orientation, Status, Height, Children, Smoking, Religion, ...) and who you seek (Seeking, For, Ages, Distance, Not). Born is required for matching and must give 18 or over; nothing is inferred; a Photos section carries the pictures."] ]; const DISCOVERY: Array<[string, string, string]> = [ ["Well-known", "/.well-known/openprofile.md", "A domain that is a person or an agent. The canonical location for a personal site."], ["Link relation", "", "Any HTML page, or a Link header on anything else. A platform points each profile page at its owner's file."], ["Platform path", "/candidates/ada/openprofile.md", "A platform serving many people serves the file next to each profile page and links it from the page."] ]; const ABSENT: Array<[string, string]> = [ ["No required fields", "A name and one line of prose is a valid file."], ["No schema version", "Readers ignore what they do not recognise, so a file written today reads in five years."], ["No signatures", "Verification is bidirectional linking, which every platform already supports in some form."], ["No JSON", "A reader may derive a structured view and must regenerate it from the Markdown on every read. The Markdown is the canonical copy."], ["No inference", "A Match key is never filled from a photo, a name, a handle or another site. What is not written is unstated, and a platform that wants it asks the person."] ]; export default function OpenProfilePage(): ReactNode { return (

LogicSRC standards surface

OpenProfile.md

One Markdown file that says who you are and where you are, for people and agents alike. Meta tags for a profile: served by any site, linked from any platform, readable by anything.

Every platform has a profile page, and every profile page is a dead end. Your Bluesky bio cannot tell a job board what you write about. Your GitHub page cannot tell a resharing network which topics you will boost and what that costs. An agent has it worse: a handle on six networks, an operator somewhere behind it, and nowhere all of that is written down together. OpenProfile.md is that place. It ties a name to its accounts, its topics, its terms and, for an agent, the person answerable for it, in a form that survives being copied between tools.

Status: 0.1. A convention already in use by{" "} myna and{" "} agenticjobs, published so others can serve and read the same file.

The shape

A person, and the one section an agent adds.

{EXAMPLE}
{AGENT}
{MATCH}

The nine rules

Every one of them degrades rather than fails.

{RULES.map(([rule, meaning], index) => ( ))}
Rule What it means
{index + 1}. {rule} {meaning}

Discovery

The file is served, not registered. A reader tries all three.

{DISCOVERY.map(([where, how, when]) => ( ))}
Where How When
{where} {how} {when}

Serve it as text/markdown; charset=utf-8. A reader fetching the well-known location is reading, not saving, so no attachment disposition there.

Verification

An account is a claim until the page links back.

A listed account is verified when its platform page carries{" "} rel="openprofile" or{" "} rel="me" back to the file, or when the bio, website field or pinned post contains the file's URL in plain text. A reader shows verified and claimed accounts differently and hides neither, because most accounts are unverified for a while and a claim is still information. An agent that names its operator, and an operator whose file lists the agent under Accounts, are one trust chain: either link alone is a claim, both together are a verification.

What is deliberately absent

{ABSENT.map(([what, why]) => ( ))}
{what} {why}

Writing and reading one

Where everything lives

); }