42 lines
1.5 KiB
Markdown
42 lines
1.5 KiB
Markdown
|
|
---
|
||
|
|
created_at: 2026-10-21T15:11:33Z
|
||
|
|
generated_by:
|
||
|
|
harness: opencode
|
||
|
|
provider: openai
|
||
|
|
model: openai/gpt-6.1-sol
|
||
|
|
git_ref: 0553fcf8
|
||
|
|
scope: code
|
||
|
|
substantive: true
|
||
|
|
raw_file: 20261021T151133Z_0553fcf8_uid_move_prompt_io.raw.md
|
||
|
|
---
|
||
|
|
|
||
|
|
## Prompt
|
||
|
|
|
||
|
|
The human proposed moving pformat_task_uid into devx.pformat with the
|
||
|
|
new pformat_task and its unit test in a precursor commit, then placing
|
||
|
|
the final-result disconnect fix and matching tests in the next commit.
|
||
|
|
The request authorizes implementation and commit planning, not commits.
|
||
|
|
|
||
|
|
## Response summary
|
||
|
|
|
||
|
|
Moved the identity implementation into the formatting module, removed
|
||
|
|
the detailed formatter's reverse logging dependency, and preserved the
|
||
|
|
existing logging entry point through lazy forwarding. Retained the
|
||
|
|
existing TODO group and task-state markers. Extended focused identity
|
||
|
|
tests, verified the relocation and selected two dependency-ordered
|
||
|
|
whole-file commit boundaries with separate provenance.
|
||
|
|
|
||
|
|
## Files changed
|
||
|
|
|
||
|
|
- `tractor/devx/pformat.py`: canonical short and detailed task formatters.
|
||
|
|
- `tractor/log.py`: lazy forwarding entry point for existing log users.
|
||
|
|
- `tests/devx/test_pformat.py`: canonical/log entry-point equivalence.
|
||
|
|
|
||
|
|
## Verification and human edits
|
||
|
|
|
||
|
|
75 formatter/logger tests and 10 downstream final-Return/RPC tests passed.
|
||
|
|
Ruff and whitespace checks passed. Both existing environments are kept;
|
||
|
|
the downstream pytest-version caveat is disclosed in prior records.
|
||
|
|
Earlier raw prompt records are retained unchanged as generation history.
|
||
|
|
No staging, commits, history changes or Tuicr mutations were performed.
|