@redaksjon/protokoll 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/.nvmrc +2 -0
  2. package/LICENSE +190 -0
  3. package/README.md +88 -0
  4. package/dist/arguments.js +158 -0
  5. package/dist/arguments.js.map +1 -0
  6. package/dist/constants.js +82 -0
  7. package/dist/constants.js.map +1 -0
  8. package/dist/logging.js +46 -0
  9. package/dist/logging.js.map +1 -0
  10. package/dist/main.js +5 -0
  11. package/dist/main.js.map +1 -0
  12. package/dist/phases/locate.js +55 -0
  13. package/dist/phases/locate.js.map +1 -0
  14. package/dist/phases/transcribe.js +149 -0
  15. package/dist/phases/transcribe.js.map +1 -0
  16. package/dist/processor.js +35 -0
  17. package/dist/processor.js.map +1 -0
  18. package/dist/prompt/instructions/transcribe.md +46 -0
  19. package/dist/prompt/personas/transcriber.md +37 -0
  20. package/dist/prompt/transcribe.js +41 -0
  21. package/dist/prompt/transcribe.js.map +1 -0
  22. package/dist/protokoll.js +81 -0
  23. package/dist/protokoll.js.map +1 -0
  24. package/dist/util/dates.js +96 -0
  25. package/dist/util/dates.js.map +1 -0
  26. package/dist/util/general.js +39 -0
  27. package/dist/util/general.js.map +1 -0
  28. package/dist/util/media.js +103 -0
  29. package/dist/util/media.js.map +1 -0
  30. package/dist/util/openai.js +92 -0
  31. package/dist/util/openai.js.map +1 -0
  32. package/dist/util/storage.js +135 -0
  33. package/dist/util/storage.js.map +1 -0
  34. package/docs/index.html +16 -0
  35. package/docs/package-lock.json +1521 -0
  36. package/docs/package.json +21 -0
  37. package/docs/vite.config.js +10 -0
  38. package/eslint.config.mjs +82 -0
  39. package/nodemon.json +14 -0
  40. package/output/kodrdriv/250702-1905-commit-message.md +1 -0
  41. package/output/kodrdriv/250702-1905-commit.request.json +14 -0
  42. package/output/kodrdriv/250702-1905-commit.response.json +36 -0
  43. package/output/kodrdriv/250702-1906-commit-message.md +1 -0
  44. package/output/kodrdriv/250702-1907-commit-message.md +1 -0
  45. package/output/kodrdriv/250702-1907-commit.request.json +14 -0
  46. package/output/kodrdriv/250702-1907-commit.response.json +36 -0
  47. package/output/kodrdriv/250716-1517-review-analysis.md +39 -0
  48. package/output/kodrdriv/250716-1517-review-notes.md +69 -0
  49. package/output/kodrdriv/250716-1518-review-analysis.md +15 -0
  50. package/output/kodrdriv/250716-1518-review-notes.md +67 -0
  51. package/output/kodrdriv/250716-1523-review-analysis.md +36 -0
  52. package/output/kodrdriv/250716-1523-review-notes.md +87 -0
  53. package/output/kodrdriv/250722-1135-commit-message.md +1 -0
  54. package/output/kodrdriv/250722-1331-commit-message.md +1 -0
  55. package/output/kodrdriv/250722-1335-commit-message.md +1 -0
  56. package/output/kodrdriv/250722-1337-commit-message.md +1 -0
  57. package/output/kodrdriv/250722-1342-release-notes.md +26 -0
  58. package/output/kodrdriv/250722-1416-commit-message.md +3 -0
  59. package/output/kodrdriv/250722-1420-commit-message.md +1 -0
  60. package/output/kodrdriv/250722-1422-commit-message.md +1 -0
  61. package/output/kodrdriv/250722-1423-commit-message.md +1 -0
  62. package/output/kodrdriv/250722-1425-release-notes.md +41 -0
  63. package/output/kodrdriv/250722-1527-commit-message.md +13 -0
  64. package/output/kodrdriv/250722-1532-commit-message.md +1 -0
  65. package/output/kodrdriv/250722-1532-release-notes.md +32 -0
  66. package/output/kodrdriv/250722-2314-review-analysis.md +28 -0
  67. package/output/kodrdriv/250722-2314-review-notes.md +464 -0
  68. package/output/kodrdriv/250722-2315-review-analysis.md +28 -0
  69. package/output/kodrdriv/250722-2315-review-notes.md +477 -0
  70. package/output/kodrdriv/250804-1623-review-analysis.md +38 -0
  71. package/output/kodrdriv/250804-1623-review-notes.md +479 -0
  72. package/output/kodrdriv/250804-1638-review-analysis.md +56 -0
  73. package/output/kodrdriv/250804-1638-review-notes.md +502 -0
  74. package/output/kodrdriv/250812-2021-review-analysis.md +27 -0
  75. package/output/kodrdriv/250812-2021-review-notes.md +571 -0
  76. package/output/kodrdriv/250826-0700-commit-message.md +12 -0
  77. package/output/kodrdriv/RELEASE_NOTES.md +30 -0
  78. package/output/kodrdriv/RELEASE_TITLE.md +1 -0
  79. package/package.json +78 -0
  80. package/tsconfig.tsbuildinfo +1 -0
  81. package/vite.config.ts +124 -0
  82. package/vitest.config.ts +30 -0
