Skip to content

feat: add project-specific append system prompt support - #25

Open
Armer7 wants to merge 2 commits into
pithings:mainfrom
Armer7:main
Open

feat: add project-specific append system prompt support#25
Armer7 wants to merge 2 commits into
pithings:mainfrom
Armer7:main

Conversation

@Armer7

@Armer7 Armer7 commented Jul 17, 2026

Copy link
Copy Markdown

Summary

Fixes an issue where the VS Code extension did not load project-level .pi/APPEND_SYSTEM.md, while CLI sessions did.

What changed

  • Added project .pi directory detection in extension session startup flow.
  • Added loading and merging of .pi/APPEND_SYSTEM.md instructions for VS Code sessions.
  • Aligned instruction resolution behavior with CLI.

Why

Issue #24 reports inconsistent behavior:

  • CLI session in project folder applies APPEND_SYSTEM.md
  • VS Code extension session does not

This PR makes both entry points consistent.

Validation

  • Reproduced issue in extension before fix
  • Confirmed .pi/APPEND_SYSTEM.md is applied after fix in VS Code
  • Confirmed CLI behavior remains unchanged

Linked issue

Closes #24
Also addresses #22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

.pi cannot find APPEND_SYSTEM.md in the project's .pi/ folder

1 participant