Skip to content

docs: the NebulaOS end-user manual, coverage dashboard and documentation tooling - #3

Merged
coreflake1 merged 110 commits into
mainfrom
docs/agent
Nov 12, 2026
Merged

coreflake1 merged 110 commits into
mainfrom
docs/agent

Conversation

@coreflake1

@coreflake1 coreflake1 commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator

The complete NebulaOS documentation project: the end-user manual, the coverage inventory behind every developer reference, and the tooling that generates them.

Documentation only. No production code, test or configuration is touched in any repository.

What is here

wiki/ The end-user manual — 31 pages, no stubs, 42 real screenshots. Published to the GitHub wiki by the owner on 2026-11-03
documentation/agent/ The coverage inventory (551 items), the generated dashboard, the verification policy, the decision log, and 11 extraction tools
README.md The project map — now links the manual and every component reference, which it did not before

Status: documentation prepared with outstanding verification

That is the mission's own term, and the honest one. documentation/agent/FINAL-REPORT.md answers the Definition of Done condition by condition.

Discovered items 551
Documented 542 (98%)
Draft, each with a recorded reason 9
Missing 0
Code-verified 551
Test-verified 47
Hardware-verified 0 — no printer access, by design

Those are four separate claims and the dashboard never merges them. 98% documented does not mean 98% proven to work.

Companion pull requests

One per repository: firmware #5, extensions #3, nebulascreen #6, kernel #2, klipper-mcu #1, packages #2, lv_drivers #1.

What is genuinely outstanding

  1. Hardware verification — 0, and it stays 0 here. Three behaviours are recorded as reported-by-owner rather than verified.
  2. Nine API endpoints do not resolve their response keys — a limit of static analysis, with the reason recorded per endpoint.
  3. Fifteen screenshots need a printer or a new simulator tour step. Every affected page says so.
  4. Example response values: 3 endpoints, 5 pairs — measured, not estimated.

The temptation this project kept refusing

Several times the fastest way to raise the headline was to write something plausible: a response example composed from an endpoint's name, a configuration purpose inferred from an option name, a caption pointed at a near-enough screenshot. Each would have read better than the gap it replaced and been unfalsifiable by the reader.

The inventory records the gaps instead, and the dashboard counts them.

Four of this project's own tooling bugs are recorded in the final report for the same reason — none of them failed or turned a check red. Each was caught by a number that was implausible on its face, or by a second count derived independently.

Refreshed 2026-11-10, against the 1.0.2 release

NebulaOS 1.0.2 (published 2026-11-09) is the first and only end-user release - 1.0.0, 1.0.1
and their tags were deleted - so there is no version history anywhere in the manual, and the
inventory stopped claiming one.

  • Seven items the inventory did not have, each found by counting a generated page against
    the inventory rather than by re-reading either: the boot service S03nebulaos-blackbox, the
    runtime helper nebulaos-blackbox, the two overlay files that are not executables and so
    appear in no generated list (91-nebulaos-freeze.conf, 60-nebulaos-no-sleep.rules), and
    three z_compensate options the extensions configuration page lists. 553 → 560 items.
  • release_applicability re-expressed on 522 items. It named 1.0.0, 1.0.1 and 0.9.0. Every
    item's source paths were checked to exist at its repository's 1.0.2 pin before relabelling,
    so the new label is verified rather than renamed - all of them did.
  • A new field, reverified_at, with its own dashboard table. source_commit is where an
    item was discovered and has to keep that meaning, or a rise in the inventory stops being
    traceable to the sweep that found it. 424 of 560 items carry a re-verification stamp; the rest
    say so rather than implying freshness.
  • One count fixed by counting twice: the firmware reference index said 49 endpoints resolve
    their result keys where the generated page computes 9 unresolved of 59. A per-section count
    confirms 50. The computed sentence was right; the typed index was wrong.
  • STATUS.md rewritten from 703 lines to 80. It had become a changelog again, and a status
    file's oldest paragraph is the first thing a reader sees: it still listed seven blockers
    (four), a source table pinned at firmware 832314d, and a "Next" list finished a week ago.
  • The 1.0.2 screenshot retake list is at the end of SCREENSHOTS.md. Captions were made
    version-neutral, but a caption cannot fix a number printed inside the picture: eleven embedded
    images do. r-system.png is first, and it is wrong twice - it also shows Kernel 6.6.157-rt79, while the 1.0.2 kernel pin contains the commit that removed localversion-rt.
    Taking them needs a printer, so they are listed for the owner, not claimed as done.

Link checker clean: 53 pages, 11 moved-page stubs, anchors included. Worth recording what it
cannot do - an unpublished GitHub wiki URL answers 200, so checking wiki links with curl
proves nothing; repository and blob URLs 404 properly and were checked (71, all live).

The five component PRs were refreshed the same day and each carries its own dated section.


Developer wikis, and one claim retracted (2026-11-12)

The developer documentation moved out of docs/ folders and into a top-level wiki/ directory
in each component repository, in the shape this repository's manual already uses - firmware 16
pages, kernel 8, extensions 8, mcu 7, packages 6, lv_drivers 6, nebulascreen checked only. That
work is in those repositories' own PRs; this one carries the central half.

The generators follow the pages. The extensions generators emit wiki page names and wiki
links, so a regeneration produces Commands.md / Configuration.md / Commands-Detail.md /
Modules.md. The runtime-helper generator no longer counts documentation as a caller - a page
naming a helper is not a caller - and with docs/ and wiki/ excluded,
/etc/profile.d/nebulaos-prompt.sh shows up honestly as referenced by nothing in the firmware
repository: it is sourced by a login shell.

The inventory follows them too: 425 doc_page values and seven evidence strings remapped,
the firmware's five ARCHITECTURE.md rows sent to the split page each item actually belongs to.
Counts unchanged - 560 items, 552 documented, 8 draft, 0 missing - because this is a change of
where a page lives, not of what is known.

And one of this PR's own claims is retracted. wiki/Under-the-Hood.md and README.md said
a release is "built twice on separate machines with the two results required to be
byte-identical". Separate machines is not established anywhere in the firmware repository, and
the downloadable .img cannot be byte-identical: Creality's envelope is an encrypted 7z
with a fresh random AES IV, and scripts/package/check-packaging-reproducibility.sh records
exactly that - IMG_BYTE_IDENTICAL=NO, IMG_BYTE_IDENTICAL_REASON=encrypted-7z-random-aes-iv,
IMG_CONTENT_IDENTICAL=YES. Both pages now say what the check actually requires: two builds,
kernel and root filesystem byte for byte, and the download compared by contents. The entry is in
BLOCKERS.md beside the discrepancies found in other people's files.

FOR-THE-OWNER-1.0.2.md has a new developer wikis section: per-repo page counts, the docs/
decision for each repository, and the two things worth reading before merging.

Follow-up the same day: the reproducibility sentence, finally with evidence

The retraction above went through two more versions before it was right, which is recorded in
STATUS-LOG.md because the mistake repeated itself: "built twice on separate machines" became
"built twice on GitHub" on a second-hand answer, and that was the same error - a statement
about process taken from a person rather than read from an artifact.

What the pages say now, after firmware d464b46 made it a measurement: 1.0.2 built twice from
the same source produced the same kernel and the same root filesystem, byte for byte
. Checkable
by a stranger, which is the point: those two hashes (xImage 14a47aa8…, rootfs.squashfs
df65c724…) are XIMAGE_SHA256 and ROOTFS_SQUASHFS_SHA256 in the release's own published
release-manifest.txt, downloaded from the v1.0.2 release to compare rather than quoted from the
firmware's record.

No location is claimed anywhere - a release workflow exists but did not build 1.0.2 - and the
.img still cannot be compared byte for byte at all (encrypted 7z, fresh random AES IV), so it
is compared by its contents. VERIFICATION.md carries the evidence table, BLOCKERS.md closes
the two firmware-document discrepancies with d464b46 as their outcome.

Also here: Troubleshooting now names the Z-offset fix as Klipper extensions 1.0.1
(6532091 on main), with the caveat that production - the branch Moonraker's update manager
follows - is still 178a0c2, so no printer has it yet.

🤖 Generated with Claude Code

coreflake1 and others added 26 commits October 31, 2026 21:46
… inventory

Sets up the long-running documentation session's own bookkeeping in
documentation/agent/ and runs the first mechanical discovery pass over the
NebulaOS source trees.

What is here:

- MISSION.md and RULES.md stored verbatim, so a fresh session can recover the
  assignment without depending on any conversation history.
- coverage.jsonl: 175 discovered documentation items, each recorded against the
  exact commit it was found at - 8 repository references, 10 end-user manual
  sections, 49 NebulaScreen panels, 41 registered G-code commands, 42 Klipper
  extension modules and 35 firmware boot services.
- tools/seed_inventory.py rediscovers items from source and preserves statuses
  already recorded, so re-running it can add work but never silently mark
  anything done.
