[self-care:reactive-ui] Sync reactive-ui skill with element capability sets, untracked, and style split

Đang mở Phù hợp với người mới
#21,728 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
78/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, javascript, markdown
Lĩnh vực
documentation

Hướng nghiên cứu

Bắt đầu với .github/skills/reactive-ui/SKILL.md, sau đó kiểm tra các khả năng được ghi lại so với reactive.js, components/ui-elements.js, presenter.js, styles-primer.js, styles.js và scripts/build.mjs. Cập nhật skill để bao gồm EMPTY_AWARE_ELEMENTS, UNAVAILABLE_AWARE_ELEMENTS, ASYNC_SOURCE_ELEMENTS, PAGE_BOUND_ELEMENTS, untracked và việc phân chia style thành eager/deferred. Hoàn thành khi skill khớp với các export đó và hành vi xây dựng style, đồng thời không thay đổi mã production, tài liệu dashboard hoặc test.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

agentic-workflows pull-request-fallback self-care self-care:reactive-ui-expert

No view-source migration was eligible, so this PR completes one skill-drift fallback. It changes only .github/skills/reactive-ui/SKILL.md; no production JavaScript, dashboard documents or tests change.

Migration search. Every view data.source in dashboard.json and its fragments resolves to a declared dashboard.queries entry, a database.json canonical mapping, or a server, GitHub or CLI-queue runtime source (collection-health, webhook-status, github-quota-usage, cli-commands, cli-command-statuses, configuration-policy). simulation-days is a documented built-in synthetic input (DLS-SEM-016a). None of them can be replaced by a pure JSON query over canonical entities.

Skill drift fixed.

  • Aware-element sets: the skill said EMPTY_AWARE_ELEMENTS covers "empty or unavailable" states. ui-elements.js has a separate UNAVAILABLE_AWARE_ELEMENTS, which presenter.js consults when it renders a view state (around line 2802). It also has ASYNC_SOURCE_ELEMENTS and PAGE_BOUND_ELEMENTS, which the skill did not mention.
  • untracked: reactive.js exports untracked, which presenter.js, source-store.js, notification-service.js and configuration-view.js use. The reactive primitives list omitted it.
  • Style split: styles-primer.js exports eagerPrimerStyles and deferredFeatureStyles alongside primerStyles, and scripts/build.mjs ships them as the inlined stylesheet and styles-deferred.css. The skill described only the single composed cascade, so a new style module could be added to primerStyles and be missing from built sites.

Evidence. Read reactive.js, components/ui-elements.js, presenter.js, styles-primer.js, styles.js and scripts/build.mjs.

Validation. Documentation-only change, so no code validation is needed. No workflow .md or campaign manifest changed. No secrets in the diff.

Control Plane

[!WARNING]
Protected Files — Push Permission Denied

This 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 workflows permission 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 '46144064955' -n agent -D '/tmp/agent-46144064955'

# Resolve the bundle source ref, fetch it into a temporary ref, then create the local branch
bundle_path='/tmp/agent-46144064955/aw-githubnext-gh-cao-self-care-reactive-ui-skill-sync.bundle'
temp_ref='refs/bundles/create-pr-self-care-reactive-ui-skill-sync-87f52a611bf20f7f-c9e80680'
target_ref='refs/heads/self-care/reactive-ui-skill-sync-87f52a611bf20f7f'
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-87f52a611bf20f7f'
# 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-87f52a611bf20f7f
gh pr create --title '[self-care:reactive-ui] Sync reactive-ui skill with element capability sets, untracked, and style split' --base main --head self-care/reactive-ui-skill-sync-87f52a611bf20f7f --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, 12:28 PM UTC

Generated by SelfCare / Reactive UI Expert · copilot · routed: sonnet55 high · ~84 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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của githubnext/gh-cao

Tất cả issue của githubnext/gh-cao

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.