Skip to content
This repository was archived by the owner on Jul 29, 2026. It is now read-only.

chore(ratios): stamp executable source with ratios bookend - #16

Merged
erinepshovel-code merged 1 commit into
mainfrom
claude/msdmd-compliance-audit-fvua9b
Jun 30, 2026
Merged

chore(ratios): stamp executable source with ratios bookend#16
erinepshovel-code merged 1 commit into
mainfrom
claude/msdmd-compliance-audit-fvua9b

Conversation

@erinepshovel-code

Copy link
Copy Markdown
Collaborator

What

Brings pcna into ratios (msdmd RATIOS) compliance: every executable source file now carries the single-line ratios: declaration on its first and last non-blank lines. Stamped 23 Python source files (core/, backend/, root).

How

Values were computed by skill-lib's canonical ratios_check.py compute functions, so they verify by construction — python ratios_check.py reports 0 drift / 0 misplaced on the covered set, and py_compile is clean. No shebangs needed removing.

Excluded this pass: vendored .agents/ skill copies, frontend/ (React), tests/ (out of the checker's scope). CI's flake8 (E9,F63,F7,F82) and pytest are unaffected by comment-only additions.

Context

Part of the org-wide msdmd compliance pass (see skill-lib PR #33 for the audit). frontend/ is a deliberate follow-up.

🤖 Generated with Claude Code

https://claude.ai/code/session_016MxbhVVRcSdqBTYuvyDR5L


Generated by Claude Code

Bring pcna into ratios compliance (msdmd RATIOS): every executable
source file carries the single-line `ratios:` declaration on its first
and last non-blank lines. Stamped 23 Python source files; values
computed by skill-lib's canonical ratios_check.py compute functions, so
`ratios_check.py` reports 0 drift / 0 misplaced on the covered set.

Excluded (this pass): vendored .agents/ skill copies (must be
re-propagated from canonical, not hand-edited), frontend/ React trees
(separate pass), tests/ (out of the checker's scope), and legacy/
migration trees. Empty stub files are skipped (nothing to seal).

Shebangs removed from 0 script(s): ratios placement is strict
(first non-blank line), and these are invoked via `python …`/`-m`,
so direct ./script execution was not relied upon.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016MxbhVVRcSdqBTYuvyDR5L
@erinepshovel-code
erinepshovel-code marked this pull request as ready for review June 30, 2026 15:02
@erinepshovel-code
erinepshovel-code merged commit e384b32 into main Jun 30, 2026
7 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants