Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added .codex
Empty file.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ node_modules/
.factory/
*.tgz
dist/
.omx/
6 changes: 6 additions & 0 deletions .omx/logs/turns-2026-04-03.jsonl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{"timestamp":"2026-04-03T08:36:29.417Z","type":"agent-turn-complete","thread_id":"019d527a-9c41-7222-a71a-ffd085d9092d","turn_id":"019d527c-4bd4-7312-b940-101cb912a4f1","input_preview":"mở branch mới; Tạo branch mới nhằm cải thiện Patterns hardcoded","output_preview":"Đã tạo và chuyển sang branch `refactor/improve-hardcoded-patterns` tại commit `ceb29e9`.\n\nBranch hiện tại là `refactor/improve-hardcoded-patterns`. Nếu muốn, tôi có thể tiếp tục xử lý luôn phần cải th"}
{"timestamp":"2026-04-03T08:37:33.238Z","type":"agent-turn-complete","thread_id":"019d5279-7596-7333-a40f-444877df215e","turn_id":"019d527a-240f-7102-abfe-f3da3fffeed1","input_preview":"Tạo team hoàn thiện hỗ trợ PowerSHell native Windows Support","output_preview":"Tôi đã khóa intent: v1 sẽ là full native Windows support, baseline PowerShell 5.1 và 7+. Trước khi chốt spec, tôi যাচাই cơ chế hook trên Windows từ tài liệu chính thức để tránh plan sai ở phần runtime"}
{"timestamp":"2026-04-03T08:38:14.346Z","type":"agent-turn-complete","thread_id":"019d5279-7596-7333-a40f-444877df215e","turn_id":"019d527d-b2f0-7870-94aa-baec8d626726","input_preview":"Tạo team hoàn thiện hỗ trợ PowerSHell native Windows Support; Mở branch mới và thực hiện","output_preview":""}
{"timestamp":"2026-04-03T08:38:18.035Z","type":"agent-turn-complete","thread_id":"019d527a-9c41-7222-a71a-ffd085d9092d","turn_id":"019d527c-f666-7971-9a47-4b859e2bb040","input_preview":"mở branch mới; Tạo branch mới nhằm cải thiện Patterns hardcoded; đọc dự án nhằm cải thiện phần patterns hard coded","output_preview":""}
{"timestamp":"2026-04-03T08:47:10.069Z","type":"agent-turn-complete","thread_id":"019d527a-9c41-7222-a71a-ffd085d9092d","turn_id":"019d527e-40ef-7f32-bbcf-4a842c534329","input_preview":"mở branch mới; Tạo branch mới nhằm cải thiện Patterns hardcoded; đọc dự án nhằm cải thiện phần patterns hard coded; Implement the plan.","output_preview":"Implemented the refactor around a single AI-pattern source of truth.\n\nChanged files:\n- [src/pattern-catalog.json](/mnt/c/Users/kisde/Desktop/nococli/src/pattern-catalog.json): new shared catalog for s"}
{"timestamp":"2026-04-03T08:49:50.009Z","type":"agent-turn-complete","thread_id":"019d5279-7596-7333-a40f-444877df215e","turn_id":"019d527e-39d3-7b43-b6ef-c5821a078795","input_preview":"Tạo team hoàn thiện hỗ trợ PowerSHell native Windows Support; Mở branch mới và thực hiện; Implement the plan.","output_preview":"Implemented on branch `feat/windows-powershell-native-support`.\n\nWindows installs now write a Git `commit-msg` wrapper plus a PowerShell runtime, while non-Windows keeps the Node hook path. `status` r"}
8 changes: 8 additions & 0 deletions .omx/metrics.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"total_turns": 6,
"session_turns": 6,
"last_activity": "2026-04-03T08:49:50.070Z",
"session_input_tokens": 0,
"session_output_tokens": 0,
"session_total_tokens": 0
}
5 changes: 5 additions & 0 deletions .omx/state/hud-state.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"last_turn_at": "2026-04-03T08:49:50.614Z",
"turn_count": 6,
"last_agent_output": "Implemented on branch `feat/windows-powershell-native-support`.\n\nWindows installs now write a Git `c"
}
11 changes: 11 additions & 0 deletions .omx/state/notify-hook-state.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"recent_turns": {
"019d527a-9c41-7222-a71a-ffd085d9092d|019d527c-4bd4-7312-b940-101cb912a4f1|agent-turn-complete": 1775205389411,
"019d5279-7596-7333-a40f-444877df215e|019d527a-240f-7102-abfe-f3da3fffeed1|agent-turn-complete": 1775205453228,
"019d5279-7596-7333-a40f-444877df215e|019d527d-b2f0-7870-94aa-baec8d626726|agent-turn-complete": 1775205494338,
"019d527a-9c41-7222-a71a-ffd085d9092d|019d527c-f666-7971-9a47-4b859e2bb040|agent-turn-complete": 1775205498027,
"019d527a-9c41-7222-a71a-ffd085d9092d|019d527e-40ef-7f32-bbcf-4a842c534329|agent-turn-complete": 1775206030049,
"019d5279-7596-7333-a40f-444877df215e|019d527e-39d3-7b43-b6ef-c5821a078795|agent-turn-complete": 1775206189987
},
"last_event_at": "2026-04-03T08:49:49.998Z"
}
5 changes: 5 additions & 0 deletions .omx/state/team-leader-nudge.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"last_nudged_by_team": {},
"last_idle_nudged_by_team": {},
"progress_by_team": {}
}
9 changes: 9 additions & 0 deletions .omx/state/tmux-hook-state.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"total_injections": 0,
"pane_counts": {},
"session_counts": {},
"recent_keys": {},
"last_injection_ts": 0,
"last_reason": "disabled",
"last_event_at": "2026-04-03T08:49:50.655Z"
}
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ That's it.

nococli installs a Git `commit-msg` hook that automatically strips AI co-author signatures from your commit messages before they're saved. The hook is installed globally via `git init.templatedir`, so it applies to **all new repositories** automatically.

On Windows, nococli installs a PowerShell-native hook runtime with a Git hook wrapper entrypoint so commits work from PowerShell 5.1 and PowerShell 7+.

For existing repositories, just run `git init` to pick up the hook.

## CLI Commands
Expand Down Expand Up @@ -76,15 +78,16 @@ Removes co-author signatures from:

- **Zero-config** — one command to install, works everywhere
- **Lightweight** — single runtime dependency (commander), ~85KB bundle
- **Windows PowerShell-native support** — works with PowerShell 5.1 and 7+ on Git for Windows
- **AI author detection** — warns if your git author name looks AI-generated and helps you fix it
- **Preserves human co-authors** — only strips AI signatures, keeps real collaborators
- **Works with all git workflows** — rebase, amend, merge, interactive rebase

## Requirements

- **Node.js** >= 18.0.0
- **Unix/Linux/macOS**: Git with bash hook support
- **Windows**: Git Bash, WSL, or MSYS2 (native PowerShell not supported)
- **Unix/Linux/macOS**: Git with standard hook support
- **Windows**: Git for Windows plus PowerShell 5.1 or PowerShell 7+

## Install

Expand Down
Loading
Loading