Skip to content

feat: credit the person who started a session in its commits - #55

Merged
kalaspuff merged 9 commits into
mainfrom
fctl/22-look-into-https-github-com-hyperstructur
Oct 18, 2026
Merged

kalaspuff merged 9 commits into
mainfrom
fctl/22-look-into-https-github-com-hyperstructur

Conversation

@fctl-sh

@fctl-sh fctl-sh Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Commits from sessions credited the GitHub App's bot and Claude, never the person who started the session. People can now choose a commit email in Settings → Profile (or with fctl account set --commit-email), and the commits in the sessions they start end with a Co-authored-by trailer with their name and that address, so GitHub links the commits to their account. Without one nothing changes, and the sign-in email never goes into a commit. Each project chooses who its commits credit, with a switch for the person and one for Claude.

Refs #15. The privacy policy change it asks for is hyperstructure/fctl-site#9.

What changed

  • A commit email people choose (the issue's proposal). Settings → Profile has a "Commit email" field whose hint says what it does and who sees it, and links GitHub's email settings for the noreply address. From the CLI: fctl account set --commit-email ADDRESS ("" removes it, --json prints Me), and fctl whoami shows it. It is stored on the user row (migration 0009_commit_email.sql), returned in Me but not in User, which admins also get, included in the data export, and cleared when the account is deleted. validate::commit_email keeps its case (GitHub matches it against accounts) and allows only a plain dot-atom before the @, so it can't break a trailer.

  • Projects choose who their commits credit, with two switches in the project's settings (Agents), both on by default: Credit people in commits (credit_people) and Credit Claude in commits (credit_claude). From the CLI: fctl projects set --credit-people on|off --credit-claude on|off, a new command that changes what it's given and sends the other settings back as they are (an update replaces all settings). Without people, the control plane doesn't look up the starter's commit email, so it never reaches the sandbox. Without Claude, fctl-agent leaves Claude's trailer out of attribution.commit (the person's trailer alone, or an empty string for none) and sets attribution.sessionUrl: false, so Remote Control sessions leave out the claude.ai session link too (that key came in Claude Code 2.1.183; fctl-agent writes it only when Claude is off). An update that leaves either field out keeps its stored value, as for claude_ai_connectors, so a tab opened before the deploy or an older CLI can't turn crediting back on. The Profile hint says a project can turn it off.

  • A new spec field, co_authored_by, which creator() fills with the starter's name and commit email, only when they chose one. The issue planned to reuse co_authors, but every control plane so far fills that with the sign-in email, so a new agent reading it would publish the sign-in email whenever it runs against an older control plane: a host updated between the Release workflow publishing archives and redeploying app.fctl.sh, or a self-hosted instance that lags. co_authors stays in the spec, empty, because older agents require it.

  • fctl-agent sets Claude Code's attribution.commit in Claude's user settings when there is someone to credit:

    Co-authored-by: Claude <[email protected]>
    Co-authored-by: Ada Lovelace <[email protected]>
    

    This replaces Claude Code's default trailer, which names the model in use. fctl-agent writes the settings before Claude starts, so it says Claude, as Claude Code itself does when it can't tell the model's version. Names lose control characters and angle brackets, and an address with spaces or brackets is skipped, so each trailer stays one line. attribution.commit came in Claude Code 2.0.62 together with attribution.pr, which fctl already writes, so it can't make an older Claude Code skip the file. With nobody to credit, the settings are as before.

  • Pull requests stay plain (attribution.pr stays empty, fix(agent): leave Claude Code's footer out of pull requests #23). GitHub's squash merges carry the Co-authored-by trailers of the squashed commits into the commit on main: feat: notify people when a session waits for them, pauses or fails #48's description has none, its commits have Claude's, and its squash commit ca134aa ends with it. So the credit reaches main without naming people in descriptions.

  • fake-claude ends the commit write <name> makes as Claude Code does: with attribution.commit from ~/.claude/settings.json, nothing when that is empty, or Claude's trailer when it is unset. So cargo xtask dev shows every combination.

  • Docs: architecture.md (Sessions → Commits), security.md (a Commits section, and retention), cli.md, getting-started.md, development.md, and ADR 0011, which records the decision and the alternatives the issue weighed (git hooks, rewriting commits).

Left as they were

  • Only the starter is credited. The issue's open question, whether people who message a session become co-authors too, is a person's call; co_authored_by can carry more people.
  • Commits a script makes get no trailer, and a repository's own Claude settings (attribution) or a CLAUDE.md rule against attribution take precedence (Claude Code 2.1.269 and later). As the issue suggests, this starts with the setting to see whether it is reliable enough.
  • Sessions take a changed address or project setting when they next start or resume.

Compatibility

  • The API and protocol changes are additive and optional: Me.commit_email, UpdateMeRequest.commit_email, SessionSpec.co_authored_by, and ProjectSettings.credit_people and credit_claude (on when absent; an update without them keeps the stored values).
  • Turning Claude's credit off needs hosts from this release: older agents ignore credit_claude and keep Claude's trailer. Turning people's credit off works with any agent, since the control plane then sends nobody.
  • Older agents ignore co_authored_by and add no trailers. Newer agents ignore co_authors, so with an older control plane they add none either.
  • Deploying applies D1 migration 0009_commit_email.sql, which adds a nullable column.
  • Privacy policy: docs(legal): say what a commit email publishes and how long it stays fctl-site#9 updated fctl.sh's policy (what is stored, who receives it, how long, where to change it). It was merged on 2026-10-18 and is live on fctl.sh/privacy, ahead of this pull request: until this ships, the policy describes an opt-in setting app.fctl.sh doesn't have yet.

Verification

  • cargo xtask check --quick passes: fmt, generated types, Biome and TypeScript, Clippy (native and wasm), all Rust and web tests.

  • New tests: commit email validation (fctl-domain); the spec in both directions of version skew (fctl-proto); the settings fctl-agent writes, and one-line trailers (fctl-agent).

  • cargo xtask dev (process driver, fake-claude), driven with the CLI:

    • Without a commit email, the sandbox's ~/.claude/settings.json has "attribution": {"pr": ""} only, so Claude Code's own trailer stays and nobody else is credited, and the sign-in email appears nowhere in the sandbox's data.
    • fctl account set --commit-email " [email protected] " stores it trimmed with its case; fctl whoami shows it; fctl admin users --json doesn't contain it; fctl account export has it as account.commit_email. Dev <[email protected]>, dev@example and "dev"@example.com are refused with "Enter a valid email address".
    • A new session's commit ends with both trailers; git log --format='%(trailers:key=Co-authored-by,valueonly)' reads both, and fctl logs shows them in the commit's output.
    • A session started before the address was set takes it when stopped and resumed.
    • --commit-email "" removes it, and the next session's commit has no trailer for the person.
  • Settings → Profile in Chromium against the dev stack: saving an address (it comes back trimmed and survives a reload), the server's error under the field for dev@example, both themes, 390 px.

  • After merging main (4b94afa; feat: show Claude plan usage in Settings, on the floor and in the CLI #58 had taken migration number 0008, so this one is now 0009): cargo xtask check --quick passes again, and on fresh dev state the migrations apply in order (0008_claude_usage.sql, 0009_commit_email.sql) and a session's commit ends with both trailers.

  • The project's switches, with the dev owner's commit email set, one session each (the trailers its commit ended with, and Claude's attribution setting):

    • both on: Claude's and the person's trailers;
    • people only: the person's trailer, with sessionUrl: false;
    • Claude only: attribution.commit unset, so fake-claude, like Claude Code, adds Claude's own trailer;
    • both off: attribution.commit: "" and sessionUrl: false, and no trailers.

    With people off, the address appeared nowhere in the sandbox. A PATCH whose settings leave both fields out, as an older client sends them, kept both off, and fctl projects set --credit-claude on changed only that one. In Chromium, each switch saved, and the API read back the value.

  • Not tried: real Claude Code following attribution.commit (the dev stack runs fake-claude, and this sandbox can't start another Claude), and GitHub crediting a noreply address.

Screenshots

At 1c69f94, in Chromium against cargo xtask dev, with main (012337e for Profile, 9587c2b for the project) against the same control plane as the before. This session can't attach images (#40), so in words:

Settings → Profile

  • Before, light and dark: the section reads "How you appear in sessions and to your team." and has first and last name, Avatar URL and Save.
  • After, light and dark: the description reads "How you appear in sessions, in commits and to your team." A "Commit email" field follows Avatar URL, styled like it, with the placeholder "None: commits don't credit you" and the hint "Commits in the sessions you start credit you as a co-author with this address, which anyone who can read the repository sees; a project can turn this off. Use one your GitHub account has, such as your noreply address, so GitHub links the commits to you." ("noreply address" links to github.com/settings/emails, underlined in the accent color).
  • The server's error: with dev@example saved, "Enter a valid email address" replaces the hint in the danger color, as the other fields' errors do.
  • Dark, 390 px, with an address saved: the fields stack, [email protected] fits the field, and the hint wraps.

The project's settings → Agents

  • Before, light and dark: three switches, "Open a pull request when done", "Remote Control" and "claude.ai connectors".
  • After, light and dark: two more switches below them, on by default and styled like them: "Credit people in commits" ("Commits name the person who started the session as a co-author, with the commit email in their profile.") and "Credit Claude in commits" ("Commits name Claude as a co-author, Claude Code's default. Off: they leave out its trailer and the claude.ai session link.").
  • Dark, 390 px, with Credit Claude in commits switched off and saved: that switch shows off, the text wraps beside each switch like the others', and "Settings saved" shows.

Session: https://app.fctl.sh/s/ses_01M56GAEEHP8WBMTPQ9ZY9VVA0

fctl-sh Bot and others added 4 commits October 18, 2026 04:11
People choose the address commits credit them with (PATCH /auth/me
commit_email); it is stored on the user row (migration 0008), returned
in Me only, not in User, which admins see, included in the data export
and cleared when the account is deleted.

The spec carries the starter, with that address, in a new field,
co_authored_by, only when they chose one. co_authors stays, empty:
older agents require it, and older control planes put the sign-in email
there, which no agent may publish.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
With people to credit, fctl-agent sets attribution.commit in Claude's
user settings: Claude's trailer, then one per person, each kept to one
line with one address. Claude Code's own trailer names the model, which
isn't known before Claude starts, so this one says Claude, as Claude
Code does when it can't tell the version. With nobody to credit, the
settings stay as they were. attribution.commit came with attribution.pr
in Claude Code 2.0.62, so it can't make Claude skip the file.

fake-claude ends the commit `write <name>` makes with attribution.commit
from ~/.claude/settings.json, so cargo xtask dev shows the trailers.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Profile gets a Commit email field that says what it does and who sees
it, and links GitHub's email settings for the noreply address. The CLI
gets `fctl account set --commit-email` ("" removes it; --json prints
Me), and `fctl whoami` shows the address.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
architecture.md (Sessions → Commits) and security.md (Commits, and
retention) say what commits carry and who sees it; cli.md,
getting-started.md and development.md show how to set the address.
ADR 0011 records the decision and the alternatives.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
main added 0008_claude_usage.sql (#58), which has shipped, so this
branch's migration becomes 0009_commit_email.sql. fake-claude's table of
behaviors keeps main's plan usage and this branch's commit trailers.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
fctl-sh Bot added a commit to hyperstructure/fctl-site that referenced this pull request Oct 18, 2026
Projects get a setting that keeps people's names and commit emails out
of their sessions' commits (hyperstructure/fctl#55).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
fctl-sh Bot and others added 2 commits October 18, 2026 11:26
A project setting, commit_credit (on by default), turns the starter's
Co-authored-by trailer off for the project's sessions: Credit people in
commits in the project's settings, or `fctl projects set --commit-credit
off`. The control plane then doesn't look up the commit email, so it
never reaches the sandbox, and commits credit Claude alone. An update
from a client that doesn't know the setting keeps the stored value, as
for claude_ai_connectors, so an older tab or CLI can't turn it back on.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A second project switch, Credit Claude in commits (credit_claude, on by
default), joins Credit people in commits, which commit_credit becomes
(credit_people; it never shipped). Off, fctl-agent leaves Claude's
trailer out of attribution.commit (the people's trailers, or nothing)
and sets attribution.sessionUrl to false, so Remote Control sessions add
no claude.ai link either. `fctl projects set` gets --credit-claude next
to --credit-people. Updates that leave either field out keep its stored
value.

fake-claude now ends commits as Claude Code does, with Claude's trailer
when attribution.commit is unset, so the dev stack shows every
combination.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
kalaspuff pushed a commit that referenced this pull request Oct 18, 2026
)

Every host built the default sandbox image itself with `fctl host image
build`, and its Claude Code stayed as old as that build, since fctl
turns off Claude Code's auto-updater. #2 asks for CI to publish the
image instead, for arm64 and amd64, under a stable name with version
tags and labels, rebuilt when Claude Code moves on, with a documented
layout that custom images (#16) can build `FROM`; hosts on the default
image pull the tag of their own version.

The image now lives in a public repository of its own,
[hyperstructure/sandbox](https://github.com/hyperstructure/sandbox) (set
up in hyperstructure/sandbox#1), which publishes it as
`ghcr.io/hyperstructure/sandbox`. This pull request makes hosts pull it
and takes the image out of this repository.

## What changed

**The image moves to hyperstructure/sandbox.** `images/agent` (the
Dockerfile, `provision.sh`, `check.sh`) and the Image workflow leave
this repository; hyperstructure/sandbox#1 adds them there, with a
README, AGENTS.md, skills, lint and title checks. Its Image workflow
keeps what this pull request had built: each architecture builds on a
native runner and is checked with `check.sh`, then both are tagged as
one image.

- `ghcr.io/hyperstructure/sandbox:<version>` for every fctl release,
plus `:<major>.<minor>` and `:latest` when that release is the newest
they cover. Each is the sandbox's `main` with that release of fctl and
the newest Claude Code.
- It looks for new fctl releases on fctl.sh every hour, rebuilds the
newest release's image as soon as a change to the image merges there,
and every day when Claude Code has a newer release or the image is a
week old. Only its `main` publishes; its pull requests build and check
both architectures.
- Labels and index annotations as before: `sh.fctl.version`,
`sh.fctl.claude-code.version`, and the commit and date it was built
from, which the workflow reads back to decide whether an image is
current.

The Release workflow no longer starts an image build: its token can't
start workflows in another repository, so the sandbox's hourly run
notices the release. Why a separate repository: [ADR
0012](docs/adr/0012-the-sandbox-image-lives-in-its-own-public-repository.md)
(the image has to be public, and it has a cadence of its own). It's 0012
because #55 adds 0011.

**Hosts: `crates/fctl-host`, `crates/fctl`**

- `image` in `host.toml` is optional. Unset, sessions start from
`ghcr.io/hyperstructure/sandbox:<the host's version>`, so upgrading a
host moves its new sessions to the new version's image.
`fctl-agent:latest`, which every host installed so far has in its
`host.toml`, also means the default, in `host.toml` and in project
settings.
- The daemon pulls the host's image in the background when it starts and
the image is missing. A session pulls a missing image itself. Nothing
pulls over an image that is already there, so a local build is kept.
- When the version's image can't be pulled (the hour between a release
and its image, or a development build), a session on the default image
starts from `:latest` and says so in its log. A failure that isn't about
the image (the image is there but `run` fails) no longer tries a pull.
- Apple's `container image pull` gets `--platform linux/<the host's
architecture>`. Without it, Apple's CLI downloads every platform of a
multi-arch image (`DefaultPlatform.resolve` in apple/container).
- `fctl host image build` downloads an archive of the sandbox's `main`
from GitHub and builds its Dockerfile with the host's driver, under the
host's image name so sessions use the build, or gives the Lima VM its
`provision.sh`. `--source DIR` builds from a checkout instead, to try
changes to the image with fctl. The binary no longer carries the files.
- CLI: `fctl host image pull` (new, `--json`) pulls the host's image
again, for a newer build of its tag. `install` says which image sessions
start from, `status` (and `--json`) shows it, `doctor` says whether it's
there, and `install --image ""` goes back to the default.
- A sandbox without fctl now says in its log that the default image has
one, instead of suggesting `fctl host image build`.

**Docs:** `docs/sandbox-images.md` (new) covers the image, its tags and
labels, how hosts get it, and its layout as an interface for images
built `FROM` it: the `agent` user (uid 1000, passwordless sudo),
`~/.local/bin`, `~/.cargo/bin`, `~/.bun/bin` and `/opt/fctl/bin` first
on the PATH, and the tools. It's the "Sandbox images" page #16 asks for,
which #16 can extend; the image's README in hyperstructure/sandbox lists
the versions. Getting started, the CLI, self-hosting, security,
architecture, development and the top-level README say that hosts pull
the image instead of building it. AGENTS.md lists hyperstructure/sandbox
among the other repositories (what the host relies on there, and that
its Rust follows `rust-toolchain.toml`), and the release and issues
skills point to it. The roadmap item is ticked.

**Web:** the runner dialog drops step 3 ("Build the sandbox image"), and
the project's image field shows `ghcr.io/hyperstructure/sandbox` as its
placeholder instead of `fctl-agent:latest`.

## For a person

0.3.0 shipped without this pull request, so the next release (0.4.0) is
the first whose hosts pull the image.

1. **Merge hyperstructure/sandbox#1.** Its Image workflow then publishes
`ghcr.io/hyperstructure/sandbox:0.3.0`, `:0.3` and `:latest` from the
sandbox's `main`, which creates the package.
2. **Make hyperstructure/sandbox public** and apply its settings: the
commands are in hyperstructure/sandbox#1.
3. **Make the package public**: the organization's Packages → sandbox →
Package settings → Change visibility. A package starts private even when
its repository is public, and hosts pull without signing in. The
organization's settings must allow public packages. Until then, sessions
on hosts of 0.4.0 fail with "ghcr.io/hyperstructure/sandbox:0.4.0 is not
on this host and can't be pulled (`fctl host image build` builds it
here)".
4. **Merge this pull request**, then hyperstructure/fctl-site#7 once
fctl's CI has pinned fctl.sh past it (`gh pr update-branch 7 -R
hyperstructure/fctl-site`).

## Compatibility

- No protocol or control-plane change. `HostHello.image`, already
optional, now carries the image the host actually uses. Hosts pick up
the new behavior with the release that includes it; hosts of 0.3.0 and
earlier keep building `fctl-agent:latest` from the files in their
binary.
- `image = "fctl-agent:latest"` in `host.toml` now means the published
image. A host that ran a modified image under that name should rename it
and set `image`, or rebuild it with `fctl host image build`, which tags
it with the default name.
- `fctl host image build` needs to reach github.com, as its build
already needed Debian's mirrors and the tools' installers.
- Hosts keep the images of earlier versions until someone removes them
(`docker image rm …`), as they kept the images `fctl host image build`
replaced. Removing them automatically, and refreshing a tag when its
image is rebuilt, is #47.

## Verification

- **The sandbox's Image workflow** ran on hyperstructure/sandbox#1: both
architectures built natively (amd64 in 2m56s, arm64 in 2m20s) and
`check.sh` passed in each with fctl 0.3.0 and Claude Code 2.1.302
([run](https://github.com/hyperstructure/sandbox/actions/runs/39123588178)).
Its lint (ShellCheck, actionlint) and title checks pass too.
- **Its planning step**, run locally against stubbed fctl.sh,
downloads.claude.ai and registry responses, decides correctly in 19
cases: a pull request; hourly with no image (build), a current image
with an older Claude Code (skip: hourly runs ignore Claude Code), an
image built from the last change to the image (skip) and one from before
it (build), an index without annotations (build); daily with an older
Claude Code or a week-old image (build) and a current one (skip); a push
after a change (build); dispatches of 0.2.0 (no `:0.2`: 0.2.1 exists),
v0.2.1 (`:0.2`), a current image with an older Claude Code (build), a
forced rebuild, another branch (build without publishing), a version
fctl.sh doesn't have and a malformed one (errors); and odd answers from
fctl.sh and downloads.claude.ai (errors).
- **`fctl host image build`** with a stand-in `docker`: `--source` with
a checkout builds it with `FCTL_VERSION=0.3.0` and
`FCTL_DOWNLOAD=https://fctl.sh/releases`. The download path, pointed at
a `git archive` of the sandbox served locally (GitHub's format, with its
pax header), unpacks it, builds `…/sandbox-main` and removes the
temporary directory; pointed at a real GitHub archive of a public
repository, it follows the redirect, unpacks it and says the result has
no `provision.sh`; against the real URL while the repository is still
private, it fails with HTTP 404. Unit tests cover unpacking a
GitHub-style archive and refusing a checkout without `provision.sh`.
- **End to end with the stand-in:** an old `host.toml` with
`fctl-agent:latest` resolves to `ghcr.io/hyperstructure/sandbox:0.3.0`
in `status` and `status --json`; `doctor` reports it "not here yet",
then ✓ after `fctl host image pull --json`.
- **Unit tests:** the config tests cover unset, empty and old-default
images, a custom image and saving. The driver tests use a stand-in
`docker`/`container` CLI with an image store and a registry: an image
already there, a pull, Apple's `--platform`, falling back to `:latest`,
both images missing (with and without a fallback), and a `run` failure
that isn't about the image.
- `cargo xtask check --quick` passes locally on the move and on the
merges with `main` (#48, #50, #52, then #54, #57, #58), and CI's full
`cargo xtask check` passes. The merge with #57 keeps its startup retry
loop and starts the background pull once the runtime answers; a `run`
that times out under #57's limits now fails at once instead of being
taken for a missing image and trying a pull.
- hyperstructure/fctl-site#7, with its `main` merged, builds against
this branch's docs: 8 pages, Sandbox images among them, linking to
hyperstructure/sandbox.
- Earlier on this pull request, before the move: the publish step's
commands against a local registry (one OCI index for both architectures
that all three tags point to, with the annotations) and `fctl host
install --driver docker` with a stand-in, which writes no `image` and
says which image sessions start from.
- **Not verified here:** pushing to GHCR with the sandbox workflow's
token, creating the package and its visibility. They need `packages:
write` on the sandbox's `main`, so merging hyperstructure/sandbox#1 is
their test, well before a release depends on them.

## Screenshots

Sessions can't attach screenshots yet (#40), so here is what they show.
Taken at 7771600 with Playwright against `cargo xtask dev` (before:
`main` from a worktree), in both themes and at 390 px:

- **Runner dialog, "Bring studio mac online":** before, three numbered
steps: 1. Install fctl, 2. Register it as a runner and start the
service, 3. Build the sandbox image (once, a few minutes) with `fctl
host image build`. After, steps 1 and 2 only, and the note under them
reads "It shows up here as online within seconds and pulls the sandbox
image in the background. With Lima, prepare the base VM once with `fctl
host image build`. `fctl host doctor` checks everything, including
whether the Mac is set to never sleep." Both themes and the phone width
wrap cleanly.
- **Project → Settings → Sandbox:** the Image field's placeholder reads
`ghcr.io/hyperstructure/sandbox` (at 7771600 it read
`ghcr.io/hyperstructure/fctl-agent`; `main` has `fctl-agent:latest`).
Nothing else in the section changes. The move changed only this
placeholder's text, which wasn't screenshotted again.

Refs #2

Sessions: https://app.fctl.sh/s/ses_01M56C4589JCHJ2W8TXC8V2S4P,
https://app.fctl.sh/s/ses_01M56FZDD6WY8J56E3TA0SEMZX for merging #45 and
v0.3.0, and https://app.fctl.sh/s/ses_01M57B991V0YYBRJFN0WKEW118 for
moving the image to hyperstructure/sandbox

---------

Co-authored-by: fctl-sh[bot] <fctl-sh[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <[email protected]>
kalaspuff pushed a commit to hyperstructure/fctl-site that referenced this pull request Oct 18, 2026
)

app.fctl.sh will let people choose a commit email in Settings → Profile
(hyperstructure/fctl#55, for hyperstructure/fctl#15). The commits in the
sessions they start then end with a `Co-authored-by` trailer that has
their name and that address: everyone who can read the repository sees
it, and GitHub uses it to link the commits to their account. That
changes what app.fctl.sh stores and who receives it, so the privacy
policy says so:

- **What we collect → Your account**: the commit email, if you set one.
- **Why we use it**: crediting you in commits when you set a commit
email (contract, with the rest of running the service).
- **Who else receives it → GitHub**: the `Co-authored-by` line, that a
project's maintainers can turn it off, who sees it (everyone, for a
public repository), and what GitHub does with it.
- **How long we keep it**: until you remove it or delete your account.
Commits already made keep it; they are part of the repository's history,
which its owners control.
- **Your rights → Correct it**: Profile is where to change it.

`updated` already says 2026-10-18.

**Merge this when hyperstructure/fctl#55 ships** (its release redeploys
app.fctl.sh), so the policy and the app change together. It is opt-in:
no address reaches a commit until someone sets one.

Refs hyperstructure/fctl#15

## Verification

Rendered `legal/privacy.md` with the site's `scripts/markdown.mjs`: the
four changed passages come out as list items and a table row as
expected.

## Also noticed, not changed here

"What we collect → GitHub" says agents "work with short-lived tokens
limited to one repository per session". Since projects can span several
repositories (fctl 0.2, hyperstructure/fctl#36), a session's tokens
cover the project's repositories, or every repository of an account when
the project grants that. That sentence needs its own change.

Session: https://app.fctl.sh/s/ses_01M56GAEEHP8WBMTPQ9ZY9VVA0

---------

Co-authored-by: fctl-sh[bot] <343971779+fctl-sh[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: fctl-sh[bot] <fctl-sh[bot]@users.noreply.github.com>
main added ADR 0012 (#39) and left 0011 for this branch's record.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kalaspuff
kalaspuff merged commit 69b4a36 into main Oct 18, 2026
5 checks passed
@kalaspuff
kalaspuff deleted the fctl/22-look-into-https-github-com-hyperstructur branch October 18, 2026 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant