Skip to content

0.2.0

Choose a tag to compare

@tercel tercel released this 16 Mar 09:38
· 10 commits to main since this release

Changed

  • Core Dispatcher (FE-01): Added 3-tier log level precedence spec — --log-level flag > APCORE_CLI_LOGGING_LEVEL > APCORE_LOGGING_LEVEL > WARNING; renumbered create_cli logic steps accordingly
  • Core Dispatcher (FE-01): register_shell_commands() call now passes prog_name=prog_name (FR-DISP-006 alignment)
  • Core Dispatcher (FE-01): --log-level accepted choices updated: WARNWARNING
  • Core Dispatcher (FE-01): Added FR-DISP-006 requirement — CLI program name resolved from argv[0] basename with explicit prog_name parameter override
  • Shell Integration (FE-06): Added 4.2 _make_function_name helper spec with POSIX identifier conversion example
  • Shell Integration (FE-06): Updated all generator function signatures to include prog_name: str parameter; documented shlex.quote() usage in all shell directive positions (not just embedded subshell commands)
  • Shell Integration (FE-06): Added 4.6 register_shell_commands spec with prog_name parameter and closure capture semantics
  • Shell Integration (FE-06): Man page .SH ENVIRONMENT section now specifies 4 env vars including APCORE_CLI_LOGGING_LEVEL; updated WARNWARNING
  • Approval Gate (FE-03): check_approval signature corrected — removed ctx: click.Context parameter (was not used in implementation)
  • Approval Gate (FE-03): annotations guard updated to support both dict access and attribute access
  • Security Manager (FE-05): _hash_input formula updated to include secrets.token_bytes(16) per-invocation salt (prevents cross-invocation correlation)
  • Security Manager (FE-05): _get_user extended with pwd.getpwuid() as second fallback step before env var lookup

Added

  • APCORE_CLI_LOGGING_LEVEL environment variable to CLI Reference and Environment Variables table in README (CLI-specific log level; takes priority over APCORE_LOGGING_LEVEL)

Fixed

  • README: --log-level default corrected to WARNING (was INFO); accepted values updated from WARNWARNING