Repository navigation
feat: workspace review — skill publish waits for the owner, review status, decision notices, served-version skill sync #1685
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?
Changes from all commits
e14a8dd
707a2c7
b5ec092
571f735
902af99
b7b324c
1bcc720
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -230,6 +230,17 @@ export class Delivery { | |
| log.info("learn session snapshot rebuilt without team rules", { session }) | ||
| return undefined | ||
| } | ||
| // A rule shown as the person's pending proposal stays only while it is still that proposal, with that wording and | ||
| // those paths: approved, rejected or proposed again, the session is given what the state holds now. | ||
| if (name === Store.WORKSPACE_RULES_STORE) { | ||
| const now = (await vouched!).get(lesson.id)! | ||
| const changed = | ||
| now.text !== lesson.text || JSON.stringify(now.trigger ?? null) !== JSON.stringify(lesson.trigger ?? null) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. WARNING: The pending-rule check compares a sanitized snapshot with the unsanitized proposal, so it fails on every turn
Consequence: |
||
| if (now.review !== lesson.review || (lesson.review === "pending" && changed)) { | ||
| log.info("learn session snapshot rebuilt: a pending team rule changed", { session }) | ||
| return undefined | ||
| } | ||
| } | ||
| // altimate_change end | ||
| if (lesson.text.length > MAX_TEXT && !grandfathered.has(name)) | ||
| grandfathered.set(name, await Store.grandfathered(this.root, name, { migrate: false }).catch(() => [])) | ||
|
|
||
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.
P3: The six-hour backoff is process-local, so a new
altimate-codeprocess asks a review-less server immediately at startup; document this as per-process or persist the backoff.Prompt for AI agents