Skip to content

chore: gitignore tier-4 corpus research + .terrain scratch#181

Merged
pmclSF merged 1 commit into
mainfrom
chore/gitignore-corpus-research
May 13, 2026
Merged

chore: gitignore tier-4 corpus research + .terrain scratch#181
pmclSF merged 1 commit into
mainfrom
chore/gitignore-corpus-research

Conversation

@pmclSF
Copy link
Copy Markdown
Owner

@pmclSF pmclSF commented May 13, 2026

Summary

  • Ignores raw corpus graph data in `tier-4/` (walks, boundaries, labels)
  • Allowlists the small artifacts that ARE legitimate documentation: markdown reports, hand-labeled TSVs, repo URL lists
  • Ignores `.terrain/snapshots/` and `.terrain/cache/` (per-run scratch)
  • Adds `/terrain-precision` to match the existing `/terrain-corpus` rule

Why

The tier-4/ directory holds the harvested graph used for detector calibration. Without an ignore rule, accidental `git add tier-4/` sweeps in 300+ MB JSONL files (already triggered a push rejection during the README PR work). These are research scratch — they belong on the local machine that runs the harvest, never on GitHub.

No tier-4 data files are currently on origin/main. This is forward-looking only.

Test plan

  • After merge, `git status` in a fresh checkout shows no tier-4/*.jsonl as untracked
  • Existing tracked tier-4 markdown reports stay tracked (allowlist works)
  • `.terrain/snapshots/` ignored

🤖 Generated with Claude Code

The tier-4/ directory holds the harvested graph used for detector
calibration: PR walks, boundary edges, labels, per-repo signal data.
These are research scratch — kept local, never published. Without an
ignore rule, accidental `git add tier-4/` will sweep in 300+ MB JSONL
files and block the push to GitHub (100 MB file limit).

Allowlists the small artifacts that ARE legitimate documentation:
markdown reports, hand-labeled TSV files, repo URL lists.

Also ignores .terrain/snapshots/ + .terrain/cache/ (per-run scratch),
and adds /terrain-precision to match the existing /terrain-corpus rule.

No tier-4 data files are currently on origin/main; this is purely a
forward-looking guard.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@pmclSF pmclSF merged commit 51fdbc4 into main May 13, 2026
10 checks passed
@pmclSF pmclSF deleted the chore/gitignore-corpus-research branch May 13, 2026 05:26
@github-actions
Copy link
Copy Markdown

[INFO] Terrain — Informational only

Insufficient data to assess change risk confidently.

Metric Value
Changed files 1 (0 source · 0 test)

All clear. No new findings introduced; no protection gaps identified in changed code.

Run terrain compare over time to track posture; this clean state is the bar to hold.


Limitations
  • No coverage artifacts provided; protection gaps reflect missing data, not measured absence. Provide --coverage to improve accuracy.
  • Mixed test cultures reduce cross-framework optimization confidence. Consider standardizing on fewer frameworks.

Generated by Terrain · terrain pr --json for machine-readable output

Targeted Test Results

No tests selected — change affects only non-code files.

@github-actions
Copy link
Copy Markdown

Terrain AI Risk Review

Metric Value
AI surfaces 13
Eval scenarios 17
Impacted scenarios 0
Uncovered surfaces 13

Decision: PASS — AI surfaces are covered.

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.

1 participant