Version: 1.0.0
Last Updated: 2025-12-28
Status: Active
SecuBox bundles fifteen+ security and network dashboards for OpenWrt with a unified build/validation toolchain and CI that ships .ipk/.apk artifacts automatically (see README.md for the module catalogue and CI badges, README.md:7-34). The documentation set is intentionally layered—DOCS/DOCUMENTATION-INDEX.md routes newcomers, AI assistants, and maintainers to the right depth, so always start requests there before diving into large guides (DOCS/DOCUMENTATION-INDEX.md:15-31).
Use this file when you need to brief Codex (or any automation agent) quickly about SecuBox expectations: what standards are immutable, how to craft prompts, where to get help, which decisions shaped today’s tree, and what TODOs should stay in sight during automation runs.
README.md: one-page overview, compatibility matrix, and “what’s new” callouts (README.md:7-34).DOCS/QUICK-START.md: critical rules, design tokens, commands, and error playbooks (DOCS/QUICK-START.md:9-195).DOCS/DEVELOPMENT-GUIDELINES.md: deep dive into architecture, RPCD, ubus, CSS/JS conventions, and deployment (see summary in DOCS/DOCUMENTATION-INDEX.md:68-82).DOCS/MODULE-IMPLEMENTATION-GUIDE.md + DOCS/FEATURE-REGENERATION-PROMPTS.md: regeneration workflow plus ready-to-use prompts for all modules (DOCS/DOCUMENTATION-INDEX.md:102-149).DOCS/CODE-TEMPLATES.md: copy/paste-safe scaffolding for LuCI JS, RPCD scripts, and APIs (DOCS/DOCUMENTATION-INDEX.md:153-159).-32000 Object not found, DOCS/QUICK-START.md:11-18).path must mirror the view path (avoids 404s, DOCS/QUICK-START.md:20-26).DOCS/QUICK-START.md:28-37)../secubox-tools/validate-modules.sh before opening PRs or tagging builds (reinforced in README.md:18-23 and DOCS/QUICK-START.md:122-134).#0a0a0f base, #6366f1→#8b5cf6 gradients), Inter + JetBrains Mono fonts, .sh-*/.sb-* components, and responsive grid widths defined in the quick start (DOCS/QUICK-START.md:74-114)../secubox-tools/fix-permissions.sh --local|--remote for automated chmod sanity (DOCS/QUICK-START.md:55-66, 125-127)../secubox-tools/validate-modules.sh (runs seven structural checks including permission scan) (DOCS/QUICK-START.md:122-134,185-189)../secubox-tools/local-build.sh build <module> for quick smoke tests or make package/<module>/compile V=s inside SDK (DOCS/QUICK-START.md:135-143).scp, normalize perms, flush luci caches, restart rpcd/uhttpd (DOCS/QUICK-START.md:144-167).logread immediately after deployment (DOCS/QUICK-START.md:156-167).DOCS/QUICK-START.md:105-114)..sh- utility classes; prefer gradient borders and neon states over inline styles for maintainability (same section).README.md:37-152 excerpt).When drafting Codex/LLM prompts, supply enough structure so the assistant can reuse existing patterns instead of inventing them. Reuse this outline:
Context:
- Target module + file(s) + desired change.
- Any relevant excerpts from CODE-TEMPLATES or existing JS/RPCD files.
Requirements:
- Restate non-negotiables (RPCD naming, menu path, permissions, design tokens).
- Mention validation commands Codex should run or assume.
- Call out API endpoints, ubus objects, or metrics to surface.
Deliverables:
- Files to touch (path + rationale).
- Expected tests/validations (e.g., run ./secubox-tools/validate-modules.sh).
- UX cues (colors, grid sizes, component classes) referencing QUICK-START.
Guardrails:
- Note TODO items or documentation standards (version headers, cross-links, etc.).
- Remind Codex where to log changes (README, module changelog, etc.).
Pair the template with module-specific prompts from DOCS/FEATURE-REGENERATION-PROMPTS.md and the workflow from DOCS/MODULE-IMPLEMENTATION-GUIDE.md (DOCS/DOCUMENTATION-INDEX.md:102-149). That combination lets Codex inherit existing layout structures, RPCD shells, and API modules without brittle guesswork.
DOCS/QUICK-START.md:40-53)./tmp/*.ipk and backups), ubus -32000 (chmod 755 + ubus list). Automate via secubox-tools whenever possible (DOCS/QUICK-START.md:55-70,171-180).DOCS/QUICK-START.md:74-114).DOCS/CODE-TEMPLATES.md or live modules under luci-app-* to keep generated code idiomatic (DOCS/DOCUMENTATION-INDEX.md:153-159).DOCS/DEVELOPMENT-GUIDELINES.md holds the long-form reasoning for every standard; cite relevant sections when escalating issues so maintainers see the source of truth quickly (DOCS/DOCUMENTATION-INDEX.md:68-82).README.md:7-16).DOCS/DOCUMENTATION-INDEX.md:1-31).TODO-ANALYSE.md generated to coordinate versioning, cross-links, and archival tasks (TODO-ANALYSE.md:1-34,71-150)..md shows Version/Last Updated/Status with consistent YYYY-MM-DD formatting; DOCUMENTATION-INDEX must describe the policy once updates land (TODO-ANALYSE.md:24-68).TODO-ANALYSE.md:71-116).docs/archive/, move outdated references (COMPLETION_REPORT, MODULE-ENABLE-DISABLE-DESIGN, BUILD_ISSUES, etc.), and drop an archive README describing contents (TODO-ANALYSE.md:120-153).TODO-ANALYSE.md; mention them when prompts may impact scope or format downstream.Codex should treat the TODOs above as guardrails: if a task touches documentation, prefer solutions that inch us toward these goals (e.g., add version headers while editing a doc, or cross-link when touching quick references).
DOCS/DOCUMENTATION-INDEX.md paths).Use this living manual as both a pre-flight briefing and a debrief log for automation work. Update it whenever the standards above evolve so every future Codex session starts with the correct mental model.