Repository navigation
Set up Cursor Cloud dev environment - #7
Conversation
Co-authored-by: Dominic Letz <dominicletz@users.noreply.github.com>
There was a problem hiding this comment.
Code Review
This pull request introduces AGENTS.md to provide Cursor Cloud specific instructions for the CertMagex Elixir library. The feedback suggests clarifying the certificate storage path resolution by explicitly mentioning $XDG_DATA_HOME/certmagex and its fallback behavior.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| - Certificates/state are stored on local disk under `$HOME/.local/share/certmagex` (DETS via | ||
| `dets_plus`), honoring `XDG_DATA_HOME`. No external database. |
There was a problem hiding this comment.
To be more precise regarding the storage path resolution, it would be clearer to state that the certificates are stored under $XDG_DATA_HOME/certmagex and default to $HOME/.local/share/certmagex if the environment variable is unset.
| - Certificates/state are stored on local disk under `$HOME/.local/share/certmagex` (DETS via | |
| `dets_plus`), honoring `XDG_DATA_HOME`. No external database. | |
| - Certificates/state are stored on local disk under `$XDG_DATA_HOME/certmagex` (defaulting to | |
| `$HOME/.local/share/certmagex` if unset) via `dets_plus`. No external database. |
Summary
Sets up the development environment for CertMagex (an Elixir/Mix library for automatic Let's Encrypt/ZeroSSL TLS certs) and verifies it end-to-end.
.github/workflows/test.yml), plus Hex/rebar.AGENTS.mdwith a## Cursor Cloud specific instructionssection documenting durable, non-obvious caveats (offline self-contained tests, first-run Dialyzer PLT build, no committedmix.lock, DETS on-disk storage, library has no dev server).mix local.hex --force/mix local.rebar --force/mix deps.get.Verification
mix deps.get,mix compile— clean.mix test— 8 tests, 0 failures.mix lint— format check, credo, and dialyzer all pass.CertMagex.ip?/1, inserted a self-signed cert and resolved it throughCertMagex.sni_fun/1, and confirmed the SNI allow-list blocks non-listed hosts (all offline, no ACME network needed).certmagex_hello_world.log
No application code was modified.