Add an adaptive prompt section describing the available context and what each template contains - #1417
Add an adaptive prompt section describing the available context and what each template contains#1417ad4mou wants to merge 3 commits into
Conversation
…hat each template contains
🚀 Preview Deployment
Preview will be automatically removed when this PR is closed. |
There was a problem hiding this comment.
All reported issues were addressed across 10 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
… code quality with refactor
There was a problem hiding this comment.
All reported issues were addressed across 15 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
| const migratedTemplates = [ | ||
| ...new Set( | ||
| templates | ||
| .filter((template) => template !== 'description') |
There was a problem hiding this comment.
this feels stale but it's actually because we still accept desription in nao_config without labelling it a bad config so that users upgrading from older versions don't get their sync refused. So we need to filter it out here since our new prompt doesn't support description
|
LGTM |
Summary
nao_config.yaml, and folders likesemantics/ordocs/appear only when they exist and have something in them so the agent never goes looking for something that isn't there.annotations.mdis now called out as the place for human notes, and the agent is told to trust it over the generated files when they disagree.description.mdandhow_to_use.mdin the recommendations prompt and the two context skills. Those files were deleted a while back and no longer exist.Closes #980
Two decisions regarding the issue
annotations.mdfirst for what a column means", "checkcrm.mdbefore sales questions") needs a model to read the files and understand them which is already what thewrite-context-rulesskill already does, with a human reviewing the result. Doing it automatically on every sync would pay for that pass every time and ship it unreviewed.