linkedin-studio/.gitignore
Kjell Tore Guttormsen 58aebf05a9 feat(linkedin-studio): deterministic §B/§C1 contract binding-gate (fix #1 slice 1)
Adds scripts/contract-gate/ — a deterministic, AI-free gate that enforces the
mechanical half of the Maskinrommet writing contract (§B red flags + §C1
regelsjekk) BEFORE operator handoff, so the same mechanical correction never
reaches KTG twice. First slice of fix #1 (binding + accumulating); target
re-scoped to close all 4 diagnosis gaps = sustainable newsletter workflow.

- Structured ruleset as DATA (src/rules.ts) so accumulation (slice 2) appends.
- 3 BLOCK (modell-strawman, series-thesis "er ikke modellen", _underscore_)
  + 7 WARN (judgment-needed). Block only on provable, ~zero-FP matches.
- Code/frontmatter masking; line-accurate reporting; CLI receipt + exit code.
- 21/21 tests (node:test), tsc clean.
- Validated on 6 real editions: 0 BLOCK on published Del 2-5; caught a real
  Rule-10 violation in Del 6 (WIP) automatically. Versal-tic uses an
  emphasis-word denylist after real-data FPs (NAV/DFØ/NPM).

Finding: the plugin already mirrors §A + §C2; §C1 was the unhomed gap this fills.
Plugin structure lint unchanged (81/0/0); no new agents/commands/refs/skills.
2026-06-20 17:17:51 +02:00

76 lines
1.6 KiB
Text

# Secrets and sensitive files
.mcp.json
.env
.env.*
# Local configuration
*.local.md
# Real voice profile is personal data — adopters keep theirs local; the tracked
# authentic-voice-samples.md ships as a sentinel placeholder. (Already matched by
# *.local.md above; listed explicitly so the intent is unmissable.)
assets/voice-samples/authentic-voice-samples.local.md
# Session state (personal activity, auto-initialized from template)
REMEMBER.md
# Credentials
credentials.json
*-secret*
*.pem
*.key
# OS files
.DS_Store
Thumbs.db
# IDE
.idea/
.vscode/
*.swp
*.swo
# Temporary files
*.tmp
*.bak
# Draft content (personal posts)
assets/drafts/queue.json
assets/drafts/week-*/
# Analytics data (personal performance data)
assets/analytics/exports/
assets/analytics/posts/
assets/analytics/weekly-reports/
assets/analytics/content-history.md
# Internal development files (not for public release)
BACKLOG.md
docs/DEVELOPMENT-LOG.md
# Generated annotation/review artifacts (regenerable; annotations live in browser localStorage)
docs/review/
docs/**/*.html
# Voyage executor bookmarks (local continuity, not tracked)
docs/**/.session-state.local.json
*.local.json
# Node.js
scripts/analytics/node_modules/
scripts/analytics/build/
scripts/contract-gate/node_modules/
scripts/contract-gate/build/
# --- session/local state ---
# STATE.md is LOCAL-ONLY (gitignored): no private remote exists and STATE must
# never reach the public open/ mirror. Deliberate deviation from the global
# "STATE tracked" rule, justified by the absence of any private remote.
STATE.md
REMEMBER.md
ROADMAP.md
TODO.md
NEXT-SESSION-PROMPT*.local.md
*.local.md
*.local.json
*.local.sh
.DS_Store
.claude/