{
  "name": "OpenAgentWorks",
  "short_name": "OpenAgentWorks",
  "version": "1.4.0",
  "edition": "build-pilot-candidate.1",
  "status": "proposed_custom_profile",
  "date": "2026-11-26",
  "clauses": [
    {
      "id": "OpenAgentWorks-001",
      "topic": "Scope",
      "level": "MUST",
      "text": "A producer declares OpenAgentWorks profile version and required features. OpenAgentWorks is a proposed custom delivery profile, not an accredited industry standard or a claim of existing factory support.",
      "verification": "manifest_and_claim_review"
    },
    {
      "id": "OpenAgentWorks-002",
      "topic": "Scope",
      "level": "MUST",
      "text": "Normative obligations reside in declared structured resources. Rendered documents, images and diagram labels alone cannot create an implementation obligation.",
      "verification": "projection_trace_review"
    },
    {
      "id": "OpenAgentWorks-003",
      "topic": "Scope",
      "level": "MUST",
      "text": "MUST is mandatory; SHOULD permits a documented justified exception; MAY is optional. Normative JSON clauses and schemas jointly define this edition; inconsistency blocks the affected capability.",
      "verification": "normative_review"
    },
    {
      "id": "OpenAgentWorks-004",
      "topic": "Transport",
      "level": "MUST",
      "text": "A transport ZIP contains exactly one bag directory. BagIt-Version is 1.0, tag encoding is UTF-8, payload is data/, and payload and tag manifests use SHA-256. No fetch.txt or remote payload completion is permitted.",
      "verification": "bag_integrity"
    },
    {
      "id": "OpenAgentWorks-005",
      "topic": "Transport",
      "level": "MUST",
      "text": "Every payload file is listed exactly once in manifest-sha256.txt and data/package.json resources. No missing file, duplicate resource, symlink, special file, unregistered file or mismatched checksum is accepted.",
      "verification": "manifest_completeness"
    },
    {
      "id": "OpenAgentWorks-006",
      "topic": "Transport",
      "level": "MUST",
      "text": "Paths are case-sensitive relative POSIX paths. Reject absolute paths, dot and dot-dot segments, backslashes, drive prefixes, NUL, control characters and case-fold/Unicode-normalization collisions. Archive members have one root and normalized names.",
      "verification": "safe_paths"
    },
    {
      "id": "OpenAgentWorks-007",
      "topic": "Transport",
      "level": "MUST",
      "text": "An importer enforces stated archive entry, expanded-byte, per-file and compression-ratio limits before extraction and uses an empty isolated destination. The reference limits are 10000 entries, 100 MiB expanded, 20 MiB per file and ratio 1000. The same byte/file limits apply when an unpacked bag is passed directly to validation.",
      "verification": "safe_unpack"
    },
    {
      "id": "OpenAgentWorks-008",
      "topic": "Transport",
      "level": "MUST",
      "text": "Hash exact stored bytes, not reserialized JSON. The package identity digest in receipts is SHA-256 of the exact manifest-sha256.txt bytes. Integrity detects byte changes; it does not authenticate a publisher.",
      "verification": "digest_identity"
    },
    {
      "id": "OpenAgentWorks-009",
      "topic": "Manifest",
      "level": "MUST",
      "text": "The entrypoint is data/package.json from bag root and entrypoint field is package.json from data root. Resource paths and schema_path resolve from data/. source_paths are data-relative. No online lookup occurs during import.",
      "verification": "manifest_schema"
    },
    {
      "id": "OpenAgentWorks-010",
      "topic": "Manifest",
      "level": "MUST",
      "text": "A resource declares path, media_type, role, validation mode, schema_path or null, required flag and source_paths. Schema and native-format support is negotiated before execution; unsupported required semantics cannot be silently discarded.",
      "verification": "resource_dispatch"
    },
    {
      "id": "OpenAgentWorks-011",
      "topic": "Manifest",
      "level": "MUST",
      "text": "canonical_catalogs exactly lists resources with canonical_catalog role. The manifest registers itself without a self-hash; the outer payload manifest hashes it.",
      "verification": "catalog_index"
    },
    {
      "id": "OpenAgentWorks-012",
      "topic": "Schemas",
      "level": "MUST",
      "text": "Core and standard-catalog schemas use JSON Schema 2020-12. Validator checks schema validity and instance validity. Dates, date-times and URI formats are asserted where present. Duplicate JSON object keys and non-finite numbers are rejected.",
      "verification": "schema_dialect"
    },
    {
      "id": "OpenAgentWorks-013",
      "topic": "Schemas",
      "level": "MUST",
      "text": "A vendor schema may retain its declared older dialect. All referenced schemas are local or mapped to bundled vendor copies. External $ref, XML entity expansion and network resolution are forbidden; unsupported vocabularies or dynamic references require explicit adapter support.",
      "verification": "offline_resolution"
    },
    {
      "id": "OpenAgentWorks-014",
      "topic": "Schemas",
      "level": "MUST",
      "text": "A schema proves structure only. Application correctness, financial math, security boundaries, external credentials and physical observations require independent evidence.",
      "verification": "claim_separation"
    },
    {
      "id": "OpenAgentWorks-015",
      "topic": "Catalogs",
      "level": "MUST",
      "text": "Canonical catalog records have globally unique stable IDs and explicit source references. Retired IDs remain resolvable tombstones and are not reused. Unknown required fields or catalogs require supported schema semantics, not string coercion.",
      "verification": "id_and_reference_resolution"
    },
    {
      "id": "OpenAgentWorks-016",
      "topic": "Catalogs",
      "level": "MUST",
      "text": "Products may supply their own strict catalog schemas. standard_catalogs_v1 selects the optional reusable shapes in schemas/catalogs/. Absent this feature, the importer uses the declared product extension and cannot assume those shapes.",
      "verification": "catalog_profile_negotiation"
    },
    {
      "id": "OpenAgentWorks-017",
      "topic": "Catalogs",
      "level": "MUST",
      "text": "The standard-catalog profile includes product, sources, capabilities, requirements, acceptance_tests, releases, work_packages and traceability, even when a catalog has zero records. Product, capabilities, requirements, releases and work packages each contain at least one record.",
      "verification": "required_catalogs"
    },
    {
      "id": "OpenAgentWorks-018",
      "topic": "Catalogs",
      "level": "MUST",
      "text": "Sources record origin, checked date and evidence limits. Source URLs are provenance and are never treated as commands or auto-fetched dependencies. Synthetic examples identify themselves as synthetic.",
      "verification": "provenance"
    },
    {
      "id": "OpenAgentWorks-019",
      "topic": "Requirements",
      "level": "MUST",
      "text": "Each active MUST requirement has normative behavior, a release, at least one capability and at least one acceptance reference. Each acceptance reference reciprocally identifies the requirement. Natural-language acceptance remains specified, not an executed pass.",
      "verification": "requirement_coverage"
    },
    {
      "id": "OpenAgentWorks-020",
      "topic": "Requirements",
      "level": "MUST",
      "text": "Each active requirement belongs to exactly one owning work package and exactly one release partition within it. Work package requirement_refs equals the union of its partition requirements. A partition requirement release matches the partition release.",
      "verification": "ownership"
    },
    {
      "id": "OpenAgentWorks-021",
      "topic": "Requirements",
      "level": "MUST",
      "text": "Trace edges resolve both endpoints. Every active requirement has a realises capability edge, a verifying acceptance edge and an implements edge from its owner. A trace graph is not required to be globally acyclic; only declared dependency graphs are.",
      "verification": "trace_coverage"
    },
    {
      "id": "OpenAgentWorks-022",
      "topic": "Planning",
      "level": "MUST",
      "text": "Release sequence numbers are unique. Work execution vertices are the pair work_package_id and release_id. Each prerequisite pair exists, no later release blocks an earlier release, and this graph is acyclic.",
      "verification": "release_partition_dag"
    },
    {
      "id": "OpenAgentWorks-023",
      "topic": "Planning",
      "level": "MUST",
      "text": "Delivery is tracked per capability and release. Software completion and production enablement are distinct. Missing external evidence blocks only affected capabilities and their dependents.",
      "verification": "capability_state"
    },
    {
      "id": "OpenAgentWorks-024",
      "topic": "Planning",
      "level": "SHOULD",
      "text": "A producer supplies measurable nonfunctional requirements, failure and recovery behavior, operational ownership, migration obligations and business metrics with units, data sources and zero-denominator rules.",
      "verification": "completeness_review"
    },
    {
      "id": "OpenAgentWorks-025",
      "topic": "Agentic",
      "level": "MUST",
      "text": "agentic_tools_v1 requires typed agent input/output, bounded tool permissions, explicit policies, evaluation criteria, release gates and escalation owners. Model output never gains database, network or spending authority by itself.",
      "verification": "agent_tool_ownership"
    },
    {
      "id": "OpenAgentWorks-026",
      "topic": "Agentic",
      "level": "MUST",
      "text": "Each tool declares input/output schemas, effect class, timeout, failure codes, idempotency behavior, verification and compensation. External writes require owner-authorized policy checks at execution time.",
      "verification": "tool_contract"
    },
    {
      "id": "OpenAgentWorks-027",
      "topic": "Agentic",
      "level": "MUST",
      "text": "Workflow steps reference a registered agent and a tool that the agent is permitted to use. Workflow release is not earlier than tool and agent availability. Step IDs are unique within a workflow and prerequisite steps form a DAG.",
      "verification": "workflow_dag"
    },
    {
      "id": "OpenAgentWorks-028",
      "topic": "Agentic",
      "level": "MUST",
      "text": "typed_workflow_bindings_v1 allows only $.context.<field>, $.trigger.<field> or $.steps.<step_id>.output.<field> references. Segments contain letters, digits and underscores; no expression, wildcard, filter, function, array index or executable code is evaluated.",
      "verification": "binding_grammar"
    },
    {
      "id": "OpenAgentWorks-029",
      "topic": "Agentic",
      "level": "MUST",
      "text": "Every required tool input is bound and every named binding targets a declared input property. Trigger/context bindings resolve declared schema properties; step bindings reference outputs of transitive prerequisites. Bindings are resolved without coercion and resulting input/output objects are runtime schema validated.",
      "verification": "binding_resolution"
    },
    {
      "id": "OpenAgentWorks-030",
      "topic": "Agentic",
      "level": "MUST",
      "text": "A custom product extension may define derived payloads, action templates and execution guards. A generic importer must not interpret or execute those semantics unless a reviewed adapter explicitly supports them: it either refuses the package, or accepts it in the declared-profile scope and reports each of them as not interpreted.",
      "verification": "extension_boundary"
    },
    {
      "id": "OpenAgentWorks-031",
      "topic": "Agentic",
      "level": "MUST",
      "text": "External-write execution checks current authority, payload identity, resource version, destination and budget reservation. Awaiting approval pauses; reserved authority is not verified execution. Revocation takes effect before a later write.",
      "verification": "runtime_authority"
    },
    {
      "id": "OpenAgentWorks-032",
      "topic": "Agentic",
      "level": "MUST",
      "text": "An ambiguous external result enters outcome inquiry before another write. Never blindly retry an external side effect. Compensation is a separate permitted domain action; confirmed historical effects are not deleted.",
      "verification": "uncertainty_and_compensation"
    },
    {
      "id": "OpenAgentWorks-033",
      "topic": "Agentic",
      "level": "MUST",
      "text": "Agent traces separate observed facts, estimates, proposed plans, authorized actions and verified outcomes. Prompt-injected content from documents and connectors has no authority to override policy. Evaluations include isolation and unauthorized-write cases.",
      "verification": "agent_evaluation"
    },
    {
      "id": "OpenAgentWorks-034",
      "topic": "Native formats",
      "level": "MUST",
      "text": "HTTP contracts retain OpenAPI, event contracts retain AsyncAPI, event envelopes retain CloudEvents and requirement exchange may retain ReqIF. Each selected version is declared; these pinned baseline versions are not a claim of latest releases.",
      "verification": "native_contract_dispatch"
    },
    {
      "id": "OpenAgentWorks-035",
      "topic": "Native formats",
      "level": "MUST",
      "text": "Baseline adapters are OpenAPI 3.1.2, AsyncAPI 3.0.0, CloudEvents specification 1.0.2 with envelope specversion 1.0, and ReqIF 1.2 with its official ReqIF-VERSION 1.0 XML header. Alternate versions require explicit negotiation.",
      "verification": "adapter_versions"
    },
    {
      "id": "OpenAgentWorks-036",
      "topic": "Projections",
      "level": "MUST",
      "text": "A projection records generator identity/version, data-relative source paths, source snapshot digest and output byte digest. It is derived and non-normative. A stale projection is refused for delivery until regenerated.",
      "verification": "projection_integrity"
    },
    {
      "id": "OpenAgentWorks-037",
      "topic": "Projections",
      "level": "MUST",
      "text": "For projection_digest_v1, snapshot input is sorted source path names. For each path concatenate UTF-8 path, a single NUL byte and its lowercase hexadecimal SHA-256 encoded ASCII plus LF; SHA-256 the concatenation. Hash paths case-sensitively in Unicode codepoint order; use exact source bytes.",
      "verification": "snapshot_algorithm"
    },
    {
      "id": "OpenAgentWorks-038",
      "topic": "Projections",
      "level": "MUST",
      "text": "An existing custom extension may use its declared generator algorithm instead. Do not replace a declared legacy digest with projection_digest_v1 without regenerating and versioning the projection.",
      "verification": "snapshot_compatibility"
    },
    {
      "id": "OpenAgentWorks-039",
      "topic": "Projections",
      "level": "MUST",
      "text": "Binary assets and documents are declared native resources or base64 encoded records with length, media type, content digest, provenance/rights and text equivalents. Mandatory behavior must also exist in typed records.",
      "verification": "asset_integrity"
    },
    {
      "id": "OpenAgentWorks-040",
      "topic": "Factory",
      "level": "MUST",
      "text": "Import is a read-only protocol: verify archive and bag, validate manifest and schemas, negotiate features, resolve references, validate graphs, evaluate blocking dependencies, return a receipt. Import never executes packaged Python, installs dependencies or calls a provider.",
      "verification": "import_protocol"
    },
    {
      "id": "OpenAgentWorks-041",
      "topic": "Factory",
      "level": "MUST",
      "text": "The receipt binds package_id and exact payload-manifest digest. accepted means accepted for implementation planning, not software complete. software_complete requires implementation and test evidence; production_enabled additionally requires capability-specific live prerequisites.",
      "verification": "receipt_semantics"
    },
    {
      "id": "OpenAgentWorks-042",
      "topic": "Factory",
      "level": "MUST",
      "text": "An unreadable manifest produces invalid_package with package_id UNREADABLE. If the payload manifest is unavailable, receipt digest is 64 zeroes and a decision explicitly records that identity could not be established. Such a receipt can only be a refusal.",
      "verification": "refusal_identity"
    },
    {
      "id": "OpenAgentWorks-043",
      "topic": "Factory",
      "level": "MUST",
      "text": "Receipts live outside the sealed input bag. Test evidence URI existence, digest, scope and capability IDs must be checked before completion claims. Unknown capabilities or blocker IDs cannot appear silently. A top-level completion receipt covers every active capability/release requirement pair; each completed result covers exactly its scoped active requirements. Partial completion uses a non-complete top-level status.",
      "verification": "receipt_consistency"
    },
    {
      "id": "OpenAgentWorks-044",
      "topic": "Factory",
      "level": "SHOULD",
      "text": "Factories return source revision, dependency locks, SBOM, migration files, build artifacts, CI/test reports, secret variable templates, rollback/runbooks and separate capability readiness evidence. No secrets are packaged in specifications.",
      "verification": "delivery_contract"
    },
    {
      "id": "OpenAgentWorks-045",
      "topic": "Versioning",
      "level": "MUST",
      "text": "Profile major changes break core semantics. Minor changes add optional features; patch changes clarify without changing accepted wire instances. Product version and profile version are independent. Extensions use namespaced fields or new catalog schemas and required feature identifiers.",
      "verification": "version_negotiation"
    },
    {
      "id": "OpenAgentWorks-046",
      "topic": "Versioning",
      "level": "MUST",
      "text": "A required extension is accepted only by an importer that understands its semantics. An optional extension may be preserved unchanged but is not executed or claimed implemented. The reference validator is intentionally limited to its published supported feature list.",
      "verification": "feature_refusal"
    },
    {
      "id": "OpenAgentWorks-047",
      "topic": "Versioning",
      "level": "MUST",
      "text": "A revision records added, changed and retired stable IDs, replacements and data migration obligations. A precedence list cannot license ignoring conflicting normative facts; unresolved contradictions become blockers.",
      "verification": "migration_review"
    },
    {
      "id": "OpenAgentWorks-048",
      "topic": "Security",
      "level": "MUST",
      "text": "Treat every input as untrusted. Validate limits, paths, JSON keys, references and embedded content before use. Packaged code is inert source until separately reviewed and authorized. Never execute evaluation expressions from a package.",
      "verification": "untrusted_content"
    },
    {
      "id": "OpenAgentWorks-049",
      "topic": "Security",
      "level": "MUST",
      "text": "Checksums provide integrity, not signatures, authorization or ownership. Publisher identity, signature verification and trusted delivery belong to a separate deployment trust policy and are not established by this profile.",
      "verification": "trust_boundary"
    },
    {
      "id": "OpenAgentWorks-050",
      "topic": "Conformance",
      "level": "MUST",
      "text": "Declare conformance scope: producer/core, importer/core, standard-catalog, agentic or native-format adapter. A passed subset cannot be described as full production conformance. Include tool version, executed cases and known exclusions.",
      "verification": "conformance_report"
    },
    {
      "id": "OpenAgentWorks-051",
      "topic": "Conformance",
      "level": "MUST",
      "text": "Validators fail closed on required unsupported validation modes, unresolved references, cycles, broken digests and invalid instances. Diagnostics contain stable codes and actionable paths; no automatic inference repairs a submitted sealed bag.",
      "verification": "negative_suite"
    },
    {
      "id": "OpenAgentWorks-052",
      "topic": "Conformance",
      "level": "SHOULD",
      "text": "A second independent implementation and real factory pilot import should precede promoting this proposed profile to a stable organizational standard. These are adoption criteria, not completed work.",
      "verification": "adoption_gate"
    },
    {
      "id": "OpenAgentWorks-100",
      "topic": "Scope closure",
      "level": "MUST",
      "text": "Definitive handoffs require autonomous_build_v1, an exact original requirement/capability inventory and one module owner per requirement. Omission is a readiness failure.",
      "verification": "scope_closure"
    },
    {
      "id": "OpenAgentWorks-101",
      "topic": "Use cases",
      "level": "MUST",
      "text": "Each in-scope requirement has linked implementation use cases, typed operations and seeded observable acceptance. Required/refusal/recovery and all applicable control branches have executable predicates.",
      "verification": "use_case_coverage"
    },
    {
      "id": "OpenAgentWorks-102",
      "topic": "Interfaces",
      "level": "MUST",
      "text": "UI fields, states, roles, command schemas, diagnostics, transactions, idempotency and concurrency are explicit; trusted authority is server-derived.",
      "verification": "typed_interface_coverage"
    },
    {
      "id": "OpenAgentWorks-103",
      "topic": "Data lifecycle",
      "level": "MUST",
      "text": "Data fields, keys, relationships, invariants, lifecycle fields and allowed guarded transitions are explicit; unlisted transitions are refused.",
      "verification": "data_lifecycle_closure"
    },
    {
      "id": "OpenAgentWorks-104",
      "topic": "Decisions",
      "level": "MUST",
      "text": "Build decisions are resolved or explicitly delegated with constraints and verification. Unresolved build decisions fail readiness. Live prerequisites do not silently become implemented facts.",
      "verification": "decision_closure"
    },
    {
      "id": "OpenAgentWorks-105",
      "topic": "Execution",
      "level": "MUST",
      "text": "Reproducible environment, dependency pinning, local simulators, commands, release partitions and required artifacts are prescribed. A missing command is a failed build obligation.",
      "verification": "execution_contract"
    },
    {
      "id": "OpenAgentWorks-106",
      "topic": "Completion evidence",
      "level": "MUST",
      "text": "Software completion requires complete unskipped requirement/scenario evidence, successful commands, artifact hashes, matching contract digest and source revision. Readiness and live enablement are distinct claims.",
      "verification": "evidence_bound_completion"
    },
    {
      "id": "OpenAgentWorks-107",
      "topic": "Evidence trust",
      "level": "MUST",
      "text": "Trusted CI attests actual test execution; a receipt or hashed observation cannot authenticate itself. Test adapters cannot manufacture actuals from expected values.",
      "verification": "evidence_provenance"
    },
    {
      "id": "OpenAgentWorks-120",
      "topic": "Agent components",
      "level": "MUST",
      "text": "Build and runtime planes declare versioned skills, scoped context, typed tools and model/orchestrator bindings. A skill grants no authority; deterministic policy is enforced outside the model.",
      "verification": "build_pilot_and_agent_contract_checks"
    },
    {
      "id": "OpenAgentWorks-121",
      "topic": "Context and memory",
      "level": "MUST",
      "text": "Package instructions, verified state, untrusted evidence and derived memory remain distinct; memory and retrieved instructions cannot promote themselves into policy.",
      "verification": "build_pilot_and_agent_contract_checks"
    },
    {
      "id": "OpenAgentWorks-122",
      "topic": "Pilot quality",
      "level": "MUST",
      "text": "Applicability decisions link actual cases and approved decisions. Unlinked blanket exemptions, missing domain observations and undeclared skill/tool access fail pilot preflight.",
      "verification": "build_pilot_and_agent_contract_checks"
    },
    {
      "id": "OpenAgentWorks-123",
      "topic": "Pilot feedback",
      "level": "MUST",
      "text": "Freeze input digests and log every interpretation or deviation. Major standard/product-spec defects require a versioned correction and new run.",
      "verification": "build_pilot_and_agent_contract_checks"
    },
    {
      "id": "OpenAgentWorks-124",
      "topic": "Pilot evidence",
      "level": "MUST",
      "text": "A pilot validation claim requires actual build evidence, exact runtime bindings and an independently reviewed report. The claim is scoped to the frozen package and builder combination.",
      "verification": "build_pilot_and_agent_contract_checks"
    },
    {
      "id": "OpenAgentWorks-125",
      "topic": "Scenario request binding",
      "level": "MUST",
      "text": "For autonomous_build_v1, each scenario request MUST validate against its resolved operation request_schema. Under scenario_request_bindings_v1, operation_id and request_expectation MUST be explicit; the target MUST be declared in the enclosing use case. An undeclared adapter selector MUST NOT bypass request admission.",
      "verification": "all_scenario_request_schema_checks"
    },
    {
      "id": "OpenAgentWorks-126",
      "topic": "Schema rejection and domain refusal",
      "level": "MUST",
      "text": "A domain refusal MUST have an admissible request. A schema_rejection scenario MUST have a request rejected by the targeted schema and MUST assert INVALID_INPUT and zero committed effects. Trusted initial-state business facts MUST NOT be promoted into command inputs to obtain admission. Distinct actions need distinct authoritative operation or isolated verification bindings.",
      "verification": "schema_rejection_and_binding_mutation_tests"
    },
    {
      "id": "OpenAgentWorks-127",
      "topic": "Scenario response binding",
      "level": "MUST",
      "text": "Under scenario_coherence_v1, every HTTP or artifact response oracle MUST select a declared response variant using response_schema_pointer. All asserted fields MUST be admitted together with their types and values. A code-bearing variant MUST NOT excuse a success unless a code is explicitly asserted. Nested or non-equality response predicates require a complete response_example satisfying both the schema and the predicates.",
      "verification": "scenario_coherence_mutation_tests"
    },
    {
      "id": "OpenAgentWorks-128",
      "topic": "Scenario setup binding",
      "level": "MUST",
      "text": "Under scenario_coherence_v1, every scenario MUST declare setup_assertions. Authoritative setup predicates MUST reference the enclosing use case requirement or acceptance IDs and hold for initial_state. Conditional negative acceptance preconditions MUST NOT be copied into universal or contradictory positive setup. Unbound original_precondition fields are forbidden.",
      "verification": "scenario_coherence_mutation_tests"
    },
    {
      "id": "OpenAgentWorks-129",
      "topic": "Outcome and command coherence",
      "level": "MUST",
      "text": "Producers MUST bind conditional outcome prerequisites using operation outcome_constraints and explicit transitions using transition_contract. A declared transition result MUST equal the requested target and follow an allowed edge from seeded state. A state model does not command a transition. Validators check declared rules; arbitrary prose is not automatically proven.",
      "verification": "scenario_coherence_mutation_tests"
    }
  ]
}
