Skip to content

Reuse requirements across products of one line

A product line is one My Architect project that ships several products of one kind from shared features: games on one engine, sites of one builder, apps on one platform. Each requirement lives in one place, and every product gets it from there. The next product sees what it can take as is, what needs a check and what it has to build before any task is planned.

The expected outcome is a line with its products, where each product’s requirement set, plan and release record are computed by the server, the same in the app and through MCP.

A requirement’s level follows from where it lives, never from a label:

Where the requirement lives Level Which products get it
A feature in a core area of the line Core Every product
An ordinary feature Feature Products that include the feature
A condition on features (appliesWhen) Condition Products whose choice of features meets the condition
One product (productId) Product Only that product

Rules a company applies everywhere stay in the core with a company-wide marker. A requirement is never copied: two products share the same ID and content, or the snapshot of the feature revision a product pinned. A product stays on its pinned revision until it is updated explicitly, and sees when a newer revision exists.

In the addressed context (get_scoped_context), each requirement of a line lists first where it lives: core, a feature with its latest revision, a condition or one product.

Line attributes of a requirement live in fields.line and are written with the ordinary add_requirement and update_requirement: appliesWhen, productId, disciplines, verification, contractRef, specRef and companyWide.

Whether a project is a product line and what its unit is called (“Game”, “Site”) are the owner’s decisions. The agent asks them, along with which products exist and which areas are shared by every product, and builds the rest from sources: the discipline vocabulary, features with their variations and implementations, and each product’s selection.

get_product_line({ pid }) // line: null means the project is not a line
replace_product_line({ pid, expectedRevision, line })

Products are never deleted; set their lifecycle to retired.

A person can do the same in the app without an agent: tick Product line when creating a project, or use the form on the Product line page of an existing project; then add products, choose their features and variations, and manage a feature’s variations on its page. Features themselves come from the product catalog, which the agent fills. Every reference must resolve: core areas and features in the catalog, variations and implementations declared for the feature, and pinned revisions belonging to that feature.

get_product_composition({ pid, productId }) // a stored product
get_product_composition({ pid, selection }) // a planned product

The answer lists every applicable requirement with its level, the reason it applies, disciplines, verification method, contract and status. The status follows from the feature revision the product pins and the implementation it takes:

  • Take as is: verified on the same revision and implementation.
  • Confirm: the implementation exists, but this pair has not been checked.
  • Build: no implementation, a failed or partial check, or a decision that belongs to the product.

Critical open items, meaning must-priority requirements and constraints that cannot be taken as is, are listed first. A discipline filter gives each person their part, for example everything an artist needs for one product.

record_verification({ pid, operationId, requirementId, featureRevisionId, implementationId, productId, outcome, evidence, reason, actor })

Records are append-only. A check on a revision and an implementation counts for every product that takes the same pair. partial means the implementation covers part of the requirement and the rest stays with the product. A requirement marked done without a record shows as “Done, no evidence linked”.

Handoff contracts between two disciplines (for example animation from art to the client) list their owner, version, document, check method and what they must record. get_line_contracts shows each one as written, partly written or not written, along with the requirements that rely on it. Art and animation belong to features: a feature’s art requirements and its art specification revision travel with the feature into every product that includes it.

get_release_draft({ pid, productId }) // the verification plan
record_release({ pid, operationId, productId, label, actor, outcomes })
get_releases({ pid, productId })

A release record gives an outcome for every applicable requirement: passed with evidence, failed with what failed, or not applicable with the reason. The server refuses a record that misses an applicable requirement and lists what is missing. Later, “what was this release built against and what was checked” is answered by reading one record. A release record is not a deployment and not the owner’s acceptance; verify delivery separately.