6504c69154
Session-learned hardening (sole-developer project — terse, actionable): - §7 env-override precedent list gains USER_SYSTEMD_DIR (network-download, communication listeners, scheduler-lib) + the scheduler's SCHEDULE_* seams, plus the missing-:-guard gotcha that silently writes to the real $HOME under stub runs. - New-tool test checklist gains an env-seam review step (grep for unguarded config writes, prove with VAR=/tmp/x). - §7 notes stub harnesses are throwaway by design: build in /tmp/opencode/<tool>-test/, leave there, keep only the pattern. - howto/schedule.md: migrate copies the rule LHS verbatim as COMMAND — the old tool never had disk root/loadavg shorthands; rewrite those jobs.
Documentation
Everything in this folder is reference material for the Linux_post_install project. The root README is the short intro + quick start; this folder holds the detail.
| Document | What it covers |
|---|---|
| HOWTO.md | Hands-on guides per category (ai, network, docker, media, system, ssh, share, communication, entertainment): flags, recipes, config, troubleshooting |
| SCRIPTS.md | Core installer scripts: install.sh, preinstall.sh, postinstall.sh, lib/common.sh, lib/flags.sh, lib/entertainment-lib.sh, features/autostart.sh — purpose, how each works, configuration |
| POS.md | The pos CLI: dispatcher, every pos-* command, Docker Compose / ScaleTail config, legacy wrappers, flag CLIs |
| APPS.md | Optional apps: apps/install.sh picker, installer conventions, full app catalog |
| SYSTEMD.md | Systemd units (autostart.service, ssh-agent.service), feature-flag gating, bash completion |
| DEV.md | Developer guide: architecture, conventions, how to add tools/apps/features, commit guidelines |
| AGENT_Context_Project.md | Single-source context doc for AI agents working on the repo |
| algorithm.md | ASCII diagrams: install flow, pos dispatch, compose up, config cascade, logging, vbox lifecycle |
Quick navigation
- Just installed and want to use it? → POS.md
- Adding a package? → SCRIPTS.md → preinstall.sh
- Adding a CLI tool or app? → DEV.md
- First deploy of a self-hosted service? → POS.md → Docker Compose