[37m2026-03-19 07:31:13.645[39m[0m[0m [32m[1mDEBUG[22m[39m[0m[0m [37mnative:1[39m[0m[0m[1m[37m Pochi[39m[22m[0m[0m pochi v0.6.1 [37m2026-03-19 07:31:13.649[39m[0m[0m [32m[1mDEBUG[22m[39m[0m[0m [37mnative:7[39m[0m[0m[1m[37m PochiConfigManager[39m[22m[0m[0m add workspace config: /root/.pochi/config.jsonc [37m2026-03-19 07:31:13.963[39m[0m[0m [32m[1mDEBUG[22m[39m[0m[0m [37m/$bunfs/pochi:503183[39m[0m[0m[1m[37m loadAgents[39m[22m[0m[0m Loaded 5 custom agents (5 valid, 0 invalid) [37m2026-03-19 07:31:13.963[39m[0m[0m [32m[1mDEBUG[22m[39m[0m[0m [37m/$bunfs/pochi:503184[39m[0m[0m[1m[37m loadSkills[39m[22m[0m[0m Loaded 2 skills (2 valid, 0 invalid) [37m2026-03-19 07:31:13.980[39m[0m[0m [32m[1mDEBUG[22m[39m[0m[0m [37m/$bunfs/pochi:439420[39m[0m[0m[1m[37m PochiVendor[39m[22m[0m[0m JWT is expiring or missing, fetching a new one [37m2026-03-19 07:31:15.442[39m[0m[0m [32m[1mDEBUG[22m[39m[0m[0m [37m/$bunfs/pochi:415701[39m[0m[0m[1m[37m MCPHub[39m[22m[0m[0m MCP servers configuration changed via signal: [37m2026-03-19 07:31:15.442[39m[0m[0m [32m[1mDEBUG[22m[39m[0m[0m [37m/$bunfs/pochi:415813[39m[0m[0m[1m[37m MCPHub[39m[22m[0m[0m Build MCPHub Status [37m2026-03-19 07:31:15.561[39m[0m[0m [32m[1mDEBUG[22m[39m[0m[0m [37m/$bunfs/pochi:502609[39m[0m[0m[1m[37m TaskRunner[39m[22m[0m[0m Starting TaskRunner... [37m2026-03-19 07:31:15.573[39m[0m[0m [32m[1mDEBUG[22m[39m[0m[0m [37m/$bunfs/pochi:454339[39m[0m[0m[1m[37m listFiles[39m[22m[0m[0m Listing workspace files from /root with maxItems [33m500[39m [37m2026-03-19 07:31:15.636[39m[0m[0m [32m[1mDEBUG[22m[39m[0m[0m [37m/$bunfs/pochi:496641[39m[0m[0m[1m[37m generateTaskTitle[39m[22m[0m[0m Generating task title, old: null, new: You are a repo maintainer enforcing a commit metadata policy. You have a repository at `/home/user/repo` which is already initialized with `jj`. Your task is to: [37m2026-03-19 07:31:34.159[39m[0m[0m [32m[1mDEBUG[22m[39m[0m[0m [37m/$bunfs/pochi:454339[39m[0m[0m[1m[37m listFiles[39m[22m[0m[0m Listing workspace files from /root with maxItems [33m500[39m [37m2026-03-19 07:31:39.916[39m[0m[0m [32m[1mDEBUG[22m[39m[0m[0m [37m/$bunfs/pochi:454339[39m[0m[0m[1m[37m listFiles[39m[22m[0m[0m Listing workspace files from /root with maxItems [33m500[39m [37m2026-03-19 07:31:44.360[39m[0m[0m [32m[1mDEBUG[22m[39m[0m[0m [37m/$bunfs/pochi:454339[39m[0m[0m[1m[37m listFiles[39m[22m[0m[0m Listing workspace files from /root with maxItems [33m500[39m [37m2026-03-19 07:31:50.204[39m[0m[0m [32m[1mDEBUG[22m[39m[0m[0m [37m/$bunfs/pochi:454339[39m[0m[0m[1m[37m listFiles[39m[22m[0m[0m Listing workspace files from /root with maxItems [33m500[39m [37m2026-03-19 07:31:51.217[39m[0m[0m [32m[1mDEBUG[22m[39m[0m[0m [37m/$bunfs/pochi:496641[39m[0m[0m[1m[37m generateTaskTitle[39m[22m[0m[0m Generating task title, old: You are a repo maintainer enforcing a commit metadata policy. You have a repository at `/home/user/repo` which is already initialized with `jj`. Your task is to:, new: Configure custom jj log template and save commit metadata [37m2026-03-19 07:31:55.706[39m[0m[0m [32m[1mDEBUG[22m[39m[0m[0m [37m/$bunfs/pochi:454339[39m[0m[0m[1m[37m listFiles[39m[22m[0m[0m Listing workspace files from /root with maxItems [33m500[39m [37m2026-03-19 07:32:07.520[39m[0m[0m [32m[1mDEBUG[22m[39m[0m[0m [37m/$bunfs/pochi:454339[39m[0m[0m[1m[37m listFiles[39m[22m[0m[0m Listing workspace files from /root with maxItems [33m500[39m [37m2026-03-19 07:32:12.534[39m[0m[0m [32m[1mDEBUG[22m[39m[0m[0m [37m/$bunfs/pochi:454339[39m[0m[0m[1m[37m listFiles[39m[22m[0m[0m Listing workspace files from /root with maxItems [33m500[39m [37m2026-03-19 07:32:21.324[39m[0m[0m [32m[1mDEBUG[22m[39m[0m[0m [37m/$bunfs/pochi:454339[39m[0m[0m[1m[37m listFiles[39m[22m[0m[0m Listing workspace files from /root with maxItems [33m500[39m [37m2026-03-19 07:32:32.939[39m[0m[0m [32m[1mDEBUG[22m[39m[0m[0m [37m/$bunfs/pochi:454339[39m[0m[0m[1m[37m listFiles[39m[22m[0m[0m Listing workspace files from /root with maxItems [33m500[39m [37m2026-03-19 07:33:14.098[39m[0m[0m [32m[1mDEBUG[22m[39m[0m[0m [37m[39m[0m[0m[1m[37m TaskRunner[39m[22m[0m[0m Failed: [97m[101m[1m TypeError [22m[49m[39m[0m[0m undefined is not an object (evaluating 'getErrorTrace(error40).map'), 417706, 47, 417706, 47, /$bunfs/root/pochi[0m[0m error stack: • [33mpochi[39m[0m[0m prettyFormatErrorObj[0m[0m [37m/$bunfs/pochi:417706[39m[0m[0m • [33mpochi[39m[0m[0m <anonymous>[0m[0m [37m/$bunfs/pochi:417701[39m[0m[0m • [33mnative[39m[0m[0m reduce[0m[0m [37mnative:1[39m[0m[0m • [33mpochi[39m[0m[0m log[0m[0m [37m/$bunfs/pochi:417840[39m[0m[0m • [33mpochi[39m[0m[0m onError[0m[0m [37m/$bunfs/pochi:500813[39m[0m[0m • [33mpochi[39m[0m[0m makeRequest[0m[0m [37m/$bunfs/pochi:432009[39m[0m[0m • [33mpochi[39m[0m[0m async <anonymous>[0m[0m [37m/$bunfs/pochi:431766[39m[0m[0m • [33mpochi[39m[0m[0m async step[0m[0m [37m/$bunfs/pochi:502738[39m[0m[0m • [33mpochi[39m[0m[0m async run[0m[0m [37m/$bunfs/pochi:502615[39m[0m[0m • [33m[39m[0m[0m [0m[0m [37m[39m[0m[0m • [33mnative[39m[0m[0m processTicksAndRejections[0m[0m [37mnative:7[39m[0m[0m[0m[0m undefined is not an object (evaluating 'getErrorTrace(error40).map')
Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
curl is already the newest version (8.5.0-2ubuntu10.8).
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
downloading uv 0.9.5 x86_64-unknown-linux-gnu
no checksums to verify
installing to /root/.local/bin
uv
uvx
everything's installed!
To add $HOME/.local/bin to your PATH, either restart your shell or run:
source $HOME/.local/bin/env (sh, bash, zsh)
source $HOME/.local/bin/env.fish (fish)
Downloading pygments (1.2MiB)
Downloading pygments
Installed 5 packages in 14ms
============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-8.4.1, pluggy-1.6.0 -- /root/.cache/uv/archive-v0/AGku8LAe9-0DePYfygZPc/bin/python
cachedir: .pytest_cache
rootdir: /tests
collecting ... collected 1 item
../../tests/test_final_state.py::test_final_state FAILED [100%]
=================================== FAILURES ===================================
_______________________________ test_final_state _______________________________
def test_final_state():
home_dir = os.environ.get("BOOTSTRAP_HOME", "/home/user")
repo_dir = os.path.join(home_dir, "repo")
log_output_file = os.path.join(home_dir, "log_output.txt")
# 1. Check config
res = run_cmd("jj config get templates.log", cwd=repo_dir)
assert res.returncode == 0, "Error: templates.log is not configured."
template_val = res.stdout.strip()
assert 'commit_id.short()' in template_val, "templates.log does not contain commit_id.short()"
assert 'author.email()' in template_val, "templates.log does not contain author.email()"
assert 'description.first_line()' in template_val, "templates.log does not contain description.first_line()"
# 2. Check commit description
res = run_cmd("jj log -r @ -T 'description'", cwd=repo_dir)
> assert "Update metadata policy" in res.stdout, "Current commit does not have the description 'Update metadata policy'."
E AssertionError: Current commit does not have the description 'Update metadata policy'.
E assert 'Update metadata policy' in '@ Initial commit\n│\n~\n'
E + where '@ Initial commit\n│\n~\n' = CompletedProcess(args="jj log -r @ -T 'description'", returncode=0, stdout='@ Initial commit\n│\n~\n', stderr='').stdout
/tests/test_final_state.py:25: AssertionError
=========================== short test summary info ============================
FAILED ../../tests/test_final_state.py::test_final_state - AssertionError: Cu...
============================== 1 failed in 0.05s ===============================