Refactoring agent and behaviour naming and structure. #25
Reference in New Issue
Block a user
Delete Branch "refactor/agent-naming"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We should refactor our current names for both agents and behaviours. Alongside this, we should use a new folder structure to accommodate this change.
In order to complete this merge, follow steps and mark the checklist:
sudo prosodyctl adduser {name}@localhostwith password {name} FOR ABOUT ALMOST ALL AGENTS INcore/config.py, yes, I'm sorry.merge devshows this branch is up to date with dev, make sure dev is fetched and pulled for newest version. (Which is currently the case, but probably needs to be updated when other requests get merged 🫡)ruff checkandruff formatshow no errors or changes (there should be one line which is too long, but is not able to be reduced and commented to not be checked).uv run --group integration-test pytest test/integrationanduv run --only-group test pytest test/unitshow all tests pass.__init__files are present in all the agents/domains, and are set up correctly.Additional comments:
In case you need a short version of how naming should be:
<Techincal Domain><Role>Agentis standard.Behaviours should reflect the agents name ONLY when they aren't 'supposed' to have more behaviours.
Behaviours should end on
behaviour.Normal Class/File naming guidlines apply: Class:
ComRIAgent<-> File:com_ri_agent.ref: N25B-207
assigned to @9828273
changed the description
Should be merged to
devbranch instead ofmainCouldn't figure out what "Per" stood for until I asked. _Per_haps just expand it fully to "Perception".
Same thing for "Com" I guess.
Autocomplete will save us from having to type it out fully.
And then I think the directory should be explanatory enough to understand "VADAgent" or "TranscriptionAgent" means so that we don't have to call them "PerceptionVADAgent" or "PerceptionTranscriptionAgent".
requested review from @2584433
added 21 commits
devf4dbca5b- Merge branch 'dev' into refactor/agent-namingCompare with previous version
marked the checklist item
merge devshows this branch is up to date with dev, make sure dev is fetched and pulled for newest version. (Which is currently the case, but probably needs to be updated when other requests get merged 🫡) as completedmarked the checklist item
ruff checkandruff formatshow no errors or changes (there should be one line which is too long, but is not able to be reduced and commented to not be checked). as completedmarked the checklist item
uv run --group integration-test pytest test/integrationanduv run --only-group test pytest test/unitshow all tests pass. as completedmarked the checklist item running ri, cb and ui shows all components work as intended. as completed
marked the checklist item ALL agents are started successfully. as completed
marked the checklist item ALL agents follow the naming guidelines and are categorized correctly. as completed
marked the checklist item ALL agents are ordered in the correct folders for both src/ and test/. as completed
marked the checklist item ALL behaviours are named correctly. as completed
I have changed the naming standards in the knowledge base to increase understandability and to reduce repetition.
marked the checklist item ALL agents follow the naming guidelines and are categorized correctly. as incomplete
marked the checklist item ALL behaviours are named correctly. as incomplete
marked the checklist item The
__init__files are present in all the agents/domains, and are set up correctly. as completedI'll handle the new names.
requested changes
marked the checklist item The
__init__files are present in all the agents/domains, and are set up correctly. as incompleteThanks!:)
added 1 commit
efe49c21- feat: apply new agent naming standardsCompare with previous version
added 7 commits
dev6c401a18- Merge remote-tracking branch 'origin/dev' into refactor/agent-namingCompare with previous version
marked the checklist item ALL agents follow the naming guidelines and are categorized correctly. as completed
marked the checklist item ALL behaviours are named correctly. as completed
marked the checklist item The
__init__files are present in all the agents/domains, and are set up correctly. as completedadded 1 commit
5f3d290f- fix: use the correct name in the transcription agentCompare with previous version
approved this merge request
requested review from @0950726 and removed review request for @2584433
resolved all threads
mentioned in commit
9963134262