feat(forge): domain model, Forge interface and contract-test harness #23
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/4-domain-forge-interface"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #4.
Summary
internal/domainholds lazyforge's own types. Renovate data is a list of updates, one per PR-body table row, and change requests carry their head SHA.internal/forgehas theForgeinterface, optionalApprover,RunListerandLogReader, typedItemReffor comment and close,MergeOpts.HeadSHAwithErrHeadChanged, andGate/Can.Cancombines adapter support, server version and repo permission, each with a reason.internal/forge/forgetesthas an in-memoryFakeandRunContract, a suite every adapter must pass.architecture.mdmatches the code.Decisions
Test plan
Canrules and their order, plus Fake behavior.RunContractruns against the Fake.make check:0 issues.
ok git.bobparsons.dev/deadstyle/lazyforge/internal/forge (cached)
ok git.bobparsons.dev/deadstyle/lazyforge/internal/forge/forgetest 1.305s
No vulnerabilities found.
go build -ldflags "-X main.version=08ffa26" -o bin/lazyforge ./cmd/lazyforge
🤖 Generated with Claude Code
08ffa264cd11bd7903d5