Skip to content

docs(inspirations): consolidate engineering doctrine manifestos (Slice 1) - #230

Merged
FabioLeitao merged 1 commit into
mainfrom
cursor/sre-automation-agent-protocol-ea86
Apr 27, 2026
Merged

FabioLeitao merged 1 commit into
mainfrom
cursor/sre-automation-agent-protocol-ea86

Conversation

@cursor

@cursor cursor Bot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

Summary (Slice 1 of 4 — documentation-only)

Consolidates the Data Boar engineering doctrine under docs/ops/inspirations/ so reviewers can cite a normative manifesto in PRs instead of re-litigating posture from rules and ADRs. Zero impact on customer database locks, sampling caps, or transactional state — this Slice is doc-only by design.

Driving plan: docs/plans/PLAN_ENGINEERING_DOCTRINE_CONSOLIDATION.md — RCA-style framing, four execution Slices, explicit out-of-scope.

What changed

New manifestos under docs/ops/inspirations/

File Seeds
THE_ART_OF_THE_FALLBACK.md Usagi Electric · The 8-Bit Guy
DEFENSIVE_SCANNING_MANIFESTO.md NASA SEL · Cloudflare · Steve Gibson
ENGINEERING_BENCH_DISCIPLINE.md Adam Savage · Julia Evans (b0rk) · Aviões e Músicas
INTERNAL_DIAGNOSTIC_AESTHETICS.md Mark Russinovich (Sysinternals)
ACTIONABLE_GOVERNANCE_AND_TRUST.md Tailscale · Charity Majors (Honeycomb) · Cloudflare

Each manifesto: why it exists, doctrinal rules, explicit do / don't, and a table of where the doctrine is enforced in code (e.g. connectors/sql_sampling.py, core/scan_audit_log.py, report/executive_report.py).

Hub wiring

  • INSPIRATIONS_HUB.md gains a Doctrine table listing all five files.
  • README.md gains a parallel Doctrine bullet block.
  • PLANS_TODO.md Integration / active threads gets a row pointing to the new plan; last refreshed bumped to 2026-04-27.
  • plans_hub_sync.py --write ran (PLANS_HUB.md regenerated).
  • plans-stats.py --write: no dashboard row changes.

Plan

docs/plans/PLAN_ENGINEERING_DOCTRINE_CONSOLIDATION.md:

  1. Slice 1 (this PR): manifestos + hub wiring.
  2. Slice 2: RCA block in completão failure path; methodology proof block in data-boar-report.
  3. Slice 3: doctrinal code comments referencing the manifestos (refactor: only, behavior-preserving).
  4. Slice 4: refresh BENCHMARK_EVOLUTION.md with v1.7.3 → HEAD narrative.

RCA / why now

Symptom. Cursor agents and contributors read inspirations as a tone reference but not as a normative posture they can cite in code review. Defensive scanning, fallback hierarchy, diagnostic narrative, and the APG framing get applied unevenly.

Root cause. The doctrine is implicit, scattered across rules and ADRs. There is no single, normative manifesto block per theme.

Fix. Five short, normative files. Each file states do / don't and points at the file/test that already enforces the rule. Refactor of code comments (Slice 3) and methodology section in data-boar-report (Slice 2) are deferred to follow-up PRs to keep this PR strictly doc-only.

Defensive architecture / regression posture

  • No code changes. No connector changes. No new flags.
  • No CLI/dashboard help drift; no core/ or connectors/ files touched.
  • Sampling caps, statement timeouts, WITH (NOLOCK) posture, and leading SQL comments described in DEFENSIVE_SCANNING_MANIFESTO.md are documented from the existing code in connectors/sql_sampling.py — no behavior change.

Tests run locally

  • uv run pre-commit run --files <changed files> — green (markdown lint, pt-BR locale, plans-stats freshness, external-tier-no-plan-links, uv lock parity, PII guards, commercial guard).
  • uv run pytest tests/test_plans_hub_sync.py tests/test_docs_external_no_plan_links.py tests/test_plans_stats.py tests/test_pii_guard.py tests/test_confidential_commercial_guard.py — all green.
  • Markdown lint MD036 (emphasis instead of heading) caught and fixed before push.

Inspired by LMDE community issue style

Following the form of linuxmint/live-installer issues #177 / #178 (FabioLeitao): clear symptom → root cause → proposed fix → evidence path → defensive constraints → next-step Slices. No invented metrics or dates.

Out of scope (explicitly deferred)

  • Renames in connectors/.
  • ML/DL gates in core/detector.py.
  • New CLI flags. The doctrine is documentation + (later) comments + RCA blocks.
  • Code changes that would require a feature commit. Slice 3 will land as refactor: (behavior-preserving) in its own PR.

Check-all

scripts/check-all.ps1 is the maintainer's full gate; this PR was validated with the targeted pre-commit hooks listed above (the changed files do not touch Python paths covered by the heavier suites). Slice 4 (BENCHMARK_EVOLUTION.md refresh) will only finalize after check-all is 100% green per the operator's directive.

"Hope is not a strategy, but a well-built tool is."

Open in Web View Automation 

…e 1)

Add five normative manifestos under docs/ops/inspirations/ that codify the
Data Boar engineering DNA, plus a driving plan that breaks remaining work into
auditable Slices. Slice 1 is documentation-only — zero impact on customer
database locks, sampling caps, or transactional state.

Manifestos:
- THE_ART_OF_THE_FALLBACK.md (Usagi Electric, The 8-Bit Guy)
- DEFENSIVE_SCANNING_MANIFESTO.md (NASA SEL, Cloudflare, Steve Gibson)
- ENGINEERING_BENCH_DISCIPLINE.md (Adam Savage, Julia Evans, Avioes e Musicas)
- INTERNAL_DIAGNOSTIC_AESTHETICS.md (Mark Russinovich / Sysinternals)
- ACTIONABLE_GOVERNANCE_AND_TRUST.md (Tailscale, Honeycomb, Cloudflare)

Plan: docs/plans/PLAN_ENGINEERING_DOCTRINE_CONSOLIDATION.md
- RCA-style problem statement.
- Slice 1 (this PR): manifestos + hub wiring.
- Slice 2 (next PR): RCA blocks in completao failure path; methodology proof
  in data-boar-report.
- Slice 3 (next PR): doctrinal code comments referencing manifestos
  (refactor only, behavior-preserving).
- Slice 4: refresh BENCHMARK_EVOLUTION.md with v1.7.3 -> HEAD narrative.

Hub wiring:
- INSPIRATIONS_HUB.md gains a 'Doctrine' section listing the five files.
- README.md gains a parallel 'Doctrine' bullet block.
- PLANS_TODO.md *Integration / active threads* gets a row pointing to the
  new plan; last-refreshed date bumped to 2026-04-27.
- plans_hub_sync.py --write run (PLANS_HUB.md updated).
- plans-stats.py --write: no dashboard row changes.

Pre-commit: ruff (n/a), markdown lint, pt-BR locale, confidential commercial,
external-tier-no-plan-links, uv lock parity, PII guards — all green.

Co-authored-by: Fabio Tavares Leitão <[email protected]>
@FabioLeitao
FabioLeitao marked this pull request as ready for review April 27, 2026 15:41
@FabioLeitao
FabioLeitao merged commit ed73590 into main Apr 27, 2026
1 check passed
@FabioLeitao
FabioLeitao deleted the cursor/sre-automation-agent-protocol-ea86 branch April 27, 2026 15:41
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.

2 participants