Repository navigation
refactor: rebuild ECNU skill around routing, engineering and live evidence - #8
Merged
Merged
Conversation
…dence Keep only what the official docs do not provide and make every live claim reproducible. - SKILL.md: single routing table linking official pages, including the official agent-tool guides; short "before shipping" list - Add references/engineering.md (concurrency, retries, timeouts, cost, error shapes) and references/troubleshooting.md (symptom table with dated runner cases, live-check usage) - Remove api_reference, workflows, known_deviations, workbuddy_setup, agent_development and the refactor plan; history stays in Git - Document ecnu-decision (/systemone) with a tested recipe and runner cases - Refresh the model snapshot (v3.5.0, 2026-11-23) and cache pricing - Runner: effort deviation cases, anthropic>=2 (httpx2) support, base64 embedding vectors, no global stop on local client errors, status-page SSO redirect - Validator: skip Git-ignored files; check links and heading anchors in all Markdown; tests require observed rows to name existing runner cases - AGENTS.md: maintenance rules; maintainer live tests have no credit ceiling Co-Authored-By: Claude Code <noreply@anthropic.com>
- Add references/audit.md: read-only checklist for existing ECNU integrations, grouped by consequence, each check citing its evidence - Route audits from SKILL.md; trigger on chat.ecnu.edu.cn/open/api, ECNU_API_KEY or ecnu-* model names in code - Recheck all linked official pages: the docs retired the [1m] suffix, 403 IP allowlist errors are documented, the VL 5 MiB cap does not say encoded or decoded, the 32-item batch cap is VL-only - Note that x-api-key and Bearer were both accepted on the Anthropic API - Audit flags personal tokens behind shared services (production pool) - AGENTS.md: doc claims must link their page; revalidation rereads every linked page and the runner's expectation strings Co-Authored-By: Claude Code <noreply@anthropic.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
The template follows the Summary / Evidence / Merge Danger structure and reminds authors to keep keys, account details and local paths out of PRs. The glossary fixes the terms used across the skill and its maintenance rules. Co-Authored-By: Claude Code <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c90ffc6c79
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
- Runner releases the reservation and records zero spend when an SDK fails locally before sending a request - Base64 embeddings whose byte length is not a multiple of four are reported as invalid instead of truncated to a float count - Decision recipe and runner reject JSON booleans as probabilities or confidence - Troubleshooting: dates are Asia/Shanghai with UTC report times; live-check commands no longer assume python3 Co-Authored-By: Claude Code <noreply@anthropic.com>
Co-Authored-By: Claude Code <noreply@anthropic.com>
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.
Summary
Rebuilds the skill around what the official ECNU docs do not provide, syncs it with ECNU v3.5.0, and adds an audit workflow for existing integrations.
Every observed (non-documented) behavior names a runner case, so revalidation after a release is mechanical:
Other changes:
ecnu-decision(POST /systemone): recipe, runner cases, troubleshooting rowsanthropic>=2(httpx2) support, base64 embedding vectors, no global stop after a local client error that sent no request, status page SSO redirect, cache-hit price 1/10Evidence
Offline:
validate_skill.pypasses,unittest81 tests OK (1 skipped),agentskills validatepasses.Live (2026-11-23, off-peak): full
--profile allrun plus targeted cases. Rows kept only where the case still mismatches the docs, for example:Removed because they no longer reproduce: invalid/missing bearer, empty embedding array, Anthropic effort
none, rapid-request 401,ecnu-maxminimal/medium 500s.Audit workflow: a synthetic legacy project with 12 planted issues, audited by two independent agents.
Merge Danger
Door: two-way
Docs and test tooling only; revert restores the previous files.
Blast Radius: consumers
Installed copies update on
npx skills update -g ecnu-api. Links into removed files (api_reference.md,workflows.md,known_deviations.md,workbuddy_setup.md) stop resolving for anyone who bookmarked them.🤖 Generated with Claude Code