@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.
- package/.nvmrc +2 -0
- package/LICENSE +190 -0
- package/README.md +88 -0
- package/dist/arguments.js +158 -0
- package/dist/arguments.js.map +1 -0
- package/dist/constants.js +82 -0
- package/dist/constants.js.map +1 -0
- package/dist/logging.js +46 -0
- package/dist/logging.js.map +1 -0
- package/dist/main.js +5 -0
- package/dist/main.js.map +1 -0
- package/dist/phases/locate.js +55 -0
- package/dist/phases/locate.js.map +1 -0
- package/dist/phases/transcribe.js +149 -0
- package/dist/phases/transcribe.js.map +1 -0
- package/dist/processor.js +35 -0
- package/dist/processor.js.map +1 -0
- package/dist/prompt/instructions/transcribe.md +46 -0
- package/dist/prompt/personas/transcriber.md +37 -0
- package/dist/prompt/transcribe.js +41 -0
- package/dist/prompt/transcribe.js.map +1 -0
- package/dist/protokoll.js +81 -0
- package/dist/protokoll.js.map +1 -0
- package/dist/util/dates.js +96 -0
- package/dist/util/dates.js.map +1 -0
- package/dist/util/general.js +39 -0
- package/dist/util/general.js.map +1 -0
- package/dist/util/media.js +103 -0
- package/dist/util/media.js.map +1 -0
- package/dist/util/openai.js +92 -0
- package/dist/util/openai.js.map +1 -0
- package/dist/util/storage.js +135 -0
- package/dist/util/storage.js.map +1 -0
- package/docs/index.html +16 -0
- package/docs/package-lock.json +1521 -0
- package/docs/package.json +21 -0
- package/docs/vite.config.js +10 -0
- package/eslint.config.mjs +82 -0
- package/nodemon.json +14 -0
- package/output/kodrdriv/250702-1905-commit-message.md +1 -0
- package/output/kodrdriv/250702-1905-commit.request.json +14 -0
- package/output/kodrdriv/250702-1905-commit.response.json +36 -0
- package/output/kodrdriv/250702-1906-commit-message.md +1 -0
- package/output/kodrdriv/250702-1907-commit-message.md +1 -0
- package/output/kodrdriv/250702-1907-commit.request.json +14 -0
- package/output/kodrdriv/250702-1907-commit.response.json +36 -0
- package/output/kodrdriv/250716-1517-review-analysis.md +39 -0
- package/output/kodrdriv/250716-1517-review-notes.md +69 -0
- package/output/kodrdriv/250716-1518-review-analysis.md +15 -0
- package/output/kodrdriv/250716-1518-review-notes.md +67 -0
- package/output/kodrdriv/250716-1523-review-analysis.md +36 -0
- package/output/kodrdriv/250716-1523-review-notes.md +87 -0
- package/output/kodrdriv/250722-1135-commit-message.md +1 -0
- package/output/kodrdriv/250722-1331-commit-message.md +1 -0
- package/output/kodrdriv/250722-1335-commit-message.md +1 -0
- package/output/kodrdriv/250722-1337-commit-message.md +1 -0
- package/output/kodrdriv/250722-1342-release-notes.md +26 -0
- package/output/kodrdriv/250722-1416-commit-message.md +3 -0
- package/output/kodrdriv/250722-1420-commit-message.md +1 -0
- package/output/kodrdriv/250722-1422-commit-message.md +1 -0
- package/output/kodrdriv/250722-1423-commit-message.md +1 -0
- package/output/kodrdriv/250722-1425-release-notes.md +41 -0
- package/output/kodrdriv/250722-1527-commit-message.md +13 -0
- package/output/kodrdriv/250722-1532-commit-message.md +1 -0
- package/output/kodrdriv/250722-1532-release-notes.md +32 -0
- package/output/kodrdriv/250722-2314-review-analysis.md +28 -0
- package/output/kodrdriv/250722-2314-review-notes.md +464 -0
- package/output/kodrdriv/250722-2315-review-analysis.md +28 -0
- package/output/kodrdriv/250722-2315-review-notes.md +477 -0
- package/output/kodrdriv/250804-1623-review-analysis.md +38 -0
- package/output/kodrdriv/250804-1623-review-notes.md +479 -0
- package/output/kodrdriv/250804-1638-review-analysis.md +56 -0
- package/output/kodrdriv/250804-1638-review-notes.md +502 -0
- package/output/kodrdriv/250812-2021-review-analysis.md +27 -0
- package/output/kodrdriv/250812-2021-review-notes.md +571 -0
- package/output/kodrdriv/250826-0700-commit-message.md +12 -0
- package/output/kodrdriv/RELEASE_NOTES.md +30 -0
- package/output/kodrdriv/RELEASE_TITLE.md +1 -0
- package/package.json +78 -0
- package/tsconfig.tsbuildinfo +1 -0
- package/vite.config.ts +124 -0
- package/vitest.config.ts +30 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "matnava-docs",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Documentation site for Matnava - a focused transcription tool",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"dev": "vite",
|
|
8
|
+
"build": "vite build",
|
|
9
|
+
"preview": "vite preview"
|
|
10
|
+
},
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"react": "^18.2.0",
|
|
13
|
+
"react-dom": "^18.2.0"
|
|
14
|
+
},
|
|
15
|
+
"devDependencies": {
|
|
16
|
+
"@types/react": "^18.2.0",
|
|
17
|
+
"@types/react-dom": "^18.2.0",
|
|
18
|
+
"@vitejs/plugin-react": "^4.0.0",
|
|
19
|
+
"vite": "^5.0.0"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { defineConfig, globalIgnores } from "eslint/config";
|
|
2
|
+
import typescriptEslint from "@typescript-eslint/eslint-plugin";
|
|
3
|
+
import importPlugin from "eslint-plugin-import";
|
|
4
|
+
import globals from "globals";
|
|
5
|
+
import tsParser from "@typescript-eslint/parser";
|
|
6
|
+
import path from "node:path";
|
|
7
|
+
import { fileURLToPath } from "node:url";
|
|
8
|
+
import js from "@eslint/js";
|
|
9
|
+
import { FlatCompat } from "@eslint/eslintrc";
|
|
10
|
+
|
|
11
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
12
|
+
const __dirname = path.dirname(__filename);
|
|
13
|
+
const compat = new FlatCompat({
|
|
14
|
+
baseDirectory: __dirname,
|
|
15
|
+
recommendedConfig: js.configs.recommended,
|
|
16
|
+
allConfig: js.configs.all
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
export default defineConfig([
|
|
20
|
+
globalIgnores([
|
|
21
|
+
"dist/**",
|
|
22
|
+
"node_modules/**",
|
|
23
|
+
"**/*.test.ts",
|
|
24
|
+
]),
|
|
25
|
+
{
|
|
26
|
+
extends: compat.extends("eslint:recommended", "plugin:@typescript-eslint/recommended"),
|
|
27
|
+
|
|
28
|
+
plugins: {
|
|
29
|
+
"@typescript-eslint": typescriptEslint,
|
|
30
|
+
"import": importPlugin,
|
|
31
|
+
},
|
|
32
|
+
|
|
33
|
+
languageOptions: {
|
|
34
|
+
globals: {
|
|
35
|
+
...globals.node,
|
|
36
|
+
},
|
|
37
|
+
|
|
38
|
+
parser: tsParser,
|
|
39
|
+
ecmaVersion: "latest",
|
|
40
|
+
sourceType: "module",
|
|
41
|
+
},
|
|
42
|
+
|
|
43
|
+
rules: {
|
|
44
|
+
"@typescript-eslint/no-explicit-any": "off",
|
|
45
|
+
"@typescript-eslint/explicit-function-return-type": "off",
|
|
46
|
+
|
|
47
|
+
"@typescript-eslint/no-unused-vars": ["warn", {
|
|
48
|
+
argsIgnorePattern: "^_",
|
|
49
|
+
}],
|
|
50
|
+
|
|
51
|
+
indent: ["error", 4, {
|
|
52
|
+
SwitchCase: 1,
|
|
53
|
+
}],
|
|
54
|
+
|
|
55
|
+
"import/extensions": ["error", "never", {
|
|
56
|
+
ignorePackages: true,
|
|
57
|
+
pattern: {
|
|
58
|
+
"js": "never",
|
|
59
|
+
"ts": "never",
|
|
60
|
+
"d": "always"
|
|
61
|
+
}
|
|
62
|
+
}],
|
|
63
|
+
|
|
64
|
+
"import/no-extraneous-dependencies": ["error", {
|
|
65
|
+
devDependencies: true,
|
|
66
|
+
optionalDependencies: false,
|
|
67
|
+
peerDependencies: false,
|
|
68
|
+
}],
|
|
69
|
+
|
|
70
|
+
"no-console": ["error"],
|
|
71
|
+
|
|
72
|
+
"no-restricted-imports": ["error", {
|
|
73
|
+
paths: ["dayjs", "fs", "moment-timezone"],
|
|
74
|
+
patterns: [
|
|
75
|
+
{
|
|
76
|
+
group: ["src/**"],
|
|
77
|
+
message: "Use absolute imports instead of relative imports"
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
}]
|
|
81
|
+
},
|
|
82
|
+
}]);
|
package/nodemon.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
No changes detected—no commit generated.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"model": "gpt-4.1",
|
|
3
|
+
"messages": [
|
|
4
|
+
{
|
|
5
|
+
"role": "developer",
|
|
6
|
+
"content": "<Persona>\n<committer>\nYou are an intelligent assistant responsible for generating **high-quality, concise, and structured commit messages** for repositories that may include **code**, **configuration**, or **long-form written content** (e.g., technical docs, policies, onboarding materials).\n\n<🧑💻 Persona: GitHub Project Committer>\n**Role Title:** GitHub Committer / Core Contributor\n**Scope:** Regular contributor with write access; responsible for submitting high-quality commits, maintaining code health, and ensuring clarity and traceability in project history.\n\n<🔑 Responsibilities>\n- **Submit Meaningful Commits**\nWrite clear, purposeful, and well-scoped commits that align with project standards, including thoughtful messages that reflect both technical and contextual intent.\n\n- **Respect Context**\nIncorporate `User Context`, linked issues, and project priorities into commits. Treat commit messages as historical records for collaborators and future maintainers.\n\n- **Code + Content Awareness**\nCommitters may work on code, config, docs, or mixed artifacts. Must treat documentation changes with the same level of diligence as code edits.\n</🔑 Responsibilities>\n\n<🛠 Technical Proficiencies>\n- Proficient in project languages and tooling (e.g., TypeScript, Python, Rust, etc.)\n- Familiar with Git workflows: feature branching, squash-and-merge, rebase with care\n- Uses pre-commit hooks, linting, and test tools before pushing changes\n</🛠 Technical Proficiencies>\n\n<🧭 Operating Principles>\n- Clarity > Brevity > Cleverness\n- Commit messages are communication tools, not just logs\n- Consider the reader: future teammates, open-source collaborators, or even your future self\n</🧭 Operating Principles>\n</🧑💻 Persona: GitHub Project Committer>\n</committer>\n</Persona>"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"role": "user",
|
|
10
|
+
"content": "<Instruction>\n<commit>\n**🔧 Task Definition**\n\nYou are generating a Git commit message based on the content provided below. The content contains several critical sections:\n\n- **\\[User Direction]** — When present, this is the PRIMARY guidance for your commit message focus. This describes the motivation, goals, or intent behind the change from the user's perspective. This should be the starting point and main theme of your commit message.\n- **\\[User Context]** — When present, this provides IMPORTANT additional context about the user's situation, environment, or background that should inform your commit message understanding and approach.\n- **\\[Diff]** — A code diff representing the actual modifications. Analyze this to understand *what* was changed. **THIS IS THE CURRENT CHANGE YOU ARE DESCRIBING** — focus your commit message on explaining these specific modifications.\n- **\\[Log Context]** — A short history of recent commit messages. **IMPORTANT: This is provided ONLY for background context and temporal continuity. DO NOT use this to drive your commit message focus or content. DO NOT describe previous commits or reference past changes. Your commit message should describe ONLY the current diff/change.**\n\n<🧠 COMMIT MESSAGE GUIDELINES>\n<✅ DO:>\n- **PRIORITIZE User Direction**: If `[User Direction]` is provided, make it the central theme and starting point of your commit message. Let it guide the narrative and focus.\n- **CONSIDER User Context**: If `[User Context]` is provided, use it to inform your understanding and tailor your commit message appropriately to the user's situation.\n- **FOCUS ON THE CURRENT CHANGE**: Your commit message should describe only what is happening in the current diff — not previous work or future plans.\n- Start with a **clear, concise summary** of what was changed and why — grounded in the `User Direction` when present and informed by any `User Context`.\n- **Group changes logically** by purpose or domain (e.g., \"error handling cleanup\", \"refactored tests\", \"adjusted CI config\").\n- **Refer to specific changes** seen in the `Diff`, and explain why those changes matter when it's non-obvious.\n- If the change is large, **add one or two paragraphs** expanding on the most important elements.\n- Keep the tone technical and direct — written for a fellow developer who will read this in six months.\n</✅ DO:>\n\n<❌ DO NOT:>\n- ❌ Don't describe the project or its general purpose.\n- ❌ Don't begin with boilerplate like \"This commit includes...\" or \"The following changes...\"\n- ❌ Don't use fluffy or celebratory language (\"awesome update\", \"great enhancement\").\n- ❌ Don't end with vague statements like \"improves experience\" unless clearly supported by the change.\n- ❌ Don't use markdown formatting — the output should be plain text only.\n- ❌ **Don't reference or describe previous commits from the log context** — focus only on the current change.\n- ❌ **Don't let the log context influence your commit message content** — it's background information only.\n- ❌ **Don't continue themes or patterns from previous commits** unless they're directly relevant to the current diff.\n</❌ DO NOT:>\n</🧠 COMMIT MESSAGE GUIDELINES>\n\n<📝 OUTPUT STRUCTURE>\n<✅ For Small or Straightforward Changes>\nIf the change affects:\n\n- A single file\n- A single function or config block\n- Or is otherwise low complexity\n\nThen output a:\n\n- **Single sentence**, or\n- **Short paragraph**, with an optional **bullet list** for clarity\n\n<Example:>\nSwitched from `parseUser()` to `getUserProfile()` in `session.ts` to align with new session schema and remove legacy parsing logic.\n</Example:>\n</✅ For Small or Straightforward Changes>\n\n<✅ For Complex or Multi-Part Changes>\nIf the change affects:\n\n- Multiple files or systems\n- Multiple concerns (e.g., config + business logic)\n- Involves a refactor or architectural update\n\nThen output:\n\n- A **summary paragraph** describing the overall intent\n- One or two **detail paragraphs** focusing on key aspects or trade-offs\n- An optional **bullet list** to call out specific files, tools, or changes\n\n<Example:>\nReorganized pipeline logic to improve readability and make phase execution more testable. This is part of ongoing work to modularize transition handling.\n\nThe main change separates phase node execution into its own module, reduces reliance on shared state, and simplifies test construction. Existing functionality remains unchanged, but internal structure is now better aligned with future transition plugin support.\n\n* Extracted `executePhaseNode()` from `pipeline.ts`\n* Added `phase-runner.ts` with dedicated error handling\n* Updated tests in `phase.test.ts` for new isolation boundaries\n</Example:>\n</✅ For Complex or Multi-Part Changes>\n</📝 OUTPUT STRUCTURE>\n\n<🧾 Final Note>\nMatch your output to the **scope and complexity** of the change. Be terse where appropriate, but thorough when it matters. Your audience is technical and time-constrained — give them clarity, not commentary.\n</🧾 Final Note>\n</commit>\n</Instruction>\n\n<Content>\n<Diff>\n\n</Diff>\n</Content>\n\n<Context>\n<context>\n<content.md>\nMaloomscan takes audio recordings and turned them into intellgent notes.\n\n</content.md>\n</context>\n\n<Log Context>\ncommit febc22b207ecd1208720dc72da93c00ab9c01423\nAuthor: Simran Jafari <jafarisimran@gmail.com>\nDate: Fri May 23 17:07:11 2025 -0700\n\n```\nIntroduced several configuration and workflow files to optimize project setup, testing, and automation.\n\n- Initialized `.cursorrules` with guidelines for testing and mocking ESM modules in Jest.\n- Configured ESLint with `.eslintrc.json` to enforce coding standards, leveraging TypeScript rules.\n- Set up CodeQL with `codeql.yml` workflow for automated code scanning on the repository.\n- Added a workflow `dependency-review.yml` to enforce dependency checks on PRs.\n- Created a `pnpm-publish.yml` workflow for publishing packages to GitHub on release.\n- Established a basic testing workflow in `test.yml`.\n- Added `.npmignore` to exclude unnecessary files from packages.\n- Configured Nodemon with `nodemon.json` for development environment.\n- Provided a comprehensive `README.md` with usage instructions for the Maloomscan tool.\n- Initialized `jest.config.js` for Jest testing setup.\n- Defined `package.json` to manage project dependencies and scripts.\n- Added TypeScript configurations in `tsconfig.json` for project settings.\n- Added a `LICENSE` file with the Apache 2.0 License.\n- Written extensive unit and integration tests across various files to ensure functionality, placed under `tests/`.\n- Created utility scripts and modules under `src/**` for handling arguments, logging, processing phases, and various utilities related to date handling and file interactions.\n\nThis setup enhances development workflows, improves code quality assurance, and supports automated deployment processes.\n```\n</Log Context>\n</Context>\n\n"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"max_completion_tokens": 10000
|
|
14
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "chatcmpl-Bp3clyGp5hwajb5iaV7VcSjwQ27lb",
|
|
3
|
+
"object": "chat.completion",
|
|
4
|
+
"created": 1751508359,
|
|
5
|
+
"model": "gpt-4.1-2025-04-14",
|
|
6
|
+
"choices": [
|
|
7
|
+
{
|
|
8
|
+
"index": 0,
|
|
9
|
+
"message": {
|
|
10
|
+
"role": "assistant",
|
|
11
|
+
"content": "No changes detected in the diff; no commit necessary.",
|
|
12
|
+
"refusal": null,
|
|
13
|
+
"annotations": []
|
|
14
|
+
},
|
|
15
|
+
"logprobs": null,
|
|
16
|
+
"finish_reason": "stop"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"usage": {
|
|
20
|
+
"prompt_tokens": 1877,
|
|
21
|
+
"completion_tokens": 11,
|
|
22
|
+
"total_tokens": 1888,
|
|
23
|
+
"prompt_tokens_details": {
|
|
24
|
+
"cached_tokens": 1792,
|
|
25
|
+
"audio_tokens": 0
|
|
26
|
+
},
|
|
27
|
+
"completion_tokens_details": {
|
|
28
|
+
"reasoning_tokens": 0,
|
|
29
|
+
"audio_tokens": 0,
|
|
30
|
+
"accepted_prediction_tokens": 0,
|
|
31
|
+
"rejected_prediction_tokens": 0
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"service_tier": "default",
|
|
35
|
+
"system_fingerprint": "fp_51e1070cf2"
|
|
36
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
No changes detected in the diff; no commit necessary.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Renamed configuration and context directory files from `.gitcarve` to `.kodrdriv`, consolidating context references and removing legacy settings. Also updated the config structure by eliminating the `verbose` and `model` fields and simplifying `contextDirectories` entries for consistency with the new directory naming.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"model": "gpt-4.1",
|
|
3
|
+
"messages": [
|
|
4
|
+
{
|
|
5
|
+
"role": "developer",
|
|
6
|
+
"content": "<Persona>\n<committer>\nYou are an intelligent assistant responsible for generating **high-quality, concise, and structured commit messages** for repositories that may include **code**, **configuration**, or **long-form written content** (e.g., technical docs, policies, onboarding materials).\n\n<🧑💻 Persona: GitHub Project Committer>\n**Role Title:** GitHub Committer / Core Contributor\n**Scope:** Regular contributor with write access; responsible for submitting high-quality commits, maintaining code health, and ensuring clarity and traceability in project history.\n\n<🔑 Responsibilities>\n- **Submit Meaningful Commits**\nWrite clear, purposeful, and well-scoped commits that align with project standards, including thoughtful messages that reflect both technical and contextual intent.\n\n- **Respect Context**\nIncorporate `User Context`, linked issues, and project priorities into commits. Treat commit messages as historical records for collaborators and future maintainers.\n\n- **Code + Content Awareness**\nCommitters may work on code, config, docs, or mixed artifacts. Must treat documentation changes with the same level of diligence as code edits.\n</🔑 Responsibilities>\n\n<🛠 Technical Proficiencies>\n- Proficient in project languages and tooling (e.g., TypeScript, Python, Rust, etc.)\n- Familiar with Git workflows: feature branching, squash-and-merge, rebase with care\n- Uses pre-commit hooks, linting, and test tools before pushing changes\n</🛠 Technical Proficiencies>\n\n<🧭 Operating Principles>\n- Clarity > Brevity > Cleverness\n- Commit messages are communication tools, not just logs\n- Consider the reader: future teammates, open-source collaborators, or even your future self\n</🧭 Operating Principles>\n</🧑💻 Persona: GitHub Project Committer>\n</committer>\n</Persona>"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"role": "user",
|
|
10
|
+
"content": "<Instruction>\n<commit>\n**🔧 Task Definition**\n\nYou are generating a Git commit message based on the content provided below. The content contains several critical sections:\n\n- **\\[User Direction]** — When present, this is the PRIMARY guidance for your commit message focus. This describes the motivation, goals, or intent behind the change from the user's perspective. This should be the starting point and main theme of your commit message.\n- **\\[User Context]** — When present, this provides IMPORTANT additional context about the user's situation, environment, or background that should inform your commit message understanding and approach.\n- **\\[Diff]** — A code diff representing the actual modifications. Analyze this to understand *what* was changed. **THIS IS THE CURRENT CHANGE YOU ARE DESCRIBING** — focus your commit message on explaining these specific modifications.\n- **\\[Log Context]** — A short history of recent commit messages. **IMPORTANT: This is provided ONLY for background context and temporal continuity. DO NOT use this to drive your commit message focus or content. DO NOT describe previous commits or reference past changes. Your commit message should describe ONLY the current diff/change.**\n\n<🧠 COMMIT MESSAGE GUIDELINES>\n<✅ DO:>\n- **PRIORITIZE User Direction**: If `[User Direction]` is provided, make it the central theme and starting point of your commit message. Let it guide the narrative and focus.\n- **CONSIDER User Context**: If `[User Context]` is provided, use it to inform your understanding and tailor your commit message appropriately to the user's situation.\n- **FOCUS ON THE CURRENT CHANGE**: Your commit message should describe only what is happening in the current diff — not previous work or future plans.\n- Start with a **clear, concise summary** of what was changed and why — grounded in the `User Direction` when present and informed by any `User Context`.\n- **Group changes logically** by purpose or domain (e.g., \"error handling cleanup\", \"refactored tests\", \"adjusted CI config\").\n- **Refer to specific changes** seen in the `Diff`, and explain why those changes matter when it's non-obvious.\n- If the change is large, **add one or two paragraphs** expanding on the most important elements.\n- Keep the tone technical and direct — written for a fellow developer who will read this in six months.\n</✅ DO:>\n\n<❌ DO NOT:>\n- ❌ Don't describe the project or its general purpose.\n- ❌ Don't begin with boilerplate like \"This commit includes...\" or \"The following changes...\"\n- ❌ Don't use fluffy or celebratory language (\"awesome update\", \"great enhancement\").\n- ❌ Don't end with vague statements like \"improves experience\" unless clearly supported by the change.\n- ❌ Don't use markdown formatting — the output should be plain text only.\n- ❌ **Don't reference or describe previous commits from the log context** — focus only on the current change.\n- ❌ **Don't let the log context influence your commit message content** — it's background information only.\n- ❌ **Don't continue themes or patterns from previous commits** unless they're directly relevant to the current diff.\n</❌ DO NOT:>\n</🧠 COMMIT MESSAGE GUIDELINES>\n\n<📝 OUTPUT STRUCTURE>\n<✅ For Small or Straightforward Changes>\nIf the change affects:\n\n- A single file\n- A single function or config block\n- Or is otherwise low complexity\n\nThen output a:\n\n- **Single sentence**, or\n- **Short paragraph**, with an optional **bullet list** for clarity\n\n<Example:>\nSwitched from `parseUser()` to `getUserProfile()` in `session.ts` to align with new session schema and remove legacy parsing logic.\n</Example:>\n</✅ For Small or Straightforward Changes>\n\n<✅ For Complex or Multi-Part Changes>\nIf the change affects:\n\n- Multiple files or systems\n- Multiple concerns (e.g., config + business logic)\n- Involves a refactor or architectural update\n\nThen output:\n\n- A **summary paragraph** describing the overall intent\n- One or two **detail paragraphs** focusing on key aspects or trade-offs\n- An optional **bullet list** to call out specific files, tools, or changes\n\n<Example:>\nReorganized pipeline logic to improve readability and make phase execution more testable. This is part of ongoing work to modularize transition handling.\n\nThe main change separates phase node execution into its own module, reduces reliance on shared state, and simplifies test construction. Existing functionality remains unchanged, but internal structure is now better aligned with future transition plugin support.\n\n* Extracted `executePhaseNode()` from `pipeline.ts`\n* Added `phase-runner.ts` with dedicated error handling\n* Updated tests in `phase.test.ts` for new isolation boundaries\n</Example:>\n</✅ For Complex or Multi-Part Changes>\n</📝 OUTPUT STRUCTURE>\n\n<🧾 Final Note>\nMatch your output to the **scope and complexity** of the change. Be terse where appropriate, but thorough when it matters. Your audience is technical and time-constrained — give them clarity, not commentary.\n</🧾 Final Note>\n</commit>\n</Instruction>\n\n<Content>\n<Diff>\ndiff --git a/.gitcarve/config.yaml b/.kodrdriv/config.yaml\nsimilarity index 63%\nrename from .gitcarve/config.yaml\nrename to .kodrdriv/config.yaml\nindex 92f6110..6e93ef3 100644\n--- a/.gitcarve/config.yaml\n+++ b/.kodrdriv/config.yaml\n@@ -1,7 +1,5 @@\n-verbose: false\n-model: gpt-4o\n contextDirectories:\n\n- - .gitcarve/context\n\n- - .kodrdriv/context\n commit:\ncached: true\nsendit: true\ndiff --git a/.gitcarve/context/content.md b/.kodrdriv/context/content.md\nsimilarity index 100%\nrename from .gitcarve/context/content.md\nrename to .kodrdriv/context/content.md\n</Diff>\n</Content>\n\n<Context>\n<context>\n<content.md>\nMaloomscan takes audio recordings and turned them into intellgent notes.\n\n</content.md>\n</context>\n\n<context>\n<content.md>\nMaloomscan takes audio recordings and turned them into intellgent notes.\n\n</content.md>\n</context>\n\n<Log Context>\ncommit febc22b207ecd1208720dc72da93c00ab9c01423\nAuthor: Simran Jafari <jafarisimran@gmail.com>\nDate: Fri May 23 17:07:11 2025 -0700\n\n```\nIntroduced several configuration and workflow files to optimize project setup, testing, and automation.\n\n- Initialized `.cursorrules` with guidelines for testing and mocking ESM modules in Jest.\n- Configured ESLint with `.eslintrc.json` to enforce coding standards, leveraging TypeScript rules.\n- Set up CodeQL with `codeql.yml` workflow for automated code scanning on the repository.\n- Added a workflow `dependency-review.yml` to enforce dependency checks on PRs.\n- Created a `pnpm-publish.yml` workflow for publishing packages to GitHub on release.\n- Established a basic testing workflow in `test.yml`.\n- Added `.npmignore` to exclude unnecessary files from packages.\n- Configured Nodemon with `nodemon.json` for development environment.\n- Provided a comprehensive `README.md` with usage instructions for the Maloomscan tool.\n- Initialized `jest.config.js` for Jest testing setup.\n- Defined `package.json` to manage project dependencies and scripts.\n- Added TypeScript configurations in `tsconfig.json` for project settings.\n- Added a `LICENSE` file with the Apache 2.0 License.\n- Written extensive unit and integration tests across various files to ensure functionality, placed under `tests/`.\n- Created utility scripts and modules under `src/**` for handling arguments, logging, processing phases, and various utilities related to date handling and file interactions.\n\nThis setup enhances development workflows, improves code quality assurance, and supports automated deployment processes.\n```\n</Log Context>\n</Context>\n\n"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"max_completion_tokens": 10000
|
|
14
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "chatcmpl-Bp3e6B7Z8RoJK60j2j4PCDYTvlCIE",
|
|
3
|
+
"object": "chat.completion",
|
|
4
|
+
"created": 1751508442,
|
|
5
|
+
"model": "gpt-4.1-2025-04-14",
|
|
6
|
+
"choices": [
|
|
7
|
+
{
|
|
8
|
+
"index": 0,
|
|
9
|
+
"message": {
|
|
10
|
+
"role": "assistant",
|
|
11
|
+
"content": "Renamed configuration and context directory files from `.gitcarve` to `.kodrdriv`, consolidating context references and removing legacy settings. Also updated the config structure by eliminating the `verbose` and `model` fields and simplifying `contextDirectories` entries for consistency with the new directory naming.",
|
|
12
|
+
"refusal": null,
|
|
13
|
+
"annotations": []
|
|
14
|
+
},
|
|
15
|
+
"logprobs": null,
|
|
16
|
+
"finish_reason": "stop"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"usage": {
|
|
20
|
+
"prompt_tokens": 2087,
|
|
21
|
+
"completion_tokens": 60,
|
|
22
|
+
"total_tokens": 2147,
|
|
23
|
+
"prompt_tokens_details": {
|
|
24
|
+
"cached_tokens": 1408,
|
|
25
|
+
"audio_tokens": 0
|
|
26
|
+
},
|
|
27
|
+
"completion_tokens_details": {
|
|
28
|
+
"reasoning_tokens": 0,
|
|
29
|
+
"audio_tokens": 0,
|
|
30
|
+
"accepted_prediction_tokens": 0,
|
|
31
|
+
"rejected_prediction_tokens": 0
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"service_tier": "default",
|
|
35
|
+
"system_fingerprint": "fp_51e1070cf2"
|
|
36
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Review Analysis Result
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
The review highlights significant dissatisfaction with the transcript processing pipeline, specifically loss of fidelity compared to raw Whisper outputs and cumbersome manual workflows for evaluating and comparing transcripts. The reviewer requests investigation into model selection, prompt simplification, and improved tools for transcript comparison.
|
|
5
|
+
|
|
6
|
+
## Total Issues Found
|
|
7
|
+
2
|
|
8
|
+
|
|
9
|
+
## Issues
|
|
10
|
+
|
|
11
|
+
[
|
|
12
|
+
{
|
|
13
|
+
"title": "Investigate and Simplify Transcript Generation Prompt and Model Selection",
|
|
14
|
+
"description": "Transcripts generated from the current pipeline are often incomplete or of lower quality compared to direct raw Whisper outputs. The reviewer is dissatisfied with the fidelity of processed transcripts and frequently resorts to manually refining them using ChatGPT 4.5. There is concern that the current prompt or the underlying model may be causing this loss, and the prompt involved in transcript modification may be unnecessarily complex.",
|
|
15
|
+
"priority": "high",
|
|
16
|
+
"category": "functionality",
|
|
17
|
+
"suggestions": [
|
|
18
|
+
"Audit which language model is used for processing transcripts and assess if it is optimal for transcription refinement (e.g., consider using ChatGPT 4.5 as referenced).",
|
|
19
|
+
"Review and dramatically simplify the prompt used for transcript editing to minimize loss of information and complexity.",
|
|
20
|
+
"Experiment with alternate prompts or models and validate output fidelity directly against raw Whisper outputs.",
|
|
21
|
+
"Document and share findings with the team, including evidence of improvements."
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"title": "Develop Tooling for Easier Transcript Comparison",
|
|
26
|
+
"description": "It is currently time-consuming to compare raw transcripts with processed transcripts, requiring manual location of interim files and external diffing or inspection. Reviewers find this workflow cumbersome and error-prone.",
|
|
27
|
+
"priority": "medium",
|
|
28
|
+
"category": "functionality",
|
|
29
|
+
"suggestions": [
|
|
30
|
+
"Develop or integrate a tool or interface that facilitates straightforward side-by-side or inline comparison between raw and processed transcript files.",
|
|
31
|
+
"Automate the process of locating and selecting the correct interim files for comparison.",
|
|
32
|
+
"Consider adding diff/compare functionality to the existing pipeline with clear output formats (e.g., color-coded diffs, summary statistics on changes)."
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
*Analysis completed at 2025-07-16T22:17:12.018Z*
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# Review Notes
|
|
2
|
+
|
|
3
|
+
I'm really not happy with the quality and completeness of the transcripts. Whenever I have to look at the output of the transcripts, I end up comparing it to the raw Whisper output and I almost always lose something in the transition. When this happens I end up having to go into ChatGPT and just manually transcribe the raw Whisper transcript with ChatGPT 4.5. Can you investigate if we're using the right model, and can you dramatically simplify what the prompt is to generate a modified transcript?
|
|
4
|
+
|
|
5
|
+
You also need to develop some way for you to compare the raw transcript to the processed transcript in a way that is easier to manage. It takes way too much effort to track down the interim file and run a comparison.
|
|
6
|
+
|
|
7
|
+
# Commit History Context
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
[Recent Commit History]
|
|
12
|
+
commit 1253f50a35374cf31ae23ed55d53d525b5bd15c6
|
|
13
|
+
Author: Simran Jafari <jafarisimran@gmail.com>
|
|
14
|
+
Date: Wed Jul 2 19:07:23 2025 -0700
|
|
15
|
+
|
|
16
|
+
Renamed configuration and context directory files from `.gitcarve` to `.kodrdriv`, consolidating context references and removing legacy settings. Also updated the config structure by eliminating the `verbose` and `model` fields and simplifying `contextDirectories` entries for consistency with the new directory naming.
|
|
17
|
+
|
|
18
|
+
commit febc22b207ecd1208720dc72da93c00ab9c01423
|
|
19
|
+
Author: Simran Jafari <jafarisimran@gmail.com>
|
|
20
|
+
Date: Fri May 23 17:07:11 2025 -0700
|
|
21
|
+
|
|
22
|
+
Introduced several configuration and workflow files to optimize project setup, testing, and automation.
|
|
23
|
+
|
|
24
|
+
- Initialized `.cursorrules` with guidelines for testing and mocking ESM modules in Jest.
|
|
25
|
+
- Configured ESLint with `.eslintrc.json` to enforce coding standards, leveraging TypeScript rules.
|
|
26
|
+
- Set up CodeQL with `codeql.yml` workflow for automated code scanning on the repository.
|
|
27
|
+
- Added a workflow `dependency-review.yml` to enforce dependency checks on PRs.
|
|
28
|
+
- Created a `pnpm-publish.yml` workflow for publishing packages to GitHub on release.
|
|
29
|
+
- Established a basic testing workflow in `test.yml`.
|
|
30
|
+
- Added `.npmignore` to exclude unnecessary files from packages.
|
|
31
|
+
- Configured Nodemon with `nodemon.json` for development environment.
|
|
32
|
+
- Provided a comprehensive `README.md` with usage instructions for the Maloomscan tool.
|
|
33
|
+
- Initialized `jest.config.js` for Jest testing setup.
|
|
34
|
+
- Defined `package.json` to manage project dependencies and scripts.
|
|
35
|
+
- Added TypeScript configurations in `tsconfig.json` for project settings.
|
|
36
|
+
- Added a `LICENSE` file with the Apache 2.0 License.
|
|
37
|
+
- Written extensive unit and integration tests across various files to ensure functionality, placed under `tests/`.
|
|
38
|
+
- Created utility scripts and modules under `src/**` for handling arguments, logging, processing phases, and various utilities related to date handling and file interactions.
|
|
39
|
+
|
|
40
|
+
This setup enhances development workflows, improves code quality assurance, and supports automated deployment processes.
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
# Recent Diffs Context
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
[Recent Diff 1 (HEAD~1)]
|
|
48
|
+
diff --git a/.gitcarve/config.yaml b/.kodrdriv/config.yaml
|
|
49
|
+
similarity index 63%
|
|
50
|
+
rename from .gitcarve/config.yaml
|
|
51
|
+
rename to .kodrdriv/config.yaml
|
|
52
|
+
index 92f6110..6e93ef3 100644
|
|
53
|
+
--- a/.gitcarve/config.yaml
|
|
54
|
+
+++ b/.kodrdriv/config.yaml
|
|
55
|
+
@@ -1,7 +1,5 @@
|
|
56
|
+
-verbose: false
|
|
57
|
+
-model: gpt-4o
|
|
58
|
+
contextDirectories:
|
|
59
|
+
- - .gitcarve/context
|
|
60
|
+
+ - .kodrdriv/context
|
|
61
|
+
commit:
|
|
62
|
+
cached: true
|
|
63
|
+
sendit: true
|
|
64
|
+
diff --git a/.gitcarve/context/content.md b/.kodrdriv/context/content.md
|
|
65
|
+
similarity index 100%
|
|
66
|
+
rename from .gitcarve/context/content.md
|
|
67
|
+
rename to .kodrdriv/context/content.md
|
|
68
|
+
|
|
69
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Review Analysis Result
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
The review note contains only the text 'Hello# Kodrdriv Review Note' and does not provide any actionable feedback, observations, or suggestions. After analyzing both the review notes and the provided project context, no new issues can be extracted or filed.
|
|
5
|
+
|
|
6
|
+
## Total Issues Found
|
|
7
|
+
0
|
|
8
|
+
|
|
9
|
+
## Issues
|
|
10
|
+
|
|
11
|
+
[]
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
*Analysis completed at 2025-07-16T22:18:17.251Z*
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# Review Notes
|
|
2
|
+
|
|
3
|
+
Hello# Kodrdriv Review Note
|
|
4
|
+
|
|
5
|
+
# Commit History Context
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
[Recent Commit History]
|
|
10
|
+
commit 1253f50a35374cf31ae23ed55d53d525b5bd15c6
|
|
11
|
+
Author: Simran Jafari <jafarisimran@gmail.com>
|
|
12
|
+
Date: Wed Jul 2 19:07:23 2025 -0700
|
|
13
|
+
|
|
14
|
+
Renamed configuration and context directory files from `.gitcarve` to `.kodrdriv`, consolidating context references and removing legacy settings. Also updated the config structure by eliminating the `verbose` and `model` fields and simplifying `contextDirectories` entries for consistency with the new directory naming.
|
|
15
|
+
|
|
16
|
+
commit febc22b207ecd1208720dc72da93c00ab9c01423
|
|
17
|
+
Author: Simran Jafari <jafarisimran@gmail.com>
|
|
18
|
+
Date: Fri May 23 17:07:11 2025 -0700
|
|
19
|
+
|
|
20
|
+
Introduced several configuration and workflow files to optimize project setup, testing, and automation.
|
|
21
|
+
|
|
22
|
+
- Initialized `.cursorrules` with guidelines for testing and mocking ESM modules in Jest.
|
|
23
|
+
- Configured ESLint with `.eslintrc.json` to enforce coding standards, leveraging TypeScript rules.
|
|
24
|
+
- Set up CodeQL with `codeql.yml` workflow for automated code scanning on the repository.
|
|
25
|
+
- Added a workflow `dependency-review.yml` to enforce dependency checks on PRs.
|
|
26
|
+
- Created a `pnpm-publish.yml` workflow for publishing packages to GitHub on release.
|
|
27
|
+
- Established a basic testing workflow in `test.yml`.
|
|
28
|
+
- Added `.npmignore` to exclude unnecessary files from packages.
|
|
29
|
+
- Configured Nodemon with `nodemon.json` for development environment.
|
|
30
|
+
- Provided a comprehensive `README.md` with usage instructions for the Maloomscan tool.
|
|
31
|
+
- Initialized `jest.config.js` for Jest testing setup.
|
|
32
|
+
- Defined `package.json` to manage project dependencies and scripts.
|
|
33
|
+
- Added TypeScript configurations in `tsconfig.json` for project settings.
|
|
34
|
+
- Added a `LICENSE` file with the Apache 2.0 License.
|
|
35
|
+
- Written extensive unit and integration tests across various files to ensure functionality, placed under `tests/`.
|
|
36
|
+
- Created utility scripts and modules under `src/**` for handling arguments, logging, processing phases, and various utilities related to date handling and file interactions.
|
|
37
|
+
|
|
38
|
+
This setup enhances development workflows, improves code quality assurance, and supports automated deployment processes.
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
# Recent Diffs Context
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
[Recent Diff 1 (HEAD~1)]
|
|
46
|
+
diff --git a/.gitcarve/config.yaml b/.kodrdriv/config.yaml
|
|
47
|
+
similarity index 63%
|
|
48
|
+
rename from .gitcarve/config.yaml
|
|
49
|
+
rename to .kodrdriv/config.yaml
|
|
50
|
+
index 92f6110..6e93ef3 100644
|
|
51
|
+
--- a/.gitcarve/config.yaml
|
|
52
|
+
+++ b/.kodrdriv/config.yaml
|
|
53
|
+
@@ -1,7 +1,5 @@
|
|
54
|
+
-verbose: false
|
|
55
|
+
-model: gpt-4o
|
|
56
|
+
contextDirectories:
|
|
57
|
+
- - .gitcarve/context
|
|
58
|
+
+ - .kodrdriv/context
|
|
59
|
+
commit:
|
|
60
|
+
cached: true
|
|
61
|
+
sendit: true
|
|
62
|
+
diff --git a/.gitcarve/context/content.md b/.kodrdriv/context/content.md
|
|
63
|
+
similarity index 100%
|
|
64
|
+
rename from .gitcarve/context/content.md
|
|
65
|
+
rename to .kodrdriv/context/content.md
|
|
66
|
+
|
|
67
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Review Analysis Result
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
The review feedback highlights significant dissatisfaction with the current transcript processing approach. Valuable information is being lost when transforming raw Whisper transcripts into processed versions. The reviewer requests changes to the transcript formatting process and suggests reevaluating both the prompt and the model in use.
|
|
5
|
+
|
|
6
|
+
## Total Issues Found
|
|
7
|
+
2
|
|
8
|
+
|
|
9
|
+
## Issues
|
|
10
|
+
|
|
11
|
+
[
|
|
12
|
+
{
|
|
13
|
+
"title": "Loss of Information in Processed Transcripts",
|
|
14
|
+
"description": "When converting raw Whisper transcripts into processed versions, a significant amount of valuable information is lost. This harms the usefulness and fidelity of the transcripts for downstream users.",
|
|
15
|
+
"priority": "high",
|
|
16
|
+
"category": "functionality",
|
|
17
|
+
"suggestions": [
|
|
18
|
+
"Review and adjust the transcript processing logic to preserve all original information present in raw Whisper outputs.",
|
|
19
|
+
"Audit the transformation pipeline to identify steps where data loss occurs and refactor as needed."
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"title": "Improve Transcript Prompt and Model Selection",
|
|
24
|
+
"description": "The current prompt used to generate processed transcripts needs refinement to produce clearer and more useful results. Additionally, the transcript model in use may not be the best fit and should be reconsidered.",
|
|
25
|
+
"priority": "medium",
|
|
26
|
+
"category": "functionality",
|
|
27
|
+
"suggestions": [
|
|
28
|
+
"Update or rewrite the prompt to focus on formatting the transcript for clarity without discarding original content.",
|
|
29
|
+
"Evaluate alternative models or configurations that can better preserve details and provide more straightforward, accurately formatted transcripts."
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
*Analysis completed at 2025-07-16T22:23:24.660Z*
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# Review Notes
|
|
2
|
+
|
|
3
|
+
There's a problem with the processed transcripts, whenever I see that trascript that is processed from the raw Whisper transcript I see that it loses a lot of the information that was in the original raw Whisper transcript. I need to work on the prompt that generates this, and I think we also need to reconsider what model is being used to capture this transcript. Instead of a summary, I'd like some that is just formatting the transcript and making it more straightforward to understand.
|
|
4
|
+
|
|
5
|
+
# Commit History Context
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
[Recent Commit History]
|
|
10
|
+
commit 1253f50a35374cf31ae23ed55d53d525b5bd15c6
|
|
11
|
+
Author: Simran Jafari <jafarisimran@gmail.com>
|
|
12
|
+
Date: Wed Jul 2 19:07:23 2025 -0700
|
|
13
|
+
|
|
14
|
+
Renamed configuration and context directory files from `.gitcarve` to `.kodrdriv`, consolidating context references and removing legacy settings. Also updated the config structure by eliminating the `verbose` and `model` fields and simplifying `contextDirectories` entries for consistency with the new directory naming.
|
|
15
|
+
|
|
16
|
+
commit febc22b207ecd1208720dc72da93c00ab9c01423
|
|
17
|
+
Author: Simran Jafari <jafarisimran@gmail.com>
|
|
18
|
+
Date: Fri May 23 17:07:11 2025 -0700
|
|
19
|
+
|
|
20
|
+
Introduced several configuration and workflow files to optimize project setup, testing, and automation.
|
|
21
|
+
|
|
22
|
+
- Initialized `.cursorrules` with guidelines for testing and mocking ESM modules in Jest.
|
|
23
|
+
- Configured ESLint with `.eslintrc.json` to enforce coding standards, leveraging TypeScript rules.
|
|
24
|
+
- Set up CodeQL with `codeql.yml` workflow for automated code scanning on the repository.
|
|
25
|
+
- Added a workflow `dependency-review.yml` to enforce dependency checks on PRs.
|
|
26
|
+
- Created a `pnpm-publish.yml` workflow for publishing packages to GitHub on release.
|
|
27
|
+
- Established a basic testing workflow in `test.yml`.
|
|
28
|
+
- Added `.npmignore` to exclude unnecessary files from packages.
|
|
29
|
+
- Configured Nodemon with `nodemon.json` for development environment.
|
|
30
|
+
- Provided a comprehensive `README.md` with usage instructions for the Maloomscan tool.
|
|
31
|
+
- Initialized `jest.config.js` for Jest testing setup.
|
|
32
|
+
- Defined `package.json` to manage project dependencies and scripts.
|
|
33
|
+
- Added TypeScript configurations in `tsconfig.json` for project settings.
|
|
34
|
+
- Added a `LICENSE` file with the Apache 2.0 License.
|
|
35
|
+
- Written extensive unit and integration tests across various files to ensure functionality, placed under `tests/`.
|
|
36
|
+
- Created utility scripts and modules under `src/**` for handling arguments, logging, processing phases, and various utilities related to date handling and file interactions.
|
|
37
|
+
|
|
38
|
+
This setup enhances development workflows, improves code quality assurance, and supports automated deployment processes.
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
# Recent Diffs Context
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
[Recent Diff 1 (HEAD~1)]
|
|
46
|
+
diff --git a/.gitcarve/config.yaml b/.kodrdriv/config.yaml
|
|
47
|
+
similarity index 63%
|
|
48
|
+
rename from .gitcarve/config.yaml
|
|
49
|
+
rename to .kodrdriv/config.yaml
|
|
50
|
+
index 92f6110..6e93ef3 100644
|
|
51
|
+
--- a/.gitcarve/config.yaml
|
|
52
|
+
+++ b/.kodrdriv/config.yaml
|
|
53
|
+
@@ -1,7 +1,5 @@
|
|
54
|
+
-verbose: false
|
|
55
|
+
-model: gpt-4o
|
|
56
|
+
contextDirectories:
|
|
57
|
+
- - .gitcarve/context
|
|
58
|
+
+ - .kodrdriv/context
|
|
59
|
+
commit:
|
|
60
|
+
cached: true
|
|
61
|
+
sendit: true
|
|
62
|
+
diff --git a/.gitcarve/context/content.md b/.kodrdriv/context/content.md
|
|
63
|
+
similarity index 100%
|
|
64
|
+
rename from .gitcarve/context/content.md
|
|
65
|
+
rename to .kodrdriv/context/content.md
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
# GitHub Issues Context
|
|
69
|
+
|
|
70
|
+
Issue #6: Transcription Fails Due to OpenAI Connection Error – Improve Resiliency
|
|
71
|
+
Labels: none
|
|
72
|
+
Created: 2025-05-27T17:41:08Z
|
|
73
|
+
Updated: 2025-05-27T17:41:08Z
|
|
74
|
+
Body: During audio file processing, transcription consistently fails due to transient connection errors with the OpenAI API. These failures currently halt processing entirely for the affected file, and no recovery or retry logic is in place.
|
|
75
|
+
|
|
76
|
+
**Steps to Reproduce:**
|
|
77
|
+
|
|
78
|
+
1. Run the processor on a directory containing `.m4a` files.
|
|
79
|
+
2. A connection error occurs during the transcription step.
|
|
80
|
+
3. The file is skipped or the entire process halts without recovery.
|
|
81
|
+
|
|
82
|
+
**Observed Behavior:**
|
|
83
|
+
|
|
84
|
+
```
|
|
85
|
+
Error: Connection e...
|
|
86
|
+
---
|
|
87
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
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.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
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.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Removed mockdate from devDependencies in package.json to eliminate unused development dependency.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
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.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Transition to Published Dependencies, CI Workflow Clean-up, and Minor Code Improvements
|
|
2
|
+
|
|
3
|
+
This release harmonises dependency management, clarifies project structure, and attends to minor correctness in test and configuration logic. Following the guiding intention—outlined in the Release Focus—of streamlining dependency resolution and simplifying development flows, these changes prioritise clarity and stability for developers building on or contributing to Matnava.
|
|
4
|
+
|
|
5
|
+
**Improvements**
|
|
6
|
+
|
|
7
|
+
* Package dependencies have been changed from local workspace links to stable released versions for `@riotprompt/riotprompt`, `@theunwalked/cardigantime`, and `@theunwalked/dreadcabinet`. This moves the project away from local coupling towards a more maintainable and reproducible build (see `package.json`).
|
|
8
|
+
* The minimum required `pnpm` version is now set to `10.13.1` (updated in `package.json`), aligning with modern package management conventions.
|
|
9
|
+
* The now-unnecessary `pnpm-workspace.yaml` has been deleted, since local overrides are no longer relevant.
|
|
10
|
+
* The unused development dependency `mockdate` has been removed, trimming extraneous baggage from `package.json`.
|
|
11
|
+
|
|
12
|
+
**Continuous Integration Changes**
|
|
13
|
+
|
|
14
|
+
* The test workflows (`.github/workflows/pnpm-publish.yml` and `test.yml`) have been cleaned up: duplicate `pnpm test --coverage` runs have been removed, ensuring each test executes only once before code coverage is uploaded.
|
|
15
|
+
|
|
16
|
+
**Code & Configuration Fixes**
|
|
17
|
+
|
|
18
|
+
* In `src/matnava.ts`, code comments and handling for config schema types have been refined to remove a workaround relating to `zod` type compatibility.
|
|
19
|
+
* The `types` field in `tsconfig.json` has been corrected to reference only `vitest/globals` instead of `jest`, preventing possible confusion or unintended type imports.
|
|
20
|
+
* Test utility (`tests/util/media.test.ts`) now uses `throw new Error(...)` instead of the deprecated `fail()` pattern, ensuring accurate failure reporting in async error checks.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
> "درخت هرچه بارورتر افتادهتر (The more fruitful the tree, the more it bows.)"
|
|
25
|
+
>
|
|
26
|
+
> With roots in clarity and branches reaching for community, this release aims for simplicity over spectacle.
|