Skip to content
sunlightlinuxPublic

About

Documentation for Sunlight Linux: requirements, specs, plans, the known-good configuration, how AI agents are used, and findings — bugs, fixes and what hid them. Markdown only; template sections, links and pinning checked in CI.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

sldocs

check docs License: Apache-2.0

Part of Sunlight Linux · slinit · slpam · slinstaller · slkernel · slpkgs · sldocs · slmanifests

Documentation for Sunlight Linux: what the system must do, how it is specified, what is planned, the configuration known to work, and what was learned when things went wrong.

Plain Markdown with no code, build or tests, checked out at docs/ by the repo manifest in a default repo sync, so the documents sit beside the code they describe.

Project Details
Covers slinit, slpam, slinstaller and slkernel; each document names the releases it was checked against, so this page does not (first content: 2026-11-28)
Contents Six document kinds, one directory each: requirements, specs, plans, config, ai, findings (see Layout)
Checks check-docs CI: template sections, status lines, relative links, pinned links and no typographic quotes, offline on every push to main; the same plus a check, through the GitHub API, that every github.com/sunlightlinux link exists, on pull requests and weekly
Not checked Whether a claim is true: the script checks form, links and pinning, the reviewer reads the evidence
Requires Nothing to read it; bash to run .github/scripts/check-docs.sh
License Apache 2.0 (LICENSE)

Each document states its own status in its first lines; this page does not repeat them, so it cannot disagree with them. Large parts of the system are not yet documented here. Where a document could not establish something (whether a kernel tag was boot-tested, display-manager logins), it says so rather than guessing.

Deliberately out of scope: a mirror of code comments (explanations that belong beside the code stay there), a changelog (git log holds that), and findings about defects that have not yet shipped a fix.

New here? Start with the Index and pick your project's row: its specs entry says how the thing works, its requirements entries say what it must do. Read the Conventions before trusting a citation marked (working notes).

Layout

Directory Holds
requirements/ What the system must do, and for whom. Stated so that a reader can tell whether it is met.
specs/ How a requirement is met — interfaces, formats, protocols, state machines.
plans/ What is being done next and in what order, including release planning.
config/ The known-good distribution configuration — kernel config, package sets, service trees, and the reasoning behind the choices.
ai/ How AI agents are used on this codebase: what they are given, what they are trusted to do alone, and what they must not do.
findings/ One document per investigation: the bug, the fix, and what was learned.

Index

requirements specs plans config findings
slinit task limits, signals, LTS fixes only service manager 4.0 LTS and 4.1 10 findings
slpam login without elogind login sessions over login1 dropping elogind 4 findings
slinstaller boots slinit, Sunlight mirror install pipeline 4 findings
slkernel release tags kernel config
distribution pro audio/video and enterprise server

Findings

Each finding records why the defect was not caught earlier; the fix is in a released tag, named in its header.

slinit

slpam

slinstaller

Across projects: open work; how agents work here and what went wrong.

Why findings/ is one directory and not three

An earlier layout had separate directories for bugs, fixes and discoveries. They are not separate things.

The soft-reboot state-loss defect is the example. One cause — injected flags appended where argument parsing never reached them — produced four symptoms, took four wrong hypotheses to find, and the most valuable output was neither the bug nor the patch but a set of transferable lessons: that the development VM was the only environment where the defect could not appear, and that quiet on the kernel command line silences the diagnostics you would reach for.

Split across three directories, that is three stubs and two cross-references. As one document it is a thing someone can read.

Splitting later is a git mv if this turns out wrong.

Conventions

  • Markdown, one topic per file, named for the topic rather than a date or a ticket number.
  • Working notes are private notes kept by the maintainer and by agents. They are not public and cannot be checked by a reader. Documents cite them only where nothing public records the fact, and mark each such claim (working notes).
  • Everything else a document must do — checkable claims, an honest status, evidence beside each number, one source per fact — is in CONTRIBUTING.md.

Contributing

Contributions are Markdown. CONTRIBUTING.md says where a document goes and what makes one worth having; run .github/scripts/check-docs.sh (add --external to fetch every GitHub link) before opening a pull request. Vulnerabilities in the system itself go to the repository that holds the code; see SECURITY.md. LLM-assisted work follows CLAUDE.md.

License

Apache License 2.0; see LICENSE.

About

Documentation for Sunlight Linux: requirements, specs, plans, the known-good configuration, how AI agents are used, and findings — bugs, fixes and what hid them. Markdown only; template sections, links and pinning checked in CI.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors