Repository navigation
Pass the native Work record specs on Go: Pi native MCP, routine confirmation cards, gated fixture tool #93
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
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
910a668
Shrink the Go Playwright gaps: computer stubs, Pi model controls, fix…
Personed 64d7903
Un-exclude structured messages and kill serve's process group with th…
Personed 198b71f
Ask Pi's native questions through the shared approval cards
Personed ecefe17
Record the remaining shared approval gap and document native question…
Personed 04e407a
Serve routine, skill, and history product tools to Pi from persona serve
Personed 61764e8
Merge main into devin/1795461052-go-server-gaps
Personed 8f6cc5b
Merge remote-tracking branch 'origin/devin/1795458963-serve-product-t…
Personed b69b1ed
Open native Work records under Go: Pi native MCP, routine confirmatio…
Personed a3851ae
Group routines imports for goimports
Personed e03f048
Document routine confirmation and repeatable -pi-extension
Personed 73a6957
Gate the Go fixture tool like web-server.ts and wait for the typing e…
Personed 5ff4f56
Skip panel view transitions on input events, as #88 does
Personed 072362f
Merge main into devin/work-records-go-v2
Personed 58e04c3
Keep conditional routine turns out of chat previews
Personed eaf3f2b
Store conditional routine run messages hidden, like projection.ts, so…
Personed 02f9107
Merge main into devin/work-records-go-v2
Personed 8b2929b
Format the Go fixture
Personed 7be8ac7
Merge the pushed conditional-preview fix
Personed da6c84d
Merge remote-tracking branch 'origin/main' into devin/work-records-go-v2
Personed e616863
Format the merged specs and drop the non-null assertion
Personed File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
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.
🟡 Mudança de prazo da rotina oculta na confirmação
Ao alterar pelo chat o prazo de 60 para 90 segundos, o cartão reduz ambos os valores a um minuto. A comparação omite o campo, e o usuário pode aprovar a mudança sem ver o novo prazo.
Learn more
O chat chama routine_manage, que aceita o prazo em milissegundos. Ao preparar o cartão, requestFields divide o prazo por 60.000 com aritmética inteira. Em seguida, diffFields compara os textos e descarta os campos iguais. O executor de rotinas lê o prazo em milissegundos e interrompe a execução pelo valor real, não pelo valor exibido no cartão.
Example: Uma rotina tem prazo de 60 segundos. O usuário pede 90 segundos pelo chat. O cartão representa ambos como um minuto e não mostra a alteração, mas, após a aprovação, a rotina passa a ter 90 segundos.
Recommended fix: Formate o prazo em requestFields sem descartar segundos ou milissegundos. Acrescente um teste de confirmação que altere apenas o prazo de 60 para 90 segundos e verifique que o cartão mostra os dois valores.
Was this helpful? React with 👍 or 👎 to provide feedback.