Tags: kitproj/coding-context-cli
Tags
feat: add lenient search paths and agent options (-D, -A) (#214) * test: WithLenientAgent & WithLenientSearchPaths * feat: support strict & lenient agent & serach paths * fix: nits * docs: updates for lenient search paths and agent options (-D, -A)
fix: handle array frontmatter values in selector matching (#213) * test: add failing tests for array frontmatter selector matching * fix: handle array frontmatter values in selector matching * test: use YAML array format as well in integration test * fix: remove shadow
feat!: namespaces, lint mode, and markdown-aware task parsing (#209) Add multi-team isolation via namespaces, dry-run lint validation, and goldmark-based parsing so slash commands inside code blocks are ignored. Namespaces: - Support namespace/taskname syntax (e.g. myteam/fix-bug) for shared .agents/ - Tasks, rules, commands, and skills under .agents/namespaces/<team>/ - Namespace assets take precedence over global; rules and skills merge - Add docs/how-to/use-namespaces.md and namespace selector in rule frontmatter Lint mode: - Run context assembly without bootstrap or shell execution - Track loaded files and collect structural errors (parse, missing commands, skill validation, selector mismatches) in LintResult - Add WithLint() option, ListTasks(), and include_unmatched task frontmatter - Parse errors include line/column; selector/command errors use task path Task parser: - Integrate goldmark Extension for AST-based code range detection - Slash commands in fenced, indented, and HTML code blocks no longer detected - ParseMarkdownFile populates Markdown.Task; re-parse only on content change Infrastructure: - Enable golangci-lint with comprehensive linter configuration - Fix lint issues across codebase (revive, gosec, wrapcheck, etc.) - Add t.Parallel() to tests; expand test coverage - Documentation corrections and new how-to guides.
refactor!(api,cli): split resume selector from bootstrap skipping (#203) BREAKING CHANGE: The -r flag now only sets the resume=true selector and no longer skips rule discovery and bootstrap scripts. To achieve the previous behavior of skipping bootstrap, users must now use both -r and --skip-bootstrap flags together. The change separates concerns: - -r: Sets resume selector for task filtering - --skip-bootstrap: Controls whether to discover rules, skills, and run bootstrap scripts This allows users to independently control task filtering and bootstrap behavior, providing more flexibility in workflow configurations. API changes: - Added WithBootstrap() option in options.go to control bootstrap behavior programmatically - WithResume() now only sets the resume selector and no longer affects bootstrap discovery - Context.doBootstrap field controls rule/skill discovery and bootstrap script execution independently from resume selector
PreviousNext