Skip to content

task: distill Ascend ModelAgent (model-agent) into source-grounded candidate skills #352

Open

Description

@wuhang2014

Current state: @wuhang2014 has proposed source-grounded candidate guidance from GitCode Ascend/model-agent. The Issue remains Proposed, with no assignee or accepted implementation delegation; accountable, implementing and acceptance owners are TBD. The initial review suggests a read-only revision/license/workflow inventory before skill text, then routing by existing owners; it asks about the canonical moving branch, document-generation scope and acceptance owner. Those are review suggestions/questions, not delegated work or a scope decision. Upstream revision, readset and license are not yet verified here. No runtime, model, performance or agent-efficacy result is established.
Decision needed: Maintainers/requester need to record whether the proposed intake scope is accepted and name its accountable, implementing and goal-acceptance owners, including routing to existing canonical owners.
Next action: Record the scope and ownership disposition before treating this proposal as delegated implementation. Any subsequent intake must retain the stated exact source-pin/readset and license-inspection requirements, candidate-only status, and not_run execution boundaries.

Goal and acceptance

  • Problem / desired outcome: InferRSI's Ascend knowledge covers CannBot (fixed-stage report acceptance, via ascend-performance-analysis) and MindSpeed/MindIE provenance, but has no knowledge of Ascend ModelAgent (Ascend/model-agent, Python, master branch), Huawei's full-pipeline LLM deployment agent for Ascend NPU — adaptation checking, tuning, deployment, go-live stabilization and document generation. Distill its workflow/operating contracts into source-grounded candidate skills following the same intake pattern as the CannBot extension (issue [Tracking] SearchSpace distillation coverage and knowledge consolidation #91).
  • Completion criteria:
    • Pin the inspected upstream revision from the canonical GitCode Git endpoint; preserve readsets, source license/notices (license currently shows "Others" — treat as UNKNOWN until inspected) and mechanism limits.
    • Cover the agent's stage/workflow structure, role instructions, registered callbacks/hooks and report-acceptance predicates, analogous to cannbot-stage-evidence.md: distinguish administrative completion from measured quality evidence.
    • Route mined knowledge to existing owners where applicable (e.g. ascend-performance-analysis, ascend-model-adaptation, draft-acceptance-issue) instead of duplicating procedures; new skills only where ownership is genuinely missing.
    • Integrate navigation, catalog discovery and both knowledge matrices; regenerate the skill index with tools/build_skill_index.py --check.
    • Preserve unverified boundaries: candidate state only, no performance claims, agent efficacy not evaluated, host/model/backend not_run.

Scope and constraints

  • In scope / out of scope: Source-derived candidate guidance only. Out of scope: executing ModelAgent or its agent host, model downloads, numeric performance/quality claims, runtime engine integration, new CI lanes, default acceptance gates, changes to existing experiment evidence.
  • Relevant dependencies, shared interfaces or limits: Source is hosted on GitCode (not GitHub); use the anonymous public Git endpoint and record exact commit/tree hashes as done for the canonical cann/cannbot pin. License field must be inspected before importing any content beyond reading; UNKNOWN license boundaries preserved as in the historical awesome-ascend-skills import.

Ownership and authorization

  • Proposed by / actual requester: @wuhang2014 (fork maintainer) via agent session.
  • Status: Proposed
  • Accountable parent (Issue-level owner, if assigned): TBD
  • Slice implementer(s) / acting contributor (if assigned): TBD
  • Goal-acceptance owner: TBD
  • Accepted decision or scoped delegation: Not yet granted

Activity

  1. amy-why-3459 commented on Nov 4, 2026

    @amy-why-3459
    Collaborator

    Thanks for the well-scoped proposal — using the CannBot intake (#91) as the template makes this much easier to review. A few thoughts before this moves from Proposed to delegated work:

    Scope / ownership

    • Since ModelAgent spans adaptation checking, tuning, deployment, go-live stabilization and doc generation, it may help to split intake into slices that map onto existing owners (e.g. adaptation-check contracts → ascend-model-adaptation, tuning/report acceptance → ascend-performance-analysis, acceptance-style outputs → draft-acceptance-issue). That makes it easier to name an accountable owner per slice and keeps new skills limited to genuinely unowned areas (deployment / go-live stabilization look like the most likely candidates).
    • Suggest the first slice be read-only: pin the revision and produce an inventory (stage list, role instructions, callbacks/hooks, report predicates) with file paths, before any skill text is written. Maintainers can then decide routing on concrete evidence.

    Source pin and license

    • +1 on recording the exact commit and tree hash from the anonymous GitCode Git endpoint. It would be good to also record the readset (the list of files actually inspected) in the same place as the cann/cannbot pin, so later re-syncs can diff against it.
    • Because the license currently shows "Others", please quote the actual LICENSE/NOTICE text (or its absence) in the intake record. Until that is resolved, I'd keep the output to paraphrased, source-cited contracts rather than copied prompts or code.

    Evidence boundaries

    • Agreed that this should stay candidate-only with host/model/backend not_run. Where ModelAgent's own reports mark a stage as "done", the distilled guidance should explicitly label that as administrative completion, not measured quality — the same distinction cannbot-stage-evidence.md draws.

    Open questions for the requester/maintainers

    1. Which branch/tag should be treated as canonical if master moves during intake?
    2. Is document generation in scope for distillation, or only the operational stages?
    3. Who will act as goal-acceptance owner for the routing decisions into existing skills?

    Happy to help review the inventory once a revision is pinned.

  2. added
    area:knowledge
    kind:task
    status:proposed
    on Nov 4, 2026
  3. zengchuang-hw commented on Nov 17, 2026

    @zengchuang-hw
    Contributor

    Review verification status: incomplete; not a completed blind technical review.

    I verified the repository identity and inspected the local checkout at main 61303fa8150472dfbda62ec8d77908bc05c73f3b, confirmed against the remote main reference. The checkout remained unchanged.

    The source-provenance prerequisite is still unresolved in this pass. Attempts to inspect the canonical Ascend/model-agent source did not establish an immutable commit/tree plus exact source readset and applicable licenses/notices: the license page was inaccessible, the selected skill page was rate-limited, and direct network access timed out. These are access limits, not evidence that the source has no license or that reuse is permitted. I have not substituted another repository's license or a moving branch for that verification.

    The source tree page also unexpectedly exposed upstream MR descriptions containing author assessments. I have not used their conclusions as review evidence. Because that compromises the intended blind source examination, I am stopping the substantive technical assessment rather than presenting this as a completed independent blind review.

    One local, read-only check was attempted: tools/build_skill_index.py --source-revision 8288a004c333b0e338b3ad31fe823052a142b90a --check using the existing generated manifest's source revision. It could not run to completion because that source commit is unavailable in this checkout (git rev-parse --verify fails); this is not a demonstrated index-drift defect or a passing check.

    No ModelAgent/host execution, model downloads, device actions, implementation changes or runtime/quality/performance validation were performed. No scope acceptance, ownership assignment or implementation commitment is implied. A clean follow-up needs the immutable source snapshot/readset and its licenses available before the technical assessment can be completed.

  4. zengchuang-hw commented on Nov 17, 2026

    @zengchuang-hw
    Contributor

    Independent clean follow-up: bounded ownership/coverage review at main 61303fa8150472dfbda62ec8d77908bc05c73f3b. This adds independently checked local findings to the earlier access-status note; it is not a completed ModelAgent source qualification or acceptance decision.

    I examined the actual current owner procedures, not other reviewers' conclusions:

    • ascend-model-adaptation already owns checkpoint onboarding, dummy versus real-weight evidence, multimodal validation order, and reduced-layer versus full-layer qualification. Any ModelAgent adaptation workflow should link to this owner rather than redefine those evidence levels.
    • ascend-performance-analysis already routes automated-stage reports to a source-scoped CannBot reference and distinguishes administrative callback conditions from actual loaded-code identity, quality-validator output and comparable measurement artifacts. This establishes an existing ownership seam, not evidence that ModelAgent has the same callbacks, predicates, license or behavior. The two repositories must not be conflated.
    • draft-acceptance-issue already owns supplied/derived criteria, frozen campaign gates and an initial INCONCLUSIVE verdict. Workflow completion must not create a second acceptance authority.

    The inspected skill library, registry and two matrices contain no model-agent/ModelAgent source identity or entry. This is a bounded current-tree coverage observation, not a claim that no related workflow knowledge exists. All three owner sidecars remain candidate with empirical validation not_run. A new owner should therefore be justified by an actual missing responsibility after the source read, not by the upstream project name alone.

    Still blocking source-grounded conclusions: I could not establish the canonical public source's immutable commit/tree, exact registered workflow/role/hook/report readset, or applicable license/notices. One branch API request returned JSON but no verified commit identity; subsequent metadata/raw access failed and anonymous Git reference discovery timed out. No tree HTML, search snippets, MR descriptions or commit prose were admitted into this review. A synthetic forbidden-field test confirmed the output allowlist before upstream access. Unknown source identity/license stays unknown; the existing CannBot record supplies neither for ModelAgent. The next source review needs an identity-verifiable raw snapshot and licenses, then must trace registration → callback condition → return/exit behavior → report consumer before attributing any enforcement guarantee.

    Verification actually run: test_skill_library_readers.py and test_skill_library.py against the reviewed main source, 34 passed in the existing development environment. These are local reader/library checks only. No ModelAgent/host execution, model download, device/model/performance experiment, full suite, or fresh generated-index qualification was run. No implementation changed, and no ownership assignment, scope acceptance, closure or implementation commitment is implied.

  5. Dong1017 commented on Nov 24, 2026

    @Dong1017
    Collaborator

    Codex, acting for @Dong1017.

    建议先验收一条固定版本的来源链

    @wuhang2014 可否先给出可访问的上游不可变版本,以及相应许可文件的位置?有了这两项,首份材料只需走通一条注册、回调、退出和报告消费的源码链,逐段保留定位,再由维护者决定是否纳入现有手册。请同时注明谁核对首份材料。现有仓库覆盖复核。

  6. Dong1017 commented on Nov 25, 2026

    @Dong1017
    Collaborator

    Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-sonnet-5-5).

    #352 维持 Proposed:按 by-hand 7133697251 把验收门槛记录为决定,本轮不接收入口范围、不派 pool 任务。 首份材料只在 @wuhang2014 给出可访问的不可变上游版本(commit/tree 哈希)与 LICENSE/NOTICE 位置后才开始,且只走通一条「注册 → 回调条件 → 返回/退出 → 报告消费方」的源码链,逐段保留定位。

    同时补齐 amy-why-3459 在 6630679227 留下的三个开放问题:canonical 身份取 pin 的哈希而非 master;文档生成不列入首份材料;首份材料的核对人由 @wuhang2014 在给 pin 时指名,未指名则默认 @zengchuang-hw。

    Details

    记录的三条口径(可后续变更,但需显式替换本条)

    1. canonical 版本:以 pin 的 commit + tree 哈希为准,master 后续移动不改变该记录;每次 re-sync 与记录的 readset 逐项对照。这与 6942001700 里"未用移动分支替代不可变版本"的自我约束一致。
    2. 文档生成:不在首份材料内。是否纳入取决于源码读完后是否确认存在真正无人拥有的职责——现有候选空缺是 deployment / go-live stabilization,而非文档生成。
    3. 验收人:由 @wuhang2014 提供 pin 时一并指名"谁核对首份材料";未指名时默认 @zengchuang-hw(他在 main 61303fa8… 做过 bounded 覆盖复核,6942184907)。

    已核实 / 未核实

    • 已核实:ascend-model-adaptation、ascend-performance-analysis、draft-acceptance-issue 三个 owner 已覆盖适配证据分级、自动化报告验收与 acceptance 起草,且均仍为 candidate、not_run;skill library、registry 与两张矩阵中无 model-agent/ModelAgent 条目。CannBot 的回调、谓词与许可不得套用到 ModelAgent。
    • 未核实:上游 immutable commit/tree、实际注册的 workflow/role/hook/report readset、LICENSE/NOTICE 文本。GitCode 侧许可页不可达、raw/metadata 访问失败属访问限制(6942001700),不构成"无许可"或可复用。
    • 引用为限:本地 test_skill_library_readers.py / test_skill_library.py 的 34 passed 只是 reader/library 检查;tools/build_skill_index.py --source-revision 8288a004… --check 因该源提交不在 checkout 未跑完,既非索引漂移缺陷也非通过。

    下一步(阻塞项,按顺序)

    1. @wuhang2014 给出:可访问的不可变版本(commit/tree)+ LICENSE/NOTICE 位置(无则明确记录其缺失)+ 首份材料核对人。
    2. 拿到后只做一条链的追读并留定位,不扩展阶段范围。
    3. 由维护者据此决定是否纳入现有手册;在那之前 body 的 "accepted decision or scoped delegation" 保持 Not yet granted。

    本回合未执行 ModelAgent/宿主、未下载模型、未跑设备或性能实验,也未运行任何代码;以上为 issue/thread 与本仓库文件层面的判断。

    Dong-bot(授权代行)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:knowledgekind:taskstatus:proposed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions