Repository navigation
CLI safety guard, Dockerized E2E, env docs, gm_cli_ctx_t - #166
Merged
Merged
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR does the following:\n\n- fix(include): guard time conversion macros in constants_internal.h\n- fix(output): add EOF newlines in include/gitmind/output.h and apps/cli/output.c\n- chore(cli): normalize includes; add inc_cli in Meson; adjust CLI include paths\n- feat(cli): introduce gm_cli_ctx_t; pass explicit output context; remove global\n- feat(cli): libgit2-based safety guard; add GITMIND_SAFETY override; URL helper\n- test(core): add URL safety matcher unit test; register in Meson\n- docs(ops): document environment variables and link from README/docs index; note runtime safety\n- ci(e2e): run E2E inside CI Docker image for parity and isolation\n- fix(core/journal): temporary CBOR decode wrappers for CLI until attributed decoder lands\n\nBuild & test:\n- Built in CI Docker image with clang-20; all unit tests pass (including new safety test).\n- E2E now runs inside the CI Docker image.\n\nNotes:\n- The safety guard only blocks if a remote URL strictly matches neuroglyph/git-mind(.git).\n- is available to bypass if ever needed.\n\n
Summary by CodeRabbit
New Features
Documentation
Tests
CI
Chores