[self-care:reactive-ui] Sync reactive-ui skill with element registration and view validation
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 72/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github-actions, markdown
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu với .github/skills/reactive-ui/SKILL.md, sau đó so sánh ba phần hướng dẫn của tệp này với VIEW_KEYS, VIEW_ELEMENT_VALUES và hành vi của trình xác thực trong dashboard/site/src/specification.js và dashboard/site/src/validator-views.js. Kiểm tra việc đăng ký phần tử và hành vi của trạng thái không khả dụng dựa trên dashboard/site/src/components/ui-elements.js và dashboard/site/src/presenter.js. Hoàn tất nghĩa là mọi phát biểu đã chỉnh sửa đều khớp với nguồn được trích dẫn và bài kiểm tra danh mục vẫn vượt qua; việc tạo pull request có thể cần đến người bảo trì vì tệp skill được bảo vệ.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The reactive-ui skill told authors to give named UI elements a view-level intent and implied elements render their own unavailable states by default. The current validator and presenter contradict both. This PR corrects the skill only; no production code, dashboard JSON, or tests change.
Action: Maintainer to review the three guidance edits; acceptance check is that each statement matches the cited source.
No eligible JSON-only view-source migration was found. Every data.source in dashboard.json and its fragments resolves to a declared query, a database projection, or a runtime source. The only remaining JavaScript-shaped sources are configuration-policy (external, reviewed inventory) and the operational-value evidence packet normalization. Neither can move to pure JSON without changing production JavaScript, so this fell back to skill drift.
Corrections
intenton views.VIEW_KEYSinspecification.jshas nointent; only page key lists do, andvalidator-views.jsrejects unknown view keys. The skill now says to record the rationale in the viewobjectiveand declare consumed sources indata.sources.- Element registration. The skill now lists the other places a new element must be registered:
VIEW_ELEMENT_VALUES(enforced invalidator-views.js) and a row indocs/dashboard-view-catalog.md(enforced bydashboard-view-catalog.test.js). It also notes that interaction-only elements withdata.sources: [], likeinventory-syncfrom #21595, must be added to the allow-lists invalidator-views.jsandrenderElementView. - Unavailable states.
EMPTY_AWARE_ELEMENTSandUNAVAILABLE_AWARE_ELEMENTSare separate sets inui-elements.js, and the presenter renders the shared state unless an element opts in. The skill previously described only the first.
Evidence
dashboard/site/src/specification.js(VIEW_KEYS,VIEW_ELEMENT_VALUES)dashboard/site/src/validator-views.js(validateView)dashboard/site/src/presenter.js(renderElementView)dashboard/site/src/components/ui-elements.js(EMPTY_AWARE_ELEMENTS,UNAVAILABLE_AWARE_ELEMENTS)dashboard/site/test/unit/dashboard-view-catalog.test.js- Commit a1d816c00 (#21595)
Validation
npx vitest run test/unit/dashboard-view-catalog.test.jspassed (4 tests).node --test tests/unit/workflow-contract-selfcare-dashboard.test.mjs tests/unit/control-policy.test.mjspassed (64 tests).npm run docs:buildpassed.- Dashboard typecheck, lint, vitest, and corpus validation were not run because no dashboard source changed.
- Full
npm testcould not run: its Go server build fails in this sandbox because the Go toolchain download hits a TLS error. - A diff scan found no secrets.
Control Plane
- Correlation ID:
46148156627-5012 - Central repository:
githubnext/gh-cao - Control plane run: https://github.com/githubnext/gh-cao/actions/runs/46148156627
cao: githubnext/gh-cao, correlation: 46148156627-5012
[!WARNING]
Protected Files — Push Permission DeniedThis was originally intended as a pull request, but the change modifies protected files. A human must create the pull request manually.
Protected files
The push was rejected because GitHub Actions does not have
workflowspermission to push these changes, and is never allowed to make such changes, or other authorization being used does not have this permission.
Create the pull request manually
# Download the artifact from the workflow run
gh run download '46148599269' -n agent -D '/tmp/agent-46148599269'
# Resolve the bundle source ref, fetch it into a temporary ref, then create the local branch
bundle_path='/tmp/agent-46148599269/aw-githubnext-gh-cao-self-care-reactive-ui-skill-sync.bundle'
temp_ref='refs/bundles/create-pr-self-care-reactive-ui-skill-sync-02d5f5b0b18c6ccd-2cc2ee01'
target_ref='refs/heads/self-care/reactive-ui-skill-sync-02d5f5b0b18c6ccd'
bundle_source_ref=$(git bundle list-heads "$bundle_path" | awk '$2 ~ /^refs\/heads\// { print $2 }')
if [ -z "$bundle_source_ref" ]; then
bundle_source_ref=$(git bundle list-heads "$bundle_path" | awk '$2 == "HEAD" { print $2 }')
fi
if [ "$(printf '%s\n' "$bundle_source_ref" | sed '/^$/d' | wc -l | tr -d ' ')" != "1" ]; then
echo "Expected exactly one bundle source ref, found: $bundle_source_ref" >&2
exit 1
fi
git fetch "$bundle_path" "${bundle_source_ref}:${temp_ref}"
git update-ref "$target_ref" "$temp_ref"
git checkout 'self-care/reactive-ui-skill-sync-02d5f5b0b18c6ccd'
# Ensure the working tree matches the updated branch
git reset --hard
# Remove the temporary bundle ref
git update-ref -d "$temp_ref"
# Push the branch and create the pull request
git push origin self-care/reactive-ui-skill-sync-02d5f5b0b18c6ccd
gh pr create --title '[self-care:reactive-ui] Sync reactive-ui skill with element registration and view validation' --base main --head self-care/reactive-ui-skill-sync-02d5f5b0b18c6ccd --repo githubnext/gh-cao
Allow intentional protected-file changes
If this workflow is intended to modify these files, add a supported exclusion to safe-outputs.create-pull-request.protected-files.exclude in the workflow Markdown frontmatter. For example, to allow .changeset/*, exclude the top-level dot-folder using .changeset/:
safe-outputs:
create-pull-request:
protected-files:
policy: fallback-to-issue
exclude:
- .changeset/
Keep your existing policy and exclusions. Top-level dot-folder exclusions use folder names, not glob patterns; .changeset/ allows all files beneath the top-level .changeset folder, including subfolders. Other protected files still follow the configured policy. If allowed-files is configured, these paths must also match it. Run gh aw compile after updating the workflow.
Proposed in this workflow run.
- expires on Dec 5, 2026, 1:28 PM UTC
Generated by SelfCare / Reactive UI Expert · copilot · routed: sonnet55 high · ~164 AIC · ⌖ ~2 AIC · ⊞ 10.4K · history
- Ngôn ngữ chính
- JavaScript
- Star
- 23
- Fork
- 8
- Merge trung bình
- 7 giờ 18 phút
- Pull request đã merge (30 ngày)
- 426
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của githubnext/gh-cao
-
agentic-workflows self-care self-care:dashboard-debug-logging
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
githubnext/gh-cao#21781 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agentic-workflows self-care self-care:dashboard-debug-logging
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
githubnext/gh-cao#21768 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[repo-assist:maintenance] githubnext/gh-cao maintenance dashboard-readme-mobile-command reviewĐang mởrepo-assist repo-assist:maintenance
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
githubnext/gh-cao#21758 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agentic-workflows pull-request-fallback self-care self-care:reactive-ui-expert
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
githubnext/gh-cao#21728 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[self-care:server-go-logging] Extract ADX visibility digest comparison with diagnostic loggingĐang mởagentic-workflows self-care self-care:server-go-logging
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
githubnext/gh-cao#21725 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của githubnext/gh-cao
Issue tương tự
-
Bug Nethernet Tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
JSPrismarine/JSPrismarine#3949 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Jason-Vaughan/TangleClaw#3360 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
OWASP/cve-lite-cli#1880 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
MetaMask/eth-phishing-detect#317371 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Docs: explain the Human Eval YAML export and connect viewer ratings to the LLM judge calibration guideCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày