Open
Conversation
Disdjj
reviewed
Jun 29, 2025
| }, | ||
| async ({ rootPath }: { rootPath: string }) => { | ||
| const temp = ` | ||
| important_symbols: |
Owner
There was a problem hiding this comment.
如果已经基于Yaml, 我希望在update的时候,能够做更形式化的验证: 传入的参数应该包含要更改的内容.
而不是让LLM再次阅读yaml做更改.
形式化的验证能够帮助我们更好的节省上下文.
| import * as path from "path"; | ||
| import { generateProjectYaml, generateChangelogYaml } from '../utils/index.ts' | ||
|
|
||
| export const initCodelf = (server: any) => { |
Owner
There was a problem hiding this comment.
1.只保留了文件树和changelog. 我们不需要初始化的这么简单的渐进式
2. 至少要在init的时候, 保留项目的基本信息: 名称, 使用技术栈 ... 至少能够替代之前的Project.md的功能
3. 此前的attention.md 甚至可以作为提示词注入, 强行限制AI的行为, 例如返回语言等等, 可以提到类似于 cursorrules, windsurfrules 等等, 现在是不是已经变成了一个纯粹的为项目提供context的mcp?
Owner
|
你的.codelf目录下, 至少要展示你这次PR的结果: projectInfo.yaml, changelog.yaml 而不是不负责任的删除掉之前的.codelf目录. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
do init-codelf and follow the instructions:/src