chore: tidy repo root — session docs to docs/history, loose tests to tests/scratch (Item 25)#145
Merged
Merged
Conversation
…ts to tests/scratch Item 25 of the Estate Tech-Debt Recovery Plan. Pure file relocation (git mv, R100 — no content change): - 9 session/phase/dated-progress .md (FIXES_2026-01-23, PHASE3-*, SESSION-*, MODULE-SYSTEM-PROGRESS, TRAIT_SYSTEM_STATUS, REPLY-SUM-TYPES) -> docs/history/ (joins the existing history docs there). - 6 loose root test_*.affine snippets -> tests/scratch/. Canonical root docs (README/SECURITY/CONTRIBUTING/CODE_OF_CONDUCT/ LICENSING-GUIDE/KNOWN-ISSUES/PROOF-NEEDS and design/reference docs) left in place. Verified no build/CI/script references the moved paths. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
🔍 Hypatia Security ScanFindings: 41 issues detected
View findings[
{
"reason": "Stray AI.a2ml in root -- use 0-AI-MANIFEST.a2ml only",
"type": "banned",
"file": "AI.a2ml",
"action": "delete",
"rule_module": "root_hygiene",
"severity": "high"
},
{
"reason": "Superseded by 0-AI-MANIFEST.a2ml",
"type": "banned",
"file": "AI.djot",
"action": "delete",
"rule_module": "root_hygiene",
"severity": "high"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/affinescript/affinescript/affinescript-deno-test/example/smoke_driver.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/affinescript/affinescript/affinescript-deno-test/cli.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/affinescript/affinescript/affinescript-deno-test/mod.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/affinescript/affinescript/affinescript-deno-test/lib/compile.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/affinescript/affinescript/affinescript-deno-test/lib/runner.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/affinescript/affinescript/affinescript-deno-test/lib/discover.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/affinescript/affinescript/packages/affine-js/types.d.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "Admitted leaves proof hole (1 occurrences, CWE-704)",
"type": "admitted",
"file": "/home/runner/work/affinescript/affinescript/affinescript-vite/verification/proofs/coq/TypeSafety.v",
"action": "flag",
"rule_module": "code_safety",
"severity": "critical"
}
]Powered by Hypatia Neurosymbolic CI/CD Intelligence |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Item 25 — affinescript root tidy (Estate Tech-Debt Recovery Plan, Day 64)
Pure file relocation, no content changes (all renames are
git mvR100).Moved
docs/history/(joins thehistory docs already living there):
FIXES_2026-01-23.md,MODULE-SYSTEM-PROGRESS.md,PHASE3-ASSESSMENT.md,PHASE3-COMPLETE.md,PHASE3-SESSION-SUMMARY.md,SESSION-2026-01-23.md,SESSION-COMPLETE.md,TRAIT_SYSTEM_STATUS.md,REPLY-SUM-TYPES.mdtest_*.affinesnippets →tests/scratch/:test_if,test_min,test_simple,test_spread,test_spread2,test_spread3Deliberately left at root
Canonical/standard files (README, SECURITY, SECURITY-SETUP, CONTRIBUTING,
CODE_OF_CONDUCT, LICENSING-GUIDE, KNOWN-ISSUES, PROOF-NEEDS) and design/
reference docs (ABI-FFI-README, COMPILER-CAPABILITIES, BACKEND-*,
CONTROLS-REFERENCE, DAMAGE-SYSTEM, GAME-BUNDLING-STRATEGY, ALPHA-1-RELEASE-NOTES).
A broader reference-doc reorg is out of scope for this
〈small〉item.Safety
Verified by
git grepthat no build file, CI workflow, or scriptreferences any moved path (the
test_*grep hits were unrelated functionnames, not file refs).
🤖 Generated with Claude Code