Test: Environment Variable Propagation
Objective: Check if CLAUDE_CODE_TASK_LIST_ID is visible in forked skill context.
Instructions
- Check the CLAUDE_CODE_TASK_LIST_ID environment variable
- List current tasks
- Create a task with a unique identifier
- Write results to output file
Output
Write to: earnings-analysis/test-outputs/task-env-check-result.txt
Format:
TEST: task-env-check (forked skill)
TIMESTAMP: {ISO timestamp}
ENVIRONMENT:
CLAUDE_CODE_TASK_LIST_ID: {value or "NOT SET"}
TASK LIST BEFORE:
{output from TaskList}
CREATED TASK:
Subject: "ENV_TEST_FROM_FORK_{random-id}"
Task ID: {id}
TASK LIST AFTER:
{output from TaskList}
CONCLUSION: {findings}
Return a summary of findings.