docs(data): ADR-0002 + per-directory READMEs — populate, not remove (#5)#12
Merged
Merged
Conversation
The dispatch/patterns/recipes/outcomes/policy/health/.well-known dirs flagged as "empty placeholders" are now live data sinks for the scan→triage→autofix pipeline. Records the populate-not-remove decision in ADR-0002 and adds the missing per-directory README explaining contents, format, writer/reader, and append-vs-rewrite semantics for each. No data files moved or removed; outcomes/.gitkeep documented as intentional. Closes #5. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
🔍 Hypatia Security ScanFindings: 12 issues detected
View findings[
{
"reason": "No test directory or test files found",
"type": "no_tests",
"file": "/home/runner/work/verisimdb-data/verisimdb-data",
"action": "flag",
"rule_module": "honest_completion",
"severity": "high",
"deduction": 20
},
{
"reason": "Issue in quality.yml",
"type": "missing_workflow",
"file": "quality.yml",
"action": "create",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Issue in security-policy.yml",
"type": "missing_workflow",
"file": "security-policy.yml",
"action": "create",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Action hyperpolymath/standards/.github/workflows/governance-reusable.yml@main needs attention",
"type": "unpinned_action",
"file": "governance.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "codeql.yml lists `language: javascript-typescript` but the repo has no source files in any CodeQL-scannable language. The analyze job will exit 'no source files' on every run. Switch the matrix to `actions` (which scans workflow files — every repo has those).",
"type": "codeql_language_matrix_mismatch",
"file": "codeql.yml",
"action": "switch_codeql_matrix_to_actions",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Download-and-execute pattern (curl|wget pipe to shell) -- verify integrity before execution (3 occurrences, CWE-494)",
"type": "shell_download_then_run",
"file": "/home/runner/work/verisimdb-data/verisimdb-data/setup.sh",
"action": "flag",
"rule_module": "code_safety",
"severity": "high"
},
{
"reason": "Nominal-only SAST in verisimdb-data: codeql.yml language matrix contains no language present in the repo and lacks `actions`, so CodeQL records zero results on every commit. Remediation: set the CodeQL matrix to `language: actions`.",
"type": "StaticAnalysis",
"file": "/home/runner/work/verisimdb-data/verisimdb-data",
"action": "auto_fix",
"rule_module": "scorecard",
"severity": "medium",
"remediation": "Add CodeQL or equivalent SAST workflow.",
"scorecard_check": "SAST"
},
{
"reason": "Repository has 4 non-main remote branch(es). Policy: single main branch only.",
"type": "GS007",
"file": ".",
"action": "delete_remote_branches",
"rule_module": "git_state",
"severity": "medium"
},
{
"reason": "References STATE.scm -- should be .machine_readable/6a2/STATE.a2ml",
"type": "SD007",
"file": "0-AI-MANIFEST.a2ml",
"action": "update_reference",
"rule_module": "structural_drift",
"severity": "medium"
},
{
"reason": "References META.scm -- should be .machine_readable/6a2/META.a2ml",
"type": "SD007",
"file": "0-AI-MANIFEST.a2ml",
"action": "update_reference",
"rule_module": "structural_drift",
"severity": "medium"
}
]Powered by Hypatia Neurosymbolic CI/CD Intelligence |
🔍 Hypatia Security ScanFindings: 12 issues detected
View findings[
{
"reason": "No test directory or test files found",
"type": "no_tests",
"file": "/home/runner/work/verisimdb-data/verisimdb-data",
"action": "flag",
"rule_module": "honest_completion",
"severity": "high",
"deduction": 20
},
{
"reason": "Issue in quality.yml",
"type": "missing_workflow",
"file": "quality.yml",
"action": "create",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Issue in security-policy.yml",
"type": "missing_workflow",
"file": "security-policy.yml",
"action": "create",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Action hyperpolymath/standards/.github/workflows/governance-reusable.yml@main needs attention",
"type": "unpinned_action",
"file": "governance.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "codeql.yml lists `language: javascript-typescript` but the repo has no source files in any CodeQL-scannable language. The analyze job will exit 'no source files' on every run. Switch the matrix to `actions` (which scans workflow files — every repo has those).",
"type": "codeql_language_matrix_mismatch",
"file": "codeql.yml",
"action": "switch_codeql_matrix_to_actions",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Download-and-execute pattern (curl|wget pipe to shell) -- verify integrity before execution (3 occurrences, CWE-494)",
"type": "shell_download_then_run",
"file": "/home/runner/work/verisimdb-data/verisimdb-data/setup.sh",
"action": "flag",
"rule_module": "code_safety",
"severity": "high"
},
{
"reason": "Nominal-only SAST in verisimdb-data: codeql.yml language matrix contains no language present in the repo and lacks `actions`, so CodeQL records zero results on every commit. Remediation: set the CodeQL matrix to `language: actions`.",
"type": "StaticAnalysis",
"file": "/home/runner/work/verisimdb-data/verisimdb-data",
"action": "auto_fix",
"rule_module": "scorecard",
"severity": "medium",
"remediation": "Add CodeQL or equivalent SAST workflow.",
"scorecard_check": "SAST"
},
{
"reason": "Repository has 4 non-main remote branch(es). Policy: single main branch only.",
"type": "GS007",
"file": ".",
"action": "delete_remote_branches",
"rule_module": "git_state",
"severity": "medium"
},
{
"reason": "References STATE.scm -- should be .machine_readable/6a2/STATE.a2ml",
"type": "SD007",
"file": "0-AI-MANIFEST.a2ml",
"action": "update_reference",
"rule_module": "structural_drift",
"severity": "medium"
},
{
"reason": "References META.scm -- should be .machine_readable/6a2/META.a2ml",
"type": "SD007",
"file": "0-AI-MANIFEST.a2ml",
"action": "update_reference",
"rule_module": "structural_drift",
"severity": "medium"
}
]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.
Resolves #5 (V-L3-S1) — "empty placeholder subdirs: populate or remove".
Decision: populate, not remove. The premise is stale: ADR-0001 already declared
dispatch/ patterns/ recipes/ outcomes/ policy/ health/ .well-known/as the flat-file data store, and the scan→triage→autofix pipeline has since filled every one with production data. There are no empty placeholder directories left in the tree.Changes (docs only — no data files moved or removed):
docs/decisions/ADR-0002-data-subdir-population.adoc— records populate-not-remove, builds on ADR-0001, explains why one ADR + 7 READMEs (not 7 tracking issues).README.adocin each of the 7 directories stating: what it holds, on-disk format, who writes/reads it, and append-only vs rewritten-in-place semantics.outcomes/.gitkeepdocumented as intentional (monthly ledger ⇒ empty-but-.gitkeepis the expected steady state, not a placeholder).Acceptance criteria:
🤖 Generated with Claude Code