feat(hooks): Add PostToolUse hooks for intelligent logging prompts #4
Annotations
8 errors and 8 warnings
|
Run unit tests
Process completed with exit code 1.
|
|
Run unit tests:
src/utils/goal.test.ts#L249
AssertionError: expected { timestamp: '14:30', …(6) } to deeply equal { timestamp: '14:30', …(5) }
- Expected
+ Received
@@ -1,10 +1,11 @@
{
"codename": "important-task",
"deadline": "2025-12-01",
"description": "Include documentation
Run all tests",
+ "parent_goal": null,
"rawEntry": "## 14:30 - important-task
Complete deliverables
> Include documentation
❯ src/utils/goal.test.ts:249:20
|
|
Run unit tests:
src/utils/goal.test.ts#L213
AssertionError: expected { timestamp: '14:30', …(6) } to deeply equal { timestamp: '14:30', …(5) }
- Expected
+ Received
@@ -2,10 +2,11 @@
"codename": "complex-project",
"deadline": null,
"description": "Phase 1: Testing
Phase 2: Marketing
Phase 3: Launch",
+ "parent_goal": null,
"rawEntry": "## 14:30 - complex-project
Launch new feature
> Phase 1: Testing
❯ src/utils/goal.test.ts:213:20
|
|
Run unit tests:
src/utils/goal.test.ts#L192
AssertionError: expected { timestamp: '14:30', …(6) } to deeply equal { timestamp: '14:30', …(5) }
- Expected
+ Received
@@ -1,9 +1,10 @@
{
"codename": "project-task",
"deadline": "2025-11-15",
"description": "This is a detailed description",
+ "parent_goal": null,
"rawEntry": "## 14:30 - project-task
Complete the project
> This is a detailed description
❯ src/utils/goal.test.ts:192:20
|
|
Run unit tests:
src/utils/goal.test.ts#L74
AssertionError: expected { timestamp: '14:30', …(6) } to deeply equal { timestamp: '14:30', …(5) }
- Expected
+ Received
@@ -1,9 +1,10 @@
{
"codename": "complex-task",
"deadline": null,
"description": null,
+ "parent_goal": null,
"rawEntry": "## 14:30 - complex-task
This is a complex task
with multiple lines
and details",
❯ src/utils/goal.test.ts:74:20
|
|
Run unit tests:
src/utils/goal.test.ts#L55
AssertionError: expected { timestamp: '14:30', …(6) } to deeply equal { timestamp: '14:30', …(5) }
- Expected
+ Received
@@ -1,9 +1,10 @@
{
"codename": null,
"deadline": null,
"description": null,
+ "parent_goal": null,
"rawEntry": "## 14:30
Complete project proposal",
"text": "Complete project proposal",
"timestamp": "14:30",
❯ src/utils/goal.test.ts:55:20
|
|
Run unit tests:
src/utils/goal.test.ts#L38
AssertionError: expected { timestamp: '14:30', …(6) } to deeply equal { timestamp: '14:30', …(5) }
- Expected
+ Received
@@ -1,9 +1,10 @@
{
"codename": "launch-mvp",
"deadline": null,
"description": null,
+ "parent_goal": null,
"rawEntry": "## 14:30 - launch-mvp
Launch MVP to production",
"text": "Launch MVP to production",
"timestamp": "14:30",
❯ src/utils/goal.test.ts:38:20
|
|
Run unit tests:
src/utils/goal.test.ts#L21
AssertionError: expected { timestamp: '14:30', …(6) } to deeply equal { timestamp: '14:30', …(5) }
- Expected
+ Received
@@ -1,9 +1,10 @@
{
"codename": "complete-project-proposal",
"deadline": "2025-11-15",
"description": null,
+ "parent_goal": null,
"rawEntry": "## 14:30 - complete-project-proposal
Complete project proposal
Deadline: 2025-11-15",
❯ src/utils/goal.test.ts:21:20
|
|
Run linting:
src/utils/github.ts#L175
Unexpected any. Specify a different type
|
|
Run linting:
src/utils/github.ts#L105
Unexpected any. Specify a different type
|
|
Run linting:
src/commands/todo.ts#L372
Forbidden non-null assertion
|
|
Run linting:
src/commands/todo.ts#L354
Forbidden non-null assertion
|
|
Run linting:
src/commands/goal.ts#L237
Forbidden non-null assertion
|
|
Run linting:
src/commands/goal.ts#L229
Forbidden non-null assertion
|
|
Run linting:
src/__tests__/helpers/cli-test-harness.ts#L170
Forbidden non-null assertion
|
|
Run linting:
src/__tests__/helpers/cli-test-harness.ts#L99
Forbidden non-null assertion
|
Loading