- tools/render_dashboard.py generates COVERAGE.md from the inventory. No
  percentage in this repository is typed by hand.
- VERIFICATION.md separates code, test and hardware verification and states
  plainly that this session has no printer access, so hardware verification
  cannot be claimed here.
- STATUS.md, QUEUE.md, BLOCKERS.md, SCREENSHOTS.md, DECISIONS.md, HANDOFF.md.

Every one of the 175 items is currently "missing", which is the honest starting
position - no documentation pages have been written yet.

Two findings worth recording early: NebulaOS is not a Klipper fork (host Klipper
is pristine upstream at 58bd67d, with custom behaviour in loadable extras/
modules), and the firmware manifest pins the extensions to branch production at
31d6d65 while main is at 8e3447a - the one place where development is ahead of
what ships, so extension pages must label development-only behaviour.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Phase 1 continues. Inventory grows from 175 to 355 items.

G-code commands (Q-001). A literal-string scan of register_command sees only 43
of them; 8 more are registered under names assembled from module constants and
were invisible. Each was resolved by reading the module, and seed_inventory.py
now records the constant next to the name so the mapping can be re-checked
instead of trusted. Real total: 51.

Configuration (Q-002). 152 Klipper extension options with their declared types,
and 20 NebulaScreen settings.

The correction is the part worth reading. The first pass at NebulaScreen
configuration swept the UI source for every _json_pointer literal and produced
104 "settings". Most were not settings - they were pointers into Moonraker
response and printer status objects: /sg_result, /layer_count,
/commits_behind_count, /toff. That would have put roughly 85 configuration
options into the inventory that do not exist, and the dashboard would have
looked busier while being less true. Discovery is now scoped to what is actually
a setting: keys the config schema touches in src/config.cpp and src/config.h
where defaults are applied, plus keys any panel reads or writes through the
Config object. Writes count as well as reads - a toggle the UI stores is a
setting. That yields 20, including /input_shaper_graphs which only a
Config::get_instance() call site revealed.

Those status-object pointers are real and do need documenting. They are an API
inventory, not a configuration one, and Q-003 will discover them as such.

Also corrected: an earlier draft claimed 42 extension modules. There are 30
modules and 31 test files. Both numbers now come from the inventory rather than
from a hand count.

Recorded for the command reference: nebulaos_bed_soak.py replaces upstream
Klipper's SET_PIN and nebulaos_z_adjust.py deregisters and replaces
Z_OFFSET_APPLY_PROBE. Both are modified upstream behaviour, not NebulaOS
inventions, and must be attributed that way.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…ure gap

Revises decision D-002. The earlier version read the gap between the manifest's
extensions pin (production @31d6d65) and main (@8e3447a) as grounds for labelling
extension behaviour "development only". Checking the diff instead of the SHAs:

  git diff --name-status origin/production origin/main
  A  .github/workflows/tests.yml
  M  README.md
  A  scripts/ci-tests.sh

Three files, 96 insertions, nothing under extras/. The branches are identical in
runtime code, so every documented extension behaviour is shipped behaviour and
none of it warrants a development-only warning. Pages carry a footnote with the
pin SHA instead.

The mistake was reasoning from the existence of a gap rather than its contents,
and it would have been costly in a user-facing way: a warning banner on correct
pages teaches readers to distrust documentation that is in fact accurate. The
rule recorded for next time is that a pin gap is a question, not an answer - diff
it before labelling anything.

The foreground session flagged this; the diff above is this agent's own check,
not a relayed claim.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Inventory 355 -> 429. The find here is that NebulaOS has a real, deliberate
public API surface rather than ad-hoc UI plumbing: 56 Moonraker endpoints under
machine.nebulaos.*, served by a component shipped in the firmware overlay at
scripts/build/overlay/usr/lib/nebulaos/moonraker/nebulaos.py, plus the
nebulaos:settings_changed notification and the 17 nebulaos_osconfig helper
modules behind them.

