summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
inline | side by side (from parent 1:
0dc5d2b)
The development shell sets ONECHAT_DIR to .devenv/onechat at the root of
the checkout, unless the variable is already set. Development data, such
as a copy of an old chat log for a replay, stays inside the checkout,
away from a running service, and Git ignores it. Each worktree has its
own .devenv, so parallel work does not share data.
/result*
/onechat
/AGENTS.local.md
/result*
/onechat
/AGENTS.local.md
+The shell sets ``ONECHAT_DIR`` to ``.devenv/onechat`` in the checkout,
+unless it is already set. Development data goes there, and Git ignores
+``.devenv``.
+
Build and run:
.. code:: console
Build and run:
.. code:: console
shellHook = ''
git config core.hooksPath .githooks 2>/dev/null || true
shellHook = ''
git config core.hooksPath .githooks 2>/dev/null || true
+ root=$(git rev-parse --show-toplevel 2>/dev/null || pwd)
+ export ONECHAT_DIR="''${ONECHAT_DIR:-$root/.devenv/onechat}"
+ unset root