Skip to content

Haft/6.1.0#59

Merged
m0n0x41d merged 31 commits into
devfrom
haft/6.1.0
Apr 14, 2026
Merged

Haft/6.1.0#59
m0n0x41d merged 31 commits into
devfrom
haft/6.1.0

Conversation

@m0n0x41d
Copy link
Copy Markdown
Owner

No description provided.

m0n0x41d added 30 commits April 14, 2026 00:02
esbuild lockfile pins platform-specific binaries. macOS lockfile
installs darwin binary on Linux CI → Exec format error.
Deleting lockfile before install lets npm resolve correct platform.
Reject replacement DecisionRecords when the same ProblemCard already has a live decision, including lineage resolved through linked portfolios. Update tests and illegal-state documentation to reflect the new B1 enforcement boundary.
fix(artifact): enforce one live decision per problem
rm -f package-lock.json alone wasn't enough — npm install reuses
existing node_modules with darwin esbuild binary. Must rm -rf both.
actions/setup-node npm cache persists platform-specific esbuild binaries
across runs. Cached darwin binary causes Exec format error on linux.
Disable cache; goreleaser hooks do clean install anyway.
tree-sitter requires CGO. Cross-compilation from linux_amd64 to
darwin or linux_arm64 fails without cross-compiler toolchain.
Ship linux_amd64 binary from goreleaser. macOS users use go install
or install.sh (which falls back to source build).

Removed desktop build from goreleaser — desktop app needs Wails CLI
on macOS, not goreleaser cross-compile.
Replace single-runner goreleaser with native matrix builds:
- linux_amd64 (ubuntu-latest)
- linux_arm64 (ubuntu-24.04-arm)
- darwin_arm64 (macos-latest)
- darwin_amd64 (macos-13)

Each platform builds natively → CGO/tree-sitter works everywhere.
TUI bundle built once on ubuntu, shared across all builds.
Desktop frontend embed built per-platform.
Final job creates GitHub Release with checksums via gh CLI.

Removes goreleaser dependency entirely.
/h-verify scan now includes: pending problems count, addressed problems
without linked decisions, and invariant violations from knowledge graph.
Single entry point for "what needs attention" beyond just decisions/drift.
Hybrid markdown+YAML workflow policy file:
- Parse at serve/agent startup into defaults + path policies
- Inject Intent + Defaults into agent system prompts
- haft init creates commented example if none exists
- Schema documented in spec/WORKFLOW.md
Enum: optimization, diagnosis, search, synthesis. Accepted on frame,
stored in DB, shown in /h-status and /h-problems output. MCP schema
updated for both serve and standalone modes.
- README: stable vs pre-alpha surface callouts, haft check CI example
- CI: haft check step in workflow
- h-onboard: deep scan with module-by-module analysis and subagent hints
- SCOPE_FREEZE: add DDR→task pipeline, deep onboard, dashboard terminology
- TERM_MAP: add Dashboard, Implement, Adopt, Automation terms
- Desktop: problem type shown in tasks and projects pages
@m0n0x41d m0n0x41d merged commit 4382dd3 into dev Apr 14, 2026
2 of 4 checks passed
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