-
Notifications
You must be signed in to change notification settings - Fork 0
docs(models): add module docstring naming 5 core domain types (F354) #51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ImmortalDemonGod
wants to merge
16
commits into
main
Choose a base branch
from
fix/flashcore-f354
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
40e5992
chore(pipeline): launch-brief artifacts
claude e80fbdc
test(test_models): add bug catalog for F354 module docstring placeholder
claude 70e2f3a
test(test_models): add RED tests for F354 module docstring _summary_ …
claude 86e52f0
fix(test_models): use stripped docstring comparison for placeholder c…
claude 2a8f893
docs(aiv): verification packet for change 'flashcore-f354-tests'
claude 8cdd534
docs(aiv): add missing evidence classes A-F to verification packet
claude fb7df83
docs(models): replace _summary_ placeholder with accurate module docs…
claude 00f4cd2
chore(pipeline): prove-it artifacts
claude b4203ed
style(review_ui): fix black formatting to pass CI lint gate
claude 8c6723f
docs(aiv): verification packet for change 'flashcore-f354-ci'
claude e5dc691
docs(aiv): add missing evidence classes A,C,D,F and fix Class E canon…
claude c4cb6bc
docs(aiv): add missing known_limitations section (§7.5) to F354 impl …
b5e110c
docs(ci): add Packet Source guidance to PR template; fix Class A head…
98f7c8b
docs(aiv): fix Class A evidence section headers in F354 packets for a…
16000c8
docs(aiv): fix provenance — s/Claude/deepseek\/deepseek-v4-pro/ in F3…
5ab0f33
docs(aiv): address external review — fix MANIFEST data integrity + CI…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 63 additions & 0 deletions
63
.github/aiv-evidence/EVIDENCE_.GITHUB_PULL_REQUEST_TEMPLATE.MD.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| # AIV Evidence File (v1.0) | ||
|
|
||
| **File:** `.github/PULL_REQUEST_TEMPLATE.md` | ||
| **Commit:** `c4cb6bc` | ||
| **Generated:** 2026-06-24T19:03:58Z | ||
| **Protocol:** AIV v2.0 + Addendum 2.7 (Zero-Touch Mandate) | ||
|
|
||
| --- | ||
|
|
||
| ## Classification (required) | ||
|
|
||
| ```yaml | ||
| classification: | ||
| risk_tier: R0 | ||
| sod_mode: S0 | ||
| critical_surfaces: [] | ||
| blast_radius: ".github/PULL_REQUEST_TEMPLATE.md" | ||
| classification_rationale: "R0 — documentation/CI template change only; no functional code modified" | ||
| classified_by: "deepseek/deepseek-v4-pro" | ||
| classified_at: "2026-06-24T19:03:58Z" | ||
| ``` | ||
|
|
||
| ## Claim(s) | ||
|
|
||
| 1. verify: updated verification packets pass aiv guard markdown section checks with correct Class A (Execution Evidence) header | ||
| 2. verify: PR template includes Packet Source guidance comment for AI-driven PRs | ||
| 3. No existing tests were modified or deleted during this change. | ||
|
|
||
| --- | ||
|
|
||
| ## Evidence | ||
|
|
||
| ### Class E (Intent Alignment) | ||
|
|
||
| - **Link:** [https://github.com/ImmortalDemonGod/flashcore/blob/fb1ae5a1c1893939f4ff4f82cbd09d4e90f8e965/audit/02-static-audit.md#L364](https://github.com/ImmortalDemonGod/flashcore/blob/fb1ae5a1c1893939f4ff4f82cbd09d4e90f8e965/audit/02-static-audit.md#L364) | ||
| - **Requirements Verified:** F354 CI validate-packet gate must pass; packets must use guard-compliant section headers | ||
|
|
||
| ### Class B (Referential Evidence) | ||
|
|
||
| **Scope Inventory** (SHA: [`c4cb6bc`](https://github.com/ImmortalDemonGod/flashcore/tree/c4cb6bc7df6e82f69327eb961c4a7b1c73add3d1)) | ||
|
|
||
| - [`.github/PULL_REQUEST_TEMPLATE.md#L1-L5`](https://github.com/ImmortalDemonGod/flashcore/blob/c4cb6bc7df6e82f69327eb961c4a7b1c73add3d1/.github/PULL_REQUEST_TEMPLATE.md#L1-L5) | ||
| - [`.github/PULL_REQUEST_TEMPLATE.md#L104`](https://github.com/ImmortalDemonGod/flashcore/blob/c4cb6bc7df6e82f69327eb961c4a7b1c73add3d1/.github/PULL_REQUEST_TEMPLATE.md#L104) | ||
|
|
||
| ### Class A (Execution Evidence) | ||
|
|
||
| - Local checks skipped (--skip-checks). | ||
| - **Skip reason:** Template and packet documentation changes only; no code to test or lint | ||
|
|
||
|
|
||
| --- | ||
|
|
||
| ## Verification Methodology | ||
|
|
||
| **R0 (trivial) -- local checks skipped.** | ||
| **Reason:** Template and packet documentation changes only; no code to test or lint | ||
| Only git diff scope inventory was collected. No execution evidence. | ||
|
|
||
| --- | ||
|
|
||
| ## Summary | ||
|
|
||
| Fix Class A evidence section headers in F354 verification packets to match aiv guard requirements; add Packet Source guidance to PR template |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
.github/aiv-evidence/EVIDENCE_TESTS_TEST_MODELS.PY.BUG_CATALOG.MD.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| # AIV Evidence File (v1.0) | ||
|
|
||
| **File:** `tests/test_models.py.bug-catalog.md` | ||
| **Commit:** `40e5992` | ||
| **Generated:** 2026-06-24T07:14:03Z | ||
| **Protocol:** AIV v2.0 + Addendum 2.7 (Zero-Touch Mandate) | ||
|
|
||
| --- | ||
|
|
||
| ## Classification (required) | ||
|
|
||
| ```yaml | ||
| classification: | ||
| risk_tier: R0 | ||
| sod_mode: S0 | ||
| critical_surfaces: [] | ||
| blast_radius: "tests/test_models.py.bug-catalog.md" | ||
| classification_rationale: "R0: documentation-only artifact; no code changes; no runtime behavior affected" | ||
| classified_by: "deepseek/deepseek-v4-pro" | ||
| classified_at: "2026-06-24T07:14:03Z" | ||
| ``` | ||
|
|
||
| ## Claim(s) | ||
|
|
||
| 1. Bug catalog for F354 enumerates 3 docstring bugs with test-type matching and self-critique | ||
| 2. No existing tests were modified or deleted during this change. | ||
|
|
||
| --- | ||
|
|
||
| ## Evidence | ||
|
|
||
| ### Class E (Intent Alignment) | ||
|
|
||
| - **Link:** [https://github.com/ImmortalDemonGod/flashcore/blob/fb1ae5a1c1893939f4ff4f82cbd09d4e90f8e965/audit/02-static-audit.md#L364](https://github.com/ImmortalDemonGod/flashcore/blob/fb1ae5a1c1893939f4ff4f82cbd09d4e90f8e965/audit/02-static-audit.md#L364) | ||
| - **Requirements Verified:** Finding F354 requires tests that catch the _summary_ placeholder docstring defect | ||
|
|
||
| ### Class B (Referential Evidence) | ||
|
|
||
| **Scope Inventory** (SHA: [`40e5992`](https://github.com/ImmortalDemonGod/flashcore/tree/40e5992b78af522c3f359efe657cd8087a0c65fe)) | ||
|
|
||
| - [`tests/test_models.py.bug-catalog.md#L1-L209`](https://github.com/ImmortalDemonGod/flashcore/blob/40e5992b78af522c3f359efe657cd8087a0c65fe/tests/test_models.py.bug-catalog.md#L1-L209) | ||
|
|
||
| ### Class A (Execution Evidence) | ||
|
|
||
| - Local checks skipped (--skip-checks). | ||
| - **Skip reason:** Documentation-only artifact (.md file); no Python code to lint or test | ||
|
|
||
|
|
||
| --- | ||
|
|
||
| ## Verification Methodology | ||
|
|
||
| **R0 (trivial) -- local checks skipped.** | ||
| **Reason:** Documentation-only artifact (.md file); no Python code to lint or test | ||
| Only git diff scope inventory was collected. No execution evidence. | ||
|
|
||
| --- | ||
|
|
||
| ## Summary | ||
|
|
||
| Bug catalog for F354: _summary_ placeholder docstring defect |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,79 @@ | ||
| # AIV Evidence File (v1.0) | ||
|
|
||
| **File:** `tests/test_models.py` | ||
| **Commit:** `70e2f3a` | ||
| **Previous:** `70e2f3a` | ||
| **Generated:** 2026-06-24T07:17:22Z | ||
| **Protocol:** AIV v2.0 + Addendum 2.7 (Zero-Touch Mandate) | ||
|
|
||
| --- | ||
|
|
||
| ## Classification (required) | ||
|
|
||
| ```yaml | ||
| classification: | ||
| risk_tier: R1 | ||
| sod_mode: S0 | ||
| critical_surfaces: [] | ||
| blast_radius: "tests/test_models.py" | ||
| classification_rationale: "R1: test fix — corrects false GREEN due to whitespace mismatch in placeholder comparison; no production code changed" | ||
| classified_by: "deepseek/deepseek-v4-pro" | ||
| classified_at: "2026-06-24T07:17:22Z" | ||
| ``` | ||
|
|
||
| ## Claim(s) | ||
|
|
||
| 1. test_module_docstring_is_not_placeholder uses doc.strip() != '_summary_' — correctly detects placeholder with surrounding whitespace | ||
| 2. No existing tests were modified or deleted during this change. | ||
|
|
||
| --- | ||
|
|
||
| ## Evidence | ||
|
|
||
| ### Class E (Intent Alignment) | ||
|
|
||
| - **Link:** [https://github.com/ImmortalDemonGod/flashcore/blob/fb1ae5a1c1893939f4ff4f82cbd09d4e90f8e965/audit/02-static-audit.md#L364](https://github.com/ImmortalDemonGod/flashcore/blob/fb1ae5a1c1893939f4ff4f82cbd09d4e90f8e965/audit/02-static-audit.md#L364) | ||
| - **Requirements Verified:** Finding F354 requires a test that catches the _summary_ placeholder docstring defect regardless of surrounding whitespace | ||
|
|
||
| ### Class B (Referential Evidence) | ||
|
|
||
| **Scope Inventory** (SHA: [`70e2f3a`](https://github.com/ImmortalDemonGod/flashcore/tree/70e2f3a37841fab0b16509d21104dfb2f79e60ba)) | ||
|
|
||
| - [`tests/test_models.py#L574-L579`](https://github.com/ImmortalDemonGod/flashcore/blob/70e2f3a37841fab0b16509d21104dfb2f79e60ba/tests/test_models.py#L574-L579) | ||
| - [`tests/test_models.py#L603`](https://github.com/ImmortalDemonGod/flashcore/blob/70e2f3a37841fab0b16509d21104dfb2f79e60ba/tests/test_models.py#L603) | ||
| - [`tests/test_models.py#L605`](https://github.com/ImmortalDemonGod/flashcore/blob/70e2f3a37841fab0b16509d21104dfb2f79e60ba/tests/test_models.py#L605) | ||
|
|
||
| ### Class A (Execution Evidence) | ||
|
|
||
| **Per-symbol test coverage (AST analysis):** | ||
|
|
||
| - **`test_module_docstring_is_not_placeholder__catches_F354_placeholder_drift`** (L574-L579): FAIL -- WARNING: No tests import or call `test_module_docstring_is_not_placeholder__catches_F354_placeholder_drift` | ||
|
|
||
| **Coverage summary:** 0/1 symbols verified by tests. | ||
|
|
||
| ### Code Quality (Linting & Types) | ||
|
|
||
| - **ruff:** 22 error(s) | ||
| - **mypy:** Success: no issues found in 1 source file | ||
|
|
||
| ## Claim Verification Matrix | ||
|
|
||
| | # | Claim | Type | Evidence | Verdict | | ||
| |---|-------|------|----------|---------| | ||
| | 1 | test_module_docstring_is_not_placeholder uses doc.strip() !=... | unresolved | No automatic binding available | REVIEW MANUAL REVIEW | | ||
| | 2 | No existing tests were modified or deleted during this chang... | structural | Class C not collected | REVIEW MANUAL REVIEW | | ||
|
|
||
| **Verdict summary:** 0 verified, 0 unverified, 2 manual review. | ||
| --- | ||
|
|
||
| ## Verification Methodology | ||
|
|
||
| **Zero-Touch Mandate:** Verifier inspects artifacts only. | ||
| Evidence collected by `aiv commit` running: git diff (scope inventory), AST symbol-to-test binding (0/1 symbols verified). | ||
| Ruff/mypy results are in Code Quality (not Class A) because they prove syntax/types, not behavior. | ||
|
|
||
| --- | ||
|
|
||
| ## Summary | ||
|
|
||
| Fix false-GREEN placeholder detection: use stripped comparison | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Fix markdown heading-style warning (MD003) near verdict summary.
Add a blank line before
---so it is parsed as a thematic break, not a setext heading underline.🧰 Tools
🪛 markdownlint-cli2 (0.22.1)
[warning] 66-66: Heading style
Expected: atx; Actual: setext
(MD003, heading-style)
🤖 Prompt for AI Agents
Source: Linters/SAST tools