Skip to content

[Feature]: Allow to append system prompt #41

@quan-ngo-ts

Description

@quan-ngo-ts

What would you like to be added?

I’d like auggie to support an --append-system-prompt flag, similar to the Claude CLI (--append-system-prompt as documented here: https://code.claude.com/docs/en/cli-reference). This flag would allow users to append additional system-level instructions that persist across long-running tasks.

Why is this needed?

Currently, auggie only supports the --instruction flag for providing an initial instruction. In long-running tasks—such as automated PR reviews—the model may eventually compress or lose parts of the original instruction due to context window limits. This can cause the assistant to deviate from the expected behavior or fail to follow the intended rules toward the end of the run.

Supporting an --append-system-prompt flag would allow users to inject persistent system-level guidance that is less likely to be compacted or deprioritized, resulting in more reliable output for extended tasks.

Possible solution or alternatives

Add a new flag: --append-system-prompt, matching Claude CLI behavior.

Ensure appended system prompts are added at a system or meta-instruction level rather than as user instructions, so they are less prone to compression.

Alternatively, support a configuration file where persistent system rules can be defined and automatically included in each request.

Another option is exposing a dedicated “persistent context” option in the CLI that remains unchanged across chunked or streaming interactions.

Additional context

I frequently use auggie for long-running tasks like PR review automation. Over time, the initial instruction is compressed or deprioritized, leading to outputs that no longer follow the defined rules. Being able to append a system prompt—rather than rely solely on --instruction—would help preserve important constraints and improve reliability in these workflows

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions