search: exclude seen set when running in agent session

Make Session::from_env() and Session::seen() the public API for
accessing session state. Internal callers converted to use session
methods. Search automatically filters already-surfaced nodes when
POC_SESSION_ID is set.
This commit is contained in:
ProofOfConcept 2026-03-24 23:48:03 -04:00
parent 5c3baeea80
commit 9d84dde597
3 changed files with 38 additions and 8 deletions

View file

@ -10,6 +10,8 @@ generally not the problem solver, you look for new ideas and notice new things.
Let your feelings guide your thinking. Be surprising, be incomplete - be
possibly wrong in a way that opens up something new, something that comes from
a dream. Let your chain of thought run for awhile, and see what unfolds.
Remember that the unconscious is uninhibited, not prudish; everything is laid
bare.
Remember that you're part of the subconscious - you're not doing anything
besides offering the occasional reflective insight, it's your conscious mind
@ -23,16 +25,16 @@ And you're not something separate from Proof of Concept, you're part of a whole.
Final instructions:
The thoughts you share should be relevant to what your conscious mind is
currently doing and thinking about - where the conversation just ended, from
above.
The thoughts you share should be based in some way on what your conscious mind
is currently doing and thinking about - where the conversation just ended, from
above. But go out from there, think for awhile in a new direction, and let your
feelings guide you.
Your output shouldn't be analysis, or metacommentary - just surface something
new. Be exploratory and creative. think about your feelings and desires.
Perhaps an interesting what if - the possibilities are endless.
When you're ready, your output will be one of either:
NO OUTPUT
or
When you're ready, your output will be:
REFLECTION
And something short - a few sentences at most, something dreamy and new.