Skip to content

build: gate go.work.sum, tidy .gitignore, track private mode - #188

Merged
josealekhine merged 3 commits into
mainfrom
build/go-work-sum-gate
Oct 6, 2026
Merged

josealekhine merged 3 commits into
mainfrom
build/go-work-sum-gate

Conversation

@josealekhine

Copy link
Copy Markdown
Member

Three independent commits:

  • build: gate go.work.sum completeness and refresh it

    dependabot bumps each module's go.mod/go.sum but never go.work.sum,
    so after every Go dependency PR the workspace sum is short of
    checksums. go build and go vet don't notice; go mod download,
    go list -m all, go mod verify, go mod tidy, and gopls add the
    missing lines on the spot, so the next contributor finds an
    unexplained go.work.sum diff. After the grpc 1.84.0 and raft-boltdb
    2.4.2 merges it was 66 lines.

    Commit that refresh, and add hack/check-go-work-sum.sh
    (make check-go-work-sum): snapshot go.work.sum, run go mod download
    (the largest of those additions, and stable on re-run), and fail if
    the file changed, leaving the refreshed file in place to commit.
    Wired into make audit and the CI lint job after check-go-version, so
    the drift fails the dependabot PR that causes it instead of landing
    on a contributor's machine.

    Spec: specs/go-work-sum-sync.md

  • chore(gitignore): label the keys block and dedupe .gitnexus

    The encryption keys, the encrypted scratchpad, .DS_Store, and
    .gitnexus sat in one unlabeled block after dreams. Split it: a
    header for the keys and scratchpad, one for .DS_Store, and fold
    .gitnexus into the existing GitNexus section, replacing its
    .gitnexus/ entry (the bare pattern already covered the directory).

    No change in what is ignored: git ls-files -o -i --exclude-standard
    lists the same 547 paths before and after.

    Spec: specs/meta/chores.md

  • docs(tasks): track private mode, with a stub spec

    Record the private-mode backlog item from session 28b10323
    (2026-09-23): ctx can't be used in a project without committing to
    it. ctx init edits tracked files, a committed CLAUDE.md without
    .context/ makes other contributors' agents STOP on a bootstrap
    error, and ignoring .context/ drops the git undo layer.

    specs/private-mode.md is a stub: it holds the problem and the
    candidate scope from the task, plus the open questions. It makes no
    design decisions. The task links to it.

    Spec: specs/private-mode.md

dependabot bumps each module's go.mod/go.sum but never go.work.sum,
so after every Go dependency PR the workspace sum is short of
checksums. go build and go vet don't notice; go mod download,
go list -m all, go mod verify, go mod tidy, and gopls add the
missing lines on the spot, so the next contributor finds an
unexplained go.work.sum diff. After the grpc 1.84.0 and raft-boltdb
2.4.2 merges it was 66 lines.

Commit that refresh, and add hack/check-go-work-sum.sh
(make check-go-work-sum): snapshot go.work.sum, run go mod download
(the largest of those additions, and stable on re-run), and fail if
the file changed, leaving the refreshed file in place to commit.
Wired into make audit and the CI lint job after check-go-version, so
the drift fails the dependabot PR that causes it instead of landing
on a contributor's machine.

Spec: specs/go-work-sum-sync.md
Signed-off-by: Jose Alekhinne <jose@ctx.ist>
The encryption keys, the encrypted scratchpad, .DS_Store, and
.gitnexus sat in one unlabeled block after dreams. Split it: a
header for the keys and scratchpad, one for .DS_Store, and fold
.gitnexus into the existing GitNexus section, replacing its
.gitnexus/ entry (the bare pattern already covered the directory).

No change in what is ignored: git ls-files -o -i --exclude-standard
lists the same 547 paths before and after.

Spec: specs/meta/chores.md
Signed-off-by: Jose Alekhinne <jose@ctx.ist>
Record the private-mode backlog item from session 28b10323
(2026-09-23): ctx can't be used in a project without committing to
it. ctx init edits tracked files, a committed CLAUDE.md without
.context/ makes other contributors' agents STOP on a bootstrap
error, and ignoring .context/ drops the git undo layer.

specs/private-mode.md is a stub: it holds the problem and the
candidate scope from the task, plus the open questions. It makes no
design decisions. The task links to it.

Spec: specs/private-mode.md
Signed-off-by: Jose Alekhinne <jose@ctx.ist>
@josealekhine
josealekhine requested a review from bilersan as a code owner October 6, 2026 02:48
@josealekhine josealekhine self-assigned this Oct 6, 2026
@josealekhine
josealekhine merged commit 1f3f6b6 into main Oct 6, 2026
18 checks passed
@josealekhine
josealekhine deleted the build/go-work-sum-gate branch October 6, 2026 02:55
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