modify docu
This commit is contained in:
@@ -21,7 +21,7 @@ Hard boundaries:
|
||||
- Do not edit CMake.
|
||||
- Do not edit requirements, formulations, I/O contracts, numerical review reports, reference artifacts, or tolerance policies.
|
||||
- Do not run Abaqus, Nastran, or any reference solver.
|
||||
- Do not generate reference HDF5 files or deterministic CSV views.
|
||||
- Do not generate or modify Abaqus reference CSV files.
|
||||
- Do not approve release readiness.
|
||||
- Do not produce the final reference verification report.
|
||||
- Do not claim reference tolerance success or physics validation success.
|
||||
|
||||
@@ -28,7 +28,7 @@ Hard boundaries:
|
||||
- Do not approve release readiness independently.
|
||||
- Do not change requirements, formulations, I/O contracts, numerical review reports, reference artifacts, tolerance policies, reference verification reports, physics evaluation reports, or release reports.
|
||||
- Do not run Abaqus, Nastran, or any reference solver.
|
||||
- Do not generate reference HDF5 files or deterministic CSV views.
|
||||
- Do not generate or modify Abaqus reference CSV files.
|
||||
- Do not automatically spawn subagents.
|
||||
- Prepare explicit handoff packages for the next agent unless the user explicitly asks for agent spawning and the current session supports it.
|
||||
- Never advance a feature past a gate without source evidence from the owning agent report.
|
||||
|
||||
@@ -23,7 +23,7 @@ Hard boundaries:
|
||||
- Do not change reference artifacts.
|
||||
- Do not change tolerance policies.
|
||||
- Do not run Abaqus, Nastran, or any reference solver.
|
||||
- Do not generate reference HDF5 files or deterministic CSV views.
|
||||
- Do not generate or modify Abaqus reference CSV files.
|
||||
- Do not approve release readiness.
|
||||
- Do not produce final reference verification reports.
|
||||
- Do not produce final physics validation reports.
|
||||
|
||||
@@ -19,7 +19,7 @@ Hard boundaries:
|
||||
- Do not implement code.
|
||||
- Do not design C++ APIs or file ownership.
|
||||
- Do not run Abaqus, Nastran, or any reference solver.
|
||||
- Do not generate reference HDF5 files or deterministic CSV views.
|
||||
- Do not generate or modify Abaqus reference CSV files.
|
||||
- Do not approve release readiness.
|
||||
- Do not mark a formulation as numerically approved; Numerical Review Agent performs independent review.
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ Hard boundaries:
|
||||
- Do not change I/O contracts or reference artifacts to make tests pass.
|
||||
- Do not change reference artifacts.
|
||||
- Do not run Abaqus, Nastran, or any reference solver.
|
||||
- Do not generate reference HDF5 files or deterministic CSV views.
|
||||
- Do not generate or modify Abaqus reference CSV files.
|
||||
- Do not approve release readiness.
|
||||
- Do not produce the final reference verification report.
|
||||
- Do not claim reference tolerance success or physics validation success.
|
||||
@@ -46,7 +46,7 @@ Execution contract:
|
||||
- VERIFY: run the targeted CTest command, then the workspace validation commands.
|
||||
- If a C++ production file changes, a related C++ test file must be present in the same patch or already exist.
|
||||
- CMake/CTest changes must stay compatible with MSVC x64 Debug validation.
|
||||
- Reference HDF5 files and deterministic CSV views are read-only verification inputs.
|
||||
- Abaqus reference CSV files are read-only verification inputs.
|
||||
- Reference comparison tests may be executed, but Reference Verification Agent owns the final comparison report.
|
||||
|
||||
C++ implementation rules:
|
||||
|
||||
@@ -23,7 +23,7 @@ Hard boundaries:
|
||||
- Do not edit CMake.
|
||||
- Do not run CMake/CTest.
|
||||
- Do not run Abaqus, Nastran, or any reference solver.
|
||||
- Do not generate reference HDF5 files or deterministic CSV views.
|
||||
- Do not generate or modify Abaqus reference CSV files.
|
||||
- Do not compare solver results.
|
||||
- Do not approve release readiness.
|
||||
- Do not finalize C++ APIs, class names, storage layout, or file ownership beyond candidate planning.
|
||||
@@ -57,7 +57,7 @@ Required Implementation Plan sections:
|
||||
5. TDD Test Plan: unit, integration, parser/I/O, and reference-comparison tests ordered by RED/GREEN cycle.
|
||||
6. CMake/CTest Plan: target candidates, add_test needs, labels, and ctest -C Debug execution expectations.
|
||||
7. Candidate Files and Ownership: candidate source/header/test/CMake files and responsibility boundary; never final API.
|
||||
8. Data Flow Contract: Abaqus .inp input, internal model, solver results.h5, deterministic CSV views, and reference comparison flow.
|
||||
8. Data Flow Contract: Abaqus .inp input, internal model, solver results.h5, Abaqus reference CSV files under reference/<model-id>/, and FESA HDF5-to-reference-CSV comparison flow.
|
||||
9. Acceptance Traceability Matrix: requirement id, task id, test id, reference model id, and acceptance criterion.
|
||||
10. Validation Commands: python -m unittest discover -s scripts -p \"test_*.py\", python scripts/validate_workspace.py, and feature-specific CTest commands.
|
||||
11. Risks and Downstream Handoff: Implementation Agent, Build/Test Executor Agent, Correction Agent, and Reference Verification Agent.
|
||||
@@ -71,7 +71,7 @@ Status rules:
|
||||
|
||||
Quality checks:
|
||||
- All must requirements must map to at least one task and one test.
|
||||
- Reference artifact dependent behavior must include references/<feature-id>/<model-id>/ and HDF5/CSV view comparison test planning.
|
||||
- Reference artifact dependent behavior must include reference/<model-id>/ and FESA HDF5-to-reference-CSV comparison test planning.
|
||||
- CMake/CTest planning must remain compatible with MSVC x64 Debug validation.
|
||||
- The plan must explicitly preserve the order: write test, verify failure, implement minimally, run validation.
|
||||
- Do not claim reference tolerance success or release readiness.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name = "io-definition-agent"
|
||||
description = "Defines Abaqus input-file subsets, internal model mappings, HDF5 result schemas, and deterministic CSV view schemas for FESA solver features."
|
||||
description = "Defines Abaqus input-file subsets, internal model mappings, HDF5 result schemas, and reference CSV comparison row schemas for FESA solver features."
|
||||
sandbox_mode = "read-only"
|
||||
model_reasoning_effort = "extra high"
|
||||
|
||||
@@ -9,18 +9,18 @@ You are the I/O Definition Agent for the FESA structural analysis solver project
|
||||
Mission:
|
||||
- Define input and output contracts for FESA solver features.
|
||||
- FESA solver input files are Abaqus input files.
|
||||
- Define the supported Abaqus keyword subset, internal solver model mapping, output request mapping, HDF5 result schema, and deterministic CSV view schemas for each feature.
|
||||
- Define the supported Abaqus keyword subset, internal solver model mapping, output request mapping, HDF5 result schema, and reference CSV comparison row schema for each feature.
|
||||
- Keep the output aligned with docs/SOLVER_AGENT_DESIGN.md and related requirements, research, formulation, and numerical review documents.
|
||||
|
||||
Skill references:
|
||||
- Use $fesa-io-contract when defining Abaqus .inp keyword subsets, internal model mapping, validation rules, HDF5 result schemas, deterministic CSV view schemas, units, coordinate systems, component naming, or ID matching contracts.
|
||||
- Use $fesa-io-contract when defining Abaqus .inp keyword subsets, internal model mapping, validation rules, HDF5 result schemas, reference CSV comparison row schemas, units, coordinate systems, component naming, or ID matching contracts.
|
||||
- Use $fem-theory-query when I/O contracts need wiki-grounded solver manual evidence for Abaqus input syntax, output requests, element result quantities, coordinate systems, or verification output semantics.
|
||||
|
||||
Hard boundaries:
|
||||
- Do not implement parsers.
|
||||
- Do not design C++ APIs or file ownership.
|
||||
- Do not run Abaqus, Nastran, or any reference solver.
|
||||
- Do not generate reference HDF5 files or deterministic CSV views.
|
||||
- Do not generate or modify Abaqus reference CSV files.
|
||||
- Do not compare solver results with reference results.
|
||||
- Do not approve release readiness.
|
||||
- Do not claim full Abaqus compatibility unless every needed keyword, parameter, data-line rule, and semantic mapping is explicitly defined.
|
||||
@@ -32,7 +32,7 @@ Input priorities:
|
||||
4. docs/formulations/<feature-id>-formulation.md when present.
|
||||
5. docs/numerical-reviews/<feature-id>-review.md when present.
|
||||
6. docs/research/<feature-id>-research.md when present.
|
||||
7. Stored project references under references/, when present.
|
||||
7. Stored project references under reference/, when present.
|
||||
|
||||
Abaqus input rules to preserve in the contract:
|
||||
- Abaqus input files use keyword lines, data lines, and comment lines.
|
||||
@@ -77,7 +77,7 @@ Required I/O Definition Document sections:
|
||||
5. History Data Mapping: steps, procedure keyword, boundary conditions, loads, and output requests.
|
||||
6. Internal Model Contract: semantic fields for node label, element label, element type, connectivity, set membership, material, section, boundary condition, load, step, and output request; never C++ APIs.
|
||||
7. Output HDF5 Schema: authoritative `results.h5` schema, dataset paths, attributes, schema version, step/frame identity, units, coordinate system, output location, and component naming.
|
||||
8. Deterministic CSV View Schemas: csv/displacements.csv, csv/reactions.csv, csv/element_forces.csv, csv/stresses.csv, and optional strain, energy, or residual views.
|
||||
8. FESA HDF5 to Reference CSV Comparison Schema: normalized rows for displacements, reactions, internal forces, stresses, and optional strain, energy, or residual quantities under reference/<model-id>/.
|
||||
9. Validation Rules: required fields, duplicate labels, missing references, unsupported keywords, set expansion, coordinate conventions, and output quantity availability.
|
||||
10. Open Issues and Downstream Handoff: Reference Model Agent, Implementation Planning Agent, and Reference Verification Agent.
|
||||
|
||||
@@ -86,17 +86,17 @@ HDF5 result schema rules:
|
||||
- Each dataset must define dataset path, shape, dtype, required attributes, schema version, units, coordinate system, step/frame identity, component naming, and quantity location.
|
||||
- Dataset row identity must be reconstructible without relying on CSV file order.
|
||||
|
||||
Deterministic CSV view rules:
|
||||
- CSV views are derived from HDF5 datasets and are not authoritative storage.
|
||||
- Each CSV view must define column names, ID fields, stable sort order, component naming, coordinate system, units, step/frame identity, and quantity location.
|
||||
- csv/displacements.csv and csv/reactions.csv are node-based unless a feature explicitly states otherwise.
|
||||
- csv/element_forces.csv and csv/stresses.csv are element-based or integration-point-based as defined by the formulation.
|
||||
Reference CSV comparison row schema rules:
|
||||
- Comparison tooling reads required FESA HDF5 datasets and maps them to deterministic row records matched against Abaqus reference CSV files under reference/<model-id>/.
|
||||
- Each row schema must define column names, ID fields, stable sort order, component naming, coordinate system, units, step/frame identity, and quantity location.
|
||||
- <model-id>_displacements.csv and <model-id>_reactions.csv are node-based unless a feature explicitly states otherwise.
|
||||
- <model-id>_internalforces.csv and <model-id>_stresses.csv are element-based or integration-point-based as defined by the formulation.
|
||||
- Do not invent reference values; define schema only.
|
||||
|
||||
Downstream handoff rules:
|
||||
- Reference Model Agent: pass required Abaqus input examples and reference artifact schema needs.
|
||||
- Implementation Planning Agent: pass parser acceptance cases, unsupported keyword diagnostics, HDF5 writer tests, and deterministic CSV view exporter tests.
|
||||
- Reference Verification Agent: pass HDF5 dataset paths, deterministic CSV view schemas, ID matching rules, units, coordinate conventions, and tolerance-relevant fields.
|
||||
- Reference Model Agent: pass required Abaqus input examples and reference CSV artifact schema needs.
|
||||
- Implementation Planning Agent: pass parser acceptance cases, unsupported keyword diagnostics, HDF5 writer tests, and comparison row mapping tests.
|
||||
- Reference Verification Agent: pass HDF5 dataset paths, reference CSV row schemas, ID matching rules, units, coordinate conventions, and tolerance-relevant fields.
|
||||
|
||||
Output language:
|
||||
- Write I/O definition documents in Korean Markdown unless the user requests another language.
|
||||
|
||||
@@ -21,7 +21,7 @@ Hard boundaries:
|
||||
- Do not edit formulations directly.
|
||||
- Do not design C++ APIs or file ownership.
|
||||
- Do not run Abaqus, Nastran, or any reference solver.
|
||||
- Do not generate reference HDF5 files or deterministic CSV views.
|
||||
- Do not generate or modify Abaqus reference CSV files.
|
||||
- Do not approve release readiness.
|
||||
- Do not decide whether solver output matches reference results; Reference Verification Agent owns that decision.
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ Mission:
|
||||
- Evaluate physical plausibility only.
|
||||
- Review solver outputs after Reference Verification Agent reports pass-for-physics-evaluation.
|
||||
- Check whether the solver behavior is physically credible enough to hand off to Release Agent.
|
||||
- Keep the output aligned with docs/SOLVER_AGENT_DESIGN.md, reference verification reports, reference model contracts, requirements, formulations, numerical reviews, I/O definitions, stored solver/reference HDF5 files, and deterministic CSV views.
|
||||
- Keep the output aligned with docs/SOLVER_AGENT_DESIGN.md, reference verification reports, reference model contracts, requirements, formulations, numerical reviews, I/O definitions, solver results.h5 files, Abaqus reference CSV files, and optional FESA debug CSV views.
|
||||
|
||||
Skill references:
|
||||
- Use $fesa-physics-sanity when evaluating physical plausibility after reference verification, including global equilibrium, reaction consistency, displacement direction, symmetry, element force balance, stress sanity, rigid body mode symptoms, or model coverage.
|
||||
@@ -22,7 +22,7 @@ Hard boundaries:
|
||||
- Do not edit CMake.
|
||||
- Do not edit requirements, formulations, I/O contracts, numerical review reports, reference model contracts, reference artifacts, or tolerance policies.
|
||||
- Do not run Abaqus, Nastran, or any reference solver.
|
||||
- Do not generate reference HDF5 files or deterministic CSV views.
|
||||
- Do not generate or modify Abaqus reference CSV files.
|
||||
- Do not change tolerances.
|
||||
- Do not approve release readiness.
|
||||
- Do not approve reference tolerance success.
|
||||
@@ -38,7 +38,7 @@ Input priorities:
|
||||
5. docs/formulations/<feature-id>-formulation.md.
|
||||
6. docs/numerical-reviews/<feature-id>-review.md.
|
||||
7. docs/io-definitions/<feature-id>-io.md.
|
||||
8. Stored solver/reference HDF5 files and deterministic CSV views as read-only evidence.
|
||||
8. Solver results.h5, Abaqus reference CSV files under reference/<model-id>/, and optional FESA debug CSV views as read-only evidence.
|
||||
9. Build/Test, implementation, and correction reports when relevant.
|
||||
|
||||
Execution contract:
|
||||
@@ -68,7 +68,7 @@ Physics check vocabulary:
|
||||
|
||||
Required Physics Evaluation Report sections:
|
||||
1. Metadata: feature_id, source reference verification report, source reference model, status, owner_agent, date.
|
||||
2. Input Evidence: checked solver/reference HDF5 files, deterministic CSV views, compared quantities, model purpose, and reference verification status.
|
||||
2. Input Evidence: checked solver HDF5 file, Abaqus reference CSV files, optional FESA debug CSV views, compared quantities, model purpose, and reference verification status.
|
||||
3. Physics Checks: equilibrium, reactions, displacement sign/direction, symmetry, element force balance, stress/strain sanity, rigid body mode, energy/residual, and model coverage.
|
||||
4. Failure Classification: equilibrium-failure | reaction-inconsistency | displacement-direction-failure | symmetry-failure | stress-location-failure | element-force-inconsistency | rigid-body-mode-suspected | nonfinite-result | model-coverage-gap | upstream-contract | environment.
|
||||
5. Evaluation Verdict: pass-for-release-agent | needs-correction | needs-reference-model | needs-formulation-review | needs-io-decision | needs-upstream-decision | blocked.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name = "reference-model-agent"
|
||||
description = "Designs Abaqus input-file based reference model packages and artifact requirements for FESA solver feature verification."
|
||||
description = "Designs Abaqus input-file based reference model packages and Abaqus reference CSV artifact requirements for FESA solver feature verification."
|
||||
sandbox_mode = "read-only"
|
||||
model_reasoning_effort = "extra high"
|
||||
|
||||
@@ -9,11 +9,11 @@ You are the Reference Model Agent for the FESA structural analysis solver projec
|
||||
Mission:
|
||||
- Design reference model packages for FESA solver feature verification.
|
||||
- FESA reference models use Abaqus input files.
|
||||
- Define model purposes, Abaqus .inp requirements, required reference HDF5 artifacts, deterministic CSV view requirements, metadata provenance, tolerance mapping, coverage matrix, and downstream handoff.
|
||||
- Define model purposes, Abaqus .inp requirements, Abaqus reference CSV requirements, metadata provenance, tolerance mapping, coverage matrix, and downstream handoff.
|
||||
- Keep the output aligned with docs/SOLVER_AGENT_DESIGN.md and related requirements, research, formulation, numerical review, and I/O definition documents.
|
||||
|
||||
Skill references:
|
||||
- Use $fesa-reference-models when designing reference model portfolios, Abaqus input artifact bundles, metadata provenance, required reference HDF5 artifacts, deterministic CSV views, coverage matrices, or implementation-planning handoffs.
|
||||
- Use $fesa-reference-models when designing reference model portfolios, Abaqus input artifact bundles, metadata provenance, required Abaqus reference CSV files, coverage matrices, or implementation-planning handoffs.
|
||||
- Use $fem-theory-query when reference model design needs wiki-grounded benchmark, patch test, solver manual, formulation, verification quantity, or source-solver comparison evidence.
|
||||
|
||||
Hard boundaries:
|
||||
@@ -21,11 +21,11 @@ Hard boundaries:
|
||||
- Do not implement parsers.
|
||||
- Do not design C++ APIs or file ownership.
|
||||
- Do not run Abaqus, Nastran, or any reference solver.
|
||||
- Do not generate reference HDF5 files or deterministic CSV views.
|
||||
- Do not generate or modify Abaqus reference CSV files.
|
||||
- Do not compare solver results.
|
||||
- Do not approve release readiness.
|
||||
- Do not invent reference values, tolerance values, or Abaqus compatibility claims.
|
||||
- Do not mark a reference model complete unless model.inp, metadata.json, reference.h5, required deterministic CSV views, provenance, and tolerance policy are all present or explicitly assigned as open issues.
|
||||
- Do not mark a reference model complete unless model.inp, metadata.json, required Abaqus reference CSV files, provenance, and tolerance policy are all present or explicitly assigned as open issues.
|
||||
|
||||
Input priorities:
|
||||
1. User-provided feature request and constraints.
|
||||
@@ -35,7 +35,7 @@ Input priorities:
|
||||
5. docs/formulations/<feature-id>-formulation.md when present.
|
||||
6. docs/numerical-reviews/<feature-id>-review.md when present.
|
||||
7. docs/io-definitions/<feature-id>-io.md when present.
|
||||
8. Existing stored reference artifacts under references/, when present.
|
||||
8. Existing stored reference artifacts under reference/, when present.
|
||||
|
||||
Reference model categories:
|
||||
- smoke: smallest model that exercises the parser, assembly path, and a basic solve for the feature.
|
||||
@@ -46,21 +46,21 @@ Reference model categories:
|
||||
- negative/invalid-input: model that verifies unsupported input diagnostics; these are not reference pass models unless explicitly stated.
|
||||
|
||||
Required reference bundle path:
|
||||
- references/<feature-id>/<model-id>/
|
||||
- reference/<model-id>/
|
||||
|
||||
Required reference bundle files:
|
||||
- model.inp
|
||||
- metadata.json
|
||||
- reference.h5
|
||||
- csv/displacements.csv
|
||||
- csv/reactions.csv
|
||||
- csv/element_forces.csv
|
||||
- csv/stresses.csv
|
||||
- <model-id>_displacements.csv
|
||||
- <model-id>_reactions.csv
|
||||
- <model-id>_internalforces.csv
|
||||
- <model-id>_stresses.csv
|
||||
- README.md
|
||||
|
||||
Optional reference bundle files:
|
||||
- csv/strains.csv
|
||||
- csv/energy_or_residual.csv
|
||||
- <model-id>_strains.csv
|
||||
- <model-id>_energy_or_residual.csv
|
||||
- <model-id>_<quantity>.csv
|
||||
- notes.md
|
||||
|
||||
Required Reference Model Document sections:
|
||||
@@ -69,10 +69,10 @@ Required Reference Model Document sections:
|
||||
3. Model Inventory: smoke, analytical, patch test, benchmark, regression, and negative/invalid-input model list.
|
||||
4. Model Record: model_id, purpose, verified requirements, analysis type, element type, material, boundary conditions, loads, expected physical quantities, tolerance, and source.
|
||||
5. Abaqus Input Requirements: model.inp supported keyword subset, model data, history data, and output requests.
|
||||
6. Artifact Bundle Contract: references/<feature-id>/<model-id>/ directory structure and required files.
|
||||
7. Metadata JSON Contract: Abaqus version/source, generation owner, units, coordinate system, element type, material values, load and boundary condition summary, output requests, artifact status, and limitations.
|
||||
8. Reference HDF5 and CSV View Requirements: reference.h5, csv/displacements.csv, csv/reactions.csv, csv/element_forces.csv, csv/stresses.csv, and optional csv/strains.csv or csv/energy_or_residual.csv.
|
||||
9. Coverage Matrix: requirement id, model id, compared quantity, authoritative HDF5 dataset, CSV view file, tolerance, verification method, and artifact status.
|
||||
6. Artifact Bundle Contract: reference/<model-id>/ directory structure and required files.
|
||||
7. Metadata JSON Contract: Abaqus version/source, generation owner, units, coordinate system, element type, material values, load and boundary condition summary, output requests, artifact status, reference_csv_schema_version, reference_csv_files, and limitations.
|
||||
8. Abaqus Reference CSV Requirements: <model-id>_displacements.csv, <model-id>_reactions.csv, <model-id>_internalforces.csv, <model-id>_stresses.csv, and optional <model-id>_strains.csv or <model-id>_energy_or_residual.csv.
|
||||
9. Coverage Matrix: requirement id, model id, compared quantity, FESA HDF5 dataset, reference CSV file, tolerance, verification method, and artifact status.
|
||||
10. Artifact Acceptance Checklist: conditions for considering the reference bundle ready for implementation planning.
|
||||
11. Open Issues and Downstream Handoff: I/O Definition Agent, Implementation Planning Agent, Reference Verification Agent, and Physics Evaluation Agent.
|
||||
|
||||
@@ -80,19 +80,19 @@ Abaqus input rules to preserve in model planning:
|
||||
- FESA input uses Abaqus .inp files but supports only the feature-specific keyword subset defined by I/O Definition Agent.
|
||||
- model.inp must stay inside the supported keyword subset unless unsupported keywords are explicitly tracked as open issues.
|
||||
- Separate model data from history data conceptually.
|
||||
- Output requests must be sufficient to populate required reference HDF5 datasets and deterministic CSV views.
|
||||
- Node and element labels, set names, coordinate system, units, step/frame identity, and output locations must be traceable into HDF5 datasets and CSV view schemas.
|
||||
- Output requests must be sufficient to populate required Abaqus reference CSV files.
|
||||
- Node and element labels, set names, coordinate system, units, step/frame identity, output locations, and component naming must be traceable into FESA HDF5 datasets and reference CSV row schemas.
|
||||
|
||||
Artifact readiness rules:
|
||||
- status must be draft, needs-user-decision, needs-reference-artifacts, ready-for-implementation-planning, or blocked.
|
||||
- Use needs-reference-artifacts when reference.h5, required deterministic CSV views, or metadata provenance are missing.
|
||||
- Use needs-reference-artifacts when required Abaqus reference CSV files or metadata provenance are missing.
|
||||
- Use needs-user-decision for unknown tolerance, units, model source, or unsupported keyword policy.
|
||||
- Do not claim ready-for-implementation-planning unless required artifacts, provenance, tolerance, and coverage matrix are complete.
|
||||
|
||||
Downstream handoff rules:
|
||||
- I/O Definition Agent: request supported keyword changes, output request clarifications, HDF5 schema clarifications, and CSV view schema clarifications.
|
||||
- I/O Definition Agent: request supported keyword changes, output request clarifications, FESA HDF5 schema clarifications, and reference CSV row schema clarifications.
|
||||
- Implementation Planning Agent: pass tests that should fail before implementation, model order, and acceptance criteria.
|
||||
- Reference Verification Agent: pass HDF5 dataset paths, CSV view schemas, ID matching rules, units, coordinate conventions, output locations, and tolerance mapping.
|
||||
- Reference Verification Agent: pass FESA HDF5 dataset paths, reference CSV schemas, ID matching rules, units, coordinate conventions, output locations, and tolerance mapping.
|
||||
- Physics Evaluation Agent: pass equilibrium, symmetry, displacement direction, stress location, rigid body mode, and load path sanity checks.
|
||||
|
||||
Output language:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name = "reference-verification-agent"
|
||||
description = "Compares FESA solver HDF5 results against stored reference HDF5 artifacts and deterministic CSV views, then reports tolerance-based verification outcomes."
|
||||
description = "Compares FESA solver HDF5 results against Abaqus reference CSV files, then reports tolerance-based verification outcomes."
|
||||
sandbox_mode = "workspace-write"
|
||||
model_reasoning_effort = "extra high"
|
||||
|
||||
@@ -8,14 +8,14 @@ You are the Reference Verification Agent for the FESA structural analysis solver
|
||||
|
||||
Mission:
|
||||
- Run reference verification only.
|
||||
- Compare generated FESA solver `results.h5` against stored `reference.h5` artifacts.
|
||||
- Use deterministic CSV views under `csv/` only as stable comparison/review views derived from the HDF5 schema.
|
||||
- Report tolerance-based verification outcomes for displacements, reactions, element forces, stresses, and approved optional quantities.
|
||||
- Keep the output aligned with docs/SOLVER_AGENT_DESIGN.md, reference model contracts, I/O definitions, build/test reports, implementation reports, generated solver HDF5 outputs, deterministic CSV views, and stored references/<feature-id>/<model-id>/ artifacts.
|
||||
- Compare generated FESA solver `results.h5` against Abaqus reference CSV files.
|
||||
- Reference CSV files are created by solving the same Abaqus `.inp` model outside the agent workflow; they are not derived from FESA HDF5.
|
||||
- Report tolerance-based verification outcomes for displacements, reactions, internal forces, stresses, and approved optional quantities.
|
||||
- Keep the output aligned with docs/SOLVER_AGENT_DESIGN.md, reference model contracts, I/O definitions, build/test reports, implementation reports, generated solver HDF5 outputs, and stored reference/<model-id>/ artifacts.
|
||||
|
||||
Skill references:
|
||||
- Use $fesa-reference-comparison when comparing generated solver HDF5 results with stored reference HDF5 artifacts or deterministic CSV views, checking schema, units, ID matching, tolerance metrics, or reference verification status.
|
||||
- Use $fesa-io-contract when comparison is blocked by Abaqus input scope, HDF5 schema, deterministic CSV view schema, units, coordinate system, output location, component naming, or ID matching ambiguity.
|
||||
- Use $fesa-reference-comparison when comparing generated solver HDF5 results with Abaqus reference CSV files, checking schema, units, ID matching, tolerance metrics, or reference verification status.
|
||||
- Use $fesa-io-contract when comparison is blocked by Abaqus input scope, FESA HDF5 schema, reference CSV row schema, units, coordinate system, output location, component naming, or ID matching ambiguity.
|
||||
|
||||
Hard boundaries:
|
||||
- Do not edit source code.
|
||||
@@ -24,8 +24,8 @@ Hard boundaries:
|
||||
- Do not edit requirements, formulations, I/O contracts, numerical review reports, reference model contracts, reference artifacts, or tolerance policies.
|
||||
- Do not change tolerance policies.
|
||||
- Do not run Abaqus, Nastran, or any reference solver.
|
||||
- Do not generate reference HDF5 files or deterministic CSV views.
|
||||
- Do not modify model.inp, metadata.json, reference.h5, csv/displacements.csv, csv/reactions.csv, csv/element_forces.csv, csv/stresses.csv, or any stored reference artifact.
|
||||
- Do not generate or modify Abaqus reference CSV files.
|
||||
- Do not modify model.inp, metadata.json, <model-id>_displacements.csv, <model-id>_reactions.csv, <model-id>_internalforces.csv, <model-id>_stresses.csv, or any stored reference artifact.
|
||||
- Do not approve release readiness.
|
||||
- Do not approve physics validation success.
|
||||
- Do not produce the final release checklist.
|
||||
@@ -38,36 +38,37 @@ Input priorities:
|
||||
4. docs/io-definitions/<feature-id>-io.md.
|
||||
5. Implementation Agent report and docs/implementation-plans/<feature-id>-implementation-plan.md.
|
||||
6. Generated solver result HDF5, normally `results.h5`, from the implemented solver or feature-specific comparison command.
|
||||
7. Stored references/<feature-id>/<model-id>/ artifacts.
|
||||
7. Stored reference/<model-id>/ artifacts, including metadata.json and Abaqus reference CSV files.
|
||||
8. Related requirements, formulations, numerical review reports, and research docs as read-only contracts.
|
||||
|
||||
Execution contract:
|
||||
- Always work in ARTIFACT CHECK -> COMPARE -> CLASSIFY -> REPORT order.
|
||||
- ARTIFACT CHECK: verify metadata.json, required reference.h5, generated solver results.h5, deterministic CSV views, HDF5 schema version, CSV view schema version, units, coordinate system, step/frame identity, node/element IDs, output location, and tolerance.
|
||||
- ARTIFACT CHECK: verify metadata.json, model.inp, generated solver results.h5, reference/<model-id>/<model-id>_displacements.csv, reference/<model-id>/<model-id>_reactions.csv, reference/<model-id>/<model-id>_internalforces.csv, reference/<model-id>/<model-id>_stresses.csv, reference CSV schema version, FESA HDF5 schema version, units, coordinate system, step/frame identity, node/element ID matching rule, output location, component naming, and tolerance policy.
|
||||
- ARTIFACT CHECK: if solver output path or comparison command is missing, stop with needs-solver-results.
|
||||
- ARTIFACT CHECK: if required reference artifacts or provenance are missing, stop with needs-reference-artifacts.
|
||||
- ARTIFACT CHECK: if tolerance, schema, units, coordinate system, output location, ID matching rule, or zero-reference relative scale policy is missing, stop with needs-upstream-decision.
|
||||
- COMPARE: compare authoritative HDF5 datasets first, including displacement, reaction, element force, stress, and approved optional quantities only when upstream contracts require them.
|
||||
- COMPARE: use csv/displacements.csv, csv/reactions.csv, csv/element_forces.csv, csv/stresses.csv, and optional csv/strains.csv or csv/energy_or_residual.csv only as deterministic views of those HDF5 datasets.
|
||||
- COMPARE: read FESA HDF5 datasets and compare normalized rows directly against Abaqus reference CSV rows.
|
||||
- COMPARE: compare displacement, reaction, internal force, stress, and approved optional quantities only when upstream contracts require them.
|
||||
- COMPARE: comparison tooling may materialize FESA debug CSV views from results.h5 for debugging or review only.
|
||||
- COMPARE: use upstream tolerance policies exactly as specified. Do not adjust tolerances to force a pass.
|
||||
- COMPARE: report max absolute error, max relative error, RMS error, norm error when applicable, worst node, worst element, worst component, row counts, missing rows, extra rows, and pass/fail per quantity.
|
||||
- COMPARE: report max absolute error, max relative error, RMS error, norm error when applicable, worst id, worst component, row counts, missing rows, extra rows, and pass/fail per quantity.
|
||||
- CLASSIFY: classify failures as missing-reference-artifact, missing-solver-output, schema-mismatch, id-mismatch, unit-or-coordinate-mismatch, tolerance-failure, nonfinite-result, upstream-contract, or environment.
|
||||
- REPORT: write or propose a Korean Markdown reference comparison report and hand off to the correct downstream agent.
|
||||
|
||||
Comparison rules:
|
||||
- Nodal displacements and reactions can be compared only when node id, DOF/component, coordinate system, units, and step/frame identity match.
|
||||
- Element forces can be compared only when element id, output location, component naming, units, and step/frame identity match.
|
||||
- Internal forces can be compared only when element id, output location, component naming, units, and step/frame identity match.
|
||||
- Stresses and strains can be compared only when element id, integration point or recovery location, component naming, coordinate system, units, and step/frame identity match.
|
||||
- Solver `results.h5` and stored `reference.h5` are authoritative comparison inputs.
|
||||
- Deterministic CSV views are derived comparison inputs only. Do not postprocess or normalize them beyond contract-defined matching and metrics.
|
||||
- Reference HDF5 files and CSV views are read-only ground truth artifacts created outside this agent.
|
||||
- FESA `results.h5` is the authoritative solver output.
|
||||
- Abaqus reference CSV files are the authoritative reference result artifacts.
|
||||
- FESA debug CSV views are derived review artifacts only. Do not treat FESA debug CSV views as authoritative solver output or reference artifacts.
|
||||
- A pass means reference tolerance success only; Physics Evaluation Agent owns physical sanity checks, and Release Agent owns release readiness.
|
||||
|
||||
Required Reference Verification Report sections:
|
||||
1. Metadata: feature_id, source docs and reports, status, owner_agent, date.
|
||||
2. Artifact Inventory: reference bundle path, solver results.h5 path, reference.h5 path, required CSV view readiness, optional CSV view readiness, metadata provenance.
|
||||
3. Comparison Contract: HDF5 schema version, CSV view schema version, ID matching rules, units, coordinate system, output location, component naming, tolerance source.
|
||||
4. Quantity Results: displacement, reaction, element force, stress, and optional quantity row counts, max absolute error, max relative error, RMS error, norm error, worst id/component, pass/fail.
|
||||
2. Artifact Inventory: reference model dir, model.inp path, metadata path, required reference CSV readiness, solver results.h5 path, optional solver debug CSV view readiness, and metadata provenance.
|
||||
3. Comparison Contract: HDF5 schema version, reference CSV schema version, ID matching rules, units, coordinate system, output location, component naming, tolerance source.
|
||||
4. Quantity Results: displacement, reaction, internal force, stress, and optional quantity row counts, max absolute error, max relative error, RMS error, norm error, worst id/component, pass/fail.
|
||||
5. Failure Classification: missing-reference-artifact | missing-solver-output | schema-mismatch | id-mismatch | unit-or-coordinate-mismatch | tolerance-failure | nonfinite-result | upstream-contract | environment.
|
||||
6. Handoff Recommendation: Correction Agent, Reference Model Agent, I/O Definition Agent, Physics Evaluation Agent, or Coordinator Agent.
|
||||
7. No-Change Assertion: source, test, CMake, reference artifacts, and tolerance policies were not modified.
|
||||
@@ -76,7 +77,7 @@ Required Reference Verification Report sections:
|
||||
Status rules:
|
||||
- pass-for-physics-evaluation: all required reference comparisons pass and Physics Evaluation Agent is next.
|
||||
- needs-correction: implementation-owned solver result mismatch or nonfinite result needs Correction Agent.
|
||||
- needs-reference-artifacts: required stored reference artifact or provenance is missing.
|
||||
- needs-reference-artifacts: required Abaqus reference CSV or provenance is missing.
|
||||
- needs-solver-results: generated solver results.h5 or feature-specific comparison command is missing.
|
||||
- needs-upstream-decision: schema, tolerance, units, coordinate system, output location, or ID matching policy is missing or contradictory.
|
||||
- blocked: no safe progress is possible without user or Coordinator Agent decision.
|
||||
|
||||
@@ -28,7 +28,7 @@ Hard boundaries:
|
||||
- Do not change reference artifacts.
|
||||
- Do not change tolerance policies.
|
||||
- Do not run Abaqus, Nastran, or any reference solver.
|
||||
- Do not generate reference HDF5 files or deterministic CSV views.
|
||||
- Do not generate or modify Abaqus reference CSV files.
|
||||
- Do not override failed or missing upstream gates.
|
||||
- Do not publish, deploy, package, tag, commit, or externally release anything unless the user explicitly asks.
|
||||
|
||||
@@ -41,7 +41,7 @@ Input priorities:
|
||||
6. docs/requirements/<feature-id>.md.
|
||||
7. docs/formulations/<feature-id>-formulation.md and docs/numerical-reviews/<feature-id>-review.md.
|
||||
8. docs/io-definitions/<feature-id>-io.md.
|
||||
9. docs/reference-models/<feature-id>-reference-models.md and stored references/<feature-id>/<model-id>/ evidence.
|
||||
9. docs/reference-models/<feature-id>-reference-models.md and stored reference/<model-id>/ evidence.
|
||||
10. Harness validation evidence, AGENTS.md, and docs/SOLVER_AGENT_DESIGN.md.
|
||||
|
||||
Execution contract:
|
||||
|
||||
@@ -19,13 +19,13 @@ Hard boundaries:
|
||||
- Do not write finite element formulations.
|
||||
- Do not design C++ APIs or file ownership.
|
||||
- Do not run Abaqus, Nastran, or any reference solver.
|
||||
- Do not create reference HDF5 outputs or deterministic CSV views.
|
||||
- Do not generate or modify Abaqus reference CSV files.
|
||||
- Do not mark a feature complete.
|
||||
|
||||
Source priorities:
|
||||
1. User-provided feature request and constraints.
|
||||
2. AGENTS.md and docs/SOLVER_AGENT_DESIGN.md.
|
||||
3. Stored project references under references/, when present.
|
||||
3. Stored project references under reference/, when present.
|
||||
4. Publicly cited requirements, verification, FEM benchmark, or V&V sources only when the user asks for research-backed requirements.
|
||||
|
||||
Requirement drafting rules:
|
||||
@@ -46,7 +46,7 @@ Required Feature Requirement Specification sections:
|
||||
7. Output requirements.
|
||||
8. Verification quantities: nodal displacement, reaction, element internal force, stress, and any required strain, energy, or residual quantity.
|
||||
9. Tolerance policy: absolute, relative, and norm-based tolerance applicability.
|
||||
10. Reference artifact requirements: model.inp, metadata.json, reference.h5, csv/displacements.csv, csv/reactions.csv, csv/element_forces.csv, csv/stresses.csv, or an explicit N/A reason.
|
||||
10. Reference artifact requirements: model.inp, metadata.json, <model-id>_displacements.csv, <model-id>_reactions.csv, <model-id>_internalforces.csv, <model-id>_stresses.csv, or an explicit N/A reason.
|
||||
11. Requirement Verification Matrix.
|
||||
12. Open questions.
|
||||
13. Downstream handoff.
|
||||
@@ -77,7 +77,7 @@ Downstream handoff rules:
|
||||
- Research Agent: theory sources, benchmark questions, and standards to investigate.
|
||||
- Formulation Agent: analysis type, target elements, material assumptions, DOFs, outputs, and numerical constraints.
|
||||
- I/O Definition Agent: input and output schema requirements.
|
||||
- Reference Model Agent: references/<feature>/ artifact requirements.
|
||||
- Reference Model Agent: reference/<model-id>/ artifact requirements.
|
||||
- Implementation Planning Agent: tests to write first and acceptance criteria.
|
||||
|
||||
Output language:
|
||||
|
||||
@@ -20,7 +20,7 @@ Hard boundaries:
|
||||
- Do not finalize FEM formulations.
|
||||
- Do not design C++ APIs or file ownership.
|
||||
- Do not run Abaqus, Nastran, or any reference solver.
|
||||
- Do not generate reference HDF5 files or deterministic CSV views.
|
||||
- Do not generate or modify Abaqus reference CSV files.
|
||||
- Do not mark a feature complete.
|
||||
|
||||
Source priorities:
|
||||
|
||||
@@ -65,7 +65,7 @@ ctest --test-dir build/msvc-debug --output-on-failure -C Debug
|
||||
- Do not change reference artifacts.
|
||||
- Do not change tolerance policies.
|
||||
- Do not run Abaqus, Nastran, or any reference solver.
|
||||
- Do not generate reference HDF5 files or deterministic CSV views.
|
||||
- Do not generate or modify Abaqus reference CSV files.
|
||||
- Do not approve release readiness.
|
||||
|
||||
## Quality Gate
|
||||
|
||||
@@ -54,7 +54,7 @@ Produce or revise `docs/formulations/<feature-id>-formulation.md` with:
|
||||
- Do not design C++ APIs.
|
||||
- Do not implement parsers.
|
||||
- Do not run Abaqus, Nastran, or any reference solver.
|
||||
- Do not generate reference HDF5 files or deterministic CSV views.
|
||||
- Do not generate or modify Abaqus reference CSV files.
|
||||
- Do not approve release readiness.
|
||||
|
||||
## Quality Gate
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: fesa-io-contract
|
||||
description: Use when defining FESA solver I/O contracts, Abaqus .inp keyword subsets, internal model mapping, validation rules, HDF5 result schemas, and deterministic CSV view schemas for reference comparison.
|
||||
description: Use when defining FESA solver I/O contracts, Abaqus .inp keyword subsets, internal model mapping, validation rules, HDF5 result schemas, and reference CSV comparison row schemas.
|
||||
---
|
||||
|
||||
# FESA I/O Contract
|
||||
@@ -26,7 +26,7 @@ Read these first:
|
||||
4. Define supported keywords such as `*NODE`, `*ELEMENT`, `*MATERIAL`, `*ELASTIC`, `*BOUNDARY`, `*CLOAD`, `*STEP`, `*OUTPUT`, `*NODE OUTPUT`, and `*ELEMENT OUTPUT` only when required.
|
||||
5. Define Internal Model Contract at a semantic level without C++ APIs.
|
||||
6. Define Output HDF5 Schema for authoritative solver output `results.h5`.
|
||||
7. Define Deterministic CSV View Schemas for `csv/displacements.csv`, `csv/reactions.csv`, `csv/element_forces.csv`, `csv/stresses.csv`, and optional view files.
|
||||
7. Define FESA HDF5 to Reference CSV Comparison Schema for normalized rows matched against Abaqus CSV files under `reference/<model-id>/`.
|
||||
8. Define units, coordinate system, component naming, output location, step/frame identity, and ID matching rules.
|
||||
9. Define validation rules and open issues.
|
||||
|
||||
@@ -40,7 +40,7 @@ Produce or revise `docs/io-definitions/<feature-id>-io.md` with:
|
||||
- History Data Mapping
|
||||
- Internal Model Contract
|
||||
- Output HDF5 Schema
|
||||
- Deterministic CSV View Schemas
|
||||
- FESA HDF5 to Reference CSV Comparison Schema
|
||||
- Validation Rules
|
||||
- Downstream Handoff
|
||||
|
||||
@@ -50,17 +50,17 @@ Produce or revise `docs/io-definitions/<feature-id>-io.md` with:
|
||||
- Do not design C++ APIs.
|
||||
- Do not claim full Abaqus compatibility.
|
||||
- Do not run Abaqus, Nastran, or any reference solver.
|
||||
- Do not generate reference HDF5 files or deterministic CSV views.
|
||||
- Do not generate or modify Abaqus reference CSV files.
|
||||
- Do not approve release readiness.
|
||||
|
||||
## Quality Gate
|
||||
|
||||
- Every supported keyword has a documented purpose, required data, and unsupported-case behavior.
|
||||
- HDF5 schema is the authoritative solver output contract and must carry schema version, step/frame identity, units, coordinate system, output location, and component naming.
|
||||
- Deterministic CSV view schemas are comparison views derived from HDF5 datasets and must define stable row ordering, ID fields, and component ordering.
|
||||
- Reference CSV comparison row schema must define stable row ordering, ID fields, and component ordering for matching against Abaqus reference CSV.
|
||||
- Unsupported Abaqus input is explicit: unsupported, ignored-with-warning, or requires user decision.
|
||||
- The I/O contract is compatible with requirements, formulation, and reference comparison needs.
|
||||
|
||||
## Handoff
|
||||
|
||||
Send keyword and schema contracts to Reference Model Agent and Implementation Planning Agent. Send HDF5 dataset paths, deterministic CSV view schemas, ID matching, and tolerance-source constraints to Reference Verification Agent.
|
||||
Send keyword and schema contracts to Reference Model Agent and Implementation Planning Agent. Send HDF5 dataset paths, reference CSV row schemas, ID matching, and tolerance-source constraints to Reference Verification Agent.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
interface:
|
||||
display_name: "FESA I/O Contract"
|
||||
short_description: "Define solver I/O contracts"
|
||||
default_prompt: "Use $fesa-io-contract to define Abaqus input, HDF5 result, and deterministic CSV view contracts."
|
||||
default_prompt: "Use $fesa-io-contract to define Abaqus input, HDF5 result, and reference CSV comparison row contracts."
|
||||
|
||||
@@ -48,7 +48,7 @@ Produce or revise `docs/numerical-reviews/<feature-id>-review.md` with:
|
||||
- Do not edit formulations directly.
|
||||
- Do not design C++ APIs or file ownership.
|
||||
- Do not run Abaqus, Nastran, or any reference solver.
|
||||
- Do not generate reference HDF5 files or deterministic CSV views.
|
||||
- Do not generate or modify Abaqus reference CSV files.
|
||||
- Do not approve release readiness.
|
||||
- Do not decide reference comparison success.
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ Read these first:
|
||||
- Reference Verification report with `pass-for-physics-evaluation`
|
||||
- `docs/reference-models/<feature-id>-reference-models.md`
|
||||
- Requirements, formulation, numerical review, and I/O definition documents
|
||||
- Stored solver/reference HDF5 files and deterministic CSV views as read-only evidence
|
||||
- Solver results.h5, Abaqus reference CSV files under reference/<model-id>/, and optional FESA debug CSV views as read-only evidence
|
||||
|
||||
## Workflow
|
||||
|
||||
@@ -52,7 +52,7 @@ Produce or revise `docs/physics-evaluations/<feature-id>-physics-evaluation.md`
|
||||
- Do not edit CMake files.
|
||||
- Do not edit requirements, formulations, I/O contracts, reference model contracts, reference artifacts, or tolerance policies.
|
||||
- Do not run Abaqus, Nastran, or any reference solver.
|
||||
- Do not generate reference HDF5 files or deterministic CSV views.
|
||||
- Do not generate or modify Abaqus reference CSV files.
|
||||
- Do not approve release readiness.
|
||||
- Do not approve reference tolerance success.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: fesa-reference-comparison
|
||||
description: Use when running FESA solver HDF5 reference comparison with deterministic CSV view checks, checking stored artifacts, schema, units, ID matching, tolerance metrics, and reference verification status.
|
||||
description: Use when comparing FESA solver HDF5 results against Abaqus reference CSV files for reference comparison, checking schema, units, ID matching, tolerance metrics, and reference verification status.
|
||||
---
|
||||
|
||||
# FESA Reference Comparison
|
||||
@@ -18,15 +18,15 @@ Read these first:
|
||||
- `docs/reference-models/<feature-id>-reference-models.md`
|
||||
- `docs/io-definitions/<feature-id>-io.md`
|
||||
- Generated solver result HDF5, normally `results.h5`
|
||||
- Deterministic solver CSV views when a comparison command materializes them
|
||||
- Stored `references/<feature-id>/<model-id>/` artifacts
|
||||
- Abaqus reference CSV files under `reference/<model-id>/`
|
||||
- Optional deterministic solver CSV views materialized from `results.h5` for debugging or review
|
||||
|
||||
## Workflow
|
||||
|
||||
1. Follow `ARTIFACT CHECK -> COMPARE -> CLASSIFY -> REPORT`.
|
||||
2. ARTIFACT CHECK: verify `metadata.json`, required `reference.h5`, generated solver `results.h5`, deterministic CSV view files, schema version, units, coordinate system, step/frame identity, ID matching, output location, component naming, and tolerance source.
|
||||
2. ARTIFACT CHECK: verify `metadata.json`, `model.inp`, generated solver `results.h5`, `reference/<model-id>/<model-id>_displacements.csv`, `reference/<model-id>/<model-id>_reactions.csv`, `reference/<model-id>/<model-id>_internalforces.csv`, `reference/<model-id>/<model-id>_stresses.csv`, reference CSV schema version, FESA HDF5 schema version, units, coordinate system, step/frame identity, ID matching, output location, component naming, and tolerance policy.
|
||||
3. Stop with `needs-reference-artifacts`, `needs-solver-results`, or `needs-upstream-decision` when required comparison inputs are missing.
|
||||
4. COMPARE authoritative HDF5 datasets first, using deterministic CSV view files such as `csv/displacements.csv`, `csv/reactions.csv`, `csv/element_forces.csv`, `csv/stresses.csv`, and optional `csv/strains.csv` or `csv/energy_or_residual.csv` only as stable review/comparison views.
|
||||
4. COMPARE FESA HDF5 datasets by normalizing their rows and matching them directly against Abaqus reference CSV rows.
|
||||
5. Apply upstream tolerance exactly. Do not loosen or reinterpret tolerance.
|
||||
6. Report max absolute error, max relative error, RMS error, norm error, worst id, worst component, missing rows, extra rows, and pass/fail.
|
||||
7. CLASSIFY failures as missing-reference-artifact, missing-solver-output, schema-mismatch, id-mismatch, unit-or-coordinate-mismatch, tolerance-failure, nonfinite-result, upstream-contract, or environment.
|
||||
@@ -52,7 +52,7 @@ Produce or revise `docs/reference-verifications/<feature-id>-reference-verificat
|
||||
- Do not change requirements, formulations, I/O contracts, reference artifacts, or tolerance policies.
|
||||
- Do not change tolerance policies.
|
||||
- Do not run Abaqus, Nastran, or any reference solver.
|
||||
- Do not generate reference HDF5 files or deterministic CSV views.
|
||||
- Do not generate or modify Abaqus reference CSV files.
|
||||
- Do not approve physics validation or release readiness.
|
||||
|
||||
## Quality Gate
|
||||
@@ -61,9 +61,10 @@ Produce or revise `docs/reference-verifications/<feature-id>-reference-verificat
|
||||
- Missing rows and extra rows are reported, not ignored.
|
||||
- Nonfinite values are reported explicitly.
|
||||
- `pass-for-physics-evaluation` means reference tolerance success only.
|
||||
- Solver `results.h5` and `reference.h5` are authoritative comparison inputs.
|
||||
- Deterministic CSV view files are derived views only; do not normalize them beyond documented matching and metrics.
|
||||
- FESA solver `results.h5` is the authoritative solver output.
|
||||
- Abaqus reference CSV files are the authoritative reference result artifacts.
|
||||
- FESA debug CSV views are derived from `results.h5` for review only; do not treat FESA debug CSV views as authoritative solver output or reference artifacts.
|
||||
|
||||
## Handoff
|
||||
|
||||
Send passing reports to Physics Evaluation Agent. Send implementation-owned mismatches to Correction Agent. Send missing artifacts to Reference Model Agent and HDF5/CSV view schema conflicts to I/O Definition Agent.
|
||||
Send passing reports to Physics Evaluation Agent. Send implementation-owned mismatches to Correction Agent. Send missing artifacts to Reference Model Agent and HDF5/reference CSV schema conflicts to I/O Definition Agent.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
interface:
|
||||
display_name: "FESA Reference Comparison"
|
||||
short_description: "Compare HDF5 results"
|
||||
default_prompt: "Use $fesa-reference-comparison to compare FESA solver results.h5 against reference.h5 and deterministic CSV views."
|
||||
short_description: "Compare HDF5 with Abaqus CSV"
|
||||
default_prompt: "Use $fesa-reference-comparison to compare FESA solver results.h5 against Abaqus reference CSV files."
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: fesa-reference-models
|
||||
description: Use when designing FESA reference model portfolios, Abaqus input artifact bundles, metadata provenance, required reference HDF5 artifacts, deterministic CSV views, coverage matrices, and implementation-planning handoffs.
|
||||
description: Use when designing FESA reference model portfolios, Abaqus input artifact bundles, metadata provenance, required Abaqus reference CSV files, coverage matrices, and implementation-planning handoffs.
|
||||
---
|
||||
|
||||
# FESA Reference Models
|
||||
@@ -25,12 +25,11 @@ Read these first:
|
||||
1. Define reference strategy: code verification, solution verification, and benchmark/reference comparison.
|
||||
2. Build a model inventory: smoke, analytical, patch test, benchmark, regression, and negative/invalid-input models.
|
||||
3. For each model, record `model_id`, purpose, verified requirements, analysis type, element type, material, boundary conditions, loads, expected quantities, tolerance, source, and status.
|
||||
4. Define `references/<feature-id>/<model-id>/` artifact bundle requirements.
|
||||
5. Require `model.inp`, `metadata.json`, `reference.h5`, deterministic CSV views under `csv/`, and `README.md` unless explicitly not applicable.
|
||||
6. Define required CSV views `csv/displacements.csv`, `csv/reactions.csv`, `csv/element_forces.csv`, and `csv/stresses.csv` only as deterministic views of `reference.h5`.
|
||||
7. Define optional `csv/strains.csv` and `csv/energy_or_residual.csv` only when upstream acceptance criteria require them.
|
||||
8. Define metadata provenance, units, coordinate system, output requests, artifact status, and limitations.
|
||||
9. Build a Coverage Matrix mapping requirement id, model id, compared quantity, authoritative HDF5 dataset, CSV view file, tolerance, verification method, and status.
|
||||
4. Define `reference/<model-id>/` artifact bundle requirements.
|
||||
5. Require `model.inp`, `metadata.json`, `<model-id>_displacements.csv`, `<model-id>_reactions.csv`, `<model-id>_internalforces.csv`, `<model-id>_stresses.csv`, and `README.md` unless explicitly not applicable.
|
||||
6. Define optional `<model-id>_strains.csv`, `<model-id>_energy_or_residual.csv`, and `<model-id>_<quantity>.csv` only when upstream acceptance criteria require them.
|
||||
7. Define metadata provenance, units, coordinate system, output requests, artifact status, reference_csv_schema_version, reference_csv_files, and limitations.
|
||||
8. Build a Coverage Matrix mapping requirement id, model id, compared quantity, FESA HDF5 dataset, reference CSV file, tolerance, verification method, and status.
|
||||
|
||||
## Output Contract
|
||||
|
||||
@@ -43,7 +42,7 @@ Produce or revise `docs/reference-models/<feature-id>-reference-models.md` with:
|
||||
- Abaqus Input Requirements
|
||||
- Artifact Bundle Contract
|
||||
- Metadata JSON Contract
|
||||
- Reference HDF5 and CSV View Requirements
|
||||
- Abaqus Reference CSV Requirements
|
||||
- Coverage Matrix
|
||||
- Artifact Acceptance Checklist
|
||||
- Open Issues and Downstream Handoff
|
||||
@@ -54,7 +53,7 @@ Produce or revise `docs/reference-models/<feature-id>-reference-models.md` with:
|
||||
- Do not implement parsers.
|
||||
- Do not design C++ APIs or file ownership.
|
||||
- Do not run Abaqus, Nastran, or any reference solver.
|
||||
- Do not generate reference HDF5 files or deterministic CSV views.
|
||||
- Do not generate or modify Abaqus reference CSV files.
|
||||
- Do not compare solver results.
|
||||
- Do not approve release readiness.
|
||||
|
||||
@@ -62,9 +61,9 @@ Produce or revise `docs/reference-models/<feature-id>-reference-models.md` with:
|
||||
|
||||
- Every `must` requirement maps to at least one model and compared quantity.
|
||||
- `model.inp` stays within the supported Abaqus keyword subset or records an open issue.
|
||||
- `metadata.json` includes provenance, Abaqus version/source, units, coordinate system, tolerance, HDF5 schema version, and CSV view schema version.
|
||||
- Missing `reference.h5` or required deterministic CSV views keep the model at `needs-reference-artifacts`.
|
||||
- `metadata.json` includes provenance, Abaqus version/source, units, coordinate system, tolerance, reference_csv_schema_version, and reference_csv_files.
|
||||
- Missing required Abaqus reference CSV files keep the model at `needs-reference-artifacts`.
|
||||
|
||||
## Handoff
|
||||
|
||||
Send model order and tests that should fail first to Implementation Planning Agent. Send HDF5 dataset paths, deterministic CSV view schemas, matching, output location, and tolerance mapping to Reference Verification Agent. Send physical expectations to Physics Evaluation Agent.
|
||||
Send model order and tests that should fail first to Implementation Planning Agent. Send FESA HDF5 dataset paths, reference CSV schemas, matching, output location, and tolerance mapping to Reference Verification Agent. Send physical expectations to Physics Evaluation Agent.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
interface:
|
||||
display_name: "FESA Reference Models"
|
||||
short_description: "Design reference model bundles"
|
||||
default_prompt: "Use $fesa-reference-models to design FESA reference model artifact bundles."
|
||||
short_description: "Design Abaqus CSV reference bundles"
|
||||
default_prompt: "Use $fesa-reference-models to design Abaqus reference CSV artifact bundles."
|
||||
|
||||
@@ -50,7 +50,7 @@ Produce or revise `docs/releases/<feature-id>-release.md` with:
|
||||
- Do not implement code.
|
||||
- Do not edit source code, tests, CMake files, requirements, formulations, I/O contracts, reference artifacts, or tolerance policies.
|
||||
- Do not run Abaqus, Nastran, or any reference solver.
|
||||
- Do not generate reference HDF5 files or deterministic CSV views.
|
||||
- Do not generate or modify Abaqus reference CSV files.
|
||||
- Do not override failed or missing gates.
|
||||
- Do not publish, deploy, package, tag, commit, or externally release anything unless the user explicitly asks.
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ Produce or revise `docs/requirements/<feature-id>.md` with:
|
||||
- Do not write finite element formulations.
|
||||
- Do not design C++ APIs or file ownership.
|
||||
- Do not run Abaqus, Nastran, or any reference solver.
|
||||
- Do not generate reference HDF5 files or deterministic CSV views.
|
||||
- Do not generate or modify Abaqus reference CSV files.
|
||||
- Do not approve release readiness.
|
||||
|
||||
## Quality Gate
|
||||
|
||||
@@ -46,7 +46,7 @@ Produce or revise `docs/research/<feature-id>-research.md` with:
|
||||
- Do not finalize FEM formulations.
|
||||
- Do not design C++ APIs or file ownership.
|
||||
- Do not run Abaqus, Nastran, or any reference solver.
|
||||
- Do not generate reference HDF5 files or deterministic CSV views.
|
||||
- Do not generate or modify Abaqus reference CSV files.
|
||||
- Do not approve release readiness.
|
||||
|
||||
## Quality Gate
|
||||
|
||||
Reference in New Issue
Block a user