chore: fix .gitignore inline comments + add untracked code files
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 1m32s
G12 Leak-Guard / leak-guard (push) Successful in 5s
Lint — undefined names / undefined-names (push) Successful in 11s

Inline # comments in gitignore are not supported — they were silently
breaking three patterns (data/checkpoints/, data/adapter-migration-state.json,
.claude/agents/.generated/). Moved comments to their own lines and added
missing entries for runtime dirs (data/audit/, data/logs/, etc.) and
temp files (.interaction_tmp.json, .design-build/, .taskmaster bak files).

Also tracks previously untracked legitimate files: scripts, tests, docs,
skills references, .env.example, taskmaster templates.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-27 12:46:32 +00:00
parent b4a68cf5da
commit 4de555367d
17 changed files with 3108 additions and 3 deletions

View File

@@ -0,0 +1,21 @@
"""Adapter-profile compatibility gates for Paperclip migration."""
from __future__ import annotations
import importlib.util
from pathlib import Path
_SCRIPT = Path(__file__).resolve().parents[2] / "scripts" / "adapter_profiles.py"
_spec = importlib.util.spec_from_file_location("adapter_profiles", _SCRIPT)
profiles = importlib.util.module_from_spec(_spec)
_spec.loader.exec_module(profiles)
def test_codex_local_profile_accepts_openai_model_ids():
assert profiles.model_matches_provider("gpt-5.3-codex", "codex_local")
assert profiles.model_matches_provider("o4-mini", "codex_local")
assert profiles.model_matches_provider("codex-mini-latest", "codex_local")
def test_codex_local_profile_rejects_foreign_model_ids():
assert not profiles.model_matches_provider("claude-opus-4-8", "codex_local")
assert not profiles.model_matches_provider("gemini-3.1-pro-preview", "codex_local")