Repository navigation
docs(openspec): skill ownership, maintenance and handover contract - #1060
martindissingmadsen wants to merge 2 commits into
Conversation
642682c to
4851584
Compare
|
Thanks for the contribution. We agree that skill ownership transfer is useful for offboarding and changes in maintenance responsibilities. Before proceeding, we would like to refine the product rules: allowing a namespace OWNER to immediately transfer any member’s skill is broader than intended. Proposed workflow
Namespace ADMINs should not gain takeover permission. While the current skill owner remains an active member, the namespace OWNER should not be able to transfer their skill unilaterally. Shared maintenance is a separate capability. Request lifecycle and UX
Consistency and review findingsOur source review identified the following issues. These have not yet been reproduced with concurrent transactions against a real database:
Please coordinate locking and revalidation across ownership transfer, promotion approval, and relevant membership/state changes, and add real database concurrency tests. Acceptance must also prevent duplicate execution and stale requests from overwriting a newer ownership change. Preserve the skill ID, address, versions, statistics, historical author attribution, and existing review records. Transfer the source and its active global copy atomically. Authorization must reflect the new owner after commit without relying on asynchronous search reindexing. For the initial scope, please exclude bulk transfers, cross-namespace moves, multiple maintainers, and Token-based ownership transfer. Could you first update the workflow, permission matrix, and request-state design, then revise this PR against the agreed contract? 感谢提交。我们认可技能所有权交接的价值,但当前“空间 OWNER 可以立即转移任意成员技能”的范围偏宽,建议先明确以下产品规则。 建议流程
普通空间 ADMIN 不新增接管权限。原所有者仍是正常成员时,空间 OWNER 不能单方面转移其技能;共同维护应作为另一项能力处理。 申请与交互
一致性与审查问题源码 Review 发现以下问题,尚未通过真实数据库并发事务复现:
请协调交接、提升审批及相关成员/状态变更的锁定和复查机制,并补真实数据库并发测试;同时防止重复确认和过期申请覆盖新的所有权变更。 保留技能 ID、地址、版本、统计、历史作者署名和已有审核记录。源技能与活动全局副本应原子交接;提交后接口按新所有者授权,不能依赖异步搜索重建撤销旧权限。 首期不扩展批量交接、跨空间移动、多人 Maintainer 或 Token 交接权限。建议先更新流程、权限矩阵及申请状态设计,确认后再调整当前 PR。 |
|
Thanks for the review. We agree with all points. Below is the revised design. Once agreed, I'll rework the PR and record the contract in 1. Who can transfer
For all kinds:
2. RequestsNew table
3. AcceptanceLock order, following the existing user-then-namespace order:
Under these locks, check again: request state and expiry, current owner, the kind's condition, recipient eligibility, namespace status, slug conflicts, and pending reviews (section 4). Then update both skills, the request and the audit log in one transaction. Notifications and search reindex run after commit. Your three findings:
Permissions read 4. Pending reviewsA transfer can't be accepted while the skill or its copy has a pending version review, promotion, visibility change or avatar review. Reviewers decide first. Reason: some approvals check that the submitter still owns the skill (e.g. Unchanged: skill ID, address, versions, statistics, authorship, review history, labels and suite memberships. 5. Notifications and UI
6. API (session only)7. Audit
8. TestsReal-database concurrency tests (Testcontainers PostgreSQL), each pair run in both orders:
Plus unit, controller and E2E tests. Out of scopeBulk transfers, cross-namespace moves, multiple maintainers, token-based transfers. Questions
|
|
Thanks for the revised design and for offering to continue. We have clarified the same-slug case and would like to propose a small extension to the ownership model, rather than requiring renaming or introducing multi-maintainer collaboration. This comment consolidates and updates our earlier direction; please assess the scope before starting a rewrite. 1. Product outcomeA recipient may already own an unpublished PRIVATE Skill with the same namespace and slug as the incoming Skill, including when the incoming Skill is PUBLIC or NAMESPACE_ONLY. For this case, the incoming Skill becomes namespace-owned, and the recipient becomes its maintainer after acceptance. Their existing PRIVATE Skill remains user-owned and unchanged. Do not rename, overwrite, delete or automatically merge either Skill. Keep IDs, content, versions, attribution, statistics and visibility intact. Our proposed consistent default is to use that same namespace-owned + maintainer result for non-conflicting handovers too. Once namespace-owned, later handovers change the maintainer, not ownership back to a user; rejoining the namespace does not automatically reclaim a Skill. Please include this default explicitly in the revised contract for confirmation before implementation. Namespace ownership does not grant every member write or private-read access. Namespace OWNER/ADMIN can govern namespace-owned Skills; an accepted, active-member maintainer can maintain/delete them subject to existing lifecycle and dependency checks. Do not expand namespace ADMIN powers to unilaterally transfer an active member's user-owned Skill. 2. Minimal implementation proposalPrefer extending the existing model, repositories, authorization helpers, notification system and audit trail. No synthetic namespace user, generic polymorphic-principal framework, multi-maintainer table, new settings system or full page redesign is needed. One candidate representation in
These are suggested semantics, not mandated field names or DDL. Keep original authorship in existing contribution records; do not reinterpret the old owner as the historical author. Preserve the user-owned 3. Handover workflowKeep your request lifecycle, one pending request per Skill, server-side recipient search and in-app notification/management entry. Email remains optional. Browser sessions only for handover management; Tokens gain no transfer permission.
For voluntary/recovery completion, retain the conservative pending-review restriction for now and show the blocking item. In the OpenSpec, explicitly distinguish scans, version reviews, avatar/visibility reviews and promotions; settle scan-only behavior before coding. Recheck these conditions under the actual mutation locks, including creation of new pending work. This is different from member removal below, which must not wait for reviews to finish. 4. Member removal and historical data: linked work, not an implicit expansion of this PRAgreed behavior for new TEAM member removals is immediate withdrawal of internal access/maintenance rights and conversion of that user's user-owned Skills in the affected namespace to namespace ownership. Clear any maintainer assignment to the removed user; do not automatically assign a replacement. PRIVATE remains PRIVATE. Account deactivation alone does not change ownership. Scans continue; accepted reviews remain but must revalidate current conditions, without automatic approval or elevated worker authority. Stale personal handover requests are invalidated. Removal cannot be blocked by unfinished handover/review work. Handle source/global-copy and grant revocation consistently and audit the result. For historical rows, do not bulk reassign ownership just because the user is currently absent from membership. Keep the old ownership metadata and preserve data; use a separately authorized, audited remediation flow for ownership conversion. Current-member authorization must still govern access to internal files and previews, including historical records. Public versions remain accessible under normal public rules; independent administrator authority is evaluated separately. Data retention and access revocation are separate concerns. This access-rule change and historical-remediation UI should be linked work packages; you are not automatically expected to deliver all of them in this PR. 5. Delivery and validationSuggested split:
Existing rows keep user ownership on schema upgrade. Upgrade every backend/consumer to understand namespace-owned rows before enabling conversion; old binaries may assume non-null Acceptance should cover same-slug PRIVATE + shared-Skill handover, exact update/download/delete targeting, absent/non-accepting recipients, duplicate accept vs cancel/removal, promotion/source-copy races, private-content authorization, expiry, populated-database upgrade and legacy-client behavior. Record passed, failed and untested cases separately. Reuse existing audit records for ownership/maintainer before-and-after values, real operator, reason and request; system actions must not be attributed to the departed user. Would you be comfortable implementing the ownership/addressing prerequisite and handover workflow, or would you prefer a narrower part? We can share the adjacent work. Please update the existing OpenSpec and identify remaining contract questions first; keep the current PR as the discussion/delivery reference. This is a design proposal and scope invitation, not approval of the existing implementation. 中文说明: 谢谢你愿意继续开发。我们希望用最小的“个人所属/空间所属+单一维护负责人”扩展,解决交接冲突,不引入多人维护或整站改版。
这比原PR扩大了范围,因此先邀请你评估愿意承接“归属/定位前置+交接主体”还是其中一部分,其他工作可以分担。请先更新现有OpenSpec并列出待确认项,不必另开替代PR,也不要求你直接按整套讨论开始大改。本评论是方案与范围邀请,不代表当前代码已验收。 |
Overall approach: TEAM Skill ownership, maintenance handover and offboardingAdding the end-to-end direction to the implementation proposal above, so the related work has one coherent target. This is the overall design brief, not a requirement to deliver every work package in one PR or an assertion that the present code already implements it. Please carry the agreed contract into OpenSpec rather than treating multiple comments as competing specifications. A. Separate three concepts
Storage namespace and visibility remain unchanged by conversion. PRIVATE does not become team-readable, and namespace ownership does not make every member a maintainer. Namespace OWNER/ADMIN may govern namespace-owned Skills; an accepted maintainer may maintain/delete them subject to lifecycle and dependency checks. Former authors/maintainers have no permanent management privilege. B. Event-to-outcome matrix
Voluntary handover requires an eligible owner/maintainer to initiate and the recipient to accept. An active user's personally owned Skill cannot be taken over unilaterally by a namespace manager. Recovery is limited to the original user's loss of eligibility; a reason and recipient acceptance are required, with one explicit confirmation for namespace OWNER self-recovery. Handovers of already namespace-owned work may be arranged through its authorized governance path. Use the existing proposed request lifecycle: pending, accepted, rejected, cancelled, expired and invalidated. Default expiry is 14 days and must be enforced during actions, not just by a scheduler. Before acceptance, ownership/assignment remains unchanged; repeat/stale actions must not override a newer result. Pending transfer alone does not grant access to private package files: disclose only the information authorized for the recipient, and show the access/maintenance consequences before acceptance. C. Same-slug records and compatibilityDifferent users can already leave different same-slug records. Conversion must retain each actual Skill ID and its separate content, history, visibility, statistics and dependencies. Never resolve this through forced renaming, overwrite, automatic merging or dropping an old record. Keep user-owned uniqueness per namespace/slug/user. Namespace-owned same-slug records can coexist; distinguish them by record identity and appropriate provenance in management UI. Refactor every affected selection and mutation path to address the intended record, including subsequent uploads, reviews, download/file routes and deletion. An ID is an identifier, never authorization. Unambiguous legacy behavior should remain usable. Where a legacy slug-only request cannot identify a unique intended target, fail safely and provide an explicit selection/update path rather than choosing the first candidate. Test Web/API/CLI end to end. Do not expand the existing allowed published/install coordinates just because maintenance or ownership changed. D. In-flight work and concurrencySeparate handover completion from removal:
E. Historical data and rolloutAccess revocation and ownership reassignment are different changes.
F. Minimal UI and auditReuse existing pages/components:
Reuse existing audit infrastructure for ownership changes, maintainer assignments, removal-triggered conversion and manual historical remediation. Record actual operator/trigger, request, reason, before/after state, time and outcome. A system conversion triggered by an administrator must not be attributed to the departed user. Skill history and namespace operation history should reference the same underlying event. A whole new platform-wide audit product is unnecessary. G. Scope and deliveryInitial scope is ordinary TEAM Skills, including PRIVATE/team-visible/public content and their linked active global copies. Exclude direct GLOBAL handover rules, personal-namespace lifecycle, system/GitHub-managed Skills, bulk/cross-namespace transfer, platform EMERGENCY takeover and multi-maintainer collaboration. Suggested linked deliveries:
The formal acceptance matrix should include normal/same-slug transfers, PRIVATE previews, post-transfer update/download/delete, stale/duplicate requests, eligibility changes, source/copy races, pending-task creation races, old clients, historical access denial, conversion retries and populated-database upgrades. Report implementation and test evidence separately from proposed behavior. Please assess which deliveries you would like to own; we can share the remaining work. Start by consolidating the contract and flagging unresolved defaults in the existing OpenSpec. This broader brief updates earlier suggestions of a simple owner-field swap or a blanket historical ownership conversion; neither is the intended implementation. 中文总览这次补充的是整体方法,供拆分交付及完善 OpenSpec,不要求一个 PR 一次完成全部功能。
建议分为“访问规则修复”“归属与精确定位+#1060交接”“成员移除承接及历史治理”三个关联交付,请评估希望承接哪些部分。整体设计补齐后再进入实现,不把讨论建议冒充已实现或已验证结果。 |
4851584 to
c0ecf15
Compare
… skills Update clarify-skill-ownership-transfer with the direction agreed on PR iflytek#1060: user or namespace ownership with one maintainer, exact-record addressing for same-slug skills, the handover request lifecycle, and access and conversion when a member leaves. Split into three deliveries. Open questions with proposed defaults are listed in proposal.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Martin Dissing Madsen seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
|
Thanks. We think this is a really good approach, and we'd like to build all three parts. We're happy to split it into three PRs, in this order:
Fair warning on PR 2: exact-record addressing touches many places that read the owner or look up a skill by slug. It will be a lot of small changes to review. On testing: we will write the tests, including the real-database concurrency tests. We probably can't run the full validation ourselves, such as populated-database upgrades and legacy clients. We may need your help there. OpenSpec update: this PR now contains only the updated
One point to flag: REQ-DEP-01 (departed users lose internal access) replaces the read-only exception delivered in #975 (REQ-OWN-02). We understood that from your comment, but please confirm. Once the open questions are settled, we'll start on delivery 1. |
EnglishThanks for updating #1060 and offering to implement all three deliveries. We have reviewed the proposed defaults. Please update the OpenSpec with the decisions below before implementation. These are product-contract decisions, not claims that the implementation or compatibility has already been validated. The scope remains ordinary TEAM Skills, including auto-provisioned TEAM namespaces and linked active global copies. Direct GLOBAL handover, system/GitHub-managed Skills, bulk or cross-namespace transfer, platform emergency takeover and multiple maintainers remain outside this delivery. 1. Uniform handover result Every accepted handover should produce a namespace-owned Skill with the recipient as maintainer, regardless of a same-slug conflict. A subsequent handover of a namespace-owned Skill changes only its maintainer. Preserve the Skill ID, namespace, slug, visibility, versions, files, statistics, attribution and existing associations. The recipient's existing same-slug Skill remains unchanged. 2. Initiating handover of namespace-owned Skills
Keep handover browser-session-only initially; do not introduce Token-based handover permissions. 3. Scans and pending work must not create a handover deadlock Please revise the blanket completion-blocking rule in REQ-HO-05. Handover changes maintenance responsibility; it does not publish content or approve an outstanding application. Scans and pending reviews should not automatically prevent handover completion. Scans continue against their exact version/material, and pending applications remain recorded. Before a later decision or publication step, revalidate the current Skill, responsibility, permissions, submitted material and lifecycle conditions. Member removal must never wait for scans, reviews or handover requests. 4. Archived and hidden Skills An archived Skill may be handed over and must remain archived. A hidden Skill should not have to be unhidden merely to arrange maintenance responsibility. Permit the eligible handover/governance path while preserving existing hidden restrictions. Handover must not implicitly grant authority to unhide, restore, publish or promote content. Namespace governance must not acquire the platform's unhide authority through this workflow. Please explicitly define what the recipient may inspect and maintain while the Skill remains hidden. 5. Linked global copies The active global copy follows the source Skill's effective ownership and maintenance responsibility; it must not have an independently assignable maintainer.
Prefer expressing this through the existing source association rather than maintaining two independently mutable responsibility relationships. Existing owner-dependent code still needs a coherent migration. The copy retains its global namespace, address, provenance, publication state and governance restrictions. Public access and platform governance remain separately evaluated. Maintaining the copy must not expose PRIVATE source content or automatically unhide/publish either record. 6. Exact-record addressing and historical compatibility We agree with optional
For example, if B owns personal Skill 101 and later maintains same-slug namespace-owned Skill 202, existing personal-Skill calls must not silently switch to 202. Operations on 202 should explicitly select it. When the target genuinely cannot be determined, require selection and expose only candidates the caller may access. Do not turn every request without Historical compatibility is a release prerequisite:
Please first provide a call-site inventory distinguishing required changes from regression-only checks, plus a historical-data/legacy-client compatibility matrix. Complete addressing and compatibility validation before enabling dependent handover scenarios. Compatibility protects users who remain legitimately authorized. The explicitly agreed loss of internal access after member removal is an authorization change, not a requirement to preserve the former owner's read exception. 7. Upload target selection New exact-record management flows should distinguish creating a Skill from updating a particular existing Skill. If the intended update target is ambiguous, Web offers selection and CLI requires an explicit selector. Do not choose the first, most recently updated or otherwise guessed record. Retain personal-ownership uniqueness and existing shared publication-coordinate conflict rules. Separate same-slug records do not relax publication conflicts. 8. Reviews after responsibility changes Please revise the default that approval must always fail solely because the original submitter has left. For a legitimately accepted application whose submitted material has not been replaced, preserve the original submitter, exact material and review history. A responsibility change removes applicable automatic-approval eligibility and leaves the application for normal human review. An authorized reviewer may approve or reject after checking current authorization, Skill state, scan results, target visibility and all other applicable conditions. This is an explicit human governance decision, not a background worker substituting an administrator identity to supply missing submitter authority. Do not add new reviewer privileges or relax existing review restrictions. We do not want an additional mandatory "new maintainer confirms continuation" workflow initially. Version, avatar, visibility and promotion applications retain their respective approval requirements. Handover itself neither approves them nor expands visibility. Concurrent handover and approval must not permit decisions based on stale responsibility information. 9. Member removal and conversion Do not require an unbounded conversion transaction before member removal can succeed. Access revocation takes effect immediately. Conversion must be observable, idempotent and retryable; large removals may require bounded processing. Failed or incomplete conversion must not preserve or restore the departed user's internal access. Record the removal trigger and affected records so retries cannot convert unrelated, newly created or subsequently changed Skills. Preserve source/copy consistency and send notifications after committed state changes. Explicitly test rejoining while conversion is incomplete: rejoining must not bypass the pending conversion and silently restore the former maintenance rights. Any reassignment follows the agreed governance workflow. 10. Auto-provisioned personal namespaces Please remove the blanket exclusion based on "personal namespace." Auto-provisioned personal namespaces are currently TEAM namespaces; their creation method must not introduce another authorization or handover exception. Apply TEAM rules consistently. This does not add account deletion, namespace dissolution or a separate personal-asset lifecycle. Account disabling alone still does not automatically convert ownership. Existing restrictions on removing a namespace OWNER remain applicable. 11. Download-link boundary We accept configured expiry as the boundary for already issued presigned URLs. The default is 10 minutes, but deployments may override it. New protected requests apply current authorization. Already issued URLs may remain usable until expiry, and downloaded files cannot be recalled. Release notes and UI messages must state this accurately. Historical records and the previous read-only exception We explicitly confirm that REQ-DEP-01 replaces the departed-owner read-only exception delivered in #975. Departed ordinary members cannot retain internal access merely through current or historical ownership. Public published content remains public; independent administrative authority is evaluated separately. This does not authorize automatic historical ownership conversion. Preserve historical records during upgrade and remediate ownership through explicit, authorized and audited actions. Delivery and acceptance
Delivery 2 may be split into prerequisite and workflow PRs for safer review. Please update specs, scenarios and tasks, clearly mark superseded historical sections, and run the OpenSpec validator. Keep the schema upgrade non-destructive; all backends and consumers must support the new ownership model before conversion is enabled. Once namespace-owned records exist, do not presume that rolling back to older binaries is safe; define and validate the rollback boundary. Acceptance should cover populated-data upgrades, old clients, same-slug read/update/download/delete, source/copy consistency, responsibility changes during review, conversion retries and rejoining, and real-database concurrency. We can help with populated-data upgrade and legacy-client validation. Please also ensure DCO/CLA checks pass before merging the contract PR. 中文感谢更新 #1060,也确认你们愿意承担三个阶段的开发。我们已核对提出的默认方案,请在实现前按以下结论更新 OpenSpec。 以下是产品契约,不表示实现或兼容性已经验证通过。本期范围仍为普通 TEAM 技能,包括自动创建的 TEAM 空间及其关联活动全局副本;不扩展直接 GLOBAL 交接、系统/GitHub 托管技能、批量或跨空间交接、平台应急接管、多人维护。 1. 统一交接结果 无论有无同名冲突,交接完成后都统一为:技能属于命名空间,接收人成为维护负责人。已为空间所属的技能再次交接时,只改变负责人。 技能 ID、命名空间、slug、可见范围、版本、文件、统计、历史署名和既有关联保持不变。接收人原有同名技能不受影响。 2. 空间所属技能由谁发起交接
首期仅允许网页登录会话交接,不新增 Token 交接权限。 3. 扫描和在途任务不能造成交接死锁 请修改 REQ-HO-05 中一律阻止交接完成的规则。交接改变维护责任,不代表发布内容或批准已有申请,扫描和待审核任务不应一律阻止交接完成。 扫描继续针对原具体版本/材料执行,已有申请保留。之后审批或发布时,重新检查当前技能、责任关系、权限、材料和生命周期条件。成员移除不能等待扫描、审核或交接任务。 4. 归档和隐藏技能 归档技能可以交接,继续保持归档。隐藏技能不应被迫先解除隐藏才能安排维护责任;允许符合条件的交接/治理处理,但保留原有隐藏限制。 交接不隐含解除隐藏、恢复、发布或提升权限,空间治理不能通过交接取得平台的解除隐藏权限。请明确新负责人在隐藏状态下可以查看和维护哪些内容。 5. 关联全局副本 活动全局副本跟随源技能的有效归属和维护责任,不单独设置可以独立变化的负责人关系。
优先通过已有源技能关联表达这份关系,避免两边独立修改。既有依赖所有者字段的代码仍须一致迁移。 副本保留全局命名空间、地址、来源、发布状态和治理限制。公开读取与平台治理分别判断;管理副本不能获得 PRIVATE 源内容访问权,也不能顺带公开或解除任一记录的隐藏状态。 6. 精确定位与历史兼容 接受现有接口增加可选
例如 B 原有个人技能 101,之后负责同名空间技能 202,原有个人技能调用不能自动切到 202;操作 202 应明确选择。 真实歧义才要求选择,候选只包含有权访问的记录。不能把所有无 历史兼容是上线前置条件:不改名、不重建、不重新编号历史技能;保留版本/文件关联和既有可用链接;不要求所有旧客户端立即升级;核查既有 CLI 安装记录及后续更新/下载。若某种新交接不能安全兼容,应先限制新操作,不能让历史数据承担后果。 请先提供调用点清单,区分“必须修改”和“只需回归”,并提供历史数据/旧客户端兼容矩阵。验证通过前不开放依赖它的交接场景。 兼容承诺针对仍有合法权限的用户。成员移除后失去内部访问权,是已明确的授权调整,不意味着继续保留旧所有者只读例外。 7. 上传目标选择 新精确管理流程需区分创建技能与更新具体已有技能。目标有歧义时,Web 提供选择,CLI 要求明确指定,不能默认第一条、最近更新记录或其他猜测目标。 保留个人所属唯一性和共享发布坐标冲突规则。同名记录可独立存在,不等于放宽发布冲突。 8. 负责人变化后的审核 请修改“原提交者离开后,一律禁止批准”的默认规则。 原本合法受理且材料未被替换的申请,保留原提交人、具体材料和审核历史。责任关系变化后,取消相关自动批准资格,保留任务进入正常人工审核。 有权审核者检查当前授权、技能状态、扫描、目标可见范围及其他条件后决定通过或驳回。这是明确的人工治理决定,不能由后台任务冒用管理员身份补权限;不新增审核者权限,不放宽既有审核限制。 首期不额外增加“新负责人确认继续申请”的必选流程。 版本、头像、可见范围和提升仍执行各自审批条件。交接本身不代表批准或扩大可见范围,交接与审批并发时不能使用过期责任关系作决定。 9. 成员移除与转换 不要求无上限的大事务转换全部完成,成员移除才能成功。 访问权立即撤销。转换可观察、幂等、可重试,大量技能可分批处理。转换失败或未完成,不能保留或恢复被移除用户的内部访问权。 记录具体移除事件和受影响记录,避免重试误转换无关、新建或后来已变更的技能;保持源/副本一致,状态提交后再通知。 特别验证转换未完成时重新加入:不能绕过待执行转换而自动拿回原维护权,重新分配遵守已约定的治理流程。 10. 自动创建的个人命名空间 取消按“个人空间”一概排除的规则。当前自动创建空间也是 TEAM,创建方式不应产生另一套授权或交接例外,统一适用 TEAM 规则。 不扩展账号注销、空间解散或独立个人资产生命周期。账号停用本身仍不自动改变归属,现有空间 OWNER 移除限制继续适用。 11. 下载链接边界 接受以已签发预签名 URL 的配置有效期为边界,默认 10 分钟,部署可覆盖。 新受保护请求检查当前权限;已签发链接可能在剩余有效期内可用,已下载文件无法收回。发布说明和页面提示必须准确表达。 历史记录与旧版只读例外 明确确认 REQ-DEP-01 替代 #975 的离开空间后所有者只读例外。普通成员不能仅凭当前或历史所有者身份保留内部访问;公开内容仍公开,独立管理员权限另行判断。 这不授权自动转换历史归属。升级保留历史记录,历史归属治理通过明确授权、可审计的操作处理。 交付与验收
第二阶段可以拆成前置改造和交接流程两个 PR。请更新规范、场景和任务,明确标记被替代的历史条款,并运行 OpenSpec 校验。数据库升级保持非破坏性;全部后端和消费者支持新模型后再开启转换。产生空间所属记录后,不能假定可以直接回滚旧应用,必须明确并验证回滚边界。 验收覆盖存量数据升级、旧客户端、同名读取/更新/下载/删除、源副本一致性、审核期间负责人变化、转换重试及重新加入、真实数据库并发。我们可以协助存量升级和旧客户端验证。规范 PR 合并前,请确保 DCO/CLA 检查通过。 |
… skills Update clarify-skill-ownership-transfer with the direction agreed on PR iflytek#1060: user or namespace ownership with one maintainer, exact-record addressing for same-slug skills, the handover request lifecycle, and access and conversion when a member leaves. Split into three deliveries. Open questions with proposed defaults are listed in proposal.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Martin Dissing Madsen <179458371+martindissingmadsen@users.noreply.github.com>
…contract Record the 2026-11-17 maintainer rulings on the eleven open questions: uniform namespace-owned handover result, governance initiation rules, no blocking on scans or pending work, archived/hidden handover, source-derived global copy responsibility, exact addressing with legacy resolution preserved, create-vs-update upload selection, human review after responsibility changes, bounded retryable removal conversion, TEAM rules for auto-provisioned namespaces, and the presigned URL expiry boundary. Split delivery 2 into an addressing/compatibility prerequisite and the handover workflow, define the rollback boundary, mark superseded iflytek#974 sections, and split long requirements so strict validation passes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Martin Dissing Madsen <179458371+martindissingmadsen@users.noreply.github.com>
a919c1d to
a8991d8
Compare
|
Thanks for the detailed decisions. The OpenSpec is updated (a8991d8):
One case to confirm (REQ-ADDR-05): B has no personal Skill with slug Once that's confirmed, we'll start on delivery 1. |
|
English Yes, that is the intended outcome for REQ-ADDR-05. If B has no personal Skill with slug 中文 确认 REQ-ADDR-05 的这个场景。B 没有个人所属的同名技能,但负责维护空间所属技能 202,上传时未指定目标,应提示「请选择技能」,并将 202 列为可选更新目标。此次请求不更新 202,也不新建技能。用户明确选择更新目标后,继续走现有权限与发布校验。请把这个场景纳入第 2a 批兼容性矩阵。第 1 批 TEAM 访问规则修复可以开始。 |
Summary
Updates the OpenSpec change
clarify-skill-ownership-transferwith the ownership, maintenance and handover contract discussed in this PR. Documentation only; no code.Open questions with proposed defaults are at the end of
proposal.md.Delivery plan
Each delivery will be a separate PR from
main, after the contract is agreed.Validation
🤖 Generated with Claude Code