Skip to content

Load Dynamic Requirements runs repeatedly? #4

Description

@aSapien

Hey Daniel,

It seems like the load-dynamic-context.ts is running on every prompt submission, loading load-dyanamic-context.md into the context repeatedly.

May this be causing unnecessary tokens waste? Or perhaps, on the contrary, re-focusing Claude to better pay attention to the user-prompt?

I'm considering doing a conditional read based on the presence of a marker file with a session_id. Akin to a "PID marker file" (/var/run/my-process.pid).

What do you think?

P.S

Thanks for a great newsletter and the amazing open-source projects. I've been a fan for a while now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions