Skip to content

Commit 85100fa

Browse files
committed
release: v2.46.1 — fix sub-project exclusion silently disabled under symlinked/short-name project roots; case-insensitive prefix match on all platforms; gate Release workflow on CI
1 parent faa7f49 commit 85100fa

3 files changed

Lines changed: 26 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,30 @@ All notable changes to Code Context Control (C3) are documented here.
44
The format is loosely based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [2.46.1] - 2026-07-02
8+
9+
### Fixed
10+
11+
- **Sub-project exclusion silently disabled under aliased project roots.**
12+
`make_excluder` resolved the project root but not the paths handed to it, so
13+
for any project living under a symlinked path (e.g. macOS `/var/folders`,
14+
or a symlinked home/workspace) or a Windows 8.3 short-name path, the
15+
internal `relative_to` check always failed and **no sub-project was ever
16+
excluded** from the parent's code index, doc index, dictionary, or watcher.
17+
Affected v2.44.0–v2.46.0. Incoming paths are now resolved before comparison.
18+
- **Sub-project prefix matching is now case-insensitive on all platforms.**
19+
`exclusion_prefixes`/`is_excluded` used `os.path.normcase`, a no-op outside
20+
Windows; they now case-fold consistently everywhere.
21+
22+
### CI
23+
24+
- **Releases are now gated on CI.** A new `verify-ci` job in the Release
25+
workflow waits for the CI run on the tagged commit and fails the release if
26+
CI is red or missing — publishing from a red `main` (as happened for
27+
v2.45.0/v2.46.0) is no longer possible.
28+
- Cleared 11 ruff lint errors (import sorting, one unused import, one
29+
placeholder-less f-string) that were failing the Lint job.
30+
731
## [2.46.0] - 2026-07-02
832

933
### Agent-artifact tracking: version history, diff & restore for the files that shape the agent

cli/c3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
# Config
8686
CONFIG_DIR = ".c3"
8787
CONFIG_FILE = ".c3/config.json"
88-
__version__ = "2.46.0"
88+
__version__ = "2.46.1"
8989

9090

9191
def _command_deps() -> CommandDeps:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "code-context-control"
7-
version = "2.46.0"
7+
version = "2.46.1"
88
description = "Local code-intelligence layer for AI coding tools (Claude Code, Codex, Gemini, Copilot). Retrieve less, read less, edit safer — and version the configs that shape your agent (CLAUDE.md, skills, hooks, MCP)."
99
readme = "README.md"
1010
requires-python = ">=3.10"

0 commit comments

Comments
 (0)