Skip to content

feat(files): add manifest gitignore axis and ADR 0008 - #78

Merged
cooper (czxtm) merged 1 commit into
feat/devenv-module-and-preludefrom
feat/manifest-gitignore-axis
Nov 8, 2026
Merged

cooper (czxtm) merged 1 commit into
feat/devenv-module-and-preludefrom
feat/manifest-gitignore-axis

Conversation

@czxtm

@czxtm cooper (czxtm) commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

Summary

  • ADR 0008 (docs/adr/0008-generated-files.md): Documents the convention for generated files—no artificial path or filename restrictions, with git-tracking (gitignore = true | false) declared on the stackpanel.files.entries manifest.
  • Nix gitignore axis (nix/stackpanel/files/default.nix, core/default.nix):
    • Adds gitignore option to stackpanel.files.entries (defaults to true for format = "symlink" and paths under <home>/{gen,profile,state,keys,bin}/ or .tasks/; false otherwise).
    • Propagates gitignore to STACKPANEL_FILES_MANIFEST, STACKPANEL_FILES_PREFLIGHT_MANIFEST, and stackpanel.files._plan.
    • Automatically populates the managed # ── BEGIN stackpanel ── block in .gitignore from gitignore = true file entries.
    • Migrates clean.nix, direnv.nix, ide.nix, process-compose/module.nix, and entrypoints/module.nix to declare gitignore = true directly on their ephemeral file entries.
  • stack doctor & Studio UI (apps/stackpanel-go/, apps/web/):
    • FilesReconciler and FileopsReconciler warn when a gitignore = true manifest entry is tracked in the git index (fix: git rm --cached <path>).
    • Surfaces gitignore and writer on /api/nix/files and renders Gitignored vs Committed badges in the Studio Files and Inspector panels.

Stack

  1. fix(setupagent): recover truncated JSON replies and pass --yolo to codex exec #76 (fix/setup-agent-json → main)
  2. feat(flake): add devenvModules.default and disable unused Prelude workspace #77 (feat/devenv-module-and-prelude → fix/setup-agent-json)
  3. feat(files): add manifest gitignore axis and ADR 0008 #78 (This PR) (feat/manifest-gitignore-axis → feat/devenv-module-and-prelude)

Test Plan

  • nix eval --impure --json -f nix/stackpanel/files/files.test.nix (7/7 passed)
  • cd apps/stackpanel-go && go test ./internal/reconcile/... ./internal/fileops/... ./internal/agent/...

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Docs preview pr-78 has been destroyed.

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Preview pr-78 has been destroyed.

@czxtm
cooper (czxtm) merged commit 8d5b5e2 into main Nov 8, 2026
14 checks passed
@linear-code

linear-code Bot commented Nov 8, 2026

Copy link
Copy Markdown

ENG-1433

This branch was successfully deployed

2 active deployments
pr-78 — 3754dcc3 Deployed Nov 8, 2026 by czxtm via deploy #269
docs-preview — 3754dcc3 Deployed Nov 8, 2026 by czxtm via deploy #258
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