Skip to content

Commit 58f0c72

Browse files
author
staradigm
committed
Fix syntax error in neuros-plan that prevented execution
The f-string in export_markdown had an extra closing parenthesis causing f-string: unmatched error when neuros-plan was invoked. Also add .neuros-autonomous/ to .gitignore for runtime infrastructure.
1 parent ab92f5d commit 58f0c72

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ Thumbs.db
2222
*.md
2323
!README.md
2424

25+
.neuros-autonomous/

config/includes.chroot/usr/local/bin/neuros-plan

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,9 @@ def export_markdown(plan):
131131
md += f"## {phase['name']}\n\n"
132132
for task in phase.get("tasks", []):
133133
priority = task.get("priority", "medium").upper()
134-
deps = f" (depends on: #{', #'.join(map(str, task.get('dependencies', []))))}" if task.get("dependencies") else ""
135-
md += f"- [ ] **[{priority}]** {task['title']}{task.get('hours', 0)}h{deps}\n"
134+
deps = f" (depends on: #{', #'.join(map(str, task.get('dependencies', [])))})" if task.get("dependencies") else ""
135+
hours = task.get("hours", 0)
136+
md += f"- [ ] **[{priority}]** {task['title']}{hours}h{deps}\n"
136137
if task.get("description"):
137138
md += f" - {task['description']}\n"
138139
md += "\n"

0 commit comments

Comments
 (0)