-
Notifications
You must be signed in to change notification settings - Fork 11
Codefl2.0 dev #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| }, | ||
| async ({ rootPath }: { rootPath: string }) => { | ||
| const temp = ` | ||
| important_symbols: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如果已经基于Yaml, 我希望在update的时候,能够做更形式化的验证: 传入的参数应该包含要更改的内容.
而不是让LLM再次阅读yaml做更改.
形式化的验证能够帮助我们更好的节省上下文.
| import * as path from "path"; | ||
| import { generateProjectYaml, generateChangelogYaml } from '../utils/index.ts' | ||
|
|
||
| export const initCodelf = (server: any) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1.只保留了文件树和changelog. 我们不需要初始化的这么简单的渐进式
2. 至少要在init的时候, 保留项目的基本信息: 名称, 使用技术栈 ... 至少能够替代之前的Project.md的功能
3. 此前的attention.md 甚至可以作为提示词注入, 强行限制AI的行为, 例如返回语言等等, 可以提到类似于 cursorrules, windsurfrules 等等, 现在是不是已经变成了一个纯粹的为项目提供context的mcp?
|
你的.codelf目录下, 至少要展示你这次PR的结果: projectInfo.yaml, changelog.yaml 而不是不负责任的删除掉之前的.codelf目录. |
do init-codelf and follow the instructions:/src