Keep configs in ~/.config/build-release/ and tool state in ~/.local/state/build-release/, under XDG_* where set
CI / tests (pull_request) Successful in 6m34s
CI / tests (pull_request) Successful in 6m34s
This commit is contained in:
@@ -2,9 +2,9 @@ import hashlib
|
||||
import pathlib
|
||||
import typing
|
||||
|
||||
from loop_state.paths import CLAUDE_HOME
|
||||
from claude_code.transcript import first_timestamped_line
|
||||
from transcript_archive.project_key import project_key
|
||||
from loop_state.paths import state_folder
|
||||
|
||||
# What an outcomes file's name ends with, in place of its transcript copy's .jsonl.
|
||||
FILE_SUFFIX = ".outcomes.md"
|
||||
@@ -12,7 +12,7 @@ FILE_SUFFIX = ".outcomes.md"
|
||||
|
||||
def archive_root(home: pathlib.Path, env: typing.Mapping[str, str]) -> pathlib.Path:
|
||||
"""Where build-release archives every project's chunks."""
|
||||
return pathlib.Path(env["BUILD_RELEASE_TRANSCRIPTS"]).expanduser() if env.get("BUILD_RELEASE_TRANSCRIPTS") else home / CLAUDE_HOME / "loop-claude-transcripts"
|
||||
return pathlib.Path(env["BUILD_RELEASE_TRANSCRIPTS"]).expanduser() if env.get("BUILD_RELEASE_TRANSCRIPTS") else state_folder(env, home) / "transcripts"
|
||||
|
||||
|
||||
def project_archive(checkout_root: str, home: pathlib.Path, env: typing.Mapping[str, str]) -> pathlib.Path:
|
||||
|
||||
Reference in New Issue
Block a user