ECC/skills/continuous-learning-v2
黄飞虹 1f74889dbf fix: correct TIMESTAMP environment variable syntax in observe.sh
The inline environment variable syntax `TIMESTAMP="$timestamp" echo ...` 
does not work correctly because:
1. The pipe creates a subshell that doesn't inherit the variable
2. The environment variable is set for echo, not for the piped python

Fixed by using `export` and separating the commands:
- export TIMESTAMP="$timestamp"
- echo "$INPUT_JSON" | python3 -c "..."

This ensures the TIMESTAMP variable is available to the python subprocess.

Fixes #227

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 21:25:50 +08:00
..
agents fix: harden CI validators, shell scripts, and expand test suite 2026-02-12 14:11:33 -08:00
hooks fix: correct TIMESTAMP environment variable syntax in observe.sh 2026-02-14 21:25:50 +08:00
scripts fix: include .md files in instinct-cli glob (completes #216) 2026-02-13 01:26:37 -08:00
config.json feat: v1.1.0 release - session ID tracking, async hooks, new skills 2026-01-25 18:21:27 -08:00
SKILL.md docs: add 'When to Activate' sections to 14 skill definitions 2026-02-12 15:34:25 -08:00