Releases: aipartnerup/apcore-cli
Releases · aipartnerup/apcore-cli
0.2.0
Changed
- Core Dispatcher (FE-01): Added 3-tier log level precedence spec —
--log-levelflag >APCORE_CLI_LOGGING_LEVEL>APCORE_LOGGING_LEVEL>WARNING; renumberedcreate_clilogic steps accordingly - Core Dispatcher (FE-01):
register_shell_commands()call now passesprog_name=prog_name(FR-DISP-006 alignment) - Core Dispatcher (FE-01):
--log-levelaccepted choices updated:WARN→WARNING - Core Dispatcher (FE-01): Added FR-DISP-006 requirement — CLI program name resolved from
argv[0]basename with explicitprog_nameparameter override - Shell Integration (FE-06): Added
4.2 _make_function_namehelper spec with POSIX identifier conversion example - Shell Integration (FE-06): Updated all generator function signatures to include
prog_name: strparameter; documentedshlex.quote()usage in all shell directive positions (not just embedded subshell commands) - Shell Integration (FE-06): Added
4.6 register_shell_commandsspec withprog_nameparameter and closure capture semantics - Shell Integration (FE-06): Man page
.SH ENVIRONMENTsection now specifies 4 env vars includingAPCORE_CLI_LOGGING_LEVEL; updatedWARN→WARNING - Approval Gate (FE-03):
check_approvalsignature corrected — removedctx: click.Contextparameter (was not used in implementation) - Approval Gate (FE-03):
annotationsguard updated to support both dict access and attribute access - Security Manager (FE-05):
_hash_inputformula updated to includesecrets.token_bytes(16)per-invocation salt (prevents cross-invocation correlation) - Security Manager (FE-05):
_get_userextended withpwd.getpwuid()as second fallback step before env var lookup
Added
APCORE_CLI_LOGGING_LEVELenvironment variable to CLI Reference and Environment Variables table in README (CLI-specific log level; takes priority overAPCORE_LOGGING_LEVEL)
Fixed
- README:
--log-leveldefault corrected toWARNING(wasINFO); accepted values updated fromWARN→WARNING
0.1.0
Added
- Initial specification and design documents
- Tech Design v0.4 and v1.0
- Software Requirements Specification (SRS) v0.1
- 8 feature specifications: Core Dispatcher, Schema Parser, Approval Gate, Discovery, Security Manager, Shell Integration, Config Resolver, Output Formatter
- Project manifest with feature table and implementation order
- Idea draft with problem validation and requirement IDs
- Beginner guide (Getting Started) section in README
- GitHub repository links and SDK reference table
- Related Projects section linking to ecosystem repos
- Full CLI Reference section (global options, commands, execution options, exit codes)
- Configuration section with 4-tier precedence and environment variables
- Architecture diagram and apcore-to-CLI mapping table
- CHANGELOG.md