Skip to content

docs: local-llm code-mode + version single-source-of-truth refactor#272

Merged
pietgk merged 5 commits into
mainfrom
docs/local-llm
Jun 1, 2026
Merged

docs: local-llm code-mode + version single-source-of-truth refactor#272
pietgk merged 5 commits into
mainfrom
docs/local-llm

Conversation

@pietgk

@pietgk pietgk commented Apr 11, 2026

Copy link
Copy Markdown
Owner

Summary

This branch began as local-llm documentation updates and now also carries a build-tooling refactor and the agent-skills setup. Three logical parts:

1. Docs — local-llm & MCP-apps

  • New: docs/intent/local-llm/vivief-code-mode-tanstack.md, vivief-code-mode-integration.md, vivief-self-improving-creation-loop.md, vivief-creation-loop-intro.pptx
  • New: docs/intent/mcp-apps/mcp-apps-landscape.md
  • New: docs/claude/concepts-code-mode.md (+ docs/claude/INDEX.md entry)
  • Updated: docs/intent/local-llm/vivief-local-llm-intent.md

2. Version single source of truth (ADR-0052, supersedes ADR-0040)

version.ts was generated from package.json on prebuild and gitignored, so bumping a version and running tests without a rebuild left it stale and the guardrail test red — a recurring push blocker.

  • src/version.ts is now a committed source file that reads package.json at runtime via createRequire — drift is structurally impossible.
  • Removed the generator (scripts/generate-version.mjs), the per-package prebuild hook, the .gitignore entry, and the CI "Generate version files" step.
  • Guardrail tests retained (now pass trivially, still catch a regression).

3. Agent-skills setup

  • docs/agents/{issue-tracker,triage-labels,domain}.md + an ## Agent skills index block in CLAUDE.md and AGENTS.md.

Changelog

Changesets-based. .changeset/version-from-package-json.md records a patch across all 9 publishable packages for the version refactor; the per-package CHANGELOG.md files are generated by the release flow on merge to main. Docs-only commits need no changeset.

Test plan

  • pnpm typecheck — 15/15 tasks pass
  • Pre-push hook (full suites for devac-core/cli/mcp/worktree) — green, including version.test.ts and the devac --version e2e test

🤖 Generated with Claude Code

pietgk and others added 5 commits April 11, 2026 15:56
Resolved 3 conflicts in favor of docs/local-llm branch:
- docs/archive/spec/ramblings.md: kept TanStack interview answers
- docs/claude/INDEX.md: kept concepts-code-mode.md entry
- docs/intent/local-llm/vivief-local-llm-intent.md: kept 2026-04-11 revisions

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ain)

Add docs/agents/ with issue-tracker (GitHub via gh), triage-labels
(default vocabulary), and domain (single-context, ADRs at
docs/contract/adr/) consumer rules. Mirror the Agent skills index
block into both CLAUDE.md and AGENTS.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
version.ts was generated from package.json on prebuild and gitignored, so
bumping a version and running tests without a rebuild left it stale and the
guardrail test red — a recurring push blocker across packages.

Make src/version.ts a committed source file that reads package.json at runtime
via createRequire. Drop the generator, the per-package prebuild hook, the
gitignore entry, and the CI generation step. Drift is now structurally
impossible; package.json stays the single source of truth.

Supersedes ADR-0040 with ADR-0052.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@pietgk pietgk changed the title docs: update local-llm with tan-stack code-mode ideas docs: local-llm code-mode + version single-source-of-truth refactor Jun 1, 2026
@pietgk pietgk merged commit fd9bef3 into main Jun 1, 2026
3 checks passed
@pietgk pietgk deleted the docs/local-llm branch June 1, 2026 13:12
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