You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Document all critical and configuration fixes applied in the review session:
bin/kcode Fatal TypeError, composer.json constraints and scripts,
Makefile targets and guards, phpunit.xml memory_limit, CI workflows
and .gitignore expansion
- Add unit test suite addition (41 tests / 81 assertions) to Added section
- Fix 1.0.0 entry: adjust date from 2025-02-28 to 2025-12-01 (more accurate),
update Makefile target list to include 'security' added in this session
Copy file name to clipboardExpand all lines: CHANGELOG.md
+33-4Lines changed: 33 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,36 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
-
## [1.0.0] — 2025-02-28
8
+
## [Unreleased]
9
+
10
+
### Fixed
11
+
12
+
-**bin/kcode:** Fatal `TypeError` when invoked via Composer scripts — `$argv` was inaccessible inside the static IIFE. Fix passes it as an explicit parameter (`$argv ?? []`).
13
+
-**composer.json:**`phpunit/phpunit` constraint updated from `^11.0` to `^12.0` to match the installed version (12.4.2). Composer scripts renamed to `kcode:*` prefix to avoid collision with built-in Composer commands (e.g. `init`). `allow-plugins.infection/extension-installer: false` added to suppress spurious warnings.
14
+
-**Makefile:**`VERSION` now resolved from `git describe --tags` (falls back to `box.json` metadata). `install`/`install-prod` add `--no-scripts` to prevent broken `kcode init` invocation during dependency installation. New `security` target (`kcode security`). New `_require-kcode` guard on all quality targets. `distclean` no longer removes `composer.lock` (library — not tracked). `check-env` now correctly detects `vendor/bin/kcode`.
15
+
-**phpunit.xml:**`memory_limit` reduced from 1G to 256M (actual usage ≈ 22 MB). Opening tag attributes reformatted one-per-line.
16
+
17
+
### Changed
18
+
19
+
-**.github/workflows/ci.yml:** Added `develop` branch to push/PR triggers.
20
+
-**.github/workflows/code-quality.yml:** Replaced 378-line legacy workflow (PHPMD + runtime `composer require` anti-pattern) with 160-line workflow aligned to the kcode CLI. Jobs: `dependencies → security → phpstan → cs-fixer → quality-summary`.
21
+
-**.gitignore:** Expanded from 8 to 42 patterns, covering legacy scaffold files, tool configs outside the toolchain, IDE artefacts, environment files, and OS artefacts.
-**Migration detector:** Scans composer.json require-dev and project root for redundant dependencies, config files, and cache paths. Interactive cleanup with `--dry-run` and `--no-interaction` modes.
46
+
-**Migration detector:** Scans `composer.json` require-dev and project root for redundant dependencies, config files, and cache paths. Interactive cleanup with `--dry-run` and `--no-interaction` modes.
18
47
-**CLI framework:** Zero-dependency `Application` router with ANSI output, argument parsing, and passthrough.
19
48
-**Value objects:**`ToolResult` and `QualityReport` (immutable, readonly).
0 commit comments