@@ -0,0 +1,477 @@
1
+ # Review Notes
2
+
3
+ Let's go back to that tool—maybe it's the transcription tool, or perhaps another related tool—but it's the tool configured to look at all the different projects. It's set up to provide statistics, such as how many audio files exist, how many transcripts there are, and it can navigate to those transcripts and audio files.
4
+
5
+ I think it would be useful to have a way to just like have a unified view, similar to RunGhost. This would involve aggregating statistics on where things are, which brings me to MindShone.
6
+
7
+
8
+ MindShone was an original idea I had. The concept was to take all the email from a month and identify patterns within the emails or patterns in what's going on, as well as patterns in my Git activity. It was interesting, but ultimately, I don't really need that. I know what I'm working on—I don't need someone to tell me what I'm working on.
9
+
10
+ However, I might actually need something to aggregate and report on overall progress. What's happening here versus there? How much attention have I paid to one project compared to another? And I think MindShone could evolve into that.
11
+
12
+
13
+ MindShone is a Jankoj production from Jafari Simran, and it could be the great unifier of information.
14
+
15
+ # Commit History Context
16
+
17
+
18
+
19
+ [Recent Commit History]
20
+ commit 2af48dccaf2d88b04eeba60a88a7cc0ac61822cb
21
+ Author: Simran Jafari <jafarisimran@gmail.com>
22
+ Date: Tue Jul 22 15:33:53 2025 -0700
23
+
24
+ 0.0.4
25
+
26
+ (#3)
27
+
28
+ * Add documentation site for Matnava with automated GitHub Pages deployment
29
+
30
+ Introduce a standalone documentation site under the `docs/` directory, built with React and Vite, featuring step-by-step setup instructions, feature overview, example usage, and customization guidance. The site leverages modern styling with dark/light mode support and is configured for GitHub Pages deployment.
31
+
32
+ Key additions and setup:
33
+ - `docs/README.md`: Instructions for local development, structure, and deployment workflow.
34
+ - `docs/src/`: Contains the main React components and styles (`App.jsx`, `index.css`, `main.jsx`).
35
+ - `docs/vite.config.js`: Vite configuration with `/matnava/` base for correct GH Pages routing.
36
+ - `docs/package.json`: Dependencies and scripts using pnpm.
37
+ - `.github/workflows/deploy-docs.yml`: GitHub Actions workflow to build and deploy the docs site on pushes to the `main` branch.
38
+ - `.gitignore`: Node, build artifacts, and local config files ignored under `docs/`.
39
+
40
+ This enables automated, seamless deployment of up-to-date documentation with every change to the `main` branch.
41
+
42
+ * Add NPM lockfile and .npmrc to docs for isolated dependency management
43
+
44
+ Introduced `docs/package-lock.json` to lock dependency versions for the documentation site, ensuring reproducible installs regardless of workspace settings. Added `docs/.npmrc` with `ignore-workspace=true` to prevent local or monorepo workspace dependencies from interfering, supporting reliable standalone installation via npm. These files improve CI stability and local development by decoupling the docs build from any global or workspace package manager configuration.
45
+
46
+ * No changes detected — empty commit.
47
+
48
+ * 0.0.4
49
+
50
+ commit 6c8c60dbf41bd6c24de187fa217b4835fcb1dfa5
51
+ Author: Simran Jafari <jafarisimran@gmail.com>
52
+ Date: Tue Jul 22 14:27:02 2025 -0700
53
+
54
+ 0.0.3
55
+
56
+ (#2)
57
+
58
+ * Removed ts-expect-error for config shape in matnava.ts, corrected error assertion in media utility test to throw an error, and fixed typo in tsconfig.json types array by removing duplicate entries and ensuring correct type specification.
59
+
60
+ * Upgraded @riotprompt/riotprompt, @theunwalked/cardigantime, and @theunwalked/dreadcabinet dependencies from local workspace links to released package versions in package.json, removed pnpm-workspace.yaml, and updated the packageManager field to require pnpm 10.13.1. This streamlines dependency management by transitioning from local development references to stable, published versions, and eliminates the need for custom workspace overrides.
61
+
62
+ * Removed mockdate from devDependencies in package.json to eliminate unused development dependency.
63
+
64
+ * Removed duplicate test execution in GitHub Actions workflows by deleting redundant 'pnpm test --coverage' steps from both pnpm-publish.yml and test.yml, ensuring tests run only once before code coverage upload.
65
+
66
+ * 0.0.2
67
+
68
+ * Removed local configuration and context files in favor of pnpm-workspace.yaml overrides; tightened dependency handling and updated instructional prompt
69
+
70
+ Deleted .cursorrules, .kodrdriv/config.yaml, and .kodrdriv/context/content.md to eliminate local test, workflow, and documentation rules. Added pnpm-workspace.yaml with explicit package link overrides to control dependency resolution. Expanded and clarified src/prompt/instructions/transcribe.md to set stricter constraints and formatting requirements for transcript processing, including clearer guidelines for spelling correction, Markdown structure, and fidelity, while discouraging summarization and interpretation. Refined src/arguments.ts and src/constants.ts to streamline config merging and remove unnecessary default properties and early argument parsing for --check-config and --init-config. Adjusted SecureConfigSchema in src/matnava.ts for proper secure configuration typing. Updated Vite rollupOptions externals list for more robust dependency exclusion. These changes enhance reproducibility, make project dependency management explicit, and improve transcript post-processing consistency.
71
+
72
+ * No changes detected — empty commit.
73
+
74
+ * No changes detected — empty commit.
75
+
76
+ * No changes detected — empty commit.
77
+
78
+ * Removing pnpm-workspace
79
+
80
+ * 0.0.3
81
+
82
+ commit de67713d5aa8b4e2fcdf7d3a4b5cfc0ff0e26dca
83
+ Author: Simran Jafari <jafarisimran@gmail.com>
84
+ Date: Tue Jul 22 11:16:09 2025 -0700
85
+
86
+ Initial commit
87
+
88
+
89
+ # Recent Diffs Context
90
+
91
+
92
+
93
+ [Recent Diff 1 (HEAD~1)]
94
+ diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml
95
+ new file mode 100644
96
+ index 0000000..a9fd775
97
+ --- /dev/null
98
+ +++ b/.github/workflows/deploy-docs.yml
99
+ @@ -0,0 +1,61 @@
100
+ +name: Deploy Documentation to GitHub Pages
101
+ +
102
+ +on:
103
+ + push:
104
+ + branches: [ main ]
105
+ + workflow_dispatch:
106
+ +
107
+ +permissions:
108
+ + contents: read
109
+ + pages: write
110
+ + id-token: write
111
+ +
112
+ +concurrency:
113
+ + group: "pages"
114
+ + cancel-in-progress: false
115
+ +
116
+ +jobs:
117
+ + build:
118
+ + runs-on: ubuntu-latest
119
+ + steps:
120
+ + - name: Checkout
121
+ + uses: actions/checkout@v4
122
+ +
123
+ + - name: Setup Node.js
124
+ + uses: actions/setup-node@v4
125
+ + with:
126
+ + node-version: '18'
127
+ +
128
+ + - name: Setup pnpm
129
+ + uses: pnpm/action-setup@v4
130
+ + with:
131
+ + version: 10.13.1
132
+ +
133
+ + - name: Install dependencies
134
+ + run: |
135
+ + cd docs
136
+ + pnpm install
137
+ +
138
+ + - name: Build documentation
139
+ + run: |
140
+ + cd docs
141
+ + pnpm run build
142
+ +
143
+ + - name: Setup Pages
144
+ + uses: actions/configure-pages@v4
145
+ +
146
+ + - name: Upload artifact
147
+ + uses: actions/upload-pages-artifact@v3
148
+ + with:
149
+ + path: ./docs/dist
150
+ +
151
+ + deploy:
152
+ + environment:
153
+ + name: github-pages
154
+ + url: ${{ steps.deployment.outputs.page_url }}
155
+ + runs-on: ubuntu-latest
156
+ + needs: build
157
+ + steps:
158
+ + - name: Deploy to GitHub Pages
159
+ + id: deployment
160
+ + uses: actions/deploy-pages@v4
161
+
162
+ diff --git a/docs/.gitignore b/docs/.gitignore
163
+ new file mode 100644
164
+ index 0000000..3c4acb8
165
+ --- /dev/null
166
+ +++ b/docs/.gitignore
167
+ @@ -0,0 +1,38 @@
168
+ +# Dependencies
169
+ +node_modules/
170
+ +/.pnp
171
+ +.pnp.js
172
+ +
173
+ +# Production builds
174
+ +/dist
175
+ +/build
176
+ +
177
+ +# Environment variables
178
+ +.env
179
+ +.env.local
180
+ +.env.development.local
181
+ +.env.test.local
182
+ +.env.production.local
183
+ +
184
+ +# Logs
185
+ +npm-debug.log*
186
+ +yarn-debug.log*
187
+ +yarn-error.log*
188
+ +pnpm-debug.log*
189
+ +lerna-debug.log*
190
+ +
191
+ +# Runtime data
192
+ +pids
193
+ +*.pid
194
+ +*.seed
195
+ +*.pid.lock
196
+ +
197
+ +# IDE files
198
+ +.vscode/
199
+ +.idea/
200
+ +*.swp
201
+ +*.swo
202
+ +
203
+ +# OS files
204
+ +.DS_Store
205
+ +Thumbs.db
206
+
207
+ diff --git a/docs/.npmrc b/docs/.npmrc
208
+ new file mode 100644
209
+ index 0000000..de14fd9
210
+ --- /dev/null
211
+ +++ b/docs/.npmrc
212
+ @@ -0,0 +1 @@
213
+ +ignore-workspace=true
214
+ diff --git a/docs/README.md b/docs/README.md
215
+ new file mode 100644
216
+ index 0000000..fe32a9d
217
+ --- /dev/null
218
+ +++ b/docs/README.md
219
+ @@ -0,0 +1,50 @@
220
+ +# Matnava Documentation Site
221
+ +
222
+ +This is a simple React documentation site for Matnava, deployed automatically to GitHub Pages.
223
+ +
224
+ +## Local Development
225
+ +
226
+ +To work on the documentation site locally:
227
+ +
228
+ +```bash
229
+ +# Navigate to the docs directory
230
+ +cd docs
231
+ +
232
+ +# Install dependencies
233
+ +pnpm install
234
+ +
235
+ +# Start the development server
236
+ +pnpm run dev
237
+ +
238
+ +# Build for production
239
+ +pnpm run build
240
+ +
241
+ +# Preview the production build
242
+ +pnpm run preview
243
+ +```
244
+ +
245
+ +## Deployment
246
+ +
247
+ +The site is automatically deployed to GitHub Pages via a GitHub workflow whenever commits are pushed to the `main` branch. The workflow:
248
+ +
249
+ +1. Installs dependencies using pnpm
250
+ +2. Builds the React app
251
+ +3. Deploys to GitHub Pages
252
+ +
253
+ +The site will be available at: `https://[username].github.io/matnava/`
254
+ +
255
+ +## Structure
256
+ +
257
+ +- `src/App.jsx` - Main React component with all the documentation content
258
+ +- `src/index.css` - Styles with dark/light mode support
259
+ +- `vite.config.js` - Vite configuration with GitHub Pages base path
260
+ +- `package.json` - Dependencies and scripts for the React app
261
+ +
262
+ +## Customization
263
+ +
264
+ +To update the documentation:
265
+ +
266
+ +1. Edit `src/App.jsx` to modify content
267
+ +2. Edit `src/index.css` to modify styling
268
+ +3. Test locally with `pnpm run dev`
269
+ +4. Commit and push to trigger automatic deployment
270
+
271
+ diff --git a/docs/index.html b/docs/index.html
272
+ new file mode 100644
273
+ index 0000000..cb07c28
274
+ --- /dev/null
275
+ +++ b/docs/index.html
276
+ @@ -0,0 +1,16 @@
277
+ +<!doctype html>
278
+ +<html lang="en">
279
+ +
280
+ +<head>
281
+ + <meta charset="UTF-8" />
282
+ + <link rel="icon" type="image/svg+xml" href="/vite.svg" />
283
+ + <meta name="viewport" content="width=device-width, initial-scale=1.0" />
284
+ + <title>Matnava - Focused Audio Transcription Tool</title>
285
+ +</head>
286
+ +
287
+ +<body>
288
+ + <div id="root"></div>
289
+ + <script type="module" src="/src/main.jsx"></script>
290
+ +</body>
291
+ +
292
+ +</html>
293
+
294
+ diff --git a/docs/package.json b/docs/package.json
295
+ new file mode 100644
296
+ index 0000000..e338989
297
+ --- /dev/null
298
+ +++ b/docs/package.json
299
+ @@ -0,0 +1,21 @@
300
+ +{
301
+ + "name": "matnava-docs",
302
+ + "version": "1.0.0",
303
+ + "description": "Documentation site for Matnava - a focused transcription tool",
304
+ + "type": "module",
305
+ + "scripts": {
306
+ + "dev": "vite",
307
+ + "build": "vite build",
308
+ + "preview": "vite preview"
309
+ + },
310
+ + "dependencies": {
311
+ + "react": "^18.2.0",
312
+ + "react-dom": "^18.2.0"
313
+ + },
314
+ + "devDependencies": {
315
+ + "@types/react": "^18.2.0",
316
+ + "@types/react-dom": "^18.2.0",
317
+ + "@vitejs/plugin-react": "^4.0.0",
318
+ + "vite": "^5.0.0"
319
+ + }
320
+ +}
321
+
322
+ ... [TRUNCATED: Original diff was 16153 characters, showing first 4987] ...
323
+
324
+ [Recent Diff 2 (HEAD~2..HEAD~1)]
325
+ diff --git a/.cursorrules b/.cursorrules
326
+ deleted file mode 100644
327
+ index ac40cec..0000000
328
+ --- a/.cursorrules
329
+ +++ /dev/null
330
+ @@ -1,8 +0,0 @@
331
+ -When writing tests make use of @ts-ignore to simplify things. Don't spend too much effort trying to address these errors.
332
+ -
333
+ -When mocking ESM modules in Jest, we need to make use of this approach:
334
+ -
335
+ - // Mock the modules before importing
336
+ - jest.unstable_mockModule('../../src/logging', () => ({
337
+ - getLogger: jest.fn(() => mockLogger)
338
+ - }));
339
+ diff --git a/.github/workflows/pnpm-publish.yml b/.github/workflows/pnpm-publish.yml
340
+ index cadaebc..18e8c81 100644
341
+ --- a/.github/workflows/pnpm-publish.yml
342
+ +++ b/.github/workflows/pnpm-publish.yml
343
+ @@ -24,7 +24,7 @@ jobs:
344
+ - run: pnpm install --frozen-lockfile --strict-peer-dependencies
345
+ - run: pnpm run lint
346
+ - run: pnpm run build
347
+ - - run: pnpm test --coverage
348
+ + - run: pnpm test
349
+ - uses: codecov/codecov-action@v5
350
+ with:
351
+ slug: jafarisimran/maloomscan
352
+ diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
353
+ index 894747f..31e6581 100644
354
+ --- a/.github/workflows/test.yml
355
+ +++ b/.github/workflows/test.yml
356
+ @@ -22,7 +22,7 @@ jobs:
357
+ - run: pnpm install --frozen-lockfile --strict-peer-dependencies
358
+ - run: pnpm run lint
359
+ - run: pnpm run build
360
+ - - run: pnpm test --coverage
361
+ + - run: pnpm test
362
+ - uses: codecov/codecov-action@v5
363
+ with:
364
+ slug: jafarisimran/maloomscan
365
+ diff --git a/.kodrdriv/config.yaml b/.kodrdriv/config.yaml
366
+ deleted file mode 100644
367
+ index 6e93ef3..0000000
368
+ --- a/.kodrdriv/config.yaml
369
+ +++ /dev/null
370
+ @@ -1,8 +0,0 @@
371
+ -contextDirectories:
372
+ - - .kodrdriv/context
373
+ -commit:
374
+ - cached: true
375
+ - sendit: true
376
+ -release:
377
+ - from: main
378
+ - to: HEAD
379
+
380
+ diff --git a/.kodrdriv/context/content.md b/.kodrdriv/context/content.md
381
+ deleted file mode 100644
382
+ index 28ae833..0000000
383
+ --- a/.kodrdriv/context/content.md
384
+ +++ /dev/null
385
+ @@ -1 +0,0 @@
386
+ -Maloomscan takes audio recordings and turned them into intellgent notes.
387
+ diff --git a/package.json b/package.json
388
+ index 3785f24..e544d4d 100644
389
+ --- a/package.json
390
+ +++ b/package.json
391
+ @@ -1,6 +1,6 @@
392
+ {
393
+ "name": "@jankhoj/matnava",
394
+ - "version": "0.0.1",
395
+ + "version": "0.0.3",
396
+ "description": "Matnava is a focused transcription tool that helps you transcribe audio intelligently using context.",
397
+ "main": "dist/main.js",
398
+ "type": "module",
399
+ @@ -11,7 +11,7 @@
400
+ "type": "git",
401
+ "url": "git+https://github.com/jafarisimran/matnava.git"
402
+ },
403
+ - "packageManager": "pnpm@10.11.0",
404
+ + "packageManager": "pnpm@10.13.1",
405
+ "scripts": {
406
+ "build": "pnpm run lint &&tsc --noEmit && vite build && copyfiles -u 1 \"src/**/*.md\" dist",
407
+ "dev": "vite",
408
+ @@ -31,9 +31,9 @@
409
+ "author": "Simran Jafari <jafarisimran@gmail.com>",
410
+ "license": "Apache-2.0",
411
+ "dependencies": {
412
+ - "@riotprompt/riotprompt": "link:../../StJustReckoning/riotprompt",
413
+ - "@theunwalked/cardigantime": "link:../../SemicolonAmbulance/cardigantime",
414
+ - "@theunwalked/dreadcabinet": "link:../../SemicolonAmbulance/dreadcabinet",
415
+ + "@riotprompt/riotprompt": "^0.0.8",
416
+ + "@theunwalked/cardigantime": "^0.0.16",
417
+ + "@theunwalked/dreadcabinet": "^0.0.10",
418
+ "@types/fluent-ffmpeg": "^2.1.27",
419
+ "commander": "^14.0.0",
420
+ "dayjs": "^1.11.13",
421
+ @@ -62,6 +62,7 @@
422
+ "eslint": "^9.31.0",
423
+ "eslint-plugin-import": "^2.32.0",
424
+ "globals": "^16.3.0",
425
+ + "mockdate": "^3.0.5",
426
+ "rollup-plugin-preserve-shebang": "^1.0.1",
427
+ "rollup-plugin-visualizer": "^6.0.3",
428
+ "typescript": "^5.8.3",
429
+ @@ -69,4 +70,4 @@
430
+ "vite-plugin-node": "^7.0.0",
431
+ "vitest": "^3.2.4"
432
+ }
433
+ -}
434
+
435
+ +}
436
+ diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
437
+ deleted file mode 100644
438
+ index 39693c1..0000000
439
+ --- a/pnpm-workspace.yaml
440
+ +++ /dev/null
441
+ @@ -1,4 +0,0 @@
442
+ -overrides:
443
+ - '@riotprompt/riotprompt': link:../../StJustReckoning/riotprompt
444
+ - '@theunwalked/cardigantime': link:../../SemicolonAmbulance/cardigantime
445
+ - '@theunwalked/dreadcabinet': link:../../SemicolonAmbulance/dreadcabinet
446
+ diff --git a/src/arguments.ts b/src/arguments.ts
447
+ index 00dc70e..1e435ff 100644
448
+ --- a/src/arguments.ts
449
+ +++ b/src/arguments.ts
450
+ @@ -36,23 +36,50 @@ export const configure = async (dreadcabinet: Dreadcabinet.DreadCabinet, cardiga
451
+ program = await cardigantime.configure(program);
452
+ program.version(VERSION);
453
+
454
+ + // Check if --check-config is in process.argv early
455
+ + if (process.argv.includes('--check-config')) {
456
+ + program.parse();
457
+ + const cliArgs: Args = program.opts<Args>();
458
+ +
459
+ + // Use CardiganTime's built-in checkConfig method
460
+ + await cardigantime.checkConfig(cliArgs);
461
+ +
462
+ + // Return minimal config for consistency, but main processing is done
463
+ + const config: Config = MATNAVA_DEFAULTS as Config;
464
+
465
+ ... [TRUNCATED: Original diff was 13636 characters, showing first 4951] ...
466
+
467
+ # GitHub Issues Context
468
+
469
+ Issue #5: Introduce dedicated directories for transcript file lifecycle management
470
+ Labels: priority-medium, category-functionality, review
471
+ Created: 2025-07-23T06:15:05Z
472
+ Updated: 2025-07-23T06:15:05Z
473
+ Body: ## Description
474
+
475
+ Currently, all transcript files are collected without a clear organizational system, leading to duplicate processing and reduced workflow efficiency. The reviewer suggests implementing a system where transcripts, once generated by the transcription tool (e.g., Matnava), are placed in a dedicated 'transcripts' directory. After they are processed (e.g., reviewed or converted into notes), they should be moved to a secondary directory such as 'notes' or 'review'. This will make it ea...
476
+ ---
477
+
@@ -0,0 +1,38 @@
1
+ # Review Analysis Result
2
+
3
+ ## Summary
4
+ The review addresses two primary areas for further improvement: First, Matnava's transcription process currently logs timestamps in UTC, potentially leading to confusion when users expect local times, especially for events occurring late in the day. The reviewer requests that this timestamping behavior be fixed to accurately reflect the user's local time. Second, there is uncertainty regarding the workflow for audio file processing—specifically, whether files from the Inbound directory should be moved to a Processed directory after being transcribed. Currently, these files remain in place, potentially hampering workflow clarity and increasing the risk of accidental reprocessing. The reviewer highlights a need to clarify and, if necessary, implement explicit directory lifecycle management for processed audio files.
5
+
6
+ ## Total Issues Found
7
+ 2
8
+
9
+ ## Issues
10
+
11
+ [
12
+ {
13
+ "title": "Fix transcript timestamps to use user’s local time instead of UTC",
14
+ "description": "Transcripts generated by Matnava currently record timestamps in UTC. This results in logs that may not accurately reflect when recordings were actually made from the user's perspective. For example, a recording made at 5 PM Pacific would be logged as occurring the next day in UTC, creating confusion for users tracking their activities or reviewing transcripts. This issue risks misalignment with user expectations and can cause organizational or compliance concerns if the recorded times are relied upon.",
15
+ "priority": "high",
16
+ "category": "functionality",
17
+ "suggestions": [
18
+ "Detect and use the system or user-specified timezone when generating transcript timestamps.",
19
+ "Add configuration options to allow users to select their preferred timezone for logging if detection is not possible.",
20
+ "Ensure all timestamp displays and logs consistently reflect the chosen timezone."
21
+ ]
22
+ },
23
+ {
24
+ "title": "Clarify and implement audio file movement from Inbound to Processed directories post-transcription",
25
+ "description": "Currently, after transcription, audio files remain in the Inbound directory, leading to ambiguity over workflow status. It's unclear whether files are supposed to be moved to a Processed directory after transcription. Leaving files unmoved may result in duplicate processing, clutter in the Inbound directory, and operational confusion. The reviewer requests a clear policy and automation (if needed) governing the movement of files once they're transcribed.",
26
+ "priority": "medium",
27
+ "category": "investigation",
28
+ "suggestions": [
29
+ "Clarify expected directory lifecycle for audio files post-transcription in documentation or requirements.",
30
+ "Decide whether files should be moved (or copied) to a Processed directory automatically after a successful transcription.",
31
+ "If file movement is to be implemented, update the tool to perform this step reliably, and add configuration to enable/disable this behavior as desired."
32
+ ]
33
+ }
34
+ ]
35
+
36
+ ---
37
+
38
+ *Analysis completed at 2025-08-04T23:23:40.232Z*