Skip to content

docs: pilot operations guide - #114

Merged
TusanHomichi merged 6 commits into
mainfrom
claude/100-operations-guide
Oct 15, 2026
Merged

TusanHomichi merged 6 commits into
mainfrom
claude/100-operations-guide

Conversation

@TusanHomichi

@TusanHomichi TusanHomichi commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Primary Issue

Closes #100

Problem And Outcome

For operations, the install guide pointed only to journalctl. Nothing told a pilot agency's administrator:

  • what to watch;
  • how long logs are kept, and what they contain;
  • how to report a problem;
  • what support to expect.

After this PR, docs/operations.md covers all four, and CI runs every command on it against a real release install.

Changes

  • docs/operations.md:
    • What to watch:
      • curl -fsS --max-time 10 …/api/health, whose exit status a monitor can use, with a hung server counting as a failure;
      • systemctl is-active: systemd restarts the service only on failure, so check it whatever the reason;
      • the doctor --backup-copy-dir lines backups and backup copy, with what to act on. doctor judges backup age against 24 hours; doctor: judge backup age against the configured interval, not the 24-hour default #117 makes it take the configured interval;
      • disk space for the data directory, and for the copy directory when there is one.
    • Logs: the journalctl commands, what the logs contain and exclude (checked against every tracing call site), and journald retention (system-wide, with a drop-in to set it).
    • Reporting a problem:
      • security problems go privately through SECURITY.md;
      • everything else goes to an issue with the version, the doctor output, and log lines;
      • every setup_code= value is removed before pasting, along with any password, reset code, or cookie;
      • real records never appear, and the example uses invented stand-ins.
    • Support: pre-alpha with no support commitment. It lists what a pilot can rely on and what the pilot must provide.
  • Linked from docs/install.md (the "Day to day" table) and the README.
  • Release workflow, step "Operations guide commands": runs the page's commands on the systemd runner against the installed release:
    • health and is-active;
    • doctor --backup-copy-dir against a missing share, expecting unreachable and exit 0;
    • df/du;
    • the three journalctl forms;
    • the journald retention drop-in and restart;
    • --version.
  • CHANGELOG entry.

Correction rung: 2 for the "every command is run" criterion: the release workflow fails if a command on the page breaks. The rest is guidance (rung 3) by nature.

Verification

  • Full local proofs passed on ecff978, 0abc7a8, 2295dca, and 1295b6f. All 7 gates each time; the browser suite was 61/0/0.
    • Last receipt: .proof/20261015T012500Z-1295b6f3c2f2/receipt.json, sha256 352b27c2a5dfd8c3350d4276ce5bb4ec56b145f9a3c786669ccbb4f207f45ad4.
  • The head fb48e79 changes only one sentence of prose in docs/operations.md since 1295b6f (the systemd restart wording). CI on fb48e79 is green: fmt-clippy-test, build-x86_64 (including "Operations guide commands" on a real install), and build-aarch64.
  • Codex: six findings over five rounds.

🤖 Generated with Claude Code

https://claude.ai/code/session_01TsvZjbz8dTRM8A1NqAP5ts


Generated by Claude Code

What to monitor (health, backups and their off-server copy, disk), the
service log and what it contains and excludes, journald retention, how to
report a problem with invented examples only, and the support a pre-alpha
pilot can and cannot expect. Linked from the README and the install guide.
The release workflow runs every command in it against a real install.

Closes #100

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TsvZjbz8dTRM8A1NqAP5ts

Copy link
Copy Markdown
Member Author

@codex review


Generated by Claude Code

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-15T01:42:45.435448Z fb48e79 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ecff978507

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/operations.md Resolved

Copy link
Copy Markdown
Member Author

@codex review


Generated by Claude Code

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0abc7a87bf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/operations.md Resolved

Copy link
Copy Markdown
Member Author

@codex review


Generated by Claude Code

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2295dca2aa

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/operations.md Resolved
Comment thread docs/operations.md Resolved

Copy link
Copy Markdown
Member Author

@codex review


Generated by Claude Code

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1295b6f3c2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/operations.md Resolved

Copy link
Copy Markdown
Member Author

@codex review


Generated by Claude Code

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: fb48e7917d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/operations.md Resolved
@TusanHomichi
TusanHomichi merged commit 8d3d453 into main Oct 15, 2026
4 checks passed
@TusanHomichi
TusanHomichi deleted the claude/100-operations-guide branch October 15, 2026 01:47
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.

docs: pilot operations guide (logs, monitoring, support path)

2 participants