From 3572e211253d136e5f70343d30b0590303a9d8c1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 1 Nov 2025 19:07:20 +0000 Subject: [PATCH 1/3] Initial plan From b94e77710b004481a3c5061ccc8bd8844c4f07e9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 1 Nov 2025 19:12:02 +0000 Subject: [PATCH 2/3] Fix README discrepancies with implementation - Fixed template variable documentation: missing vars are kept as-is, not replaced with empty strings - Added missing -C flag documentation - Updated troubleshooting section to use correct placeholder format Co-authored-by: alexec <1142830+alexec@users.noreply.github.com> --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dc8b1aa0..8e20cd77 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,7 @@ coding-context [options] [persona-name] Options: -b Automatically run the bootstrap script after generating it + -C Change to directory before doing anything (default: .) -m Directory containing memories, or a single memory file (can be used multiple times) Defaults: AGENTS.md, .github/copilot-instructions.md, CLAUDE.md, .cursorrules, .cursor/rules/, .instructions.md, .continuerules, .prompts/memories, @@ -1083,7 +1084,7 @@ ${variableName} # Braced variable substitution $variableName # Simple variable substitution (works with alphanumeric names) ``` -Variables that are not provided via `-p` flag are replaced with empty strings. +Variables that are not provided via `-p` flag are left as-is (e.g., `${missingVar}` remains `${missingVar}`). ### Determining Common Parameters @@ -1143,9 +1144,9 @@ When the same task exists in multiple directories, the first match wins: mkdir -p .prompts/memories ``` -**Template parameter shows ``** +**Template parameter not replaced (shows as `${variableName}`)** ```bash -coding-context -p myvar="value" my-task +coding-context -p variableName="value" my-task ``` **Bootstrap script not executing** From a686e41b807047c5005b1859b1e92f4e8a9a31c4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 1 Nov 2025 19:19:20 +0000 Subject: [PATCH 3/3] Fix incorrect CLI usage on line 37 - persona is positional arg not flag Co-authored-by: alexec <1142830+alexec@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8e20cd77..c87d0d27 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ This tool is ideal for: The basic workflow is: 1. **Organize your context** - Create persona files (optional), memory files (shared context), and task files (task-specific instructions) -2. **Run the CLI** - Execute `coding-context ` with optional `-persona` and parameters +2. **Run the CLI** - Execute `coding-context [options] [persona-name]` 3. **Get assembled output** - The tool generates: - `prompt.md` - Combined persona (if specified) + memories + task with template variables filled in - `bootstrap` - Executable script to set up the environment