Skip to content

Track in-force governance rules and black-format the report helpers - #9

Merged
seifreed merged 2 commits into
mainfrom
chore-track-working-tree-state
Aug 2, 2026
Merged

Track in-force governance rules and black-format the report helpers#9
seifreed merged 2 commits into
mainfrom
chore-track-working-tree-state

Conversation

@seifreed

@seifreed seifreed commented Aug 2, 2026

Copy link
Copy Markdown
Owner

Commits pre-existing working-tree state that predates the flag-transfer feature and is unrelated to it, kept out of that PR.

  • Governance: CLAUDE.md carried sections 8-19 plus the approved exceptions (EX-001/002/003) only in the working tree. These are the rules the project already treats as binding; this tracks them in git.
  • Formatting: black-format report_helpers_risk.py (wrapped boolean) and report_helpers_symbolic.py (stray blank line). Formatting only, no behavior change.

Not included: fixtures/optimized_binaries/exception_test has an opaque working-tree change (same size, different content, unclear provenance) — left untouched rather than merged unverified.

CLAUDE.md carried sections 8-19 (sample-agnostic mutations, observability, retention
guardrails, evolution policy, communication discipline, testing discipline,
decomposition watchlist, performance policy, single-binary UX, architecture-map
guardrails, commit conventions, compliance) plus the approved exceptions
(EX-001/002/003) only in the working tree. These are the rules the project already
treats as binding; track them in git so the committed file matches the governance in
force.
Pre-existing formatting drift: report_helpers_risk.py had a wrapped boolean the
formatter joins onto one line and report_helpers_symbolic.py a stray blank line.
Formatting only, no behavior change; leaves both black-clean.
Copilot AI review requested due to automatic review settings August 2, 2026 20:30
@seifreed
seifreed merged commit dd3649d into main Aug 2, 2026
@seifreed
seifreed deleted the chore-track-working-tree-state branch August 2, 2026 20:30

Copilot AI 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.

Pull request overview

Tracks previously out-of-tree governance rules in CLAUDE.md and applies Black-only formatting cleanups to report helper modules in r2morph/core/.

Changes:

  • Add governance sections 8–19 (plus exceptions) to CLAUDE.md so the project rules are versioned in git.
  • Black-format a wrapped boolean expression in report_helpers_risk.py.
  • Remove a stray blank line in report_helpers_symbolic.py.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
r2morph/core/report_helpers_symbolic.py Removes a stray blank line (formatting-only).
r2morph/core/report_helpers_risk.py Reflows a boolean expression to Black output under the project’s configured line length.
CLAUDE.md Adds the missing governance sections (8–19) and documents approved exceptions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CLAUDE.md
## 11. Política de evolución

- **Sin compatibilidad legacy para features propias.** Cuando una feature, API interna, flag de CLI, campo de report, perfil o adaptador reemplaza a otro más viejo, se elimina la implementación obsoleta, sus docs, tests, fixtures, alias y rutas de fallback en el mismo cambio. No se preserva comportamiento legacy solo porque una interfaz interna antigua existía. La compatibilidad **solo** es válida cuando modela contratos externos públicos que r2morph debe soportar: formatos PE/ELF/Mach-O, semántica de ISA, esquemas de report versionados públicamente (`report_schema.json`, SARIF).
- **El código es propio.** Herramientas, papers y proyectos open-source externos pueden inspirar el diseño, pero el código que se commitea es original y alineado con la arquitectura de r2morph. No se porta, copia ni transliterar implementaciones de terceros.
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