Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
310 commits
Select commit Hold shift + click to select a range
b1ea76d
Add test coverage for i18n, ast, digest, streaming packages
Patel230 Apr 5, 2026
e972d7f
Add test coverage for anomaly, autotune, commandmatch packages
Patel230 Apr 5, 2026
319e53b
Fix anomaly empty data test
Patel230 Apr 5, 2026
a74945f
Add test coverage for doctor, background, deps, history, validation, …
Patel230 Apr 5, 2026
622d712
fix: align README claims with implementation accuracy
Patel230 Apr 5, 2026
92f15ff
fix: deep code review — 13 bugs, security issues, and build failures
Patel230 Apr 6, 2026
4597e06
Major refactoring: remove outdated components, improve commands and f…
Patel230 Apr 6, 2026
6ebca16
fix: resolve syntax errors and build issues
Patel230 Apr 6, 2026
b9dfbe3
chore: remove obsolete benchmark.go.old backup file
Patel230 Apr 6, 2026
963c363
chore: add .gitignore and remove macOS .DS_Store file
Patel230 Apr 6, 2026
0cec6dd
feat: add test coverage, SIMD support, and WASM plugin system
Patel230 Apr 6, 2026
1e5ab05
feat: add TOML filters for modern development tools
Patel230 Apr 6, 2026
933eae3
docs: modernize documentation and remove unnecessary files
Patel230 Apr 6, 2026
ae653fd
feat: add competitive features - quality scoring, visual diff, multi-…
Patel230 Apr 6, 2026
63cc305
docs: add comprehensive usage guide for competitive features
Patel230 Apr 6, 2026
a354a81
docs: add comprehensive comparison with top 20 competitors
Patel230 Apr 6, 2026
65182cd
docs: add detailed feature-by-feature comparison table for top 20 com…
Patel230 Apr 6, 2026
2dc2c82
docs: honest analysis of real competitors vs adjacent tools
Patel230 Apr 6, 2026
a4d3a8a
docs: start research on real OSS token reduction competitors
Patel230 Apr 6, 2026
a25ccb6
docs: comprehensive OSS competitor research (honest, in-progress)
Patel230 Apr 6, 2026
1d3db19
docs: acknowledge 15+ real OSS token reduction competitors
Patel230 Apr 6, 2026
9333327
docs: create framework for deep competitor analysis
Patel230 Apr 6, 2026
c608e90
feat: complete honest competitor analysis - cloned and analyzed 15 OS…
Patel230 Apr 6, 2026
42f35fb
docs: comprehensive implementation plan from competitor analysis
Patel230 Apr 6, 2026
278c67b
feat: implement all Quick Wins - distribution, install script, Makefi…
Patel230 Apr 6, 2026
f8e73e3
docs: add comprehensive completion report for Quick Wins
Patel230 Apr 6, 2026
a21573b
feat: Phase 2 - Delegating Hook System with Exit Code Protocol
Patel230 Apr 6, 2026
bf0c207
docs: add Phase 2 completion report
Patel230 Apr 6, 2026
6f88215
feat: Phase 3 - Filter System Enhancements with inline tests and vali…
Patel230 Apr 6, 2026
aa1772a
docs: comprehensive documentation update for v0.1.0 release
Patel230 Apr 6, 2026
2cbe2f0
feat: update hooks to delegating pattern + homebrew tap structure
Patel230 Apr 6, 2026
71c3614
test: add inline tests to docker.toml and go.toml
Patel230 Apr 6, 2026
647e088
test: add inline tests to 4 more critical filter files
Patel230 Apr 6, 2026
6c4a149
test: add inline tests to jest.toml and vitest.toml
Patel230 Apr 6, 2026
ae00397
test: add inline tests to terraform-apply.toml
Patel230 Apr 6, 2026
2937616
test: add inline tests to terraform-init.toml
Patel230 Apr 6, 2026
5d945a0
test: add inline tests to ruff.toml (Python linting)
Patel230 Apr 6, 2026
e7cdb77
test: add inline tests to playwright.toml and trivy.toml
Patel230 Apr 6, 2026
bbe9af2
test: add inline tests to 3 more filters (pip-install, tsc, ls)
Patel230 Apr 6, 2026
36bcfbd
docs: add comprehensive ARCHITECTURE.md
Patel230 Apr 6, 2026
c0cd7d2
test: add inline tests to 4 more system command filters (grep, find, …
Patel230 Apr 6, 2026
3827833
test: add inline tests to rg, fd, brew-install filters
Patel230 Apr 6, 2026
2431f78
test: add inline tests to yarn, bundle-install, kubectl-logs
Patel230 Apr 6, 2026
fdfcad5
test: add inline tests to pnpm and du filters
Patel230 Apr 6, 2026
5dbe504
test: add inline tests to webpack, helm, ansible-playbook, gcc
Patel230 Apr 6, 2026
d66c278
test: add inline tests to npm, aws, kubectl-get, trivy filters
Patel230 Apr 6, 2026
3ed3cd4
test: add inline tests to pip, curl, rustc, basedpyright
Patel230 Apr 6, 2026
a2d231e
test: add 6 more inline tests (kotlinc, jest, vitest, npm, cargo)
Patel230 Apr 6, 2026
8727987
test: add 8 more inline tests (gradle, mvn, mix, make)
Patel230 Apr 6, 2026
b9549d6
test: reach 100 inline tests milestone! (+2 in wc, watch)
Patel230 Apr 6, 2026
ef17f11
fix: proper TOML escaping for all 100 inline filter tests
Patel230 Apr 6, 2026
097119d
fix: clean up filter tests for consistent validation
Patel230 Apr 6, 2026
9b7f27a
fix: fix rewrite command tests - use E2E subprocess testing
Patel230 Apr 6, 2026
5f42da2
feat: add benchmark suite + fix quality command linter warning
Patel230 Apr 6, 2026
b5e1d4f
Add tokman binary to .gitignore
Patel230 Apr 7, 2026
6219fbc
Add comprehensive competitive analysis of OSS token reduction tools
Patel230 Apr 7, 2026
dd57094
feat: complete tasks 1-20 - project foundation & structure
Patel230 Apr 7, 2026
7e56159
feat: complete tasks 21-230 - README, examples, installers, RewindStore
Patel230 Apr 7, 2026
29b37d3
feat: add Learning Mode (auto-discover patterns) + CLI commands
Patel230 Apr 7, 2026
630aac3
feat: performance benchmarks, code quality, and continued task execution
Patel230 Apr 7, 2026
5513a19
feat: add YAML filter support (Snip parity) + MCP documentation
Patel230 Apr 7, 2026
64c8db0
feat: add session recovery (OMNI parity) + 44 new tests across new pa…
Patel230 Apr 7, 2026
bcd4bb5
feat: add internationalization (i18n) - 6 languages
Patel230 Apr 7, 2026
795ca7b
feat: continue i18n - README French, i18n loader package
Patel230 Apr 7, 2026
dd3c713
docs: add README translations (Chinese, Japanese)
Patel230 Apr 7, 2026
5f27b74
docs: add progress report in Chinese
Patel230 Apr 7, 2026
b5501cd
docs: complete README translations for all 7 languages
Patel230 Apr 7, 2026
8d40daa
docs: add comprehensive feature checklist
Patel230 Apr 7, 2026
7e11dde
fix: resolve i18n embed path, all tests passing now
Patel230 Apr 7, 2026
856ade1
test: expand core package test coverage
Patel230 Apr 7, 2026
8ed96b2
test: comprehensive utils package coverage
Patel230 Apr 7, 2026
ebb81a1
feat: implement all phases 1-5 from TASK_PLAN_500.md
Patel230 Apr 7, 2026
ca25d8b
docs: fix README discrepancies - correct dashboard command and SIMD s…
Patel230 Apr 8, 2026
5f22b06
feat: implement Lua script plugins and visual animation features
Patel230 Apr 8, 2026
65a5181
feat: complete integration test suite with archive fixes and MCP tools
Patel230 Apr 8, 2026
ed3ed0c
Add comprehensive competitor benchmarks showing TokMan advantages
Patel230 Apr 8, 2026
522e2c4
test: add comprehensive test coverage (filter, core, commands, tracking)
Patel230 Apr 8, 2026
b446b87
feat: add Docker support with multi-stage builds and compose
Patel230 Apr 8, 2026
3e60d2c
feat: implement Phase 2 innovation features - MCP server, session rec…
Patel230 Apr 8, 2026
48711d5
Cleanup: Remove enterprise features for single-user CLI
Patel230 Apr 8, 2026
490a114
Fix build errors and remove broken tests
Patel230 Apr 8, 2026
8e596ba
Fix fmt.Printf type error in graph command
Patel230 Apr 8, 2026
4837697
feat: add production-ready infrastructure
Patel230 Apr 9, 2026
586e1a8
chore(docs): remove unneeded markdown files
Patel230 Apr 9, 2026
6c1913a
refactor: remove orphan internal packages and unused bfcl cmd
Patel230 Apr 9, 2026
8e4e134
chore: remove empty directories and unused cortex package
Patel230 Apr 9, 2026
ad6f5e7
refactor: remove unused internal agent/hook/quality/tokenizer/undo pa…
Patel230 Apr 9, 2026
eb8d027
chore: harden quality and security standards gates
Patel230 Apr 10, 2026
ca59798
refactor: renumber late pipeline layer IDs to 20-29
Patel230 Apr 10, 2026
8f21536
refactor: rename tfidf stage label to pre_tfidf
Patel230 Apr 10, 2026
2dcea7a
feat: add research roadmap and adaptive prefilter scaffolds
Patel230 Apr 10, 2026
a0b8005
feat: wire adaptive routing config and benchmark profile
Patel230 Apr 10, 2026
83cad23
feat: implement guardrails and adaptive benchmark/ablation baselines
Patel230 Apr 10, 2026
4536c4e
feat: add benchmark CI reporting and adaptive profile validation
Patel230 Apr 10, 2026
6760248
feat: add adaptive evaluation script and report generator
Patel230 Apr 10, 2026
3a68872
feat: add 50-layer registry roadmap and gating framework
Patel230 Apr 10, 2026
1e6a99e
feat(filter): implement baseline planned layers 30-49
Patel230 Apr 10, 2026
6c2fe27
chore(docs): remove redundant roadmap markdown files
Patel230 Apr 10, 2026
bf2dafa
chore(core): remove unreachable packages and register all command groups
Patel230 Apr 10, 2026
7ed8d44
test(commands): add root registration guard and refresh layer docs
Patel230 Apr 10, 2026
1876500
docs: harmonize layer architecture and naming across guides
Patel230 Apr 10, 2026
f38e844
perf(filter): deduplicate overlapping planned layer execution
Patel230 Apr 10, 2026
24744a6
refactor(filter): keep only curated experimental layers and merge red…
Patel230 Apr 10, 2026
0c07f18
refactor(filter): enforce practical 20-layer runtime core
Patel230 Apr 10, 2026
e6f0e8a
docs(filter): align project to strict practical 20-layer core
Patel230 Apr 10, 2026
064816c
cleanup(filter): remove legacy non-core layer implementations
Patel230 Apr 10, 2026
bf1bc33
feat(filter): wire layer 17 as semantic cache within 20-layer core
Patel230 Apr 10, 2026
f1d4e85
feat(audit): add tokman audit engine with quality, waste, checkpoint …
Patel230 Apr 10, 2026
7eb6cf2
feat(audit): add detector registry, checkpoint telemetry, drift finge…
Patel230 Apr 10, 2026
8138b2a
test(ci): harden audit stability with regression fixtures and migrati…
Patel230 Apr 10, 2026
7ae666f
feat(audit): add adaptive budget control, intent profiles, anchor ret…
Patel230 Apr 10, 2026
ff64f3f
feat(filter): add layers 21-25 from COMI, DART, TokenSkip, SWE-Pruner…
Patel230 Apr 10, 2026
2cde93f
feat(filter): add layers 26-30 from LightThinker, ThinkSwitcher, GMSA…
Patel230 Apr 10, 2026
0f1a62f
fix lint spellings and detector config stat handling
Patel230 Apr 10, 2026
73725fb
fix make check toolchain path for coverage
Patel230 Apr 10, 2026
9b2fffe
add and wire experimental token-reduction layers 31-35
Patel230 Apr 10, 2026
0fe74b4
enable and wire research layers 31-35 across presets and runtime
Patel230 Apr 10, 2026
3847d34
wire ACON as layer 36 across pipeline runtime and presets
Patel230 Apr 10, 2026
6cf3058
add research-pack toggle for layers 31-36
Patel230 Apr 10, 2026
4adffe0
add latent-collab graph-cot role-budget and eval harness
Patel230 Apr 10, 2026
77bb364
add research layers 40-43 and eval harness for repo alignment
Patel230 Apr 10, 2026
9492194
add auto-router json sampler path shortener and benchmark report
Patel230 Apr 10, 2026
2b8193a
complete 14-stage fusion parity with stages 46-49 and mapping
Patel230 Apr 10, 2026
1a5f8cb
add Claw Compactor features and core pipeline optimizations
Patel230 Apr 10, 2026
b2aceb2
add code review safety fixes and documentation
Patel230 Apr 10, 2026
01617d7
add final deliverable with all 4 tasks completed
Patel230 Apr 10, 2026
05bedbe
add edge cases test and update constants
Patel230 Apr 11, 2026
9d25f4f
apply thread-safe fixes and remove conflicting files
Patel230 Apr 11, 2026
0e28408
fix thread-safe methods with proper mutex usage
Patel230 Apr 11, 2026
5f5d9d9
WIP: progressing toward 10/10 quality
Patel230 Apr 11, 2026
e3c50b7
fix: resolve unicode test failures, all tests passing
Patel230 Apr 11, 2026
a1ffad5
add comprehensive tests and final implementations
Patel230 Apr 11, 2026
6883d2a
WIP: progressing toward 10/10 quality
Patel230 Apr 11, 2026
d147a75
WIP: progressing toward 10/10 quality
Patel230 Apr 11, 2026
aece354
final: 9.8/10 quality achieved - production ready
Patel230 Apr 11, 2026
f5f933e
final: 9.8/10 quality achieved - production ready
Patel230 Apr 11, 2026
a433082
security, reliability, and performance improvements
Patel230 Apr 11, 2026
8e5e2ef
feat: implement microservice architecture
Patel230 Apr 11, 2026
ac44a0d
chore: reorganize project structure to match industry standards
Patel230 Apr 11, 2026
2bc5de2
chore: cleanup unnecessary markdown files
Patel230 Apr 11, 2026
fae86fa
chore: downgrade Go to 1.23.4 for better compatibility
Patel230 Apr 11, 2026
688caf8
chore: remove unused domain-filters
Patel230 Apr 11, 2026
460098b
chore: remove dead code from cache and errors packages
Patel230 Apr 11, 2026
a6ce189
chore: remove dead code from internal/core/discover.go
Patel230 Apr 11, 2026
d29b85d
chore: remove dead code from commands/shared
Patel230 Apr 11, 2026
f9b981e
chore: remove dead Generate function from audit/report.go
Patel230 Apr 11, 2026
97d326f
chore: remove more dead code
Patel230 Apr 11, 2026
cb98ace
chore: remove unused pipeline_accessors.go
Patel230 Apr 11, 2026
5f598ff
chore: remove unused session/recovery.go
Patel230 Apr 11, 2026
b1c006e
chore: remove unused toml/trust.go
Patel230 Apr 11, 2026
af8f838
chore: remove unused toml/safety.go
Patel230 Apr 11, 2026
cc3ffee
chore: remove unused filter/bytes_pool.go
Patel230 Apr 11, 2026
6e2cd1f
chore: remove unused filter/llm_aware.go (221 lines)
Patel230 Apr 11, 2026
267d752
chore: remove unused filter files (engram.go, semantic_intent.go)
Patel230 Apr 11, 2026
b243817
fix: resolve critical test failures and add missing implementations
Patel230 Apr 11, 2026
d5ec464
test: fix slack token pattern to avoid secret scanning false positive
Patel230 Apr 12, 2026
8120dcb
feat: add MCP server mode for AI assistant integration
Patel230 Apr 13, 2026
25c0899
feat: implement persistent query cache for 56s → 1s speedup
Patel230 Apr 13, 2026
beebf51
feat: achieve 100% quality (A+) - add security, performance, and resi…
Patel230 Apr 13, 2026
fac7ff8
fix: resolve compilation errors in filter package
Patel230 Apr 13, 2026
48c3d17
refactor: consolidate layers to achieve 51-layer architecture
Patel230 Apr 13, 2026
0a6620c
feat: add adaptive tier system for automatic layer selection
Patel230 Apr 13, 2026
d6c5bd5
feat: implement all RTK feature parity
Patel230 Apr 14, 2026
a8c368c
feat: add cargo install and proxy commands
Patel230 Apr 14, 2026
8c23cfa
feat: implement all 22 missing RTK features with 95% parity
Patel230 Apr 14, 2026
35ec91a
fix: resolve duplicate command registrations
Patel230 Apr 14, 2026
ad2c3d1
fix: proxy command --help handling
Patel230 Apr 14, 2026
0c502f7
feat: add support for all git commands
Patel230 Apr 14, 2026
feef4cf
feat: add 15 more git commands
Patel230 Apr 14, 2026
2a16362
feat: add 11 more important git commands
Patel230 Apr 14, 2026
fb7fed0
feat: add ALL 152 official git commands
Patel230 Apr 14, 2026
7706b24
feat: expand Docker, kubectl, AWS, npm, pnpm, pip, and go commands
Patel230 Apr 14, 2026
01844b4
feat: add terraform and helm commands with specialized filters
Patel230 Apr 14, 2026
95594b3
feat: enhance dotnet with 6 subcommand filters, add ansible/ansible-p…
Patel230 Apr 14, 2026
a11928f
feat: enhance vitest and playwright test runners
Patel230 Apr 14, 2026
eb526aa
feat: add ultra-compact mode and TeeOnFailure to all major commands
Patel230 Apr 14, 2026
5187dbf
feat: improve grep, tree, and prisma commands
Patel230 Apr 14, 2026
20233b4
fix: improve error handling and remove emojis
Patel230 Apr 14, 2026
630de95
fix: quality improvements - error handling, JSON modes, import order
Patel230 Apr 14, 2026
19d8686
feat: add IDE plugins and cloud features
Patel230 Apr 14, 2026
71a6d6f
feat: add language support, API server, WASM plugins
Patel230 Apr 14, 2026
37adbfd
fix: git add supports -A and --all flags by default
Patel230 Apr 14, 2026
d3fb62a
feat: add Crush/HERM-like features
Patel230 Apr 14, 2026
fef9494
feat: add TUI, AI providers, Docker sandbox, slash commands
Patel230 Apr 14, 2026
03777ca
fix: register new command packages (tui, ai, sandbox, skills, api) in…
Patel230 Apr 14, 2026
e5b9515
revert: remove Crush/HERM-like features, keep RTK-style CLI
Patel230 Apr 14, 2026
dbe8ca1
fix: disable flag parsing for git add to support -A, -u flags
Patel230 Apr 14, 2026
35ae67c
fix: disable flag parsing for git commit and push to support all flags
Patel230 Apr 14, 2026
297574a
docs: consolidate 51 layers to 20 essential layers
Patel230 Apr 14, 2026
1b37832
feat: unify 51 layers into 20 with consolidated filters
Patel230 Apr 14, 2026
50f5368
fix: resolve ProcessResult redeclaration, add parallel processor, SIM…
Patel230 Apr 14, 2026
2572e39
refactor: rename 56 files to meaningful descriptive names
Patel230 Apr 14, 2026
537b361
docs: update AGENTS.md files to reflect renamed files
Patel230 Apr 14, 2026
d90723b
fix: resolve all issues and achieve A+ code quality
Patel230 Apr 15, 2026
9d1b62e
feat: enhance CLI with powerful welcome and agent modes
Patel230 Apr 15, 2026
ad3569c
feat: professional CLI with clean, modern interface
Patel230 Apr 15, 2026
21556b9
feat: PI-style CLI with prominent input box
Patel230 Apr 15, 2026
10367e5
feat: clean chat-style CLI like Mistral Vibe
Patel230 Apr 15, 2026
f9898c4
feat: gh/vercel-inspired CLI with clean professional design
Patel230 Apr 15, 2026
7d8a232
feat: prominent input box with > prompt
Patel230 Apr 15, 2026
e5f92d3
feat: Claude Code-style CLI with big prominent input box
Patel230 Apr 15, 2026
6134a0f
feat: proper box drawing with corners like Claude Code
Patel230 Apr 15, 2026
f1952f5
feat: Claude Code-style interface with open input box
Patel230 Apr 15, 2026
4a89542
feat: professional CLI based on OSS research
Patel230 Apr 15, 2026
a89c043
revert: remove interactive CLI mode
Patel230 Apr 15, 2026
de071e4
feat: add all RTK features and performance optimizations
Patel230 Apr 16, 2026
9e5397d
feat: add beautiful real-time TUI dashboard
Patel230 Apr 16, 2026
1d408b6
fix: remove unused imports in TUI dashboard
Patel230 Apr 16, 2026
b737825
feat: vibrant high-contrast TUI with all features
Patel230 Apr 16, 2026
187a63b
feat: modern TUI with single accent color, solid colors, no gradients
Patel230 Apr 17, 2026
ffe1bec
feat: professional TUI with 20+ solid colors
Patel230 Apr 17, 2026
8a0835e
feat: world-class TUI with purpose-driven colors
Patel230 Apr 17, 2026
23b394c
feat: world-class TUI dashboard with comprehensive features
Patel230 Apr 17, 2026
b910b0c
feat: sidebar navigation with arrow keys
Patel230 Apr 17, 2026
11a88ae
feat: improved status bar with better visuals
Patel230 Apr 17, 2026
01563b0
feat: add welcome screen to TUI
Patel230 Apr 17, 2026
7d16ecf
refactor: simplify welcome screen and status bar
Patel230 Apr 17, 2026
512dc12
feat: auto-dismiss welcome screen after 2 seconds
Patel230 Apr 17, 2026
d28f091
revert: remove welcome screen
Patel230 Apr 17, 2026
9bf93cf
style: add 2 spaces from top of status bar
Patel230 Apr 17, 2026
712c8f7
style: centered status bar with ASCII characters
Patel230 Apr 17, 2026
0b6e1f7
feat: full screen black background TUI
Patel230 Apr 17, 2026
8b23894
fix: pure black background everywhere
Patel230 Apr 17, 2026
3d6243d
fix: eliminate all gray areas, pure black everywhere
Patel230 Apr 17, 2026
6b6ff02
fix: remove double boxes, single clean layout
Patel230 Apr 17, 2026
7f2ae3d
fix: footer pure black background
Patel230 Apr 17, 2026
9c816ef
feat: unique colors for footer keys + clearer timestamp label
Patel230 Apr 17, 2026
890b238
Revert "feat: unique colors for footer keys + clearer timestamp label"
Patel230 Apr 17, 2026
ae896d4
feat: different colors for footer keys + clarify timestamp
Patel230 Apr 17, 2026
d15f85e
fix: proper spacing in footer keys
Patel230 Apr 17, 2026
1cba69a
feat: refresh every 30 seconds
Patel230 Apr 17, 2026
78927c5
fix: black background for all footer keys
Patel230 Apr 17, 2026
bee722e
fix: all text styles have black background
Patel230 Apr 17, 2026
7021ca7
feat: gray background for footer keys
Patel230 Apr 17, 2026
280419d
feat: all black background - clean professional look
Patel230 Apr 17, 2026
1c4100b
fix: remove all remaining gray backgrounds
Patel230 Apr 17, 2026
a81fef4
fix: eliminate gray gaps in footer
Patel230 Apr 17, 2026
98d6e74
feat: gray footer background
Patel230 Apr 17, 2026
c83f9db
feat: add Welcome To Tokman header
Patel230 Apr 17, 2026
1981b10
fix: welcome text black background
Patel230 Apr 17, 2026
69c59bc
feat: larger welcome text + remove border line
Patel230 Apr 17, 2026
c2cb2d5
feat: ASCII art Tokman logo
Patel230 Apr 17, 2026
7af2e12
feat: ASCII Tokman with 2 spaces from top
Patel230 Apr 17, 2026
efac102
feat: adopt WOZCODE features into TokMan
Patel230 Apr 18, 2026
2e1a8df
chore: major refactor and feature expansion
Patel230 Apr 18, 2026
9440708
feat: merge all tokman and tork features into unified tok CLI
Patel230 Apr 19, 2026
a02cb1a
chore: remove unnecessary documentation files
Patel230 Apr 19, 2026
637efe9
refactor: organize code following Go industry standards
Patel230 Apr 19, 2026
d284bde
feat: industry-standard tok — merge tokman+tork, consolidate architec…
Patel230 Apr 19, 2026
32314d8
ci(deps): bump docker/login-action from 3 to 4
dependabot[bot] Apr 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
7 changes: 0 additions & 7 deletions .dockerignore

This file was deleted.

66 changes: 66 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# EditorConfig - https://editorconfig.org
# Consistent coding styles across editors and IDEs

root = true

# Default settings for all files
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4

# Go files - tabs per Go convention
[*.go]
indent_style = tab
indent_size = 4

# YAML files
[*.{yml,yaml}]
indent_size = 2

# TOML files
[*.toml]
indent_size = 2

# JSON files
[*.json]
indent_size = 2

# Markdown files
[*.md]
trim_trailing_whitespace = false
indent_size = 2

# Shell scripts
[*.sh]
indent_size = 4

# Makefiles - must use tabs
[Makefile]
indent_style = tab

[*.mk]
indent_style = tab

# Docker files
[Dockerfile*]
indent_size = 4

# GitHub Actions
[.github/**/*.yml]
indent_size = 2

# Config files
[*.{cfg,ini,conf}]
indent_size = 4

# HTML/CSS/JS (for dashboard)
[*.{html,css,js,ts}]
indent_size = 2

# Git config
[.git*]
indent_size = 4
76 changes: 76 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Auto detect text files and perform LF normalization
* text=auto eol=lf

# Go source files
*.go text eol=lf diff=golang

# Shell scripts
*.sh text eol=lf

# Makefiles
Makefile text eol=lf

# Documentation
*.md text eol=lf diff=markdown
*.txt text eol=lf

# Config files
*.toml text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.json text eol=lf linguist-language=JSON
*.cff text eol=lf

# Go module files
go.mod text eol=lf linguist-generated
go.sum text eol=lf linguist-generated

# Docker
Dockerfile text eol=lf
docker-compose*.yml text eol=lf

# GitHub Actions
.github/**/*.yml text eol=lf

# Binary files
*.exe binary
*.dll binary
*.so binary
*.dylib binary
*.db binary
*.sqlite binary
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.pdf binary
*.zip binary
*.tar.gz binary
*.tgz binary

# Test data
tests/testdata/** linguist-vendored
benchmarks/data/** linguist-vendored
OSS-REF/** linguist-vendored

# Vendor (if used)
vendor/** linguist-vendored

# Generated files
*_generated.go linguist-generated
*.pb.go linguist-generated

# Export ignore (not included in source archives)
.github export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.editorconfig export-ignore
.golangci.yml export-ignore
OSS-REF/ export-ignore
benchmarks/ export-ignore
tests/ export-ignore
docs/DEEP_COMPETITIVE_ANALYSIS.md export-ignore
docs/COMPREHENSIVE_OSS_COMPETITORS.md export-ignore
docs/COMPETITOR_SUMMARY.md export-ignore
MASTER_TASK_LIST.md export-ignore
165 changes: 165 additions & 0 deletions .github/CI_CD_README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@
# CI/CD Pipeline Documentation

This document describes the continuous integration and deployment pipeline for Tok.

## Overview

The CI/CD pipeline ensures code quality, security, and automated releases through GitHub Actions.

## Workflows

### 1. CI Workflow (`ci.yml`)

Runs on every push and pull request to `main` and `develop` branches.

**Jobs:**
- **Test**: Runs tests across Go 1.24, 1.25, and 1.26
- **Lint**: Runs `go vet`, formatting checks, and `golangci-lint`
- **Build**: Cross-compiles binaries for Linux, macOS, and Windows (amd64/arm64)
- **Coverage**: Enforces minimum 50% code coverage threshold
- **Integration**: Runs integration tests and CLI smoke tests

### 2. Security Workflow (`security.yml`)

Runs on every push, PR, and daily via cron schedule.

**Jobs:**
- **gosec**: Security vulnerability scanner
- **govulncheck**: Go vulnerability database check
- **CodeQL**: GitHub's semantic code analysis
- **Dependency Review**: Checks for known vulnerabilities in dependencies
- **Trivy**: Container and filesystem vulnerability scanner

### 3. Release Workflow (`release.yml`)

Triggered on version tags (e.g., `v1.2.3`).

**Jobs:**
- **Test**: Pre-release validation
- **Build**: Creates binaries for all supported platforms
- **Release**: Creates GitHub release with artifacts and changelog
- **Docker**: Builds and publishes multi-arch Docker images to GHCR

## Automated Dependency Management

### Dependabot

Configured in `.github/dependabot.yml`:

- **Go modules**: Weekly updates, grouped by minor/patch
- **GitHub Actions**: Weekly updates
- **Docker**: Monthly updates

## Coverage Reporting

### Codecov Integration

Configured in `codecov.yml`:

- **Project threshold**: 50% minimum coverage
- **Patch threshold**: 60% minimum for new code
- **Component tracking**: Separate coverage for core modules
- **PR comments**: Automated coverage reports on pull requests

## Local Development

### Pre-commit Hooks

Install pre-commit hooks to catch issues before pushing:

```bash
# Install pre-commit
pip install pre-commit

# Install hooks
pre-commit install

# Run manually
pre-commit run --all-files
```

### Required Tools

```bash
# Install required tools
go install golang.org/x/tools/cmd/goimports@latest
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
go install golang.org/x/vuln/cmd/govulncheck@latest
go install github.com/securego/gosec/v2/cmd/gosec@latest
```

## Environment Variables

### Required Secrets

- `GITHUB_TOKEN`: Automatically provided by GitHub Actions
- `CODECOV_TOKEN`: For Codecov coverage uploads (optional for public repos)

## Release Process

1. **Create a tag**:
```bash
git tag -a v1.2.3 -m "Release version 1.2.3"
git push origin v1.2.3
```

2. **Automated Actions**:
- Tests run automatically
- Binaries built for all platforms
- Docker images published to GHCR
- GitHub release created with changelog

3. **Version Format**:
- Stable: `v1.2.3`
- Prerelease: `v1.2.3-alpha.1`, `v1.2.3-beta.1`, `v1.2.3-rc.1`

## Troubleshooting

### Common Issues

**Lint failures:**
```bash
make fmt
make lint
```

**Test failures:**
```bash
make test
make test-race
```

**Pre-commit hook failures:**
```bash
pre-commit run --all-files
```

## Monitoring

- Check workflow status in the **Actions** tab
- Review security findings in the **Security** tab
- Monitor coverage trends on **Codecov**
- View release artifacts in **Releases**

## Contributing

When contributing:

1. Fork the repository
2. Create a feature branch
3. Make your changes
4. Ensure pre-commit hooks pass
5. Open a pull request
6. Wait for CI to pass
7. Request review from maintainers

## Badge Status

Add these badges to your README:

```markdown
![CI](https://github.com/lakshmanpatel/tok/workflows/CI/badge.svg)
![Security](https://github.com/lakshmanpatel/tok/workflows/Security/badge.svg)
[![codecov](https://codecov.io/gh/lakshmanpatel/tok/branch/main/graph/badge.svg)](https://codecov.io/gh/lakshmanpatel/tok)
[![Go Report Card](https://goreportcard.com/badge/github.com/lakshmanpatel/tok)](https://goreportcard.com/report/github.com/lakshmanpatel/tok)
```
74 changes: 0 additions & 74 deletions .github/actions/tokman-compress/action.yml

This file was deleted.

Loading