From c04027f85739e9bf881e0bb79db86cd7193de234 Mon Sep 17 00:00:00 2001 From: 0xFantomMenace <93462858+0xFantomMenace@users.noreply.github.com> Date: Mon, 28 Sep 2026 22:00:02 +0000 Subject: [PATCH] Neutral wording for shipped docs, ignore rules and the package check - SpotFreshness.tables: keyed by dataset name. - .gitignore: one rule for every hidden local directory except .github, instead of naming individual tools. - Package contents check: the planted stray directories are .scratch. --- .github/workflows/package-contents.yml | 4 ++-- .gitignore | 7 ++++--- oxarchive/types.py | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/package-contents.yml b/.github/workflows/package-contents.yml index 99d4e98..486dc81 100644 --- a/.github/workflows/package-contents.yml +++ b/.github/workflows/package-contents.yml @@ -19,9 +19,9 @@ jobs: - run: pip install build - name: Plant untracked files that must not be packaged run: | - mkdir -p .claude/worktrees/probe && echo stray > .claude/worktrees/probe/stray.rs + mkdir -p .scratch/probe && echo stray > .scratch/probe/stray.rs echo stray > oxarchive/stray.txt - mkdir -p oxarchive/.claude && echo stray > oxarchive/.claude/stray.py + mkdir -p oxarchive/.scratch && echo stray > oxarchive/.scratch/stray.py - run: python -m build --outdir dist-check - name: Every packaged file is tracked source or build metadata run: | diff --git a/.gitignore b/.gitignore index 44f2d55..9859488 100644 --- a/.gitignore +++ b/.gitignore @@ -84,6 +84,7 @@ dmypy.json .DS_Store Thumbs.db -# Agent working directories. Not source, never packaged. -.claude/ -.codex/ +# Local tool directories: every hidden directory except .github. Not source, +# never packaged. +.*/ +!.github/ diff --git a/oxarchive/types.py b/oxarchive/types.py index 661f2a8..f1fe391 100644 --- a/oxarchive/types.py +++ b/oxarchive/types.py @@ -533,7 +533,7 @@ class SpotTableFreshness(BaseModel): """When this freshness was measured.""" tables: dict[str, Any] = Field(default_factory=dict) - """Per-table freshness lag, keyed by ClickHouse table name. Values are + """Per-dataset freshness lag, keyed by dataset name. Values are typically ``{last_updated, lag_ms}`` dicts but the schema is permissive.""" model_config = {"extra": "allow"}