Skip to content

Commit a4b0878

Browse files
authored
Merge pull request #187 from 1mancompany/fix/report-description-truncated
fix: CEO report truncated — used description_preview instead of full description
2 parents 3fd6e50 + 7cf36f2 commit a4b0878

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@1mancompany/onemancompany",
3-
"version": "0.2.733",
3+
"version": "0.2.734",
44
"description": "The AI Operating System for One-Person Companies",
55
"bin": {
66
"onemancompany": "bin/cli.js"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "onemancompany"
3-
version = "0.2.733"
3+
version = "0.2.734"
44
description = "A one-man company simulation with pixel art visualization and LangChain AI agents"
55
requires-python = ">=3.12"
66
dependencies = [

src/onemancompany/core/vessel.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2605,12 +2605,13 @@ async def _request_ceo_confirmation(
26052605
"""
26062606
# Build completion summary from all children (skip CEO info nodes)
26072607
_pdir = node.project_dir or str(Path(entry.tree_path).parent)
2608+
node.load_content(_pdir)
26082609
children = [c for c in tree.get_children(node.id) if not c.is_ceo_node]
2609-
lines = [f"Project Completion Report — {node.description_preview}", ""]
2610+
lines = [f"Project Completion Report — {node.description}", ""]
26102611
for i, child in enumerate(children, 1):
26112612
status_icon = "✓" if child.status == TaskPhase.ACCEPTED else "●"
2612-
lines.append(f"{status_icon} Subtask {i} ({child.employee_id}): {child.title or child.description_preview}")
26132613
child.load_content(_pdir)
2614+
lines.append(f"{status_icon} Subtask {i} ({child.employee_id}): {child.title or child.description}")
26142615
lines.append(f" Result: {child.result or 'None'}")
26152616
lines.append("")
26162617
summary = "\n".join(lines)

0 commit comments

Comments
 (0)