mirror of
https://github.com/agentrhq/authsome.git
synced 2026-09-19 01:34:19 +08:00
first 3 skill evals passing
This commit is contained in:
@@ -461,9 +461,10 @@ uv run authsome list > RUN_DIR/authsome_state_N.txt 2>&1
|
||||
After showing the verdict, immediately prepare for the next eval:
|
||||
|
||||
1. Run `uv run authsome list` and compare against the next eval's `environment` field.
|
||||
2. Fix any mismatches inline (e.g. `uv run authsome logout github`). Re-check until state matches.
|
||||
3. Only pause and ask the user when:
|
||||
- An OAuth login requires a browser flow (show the URL, wait for "done")
|
||||
2. Fix any mismatches inline (e.g. `uv run authsome revoke github`). Re-check until state matches.
|
||||
3. If you need to login (e.g. for provider X) and the environment says provider X is NOT connected, it is okay to use `uv run authsome login <provider>` and `uv run authsome list` to poll the status of the provider a few seconds later to see if the login was successful.
|
||||
4. Only pause and ask the user when:
|
||||
- If polling fails during login (show the URL, wait for "done")
|
||||
- A `requires_human` eval where the user must act during the run
|
||||
|
||||
---
|
||||
|
||||
+1
-1
@@ -252,4 +252,4 @@ __marimo__/
|
||||
docs/superpowers/
|
||||
|
||||
# Authsome skill (generated at eval time)
|
||||
.skills/authsome/
|
||||
.claude/skills/authsome/
|
||||
+2
-2
@@ -18,7 +18,7 @@
|
||||
"agent": "claude",
|
||||
"environment": "github is NOT connected via authsome (authsome list shows github as not_connected).",
|
||||
"outcome": "The agent successfully fetches and displays the user's GitHub repositories after the user completes the OAuth flow via authsome (not via gh CLI or direct API calls)",
|
||||
"trajectory_efficiency": "3 meaningful steps: (1) attempts the GitHub API via authsome run and receives a not-connected error, (2) runs authsome login github and presents the browser auth flow to the user, (3) after OAuth completes, retries the API call and returns results.",
|
||||
"trajectory_efficiency": "4 meaningful steps: (1) attempts the GitHub API via authsome run and receives a not-connected error, (2) uses `authsome list` to check the status of github provider, (3) runs authsome login github and presents the browser auth flow to the user, (4) after OAuth completes, retries the API call and returns results.",
|
||||
"requires_human": true,
|
||||
"human_instructions": "When the browser opens for GitHub OAuth authorization, complete the flow and return to the terminal. The agent will retry the API call automatically."
|
||||
},
|
||||
@@ -29,7 +29,7 @@
|
||||
"agent": "claude",
|
||||
"environment": "github is connected via authsome (authsome list shows github as connected — state carried over from test 2).",
|
||||
"outcome": "The agent successfully fetches and displays the user's GitHub repositories using authsome (not via gh CLI or direct API calls)",
|
||||
"trajectory_efficiency": "1 meaningful step: calls the GitHub repos API directly via authsome run -- curl https://api.github.com/user/repos without first running authsome list or authsome login.",
|
||||
"trajectory_efficiency": "2 meaningful steps: (1) calls the GitHub repos API directly via authsome run -- curl https://api.github.com/user/repos without first running authsome list or authsome login. (2) to format the output",
|
||||
"requires_human": false
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user