The end-to-end chain, which is the cross-repository flow the mission asks to be
documented:

  NebulaScreen panel
    -> Moonraker JSON-RPC machine.nebulaos.*
    -> nebulaos.py, inside Moonraker's own process (no second daemon)
    -> /usr/libexec/nebulaos/nebulaos-osconfig (argv in, one JSON object out,
       validated, atomic)
    -> nebulaos_osconfig/*.py

The component is composed into the Moonraker checkout by S05nebulaos-activate as
an excluded symlink - the same mechanism used for the Klipper extras - and is
configured by [nebulaos] in /etc/nebulaos/moonraker/nebulaos.conf. Without that
file Moonraker runs without it, which is the difference between a printer that
shows OS settings and one that does not.

Inventoried from the server-side registration table rather than from the UI's
call sites, then the two were compared. All 54 methods NebulaScreen calls are
served, so no page will describe a method that does not exist. Two endpoints are
served but never called by the shipped UI - ota.discard and
system.notify_refused. They are still public API and will be documented as such.
Discovering from call sites would have missed both, which is the argument for
taking the server side as authoritative.

One extractor bug fixed on the way: the path character class [a-z_/]+ silently
dropped /machine/nebulaos/network/ipv4 because "ipv4" contains a digit, giving 55
endpoints instead of 56. Caught by counting every /machine/nebulaos/ path literal
in the file and comparing against the table.

That is two discovery bugs in three slices, both mis-sizing the inventory without
announcing it. Recorded in HANDOFF.md as a standing habit: every extractor gets a
second, independent count before its output is trusted.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Inventory 429 -> 510, and Phase 1 is substantially complete.

- 14 build pipeline scripts in scripts/build/, a numbered sequence from
  00-fetch-vendor-sources.sh to 06-verify.sh plus packaging, SBOM and baseline
  gates. The order is the architecture, which makes it pleasant to document.
- 11 tool sets in tools/: attestation, eMMC layout, hardware agent, hardware
  capability probes, qualification, USB recovery, release records, SDK export,
  workspace control.
- 56 runtime helpers shipped in the overlay outside init.d: update supervisor,
  slot swap, clean reset, OTA markers, network and Wi-Fi apply, camera seeding,
  display sleep/wake, memory guard, health check. With the 35 boot services and
  the ota.* / image.* / updates.* API groups, this is the source material for the
  update, rollback and recovery documentation (Q-005).

The interesting part is a filter that would have been wrong. Five overlay
executables have ordinary system names - passwd, sudo, supervisorctl,
sftp-server, git - and the obvious move was to drop them as vendor noise. Every
one is NebulaOS-authored. usr/bin/sudo describes itself as a "NebulaOS sudo
ADAPTER - not sudo". supervisorctl is a deliberate fake so Moonraker believes a
supervisor exists and can list services. passwd redirects to nebulaos-passwd
because the image's /etc/shadow is read-only and the real one is in persistent
storage. sftp-server opens SFTP in /opt/printer_data instead of root's empty
read-only home. git is a wrapper placed first on Moonraker's PATH so
update_manager's calls go through it.

These are among the most surprising things in the image and all five would
mislead a developer assuming standard behaviour. They stay in the inventory, with
the reasoning recorded in the seeder so they are not "cleaned up" later.

Counts verified independently per the standing rule, and in agreement: 14 build
scripts, 56 overlay executables, 11 tool sets by shell count and by inventory
count alike. That rule has now caught over-collection, under-collection, and a
wrong exclusion - once each.

Next is Q-006, the reuse audit of the existing 34 wiki pages, and then Phase 2
writing. Discovery stops here: the mission's deliverable is pages, and the two
remaining follow-ups are additive.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
All 34 pages in NebulaOS-nebulascreen/wiki/ now have a disposition, recorded in
coverage.jsonl and written up in REUSE-AUDIT.md: 15 move to the central manual,
1 adapts, 16 stay as developer material, 2 are historical signposts. Inventory
510 -> 544.

The finding that matters is that this wiki is good and should be reused rather
than replaced. Installing-NebulaOS.md names the exact failure string a renamed
image produces, flags a harmless error that would otherwise frighten a user, and
warns to reboot with `reboot` rather than a power cycle because a stock system
starting from power-on can flash old firmware into the mainboard. That last one
is a real bricking risk that no amount of code reading would have produced. Phase
2 is therefore more relocation and reconciliation than authoring, except for
sections 01, 03 and 06, which have no existing equivalent.

Two problems found.

First, Installation.md and Installing-NebulaOS.md are a trap: nearly identical
names, completely different audiences. One is the end-user guide to flashing the
printer; the other is a developer page about where the app's files live. A user
hunting for install instructions has a coin-flip chance of landing on a table of
read-only filesystem paths. Proposed fix is to retitle the component page to say
what it is, in the same PR as the migration, for the owner to accept or decline.

Second, and more serious: Installing-NebulaOS.md states that the path through
Creality's touchscreen is not tested yet. That untested path is the one most
first-time users will take, since most arrive from stock firmware rather than
OpenKE. The caveat is preserved verbatim and carried into the manual with the
same prominence, and is now BLOCKERS.md B-003 - hardware verification only the
owner can supply.

It is worth being explicit about why that caveat is protected. Dropping a line
like it when relocating a page is tempting, because it makes the documentation
look weaker. Here it would be the most harmful single edit available in the whole
migration: a promise of a tested procedure for the most common installation
route, on the one operation where being wrong can brick a mainboard.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The previous commit (c197d2f) described recording blocker B-003 and completing
Q-006 in the queue. It did neither. A path mistake in the render_dashboard.py
invocation made it exit non-zero, which short-circuited the `&&` chain it was
joined to, so the BLOCKERS.md, QUEUE.md and HANDOFF.md edits never ran. The
commit went through anyway, because `git add -A` does not care whether the work
it is staging happened.

The result was the exact failure the mission warns about in 8.5: COVERAGE.md
reporting 510 items while coverage.jsonl held 544, and a commit message
describing a blocker that was not written down anywhere.

This commit does the work that message described:

- BLOCKERS.md B-003, the untested Creality-touchscreen install path.
- QUEUE.md marks Q-006 done with its findings.
- HANDOFF.md carries the 544 count, the Q-006 result, the B-003 warning for
  whoever writes the install page, and the next actions pointing at the first
  writing batch.
- COVERAGE.md regenerated, now agreeing with the inventory at 544.

Two rules recorded in HANDOFF.md so this does not recur: never chain the
dashboard render and the state updates with `&&`, and verify that the files say
what the commit message claims before committing. A commit message is a claim
like any other, and this one was false for about four minutes.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…safety

Phase 2 begins. The central NebulaOS repository now has a wiki/ with 23 pages:
6 real ones and 17 honest stubs.

Written:

- Home.md, routing by task rather than by component.
- _Sidebar.md, navigation across all ten mission sections.
- Safety-First.md, led by the hazard that can permanently damage a printer: a
  stock Creality power-on can write old firmware back into the mainboard.
- Installing-NebulaOS.md, both routes, in the mission's procedure format.
- Recovery.md, all four ways back, least drastic first, with the one option that
  erases everything clearly marked.
- Going-Back.md, returning to stock or OpenKE.

Verified rather than copied. The existing wiki said the automatic trial fallback
waits "about 5 minutes" and gives up after "three times". Both are correct -
TRIAL_SECONDS = 300 and TRIAL_ATTEMPTS = 3 in nebulaos_osconfig/image.py at
firmware 82e1320 - but that was established by reading the source. Two accurate
documents agreeing with each other is not evidence. Also confirmed: both firmware
docs the recovery page links to exist, swap_slot is a real API method, and
usb-set-boot-slot.sh is where the page says it is.

The untested stock-touchscreen install route gets its own "How much of this is
tested" section near the top of the install page, with a table of which route is
tested and which is not. A reader deciding whether to flash their printer needs
that before the steps, not as a footnote after them.

Two new tools:

- check_links.py gates broken links, missing images and pages unreachable from
  the sidebar. Its docstring states what it cannot prove - that a page says
  anything true, or that a screenshot shows the screen it claims to - because a
  green check otherwise invites the reader to assume more than it earned.
- set_status.py changes inventory statuses one id at a time, so a status change
  is deliberate and visible rather than a hand edit to JSONL where a typo is not.

On the stubs (D-007): a full sidebar immediately produced 17 links to pages that
do not exist. Broken links were not an option in a safety-critical manual, and
trimming the sidebar would have hidden the manual's shape and made the gaps
invisible. So each unwritten page exists and says so, and the 11 whose topics are
already covered well in the NebulaScreen wiki link straight there. A stub is not
documentation and is not counted as such: those items stay missing, and the
dashboard reports 4 documented of 544, which is the truth.

Recorded as the next real risk: 59 items require a screenshot and none exist.
Whether the SDL simulator can supply them decides if that is solvable without a
printer, and it should be answered soon rather than at the end.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…cident

f2adec2 staged documentation/agent/.commitmsg along with the real work, because
the message was written to a file to work around a transient sandbox failure and
then `git add -A` picked it up before it could be deleted. It is scratch, not
state: the commit message it holds is already in the history where it belongs.

Removed, and the path is gitignored so the workaround cannot leave litter again.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The handoff still said no pull requests were open. The first batch is now PR #3,
and later batches continue on the same branch rather than opening new ones.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…icture

Two open risks addressed with evidence instead of estimates.

Test verification (Q-051). Ran the Klipper extensions suite in a dedicated
worktree at 8e3447a: 29 of 31 suites, 899 individual tests, all passing. The two
excluded suites import real Klipper modules and need the pinned checkout composed
in, exactly as the repository's own scripts/ci-tests.sh documents - they are a
different run, not failures. verify_test is now "verified" on 21 extension
modules, each citing its specific test file and the run date. Nine modules have no
test of their own and honestly stay unknown.

Two of my own bugs nearly turned that into a false finding, and both are written
up in VERIFICATION.md because either would have been easy to report as a result:

- The first run said 29 of 29 suites were FAILING. Entirely a detection bug:
  unittest colours its "OK" line when it has a TTY, so grep '^OK' never matched.
  Nothing was wrong with the code. Trusting that output would have produced a
  confident blocker against a healthy test suite.
- unittest discover reports 42 errors here, which are rootdir artifacts.
  test_tmcstatus fails under discovery and passes perfectly as a module. Run
  per-module, the way the project's CI does.

Screenshots (Q-020, partly answered). Better and worse than expected.

Better: 26 real screenshots already exist in wiki/images/, and the simulator has
purpose-built sim_* hooks for driving panels to a given state - sim_tap_row,
sim_keypad, sim_type, sim_open_graph, sim_running - which is exactly what
reproducible capture needs. SDL2, make, g++ and cmake are all present.

Worse: none of it is usable yet. The 26 images were captured 2026-07-01, four
months before the commit this manual documents, and four months of UI development
is long enough for labels and layouts to move. The mission's condition for reusing
an image is confirming it matches the documented version, and that needs the UI
running. So they are recorded as 22 candidates, not as coverage. A separate set of
13 images in screenshots/ dates to 2025-08-20, predates the NebulaScreen rename,
and shows the upstream GuppyScreen app - using those would misattribute upstream
UI to NebulaOS. The simulator build is blocked only on four declared-but-empty
submodules.

A dashboard bug that this exposed, and the fix. Marking 22 panels
candidate-unconfirmed made them vanish from the screenshot table - 59 required,
37 reported, 22 silently gone, because the renderer only knew six status values.
For a dashboard whose whole purpose is stopping gaps from hiding, that is the
worst bug available. render_dashboard.py now self-checks: if the screenshot rows
do not sum to the required total it writes a warning into the dashboard itself,
naming the unreported status values. A dashboard that can quietly fail to add up
is not worth having.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The screenshot problem is solved. NebulaScreen has a built-in screenshot tour -
GUPPY_SIM_SHOTS=<dir> walks every page and state, writes each as a PPM from the
LVGL framebuffer, and exits. It needs no display server, so it runs headless.
That produced 129 captures at 480x272, the KE's real panel resolution, from
commit 94869f7 - the exact commit this manual documents.

The coverage is better than a panel count suggests, because the tour captures
states rather than screens: confirmations, refusals, in-progress, failed,
rolled-back, and step-by-step calibration sequences. That is the per-workflow
coverage the mission asks for instead of one image per page. 36 of 49 panels now
have at least one capture, and tools/capture_screenshots.sh reproduces the whole
run with the commit recorded alongside the images.

Three things blocked the build, all written up in SCREENSHOTS.md for whoever does
it next: the default LDFLAGS contain -static and there is no static SDL2 here
(and /usr/lib's is 32-bit i386, while a usable 64-bit one sits in /lib64);
submodules cannot be fetched into a git worktree because that writes the parent
repository's .git/config, which lives in the foreground checkout and is correctly
write-protected, so a separate clone was needed; and two submodule patches must be
applied first.

What this is not: hardware. The machine.nebulaos.* panels need a live printer, so
OS-settings captures must not be presented as a working machine, and the boot and
init screens are outside the tour entirely - the install page says that one needs
a photograph of a real printer.

The honest caveat: only 7 of the 129 are embedded in pages. Having images is not
the same as a manual that uses them, and the dashboard reports both numbers.

Also superseded and now unused: 26 images from 2026-07-01 in the screen repo, and
13 from 2025-08-20 that predate the NebulaScreen rename and show upstream
GuppyScreen.

Three new pages, each with real screenshots: Connecting-To-WiFi, Opening-Mainsail
and First-Time-Setup. The setup page uses the calibration order and the
status-line semantics as the screen actually implements them.

Tim's two decisions of 2026-11-01 are applied. The Creality-touchscreen install
route is now documented as the normal route with no "untested" warning on user
pages, and the record kept in VERIFICATION.md and the inventory. That reverses the
position this agent argued for in PR #3, and it is Tim's call to make. What the
decision did not license is recorded in D-009: no page claims the route is tested,
verify_hardware stays unverified, and two promises the manual itself had made about
flagging untested procedures were removed as well - leaving those in while removing
the warnings they referred to would have taught the reader that silence means
tested. The second decision, free rein to restructure, unblocks the
Installation.md name collision.

Queued as Q-060: tonight's code changes need re-verification once their SHAs land
in CONTINUE.md. The power-loss resume fix, the print-view change, the new Storage
"Free up space" button (which must stay documented separately from "Clean up
Creality files" - they do different things), the new default root password and
hostname scheme. The screenshots are from 94869f7 and a screen-tip move
invalidates them, which is exactly why capture is now a script.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…2e7634

The extensions tip moved to a2e7634 - the power-loss resume fix the foreground
session flagged - so that half of Q-060 is done rather than pending.

Re-verification, not assumption:

- Pinned worktree moved to a2e7634 and the full suite re-run: 29/29 suites pass,
  with the PLR suite itself now at 169 tests.
- All 21 test-verified modules had their evidence re-pointed from 8e3447a to
  a2e7634. An evidence citation naming a commit the tree no longer sits at is
  worse than no citation at all, because it looks checked.

wiki/Power-Loss-Recovery.md replaces a stub, written from the new behaviour. The
part worth having in a user manual is what a *failed* resume does, because it
would otherwise read as a malfunction: the nozzle heater goes off so a hot nozzle
is not left over the part, the file is unloaded so the screen and Mainsail do not
show a print that is not running, the bed is deliberately left on to keep the part
stuck down for a retry, and the checkpoint is kept so Resume is offered again.
That is a coherent design decision and a user who does not know it will think the
printer gave up halfway.

The page also explains why recovery is sometimes not offered at all - the EEPROM
record is written last, only after the sidecar file is durable, so a checkpoint
that did not fully land is never offered rather than being offered and then
failing. Marked as implementation-verified and test-covered, explicitly not
observed on hardware.

A tooling fix in the same batch. seed_inventory.py read source from the
workspace-root checkouts, which belong to the foreground session and move without
warning - the firmware one was already a commit ahead of the SHA the inventory had
recorded. It now prefers this agent's own pinned worktrees under _worktrees/docs/
and falls back to the root checkout only when no worktree exists. Reading evidence
from a tree that can change underneath you means the recorded commit silently
stops matching the content it describes, which is the quietest way for an
evidence-backed inventory to become fiction.

Still outstanding on Q-060: the screen change 4883008 is not pushed; origin/main
is still 94869f7, which is what all 129 screenshots were captured from. When it
lands, re-run tools/capture_screenshots.sh and compare.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…ds a flaky screenshot

The screen tip moved to 3194104, bringing both 4883008 (print status only for a
running print, shorter power-loss popup) and 3194104 (Storage "Free up space").
Rebuilt, re-captured, and compared against the committed images.

128 of 129 were byte-identical. Exactly one differed - 07-updates.png - which
looked like a real UI change from the two new commits.

It was not. Running the tour twice against the same build produced the same
difference. The Updates panel disables its buttons while it waits for a reply
from Moonraker's update manager, and with no Moonraker there is no reply, so the
capture lands in the busy state or the idle state depending on timing. The
differing region is exactly where "Check now" and "Update all" sit.

So 07-updates.png is excluded and not published, and screen:updates_panel is
marked screenshot-blocked: only a real printer can supply a trustworthy image of
that page. Publishing it would have shown a reader greyed-out buttons that are not
greyed out on a real printer - a picture that contradicts the page illustrating
it. Updating-NebulaOS describes the greying-out in words instead.

Two things worth keeping from that:

- Measure reproducibility before trusting a comparison. 128/129 byte-identical is
  what makes commit-to-commit screenshot comparison a real stale-detection method.
  Without running the tour twice first, a flaky image is indistinguishable from a
  genuine UI change, and I would have reported a change that never happened.
- The new Storage button has no screenshot at all, because storage_panel is one of
  the panels the tour does not visit. Recorded as a gap rather than quietly
  omitted, and queued as the priority capture.

Two new pages. Resetting covers every option under Settings -> Reset with a column
for what each one erases, and documents "Free up space" and "Clean up Creality
files" as the separate things they are - per Tim's instruction, and because the
separation is what keeps going back to stock working. Updating NebulaOS covers
system images (online, USB, Mainsail) and app updates, and leads with the
automatic rollback, since a user who knows the printer undoes a bad update by
itself will approach the whole operation differently.

All 128 screenshot citations re-pointed from 94869f7 to 3194104.

Inventory: 15 documented, 3 draft, 526 missing of 544. 11 images now embedded.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…377230

Firmware origin/main moved to c377230, bringing the last of the announced
changes, so Q-060 is closed: extensions a2e7634, screen 3194104, firmware
c377230, all verified rather than assumed.

Worth recording: the pins now match the repository tips exactly. The firmware
ships extensions a2e7634 and screen 3194104, which is also what main holds, so
there is currently no gap at all between documented and shipped behaviour for
those two. Decision D-002 was written when there was one.

Documented from the new commits:

- Root password is now NebulaOS, was openke (936c3d6). Installing-NebulaOS gives
  it, advises changing it if the printer is reachable beyond your own network, and
  now also clarifies that the password the SSH install route asks for is the
  *current* system's rather than NebulaOS's - an ambiguity that was already there
  and that the password change made worse.
- Unique default hostname per printer, nebulaos-<last 4 hex of the stable Wi-Fi
  MAC> (ed24767). Opening-Mainsail explains it, including why: every printer being
  called "nebulaos" meant two on one network collided in the router, in Mainsail
  and at nebulaos.local. A user-set name always wins.

Two new pages, which clears the high-traffic stub list - 8 of the original 17
stubs are now real pages.

Printing leads with the Cancel vs Stop distinction. They sit next to each other,
Stop is labelled only "Stop" rather than "Emergency Stop", and pressing it
requires a power-cycle or FIRMWARE_RESTART to recover. A beginner reaching for a
gentler Cancel can easily hit it, so that belongs before the steps rather than in
a table halfway down. The page also treats live Z-offset adjustment as the normal
way to get a first layer right, because it is.

Filament records that Cooldown is the stop control during a Load - there is no
separate Stop button and every other button is disabled while loading. Without
that, a user watching filament feed and wanting it to stop has nothing to press.
It also flags that the panel's hotend target is a fixed seven-value list, so an
exact temperature has to be set from the Home tab instead.

Tooling: the seeder now resolves the central NebulaOS repository too, which had
been reporting "not cloned locally" for its own 11 items while running inside that
very clone. Every repository in the dashboard now carries a real commit.

Inventory: 547 items, 22 documented, 3 draft, 522 missing.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
wiki/Screen-Reference.md, 824 lines, adapted from the NebulaScreen wiki's
Using-NebulaScreen.md under decision D-010 rather than rewritten. That page is
good, and re-authoring it would have lost detail for no gain.

What was done to it:

- A generated index of all 49 panels at the top, built from coverage.jsonl, with
  where each is documented and whether it has a screenshot. Generated rather than
  typed, so a panel cannot quietly go missing from the list.
- 18 image references remapped to the captures from 3194104.
- 8 image references removed, and 7 links remapped to their central-manual
  equivalents (calibration sub-pages to Calibration-Explained, Camera-Image-Tuning
  to Camera, Configuration to an explicit external link since the audit's
  disposition for it was "keep").

The removals are the part worth explaining. Plausible-looking candidates existed
for several of them, and using those would have made the page look complete:
m10b-bedmesh-saved for the bed-mesh 3D view, 36-spoolman for the Spoolman spool
list, m13-tmc-metrics for TMC autotune. But m10b is the mesh after saving,
36-spoolman is the Spoolman server settings, and m13-tmc-metrics is TMC status -
none of them is the screen the caption would have claimed. Each of those eight
places now says plainly that there is no current screenshot of that screen.

A caption naming a screen the reader is not looking at is worse than no picture:
the reader trusts it, cannot find the control, and then stops trusting the pages
that are right. Recorded in HANDOFF.md as a standing rule.

Honest state of the reference: 28 of 49 panels are described in detail. The other
21 are indexed with a pointer to where they are covered, and remain counted
"missing" in the inventory - a pointer is not a description, and crediting it as
one would inflate the dashboard by 21 items.

Inventory: 547 items, 47 documented, 3 draft, 497 missing. Screen category is at
28/49.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Calibration-Guide, Calibration-Explained, Bed-Tramming, Load-Cell-Calibration,
Axis-Twist-Compensation, Skew-Correction, TMC-Autotune and Adaptive-Print-Setup,
adapted from the component wiki under D-010 with links and images remapped and
real screenshots added from the capture tour. The manual is now 29 pages.

All six sub-pages came across rather than only the two headline ones. The two
calibration pages link to a page per individual calibration, and the reuse audit
had already marked all six as "move". Writing only the top two would have left
six dangling links, or six more collapsed redirects.

Which is the better part of this batch: it let me undo an earlier compromise. When
Screen-Reference was built those sub-pages did not exist centrally, so eight links
to them were collapsed onto Calibration-Explained - not wrong, but lossy, since a
reader wanting bed tramming landed in the middle of a long walkthrough. Now that
the real pages exist those links point where they should, and
Calibration-Explained references in that file dropped from 8 to 1. A workaround
taken for a real reason is still worth revisiting once the reason has gone.

One image reference dropped, in TMC-Autotune: tmc_tune_panel has no capture, and
the nearest candidate (m13-tmc-metrics) is TMC status, a different screen.

Inventory: 547 items, 65 documented (11%), 3 draft, 479 missing.

Recorded in HANDOFF.md, because the manual's progress makes it easy to lose sight
of: Phase 3, the developer wikis, has not been started at all. Six component
repositories, 234 extension items, 194 firmware items, plus the API, command and
configuration references. That is the larger half of the mission, and the
end-user manual being well advanced is not the project being well advanced.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
All ten mission sections are documented and all 17 original stub pages are real
content. user-manual-section coverage is 10/10.

This batch: Troubleshooting, Camera and Beeps-And-Songs adapted from the component
wiki, and three pages authored from nothing - What-NebulaOS-Is,
Supported-Hardware and Glossary.

The troubleshooting page was reorganised rather than just relinked. It arrived
organised by component, ended with a "Simulator and development" section, and had
no entry for what a stuck user actually experiences. It now opens with "the
printer is not working at all" - black screen, no touch, Mainsail unreachable,
worked-before-the-update - because someone who reaches that page is not thinking
in components. The developer and simulator material was removed and linked to in
the component wiki, where the reuse audit had already placed it.

The glossary defines the words the manual actually uses, checked against the pages
rather than guessed: the Klipper/Moonraker/Mainsail/NebulaScreen distinction, boot
slots, trial start, baby-stepping, load cell, E-steps, pressure advance, DHCP. A
manual written for someone who has never installed custom firmware cannot use
"MCU" and "pressure advance" undefined, which the earlier pages were quietly
doing.

Supported-Hardware leads with the model confusion, because Ender-3 V3, V3 SE and
V3 KE are different machines and the image is built for one processor, display and
mainboard. It will not refuse politely on the wrong printer.

A self-check caught a miscount on the way. Marking two sections as needing no
screenshot by setting screenshot_status "n/a" while leaving screenshot_required
true made them vanish from the screenshot table - 57 counted against 59 required.
render_dashboard.py's sum check fired and named the unreported status. The fix was
to the data rather than the renderer: the honest way to say an item needs no
screenshot is to clear the requirement, not to invent a status the renderer does
not count. That check was added after the same class of error with screenshot
candidates, and it has now paid for itself twice.

Inventory: 547 items, 78 documented (14%), 1 draft, 468 missing. Screens 34/49.

Phase 3 is next and has not been started. Recorded in HANDOFF.md with a reason
for the order: begin with NebulaOS-klipper-extensions, because its suite already
passes with 899 tests and 21 modules already test-verified, so its command and
configuration reference can carry real evidence behind every claim. It is both the
largest block of inventory and the easiest to do honestly.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…ected overclaim

The generated command and configuration reference for
NebulaOS-klipper-extensions is PR #3 on that repository (branch docs/extensions):
49 commands, 155 configuration options, and a README covering attribution,
verification state and how to run the tests. Its GitHub wiki is disabled, so the
reference lives in the repository.

Written with Python's ast rather than regex, deliberately, after two regex
extraction bugs earlier in this project. It caught three more immediately:

- A naive walk over every .getX() call finds 299 "config options"; only 155 are
  called on a config object. The rest are dictionary and JSON lookups and G-code
  parameter reads on gcmd. That would have invented about 140 settings.
- getfloatlist was missing from the getter list, dropping 3 real options.
- Defaults passed as default=CONSTANT keyword arguments were not seen, so 15
  autotune_tmc options were reported as **required** - worse than a wrong default,
  because it tells a reader to set fifteen TMC registers they never needed to
  touch.

Two inventory corrections: gcode:_ was an artifact of the first regex pass and
does not exist, and NEBULAOS_BED_TRAM was misattributed. The source says plainly
that this repository registers _NEBULAOS_BED_TRAM and the public name is a
gcode_macro in the firmware's calibration.cfg, so it now sits against the
firmware with that evidence recorded.

The part worth reading is the overclaim I made and then undid. Marking the 193
command and configuration items "documented" took coverage from 14% to 49% in a
single step. Mission 6.5 requires per command: preconditions, example invocation,
expected output, errors, side effects, safety warnings. 6.6 requires per option:
purpose, runtime behaviour, whether a restart is needed, validation rules, an
example. The generated tables give name, module, kind, description, type, default
and constraints - real, verified, useful, and not that.

All 193 are now draft, each carrying the specific gap, and coverage is back to 14%
documented and 35% draft. A generated table is a genuine deliverable; it is not a
documented item. A dashboard that cannot tell those apart is worth nothing, and
the 49% would have been the single most misleading number this project has
produced.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…ng number removed

The firmware reference is PR #5 on NebulaOS-firmware (branch docs/firmware),
generated from c377230:

- MOONRAKER-API.md: 58 endpoints with HTTP method, JSON-RPC name, handler, and
  the request parameters each handler actually reads, with literal defaults.
  machine.nebulaos.wifi.connect takes ssid (required), password (default "") and
  hidden (default false) - read out of _wifi_connect rather than inferred from
  the endpoint name.
- BOOT-SERVICES.md: 35 services in boot order with each script's stated purpose.

58, not the 56 recorded earlier: 47e07af added the two
machine.nebulaos.cleanup.nebulaos* endpoints behind the Storage "Free up space"
button. The generated list and the inventory agreed exactly at 58 on an
independent diff, which is the only reason to believe either of them.

Response shapes are deliberately absent. They come from the nebulaos-osconfig
helper at runtime, so taking them from the component source would mean inventing
them. The README says so and names the helper modules and test fixtures where the
real shapes live.

The other half of this commit is a number I introduced and then removed.
Recording "what still needs writing" in the inventory's blockers field made the
dashboard report 57% blocked. That reads as a project that cannot move. It was
nothing of the kind - almost all of those were completeness gaps, work not yet
done, rather than anything unable to proceed.

blockers now means only what it says: something that cannot proceed without
hardware, access, or a decision this agent cannot make. Everything else is a
separate gaps field with its own line in the dashboard. The real split is 6
blocked (1%) and 311 completeness gaps (56%).

Two numbers with two meanings in one field, and the honest-looking figure was the
wrong one. The renderer now explains the distinction in the dashboard itself so
nobody merges them again.

Overall: 547 items, 78 documented (14%), 289 draft (52%), 180 missing (32%).

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…rally

The foreground session flagged that STATUS.md's header said Phase 3 while its
body still said 510 items, all missing, no pages written. Correct, and worse than
it sounds: the file had grown to 557 lines by appending a section per batch, so
its oldest and most wrong paragraph was the first thing a reader saw. It had been
misleading for hours and I did not notice, because I was always appending to the
bottom.

Patching that paragraph would have left the structure that produced it. Instead:

- STATUS.md is rewritten as a status file - 94 lines. What phase, why the
  documented figure is low, which PRs are open, what is done, which commits the
  evidence comes from, what is next, what is blocked.
- Its factual block now sits between GENERATED STATUS markers and is written by
  render_dashboard.py from coverage.jsonl on every run. Numbers cannot drift from
  the inventory again, because nobody types them.
- The accumulated narrative moved to STATUS-LOG.md, keeping the three sections
  that record mistakes and their reasoning - those are traps a later session
  could fall into again. The rest of the history is the commit log of this
  branch, which is a better changelog than a file that grows by one section per
  batch.
- HANDOFF.md and the README now say plainly: do not append to STATUS.md, and do
  not hand-edit the generated block.

Also fixed a missing os import in render_dashboard.py, introduced in the same
change and caught immediately because the script failed loudly rather than
silently skipping the refresh.

Worth noting what this says about the dashboard discipline: every generated
artifact in this project stayed accurate, and the one hand-maintained summary
went stale. The fix is to generate it too.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…ommands half)

COMMANDS-DETAIL.md on the extensions branch gives one section per command for all
49: handler, help text, parameters with types, defaults and valid ranges, errors
raised as literals, side effects, and a constructed example invocation. Everything
derived from the handler the registration points at, so a parameter cannot be
attributed to the wrong command.

The 41 user-facing commands are now documented rather than draft, and each names
the residual gap: expected output, preconditions beyond the handler's own guards,
and safety warnings. Those three are not omissions to be fixed by better parsing -
handlers reply with runtime values, guards do not express every precondition, and
whether a command is dangerous is a judgement about physical consequence rather
than a fact in the file. Each command instead carries "Runs G-code: yes/no",
which is the closest honest proxy for danger: it means the command can move the
machine or change temperatures.

Coverage is 21% documented, up from 14%, and this time the promotion is earned
rather than asserted.

The configuration half of Q-036 stays draft, and it is the harder one. A
config.getfloat('duty', 0.5, above=0., maxval=0.5) call yields the name, type,
default and range - and says nothing whatsoever about what the setting is for,
when it takes effect, or whether a restart is needed. No parser can close that;
it needs reading each of the 18 modules.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…caught early

CONFIG.md on the extensions branch gains two things, both facts:

Every one of the 155 options needs a Klipper restart, checked rather than assumed.
A scan of every config call site found all reads in a module's __init__ or
load_config, at load time, none re-read at runtime. Stated once with the evidence
rather than repeated 155 times, and paired with what users confuse it for: speed,
flow, Z offset and pressure advance are adjustable during a print and are not
configuration options.

Each section now carries its module's own header comment as its purpose. Options
in this repository have no inline comments, so a per-option purpose cannot be
extracted, and inferring one from an option's name would be invention dressed as
documentation.

Then I marked all 152 options documented, and coverage jumped from 21% to 49%.

That was wrong and I reverted it in the same iteration. Looking at what had
actually changed: the per-option entries were identical to before - name, type,
default, constraints. What I had added was a purpose per section and one global
fact. Mission 6.6 asks for purpose, runtime behaviour, dependencies and an example
per option.

The distinction that makes the commands promotion legitimate and this one not:
for commands, real per-command content was added, and the residual gaps (expected
output, safety judgement) are things no source reading can supply. For
configuration, nothing per-option was added, and the gap - what each option is
for - can be written by someone who reads the module. It is simply not done.

Documented means the work is done, not that the remaining work is hard.

Recorded in STATUS-LOG.md because the warning sign generalises: a large promotion
following a small amount of new writing. Same shape as the 14%-to-49% error two
iterations ago, which means I nearly made the same mistake twice in a morning.
Coverage is back to 21%.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
80 of the 155 extension configuration options now carry a purpose in CONFIG.md:
43 written by reading the module, 37 quoted from the comment the author left
above the option and labelled as such so a reader knows whose voice it is. The
other 75 show a dash, which is the honest answer where neither exists.

Only those 80 are promoted to documented. 72 stay draft. That is the point of
doing this item by item rather than by category: an earlier attempt promoted all
152 at once on the strength of a section-level purpose and took coverage from 21%
to 49% in a single step, which was reverted the same iteration.

Coverage is now 36%, and every promoted item has a per-item reason.

The hand-written purposes live in documentation/agent/data/ and are merged by the
generator, so regenerating cannot lose them.

Two silent faults found on the way, both recorded in STATUS-LOG.md:

The purposes file first landed in the wrong repository. The shell's working
directory had drifted into the extensions worktree, so mkdir created
documentation/agent/data inside the extensions repo. The generator resolves that
path relative to its own location, found nothing, and returned an empty dict
without complaining - so all 45 purposes contributed nothing while the output
still showed 41 from source comments.

Two keys also used Python attribute names instead of config keys:
max_tune_printing_seconds for max_tune_seconds_printing, stable_drift for
stable_drift_counts_per_s. Those purposes would never have displayed.

Both were caught only by comparing 45 written against 41 shown. The generator now
prints a warning naming any purpose written for an option that does not exist,
because a data file that silently contributes nothing is worse than no data file:
it looks like the work is done.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…rded

Correcting a number first: the previous commit on the extensions branch (21b47b6)
says 105 options carry a purpose. The real figure is 102. That commit is pushed
and force-pushing is not permitted here, so the correction lives in this message
instead. A wrong count in a commit message is a small thing, but this project's
whole claim is that its numbers can be trusted.

This batch read nozzle_clear (13 options), calibrate_shaper_config (5) and
motor_constants (7). 22 more items promoted to documented; 50 config options
remain draft with a dash in the Purpose column. Coverage 40%.

nozzle_clear is the clearest argument for reading modules rather than parsing
them. clr_noz_len_x, pa_clr_dis_mm_x and vs_start_z_pos cannot be described
honestly from their names; the module header explains the wipe sequence - heat,
probe two randomised points on the pad, drag the nozzle between them at wipe
temperature, cool down - and the options map onto it once that is known.

Two of my own first-pass purposes were wrong and were corrected against the
source: steps_per_revolution is a choice of 200 or 400 and nothing else, and
pr_clear_probe_cnt is a probe-agreement count for each of the two wipe-pad
touches rather than a count of points probed. The source states both explicitly,
including that pr_clear_probe_cnt is distinct from Z_OFFSET_CALIBRATION's own
pr_probe_cnt. Writing plausible prose from an option name produces exactly this
class of error, which is why a dash is kept where no reading has been done.

B-004: nozzle_clear declares its own hardware gap. Its header states the module
had not been exercised on real hardware when that note was written, and that it
was enabled for a Phase 1.8B integration candidate by source-level activation.
The flag name inverts - HARDWARE_BEHAVIOR_BLOCKED = False means not blocked, so
the routine runs. This is a motion and contact routine that heats, probes and
drags the nozzle under load, and it is the only extension carrying such a note.

Deliberately recorded as a question rather than a finding: the note says it was
true as of its own commit, not as of a2e7634, so the module may well have been
qualified since. Only the owner can say.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…documented

Read z_compensate, nebulaos_z_offset_probe and nebulaos_calibration this batch -
37 more options. 34 more items promoted per item. Coverage 46%, extensions at 82%.

The find that justified reading every module rather than parsing them: seven
options are accepted by the config parser and deliberately not acted on.

Three exist only so Klipper will start. It hard-errors on any option in a section
the module never reads, and a real device's [z_compensate] sets tri_min_hold
(1400), tri_max_hold (2000) and speed (5). They belonged to a sensitivity
override removed with PRTouch in Phase 1.8B, so they are read and discarded.

Four are unused because their meaning is unconfirmed, and the source explains
each: noz_pos_center and noz_pos_offset are plausibly another XY reference point
with nothing confirming it, and misapplying one would send the toolhead somewhere
unintended; pumpback_mm is plausibly a pre-wipe retract, and wiring untested
E-axis motion into a probe and heat sequence was judged not worth the risk on a
guess; type_nozz's meaning is recorded as simply unknown.

Those four are an author leaving something visibly unfinished rather than acting
on a plausible guess, and documenting them as ordinary settings would have undone
that decision - it would tell a reader these controls work. Guessing from the
names gives precisely that result: "noz_pos_center: the nozzle's centre position"
reads perfectly and is worse than useless. All seven now carry "Accepted but not
acted on", with the reason, and CONFIG.md explains the category up front.

16 options still show a dash. A dash where no reading has been done remains more
useful than a plausible sentence.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
coreflake1 and others added 3 commits November 1, 2026 16:13
…than detected

Two things this batch, one of them a correction prompted by review.

The architecture guide (ARCHITECTURE.md on docs/extensions) is the first readable
developer guide rather than a reference table. Hand-written, because explanation
cannot be extracted, with every factual claim naming its source file so any
sentence can be re-checked. It covers not forking Klipper and what follows from
it, composition into klippy/extras/ via excluded symlinks, the compatibility
contract, the four layers a calibration runs through, and the write ordering that
makes power-loss recovery safe.

The correction: command side effects were misclassified. COMMANDS-DETAIL.md
printed "Runs G-code: yes / no - reports only" from whether the handler called
run_script, which labelled NEBULAOS_BEEP, SAVE_INPUT_SHAPER, EEPROM_WRITE_INT and
Z_OFFSET_APPLY_PROBE all as reports only - a PWM write, a printer.cfg rewrite, an
EEPROM write and a persisted offset respectively. Each told a reader the command
was safe to try.

Extending the scan to follow self._method calls three levels deep still reported
nothing for the buzzer, because the write goes through a SysfsPwm object held on
the module rather than a method. Resolving those object graphs soundly is real
static analysis, so the automatic claim was removed and all 49 commands were read
instead, in five classes.

The outcome is a fair summary of how wrong the old label was: 11 commands touch
persistent state, 6 write hardware while running no G-code at all, and only 6 are
genuinely reports-only.

Also in this batch: the extensions repo-level item is now documented rather than
draft, and PR #3's description lists the branch and page URLs for all three
component references.

Coverage 47%, extensions 84%. The gap that remains on the extensions is
per-module implementation walkthroughs for the larger modules.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…mented

The extensions tip moved twice today, ending at ed99372. Suite re-run there (29
of 31 suites, all passing) and the references regenerated: 50 commands, 156
options, up one each - _NEBULAOS_PLR_TIMELAPSE_MERGE and timelapse_frame_path.

The change behind them deserved reading rather than regenerating around. A
power-cut test on the development printer found the resume working, but heating
the nozzle while it still sat over the part. The order is now bed first with the
nozzle off, Z lifted and X/Y homed, then the nozzle heated at the park position.
The checkpoint also records the current object so a part-finished one is restarted
rather than skipped, and timelapse frames from before the cut can be preserved.

That ordering is now in the user-facing page with the reason. "The bed heats
before the nozzle" looks like an arbitrary implementation detail until you know
the alternative melted into the print someone was trying to save - and a user who
knows why will not report the wait as a bug.

A caveat added to the extensions README: the firmware manifest pins a2e7634, so
these PLR changes are newer than the current firmware build. The reference says so
rather than implying everything in it ships today. STATUS.md records the same gap.

The nozzle_clear header note was corrected upstream, so B-004 is now closed at
source as well as in the inventory.

A mistake of mine in the same batch, recorded in STATUS-LOG.md. To pick up the
new tip I ran `git checkout -B docs/extensions origin/main`, which resets the
named branch - so it moved my branch off five doc commits and emptied
docs/reference/ from the tree. Nothing was lost, because every batch had been
pushed and origin/docs/extensions still held them; the fix was to restore from the
remote and merge origin/main properly, which is what should have happened first.

Two things worth keeping from it: to pick up upstream code on a working branch,
merge it rather than re-pointing the branch at it; and pushing after every batch
turned a destructive mistake into an annoyance, which is a payoff I had not
anticipated when adopting that habit for session durability.

549 items, 258 documented (46%).

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…very

Second hand-written developer guide, on docs/firmware (PR #5). Covers how a
printer starts, how it updates itself, and what happens when that fails, with the
reasoning rather than just the values. Every claim names its source file.

The central finding is a decision that inverts the obvious one. S00revert-safety
used to write the stock slot's marker on every boot, so any failure before the
health check would land the next reboot on stock - a textbook watchdog fallback.
It was removed in Phase 1.8B and the script is now an explicit no-op, because
booting the stock Creality slot auto-flashes the MCU with old Creality firmware
and destroys the qualified native GD32F303 build.

The automatic safety net was the larger hazard: it converted a software failure
into a hardware one. A printer whose Klipper will not start now stays on NebulaOS
and waits for manual recovery, and the guide says so rather than letting a reader
assume something undoes it for them.

It is also the root of the warning users meet throughout the end-user manual -
never power-cycle a printer running stock. One hardware behaviour, two
consequences, and the guide connects them explicitly rather than leaving two
unrelated-looking warnings in two documents.

Three more things documented with their reasoning rather than as values:

The OTA marker is a three-way wire format. The exact bytes are what Creality's
stock ota_utils.sh and ballaswag/ingenic-usbboot both write, and usbboot checks
strncmp(ota, "ota:kernel\n", 11) - so a bare echo -n would silently not match.

The image trial is bounded two ways, 300 seconds and 3 attempts, because a hang
needs a timeout while a system that crashes and reboots cleanly would reset a
timeout forever and needs an attempt count. Noting also that this automatic
fallback coexists with there being none to stock, because switching between
NebulaOS slots does not touch the MCU.

S99confirm-good originally accepted any result from /server/info, which is true
the instant Moonraker's listener is up regardless of whether Klipper reached the
MCU. That gap was found live; it now checks klippy_state.

549 items, 269 documented (48%). The firmware is deliberately still only 5%: the
guide covers what matters for boot, slots and recovery, while 56 runtime helpers
and per-service failure behaviour remain unwritten, and the dashboard says so
rather than crediting the guide for them.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
coreflake1 and others added 28 commits November 7, 2026 22:20
New start G-code line with RETRACT_LENGTH/RETRACT_SPEED/UNRETRACT_SPEED/
UNRETRACT_EXTRA_LENGTH from OrcaSlicer's placeholders; M220/M221 no longer
needed; how to use firmware retraction; Tune -> Retraction note. Firmware
bf8fb53 (print.cfg:205-237).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… to the printer)

OrcaSlicer's plain {retraction_length[0]} does not reliably follow filament
overrides (verified by slicing). Retraction per material goes in the filament
profile's Setting Overrides.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…i/USB sleep

Home, What NebulaOS Is, Installing and Recovery name 1.0.2 and its files.
Report a problem: a freeze now leaves a report too (kernel 95d0321e).
Under the Hood: the freeze dump, the hard-lockup detector and the
no-sleep rule (firmware eec579c).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
A table of the two options, what happens with a start line without
RETRACT_ values (current printer values, not the slicer's), and the
screen's refusal during a print not sliced for firmware retraction.
Screen-Tune links the new anchor.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Remove 'from 1.0.1', 'up to 1.0.1', 'from 1.0.2' and the PREEMPT_RT
history; screenshot captions no longer name 1.0.0/1.0.1; update
screenshots described without a version number.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
New page Quickstart-OrcaSlicer (import, pick, connect, print; what is set;
filament table; disclaimer: a starting point, not a perfect tune). Linked
from Home step 5, the sidebar and Slicer Setup.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…per-feature accelerations

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…Nebula Pad printers

From Tim's research brief (2026-11-06) and checked against NebulaOS source:
KE MCU settings (NebulaOS-klipper-mcu docs), host [mcu] /dev/ttyS1 230400
(machine.cfg), the MCU guard never flashes an unrecognised board
(mcu_lifecycle.py), KE includes in printer.cfg. Untested, unsupported;
linked from What NebulaOS Is and the sidebar.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Which to choose, both bundles, the extended filament table (layer-change
retraction, z-hop, wipe distance), wipe 70 %.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Set up your slicer: the quick way (profiles) first, then one choice table,
a simple section (short start line, slicer retracts) and an advanced one
(long line, firmware retraction), shared notes after. Adaptive Print Setup
shows the short line and links the choice; anchors updated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Built from two source sweeps (file headers, VENDORED.md, pinned
dependencies, kernel commits, git blame of NebulaScreen, our research
notes). Unconfirmed people are credited only as the source names them;
no email addresses. Linked from Home and the sidebar.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…tems it did not have

The dashboard regenerated against the release. Three kinds of change:

- Seven items the inventory was missing, each found by counting the generated
  page against the inventory rather than by reading either one: the boot service
  S03nebulaos-blackbox, the runtime helper nebulaos-blackbox, the two overlay
  files that are not executables and so appear in no generated list
  (91-nebulaos-freeze.conf, 60-nebulaos-no-sleep.rules), and three z_compensate
  options the extensions CONFIG page lists (bl_offset, noz_pos_center,
  noz_pos_offset). 553 items -> 560.
- release_applicability re-expressed on 522 items. It named 1.0.0, 1.0.1 and
  0.9.0, which no longer exist: 1.0.2 is the first release. Every item's source
  paths were checked to exist at its repository's 1.0.2 pin before relabelling,
  so the new label is verified rather than renamed.
- A new field, reverified_at, with its own table in COVERAGE.md. source_commit
  is where an item was discovered and has to keep that meaning, or a rise in the
  inventory stops being traceable to the sweep that found it. 424 of 560 items
  carry a re-verification stamp; the rest say so.

STATUS.md rewritten from 703 lines to 80. It had become a changelog again, with
its stale paragraphs on top: seven blockers where there are four, a
source-revisions table pinned at firmware 832314d, a "Next" list done a week
ago. STATUS-LOG.md records what that cost.

SCREENSHOTS.md gains the 1.0.2 retake list: eleven embedded images print a
version inside the picture that the release no longer matches, each with what it
says today. r-system.png is first - it also shows "Kernel 6.6.157-rt79", and the
1.0.2 kernel pin (95d0321e) contains the commit that removed localversion-rt, so
a 1.0.2 printer does not print -rt79 at all.

BLOCKERS.md: two findings from the mcu refresh, documented and not fixed - the
two diverged copies of creality_flash.py, and the README claim that no firmware
built there had been flashed to a printer.

Link checker clean: 53 pages, 11 stubs, anchors included.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
New data file data/api_observed_responses.json and the two generator changes
that use it: an endpoint the extractor reports unresolved may carry a response
recorded from a real printer, with its source file, capture date, the firmware
it ran, and a checked reason it is still current.

The guard that matters is in gen_firmware_api_responses.py: an observed
response is attached only where result_keys is None. Observation is weaker
evidence than source - one answer, once - so it fills a gap and can never
overwrite a resolved answer with a sample.

First entry: machine.nebulaos.updates.readiness, from ke-dev on 2026-11-04,
current because nebulaos_osconfig/updates.py is byte-identical between the
build it was captured on and b95b156. Drafts 9 -> 8. The other eight are POST
actions and the snapshot has none of them, so they stay drafts rather than
being filled in from something plausible.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
gcode:NEBULAOS_BED_TRAM had been sitting with the three hardware blockers since
the extensions sweep: "verify the macro file before documenting". The file is
the firmware's etc/nebulaos/klipper/calibration.cfg, which defines
[gcode_macro NEBULAOS_BED_TRAM] forwarding {rawparams} to the extensions'
private _NEBULAOS_BED_TRAM - byte-identical at 3bdf3ff, the 1.0.2 pin.

Blockers 4 -> 3, and the three that remain are one fact: no printer.

The lesson is in BLOCKERS.md: a blocker list is only useful if the items that
merely look blocked are re-read now and then. This one needed another
repository's file, which made it look like the hardware items next to it.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Six pull requests, all ready; the mcu one flagged because it changes a claim
about hardware that is the owner's to make. Three decisions waiting on him (the
two diverged copies of creality_flash.py, the eleven screenshots that print a
pre-1.0.2 version inside the picture, and whether the GuppyScreen-inherited
screen settings belong in the inventory), and what stays open with the reason it
stays open.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…lay_rotate)

From NebulaScreen fd47cb6 src/main.cpp:134-141 (display_rotate 1-3 -> LVGL sw_rotate), the
factory nebulascreen.json (display_rotate 2) and S01persistent-datastore's Mainsail bind of
config/nebulascreen/nebulascreen.json, firmware 3bdf3ff.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…tory rows they left blank

packages #2 and lv_drivers #1 got the same treatment as the other six (inbox
note 2026-11-11-OLDER-PRS.md). Neither needed a rebase - each docs branch is one
commit directly on the current tip of its default branch, and neither default
branch has moved since the page was written.

The two repo-overview rows carried source_commit: null, which the dashboard
printed as "not cloned l". They now carry the real commit (packages 9d0d264,
lv_drivers ea2e4cc), a reverified_at stamp and the firmware/screen evidence the
refresh read: re-verification stamps 424 -> 426 of 560. FOR-THE-OWNER-1.0.2.md
and STATUS.md list eight PRs, VERIFICATION.md records the re-run of the package
index's offline suite (10 passed, 0 failed at 9d0d264) and why lv_drivers'
verify_test is n/a rather than unknown, and QUEUE.md closes Q-085.

The main session's commit 9893095 (display_rotate, already published) is kept
untouched.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…one claim retracted

Inbox note 2026-11-11-DEV-WIKIS.md. Every component repository now carries its
developer documentation as a top-level wiki/ directory on its docs branch, in
the shape this repository's manual already uses. This commit is the central
half: the generators, the inventory, the state files, and a correction the work
forced on the manual.

Generators. The extensions generators emit wiki page names and wiki links, so a
regeneration produces Commands.md / Configuration.md / Commands-Detail.md /
Modules.md rather than COMMANDS.md / CONFIG.md. The osconfig generator's
cross-link is a wiki link. The runtime-helper generator no longer counts
documentation as a caller: a page naming a helper is not a caller, and with
docs/ and wiki/ excluded /etc/profile.d/nebulaos-prompt.sh shows up honestly as
referenced by nothing in the repository - it is sourced by a login shell.

Inventory. 425 doc_page values and seven evidence strings follow the pages from
docs/reference/... to wiki/..., with the extensions' Configuration.md
disambiguated the way the screen's already was, and the firmware's five
ARCHITECTURE.md rows sent to the split page each item belongs to - the two
overlay files to Black-Box. 560 items, 552 documented, 8 draft, 0 missing:
unchanged, because this is a change of where a page lives, not of what is known.

The retraction. The manual said releases are "built twice on separate machines
with the two results required to be byte-identical". "Separate machines" is not
established anywhere in the firmware repository, and the downloadable .img
cannot be byte-identical at all: Creality's envelope is an encrypted 7z with a
fresh random AES IV, which check-packaging-reproducibility.sh records as
IMG_BYTE_IDENTICAL=NO with IMG_CONTENT_IDENTICAL=YES. wiki/Under-the-Hood.md
and README.md now say what the check actually requires - two builds, kernel and
root filesystem byte for byte, the download compared by contents. The entry is
in BLOCKERS.md beside the discrepancies found in other people's files, because
a claim this session wrote and had to withdraw deserves the same treatment.

FOR-THE-OWNER-1.0.2.md has a developer-wikis section with the per-repo page
counts, the docs/ decision for each, and the two things worth reading before
merging. STATUS, HANDOFF and QUEUE record the batch; Q-087 queues the Z-offset
troubleshooting entry the main session asked for while this was running.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Inbox note 2026-11-12-ZOFFSET-NO-TRIGGER.md. Two users, both with silicone bed
spacers, fail every Auto Calibration on 1.0.2: first "No trigger on probe after
full movement" with the CR-Touch offset still 0.000, then "measurement rejected
- no_accepted_samples" once they set an offset by hand.

Troubleshooting's Calibrating table gets a row for each message, in both
wordings - the fix renames the first one, and a user who has not updated yet
must still find the row - and both point at a new section with the two
printer.cfg lines: z_offset 3.000 instead of 0.000, and max_abs_fit_delta: 0.5
in a [nebulaos_calibration] block below the includes. The section says why each
line works, that the printer must not print until the calibration succeeds (it
believes the nozzle is 3 mm further away until then), that both lines are
harmless afterwards, and that PROBE_CALIBRATE with the paper test is the route
that does not use the load cell at all. First-Calibration points at it from its
"Failed: <step>" line.

No version number anywhere in it. The fix is extensions a63964a, which is on
neither main nor production, so the page says the real fix arrives through
Settings -> Updates and leaves the when to the issue thread.

Read for it, rather than taken from the report (VERIFICATION.md): both options
exist at 178a0c2 with defaults 8.0 and 0.3; a63964a changes them to 5.0
(measured from the fresh CR-Touch reading, not the hover height) and 0.5; a
credible saved z_offset takes the established path, whose floor is
raw_probe_trigger_z - probe_z_offset - 1.0 mm and so reaches deeper, while
0.000 is explicitly a "not calibrated" marker; and Klipper at the pinned
58bd67db builds RawConfigParser(strict=False), which is why a second
[nebulaos_calibration] section overrides the firmware's and why it has to sit
below the includes.

Not verified: that the workaround succeeds on an affected printer. No printer
access here, and the page does not say tested.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Third version of one sentence. "Built twice on separate machines" became "built
twice on GitHub" on the main session's answer, and that was wrong in the same
way: a statement about process taken from a person rather than read from the
artifacts.

What the artifacts say: a release workflow does exist (.github/workflows/
release.yml, 2026-10-29 - two builds plus scripts/release/compare-builds.sh) and
has run once, but the published 1.0.2 was not built by it. Its
release-manifest.txt carries BUILD_MODE=candidate and
BUILD_RUN=/var/tmp/nebulaos-build/3bdf3ff.../run-20261109T131214Z-224824, and
the release publishes no comparison record.

So Under-the-Hood and README now say only what is checked - two builds from the
same source, kernel and root filesystem byte for byte, the download compared by
its contents because Creality's encrypted container uses a fresh random key -
and name no location. The firmware wiki carries the long version.

Troubleshooting names the Z-offset fix now that it has a version: Klipper
extensions 1.0.1 (6532091 on main), with the caveat that it reaches printers
once it is on the branch printers follow - production is still 178a0c2.

STATUS-LOG records the lesson, since it cost three rounds: a correction from
another session is a lead, not a source.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Firmware d464b46 corrected both of the firmware's reproducibility documents, so
the claim can be made in the direction it was always meant to go - with
evidence. Read from that commit here, not from the summary of it: NebulaOS 1.0.2
(firmware 3bdf3ff) built twice on 2026-11-09, one host, same build-container
digest, gave identical xImage 14a47aa8... and rootfs.squashfs df65c724...

What makes it checkable rather than just stated: those two hashes are
XIMAGE_SHA256 and ROOTFS_SQUASHFS_SHA256 in the release's own published
release-manifest.txt, downloaded from the v1.0.2 release to compare. Anyone can
repeat that comparison without trusting either document.

Under-the-Hood and README say the measured thing and still name no location.
Across hosts or container digests is never measured, and the pages that go into
detail say so. The .img still cannot be compared byte for byte at all.

BLOCKERS: the two discrepancies that prompted this close with d464b46 as their
outcome. VERIFICATION gets the evidence table for the final wording, including
why no location is claimed. HANDOFF keeps the lesson, which outlived the bug.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…lback

Klipper extensions 1.0.1 (6532091) is on production, checked with git ls-remote
rather than taken on report: main and production are the same commit, and
production is what [update_manager nebulaos_klipper_extensions] follows.

So the Troubleshooting section leads with Settings -> Updates -> NebulaOS
extensions, then run the calibration again, then remove the
[nebulaos_calibration] block if it was added - and says to leave the z_offset
line alone, because a successful calibration overwrites it with the real value.
The two printer.cfg lines stay as the fallback for a printer that cannot update,
under a heading that says so. Both table rows name the update, and
First-Calibration's pointer does too.

VERIFICATION records the three states this page passed through in one day, with
what was checked at each: a commit on no branch, 1.0.1 on main only, and 1.0.1
on production.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant