I like the task_list tool .... this is really help...
# proj-agent
n
I like the task_list tool .... this is really helpful.... HOWEVER ... it's committing the TASKS.md content into the repo's .openhands dir. IOW https://github.com/All-Hands-AI/OpenHands/pull/10493/files is not sufficient. I'd think a better mechanism to employ here, is a handler app-side, which can associate tasks with: • Session/Conversation • Codehost, • Codehost+Org, • Codehost+Org+Project I'd think storage aught be app-handled redis could encypher with something like session jwt? or perhaps a 'tasks key' secret or something if that were desired ... or perhaps instead stretch to: • codehost-private-gists/snippets • codehost-project-scoped-private-gists/snippets • codehost-project-scoped private issues/tasks/subtasls either way, these ABSOLUTELY aughtn't be added to the project ... so .openhands/TASKS.md needs to be added to .gitignore for any project with a .openhands folder by default... Sensitive data will absolutely get added to the repository eventually otherwise .... this is a bad implementation of a great feature... not trying to be an ass or anything... but it really doesn't do the benefit brought by the feature justice as is
p
hm, in some projects I commit all the conversations, so I can audit my thought patterns later I can see this be a feature (in a narrow context), for say, same folk who gravitates towards something like: https://github.com/rusiaaman/chat.md my guess is this 100% transparent workflow might become a "best practice" in some circles
n
I could see the benefit of that, were it possible to prevent disclosure... as systems are now, however, they are simply not robust enough to adequately safeguard sensitive data. I concur that this information should be stored in a way that's reviewable. I think doing that is the responsibility of the app (as its the conduit for io between human(s) LLM and runtime. ) and it should NOT be stored within the repo (at least not now)
p
legally, if I'm not mistaken, 1:1 conversations are deemed private: a 3rd party can't listen in. The moment a 3rd person enters the conversation it's potentially public while that applies to humans, I have a hard time fitting that mode of operation to learning models, even in "private chat mode"; there are two many eavesdropping points along the way that can undermine privacy (All Hands AI, the corporation; the learning model provider; the ISP; hackers) so I hesitate sharing personal information to begin with; the equation changes when I use locally hosted models that I control - this fear vanishes because I can trust many more of the underlying systems, being root and all the situation you're describing is probably a case of https://lawsofux.com/teslers-law/ - and in this case, I'd shift the burden to the user "I think doing that is the responsibility of the app" - I think that would make it hard to verify. What would be the authority that links the session/conversation to the git commit sha? What would prevent the app from losing its data (it's not like the conversations are content addressable and pinned on a crypto chain at the moment). Personally, I'd tie them closer together: the code + the conversation that generated the code, i.e.: "the unit of change" - but the app could make this easier for me to do; but I as as the user would retain the responsibility to ship my thought process with the code, for audit purposes downstream
What would be the authority that links the session/conversation to the git commit sha?
Actually, I spoke too soon; https://dvc.org/ could be used for the mountain of conversations that lead to a code change
n
so we're conflating a few things and talking about different aspects of a complex thing... lemme tease apart
there's the attribution piece ... who did what when and where
and there's the sensitivity piece
the problem that I'm talking about the loudest, is the sensitivity piece ... the LLM has the ability to 'do stuff' ... and put stuff in publicly accessible places .... durably. it's being given a notepad.... and told to keep track of what its doing that notepad is public if committed to the repo. the problem is that the LLM will absolutely put things in that notepad that should not be exposed publicly (A) and (B) for the same reasons we don't commit things like
node_modules
directories in repos (to avoid repo bloat over time) it's not really the greatest place to put highly dynamic stuff that's not realllly meant to be a chronological log ...
a git repo can be force-pushed to overwrite history
👍 1
so its not as durable as you might want for something like that
if you want something that's immutable, truly, there are tools designed explicitly for that which are a better fit for the attribution need
p
I'd split that further into non-repudiation and audit the general idea is to keep the thinking and the resulting code together
n
yep
but everything has a cost associated with it...
p
that's true, relative to a goal
n
and not all benefits are worth the cost to all peeps
👍 1
the level of attribution required for operation A is not necessarially the same for operation B even within the same system
I've designed sdlc pipelines before 😉
p
cost could be brought lower and lower; that's what git achieved; made it simple to keep track of everything
n
cost is not just a measure of financial impact tho
👍 1
it's a cognitive load of complexity as well
I think to get the level of attribution you're lookin for here... an interstitial shim tween (OPENHANDS) and (LLM) (ie a shim within litellm or something like tensorzero/gpustack) is a more beneficial tap .... it can observe what was sent to/from the llm ... log, manipulate, or block data from passing
but even then .... that's only part of the picture
that doesn't get the conversation between human(s) and the app
not really ... just the pieces between app <-> llm
p
I guess ADRs is what I'm looking to replace first; it's the collaborative thought process in making a technical/product choice that drives both the ADR and the ensuing code change
n
nods totes fair ... I think we're jus talkin about two completely orthogonal but important facets that this SUPER COOL TOOL* provides ... (again not trying to talk shit about the work... rather trying to illustrate an implementation decision that's not in alignment with operational best practices in some contexts...)
p
I swear I saw
TASKS.md
be created in sessions, not in the repo; I'm on last week's main version
n
does the repo in question have a .openhands dir ?