From ASN.1 pain to repeatable workflow.
We built an Amp skill and an early ASN1C Workbench app to make schema review, compiler runs, wrapper generation, test vectors, and reports easier to repeat.
SkillCLI AppHarness TemplatesPublic DocsWe built an Amp skill and an early ASN1C Workbench app to make schema review, compiler runs, wrapper generation, test vectors, and reports easier to repeat.
SkillCLI AppHarness TemplatesPublic DocsTagging, constraints, extension markers, and choices create subtle interoperability failures.
Flags, generated directories, runtime context handling, and build integration are easy to drift.
Teams need reproducible evidence: logs, vectors, expected failures, and reports.
working-with-objective-systems-asn1c gives Amp a repeatable checklist for ASN1C schema, encoding, generated-code, and vector work.
asn1c-workbench initializes config, runs ASN1C, captures logs, runs vector commands, writes reports, and serves a local static dashboard.
C/C++ starter wrappers isolate Objective Systems generated code behind stable encode/decode APIs.
This page documents the workflow, the legal boundary, and how Amp accelerates the engineering loop.
Run the configured local ASN1C executable and store structured output in reports/last-compile.json.
Run user-provided decoder/encoder commands against vectors and store reports/last-test.json.
python -m asn1c_workbench init
python -m asn1c_workbench compile asn1c-workbench.json
python -m asn1c_workbench wrapper asn1c-workbench.json --language c
python -m asn1c_workbench test asn1c-workbench.json
python -m asn1c_workbench report asn1c-workbench.json
python -m asn1c_workbench serve asn1c-workbench.json
The MVP stays honest: if no decoder command is configured, vector tests are marked skipped instead of inventing a generic decoder.
{
"asn1c_path": "asn1c",
"encoding": "uper",
"asn_files": ["asn/protocol.asn"],
"compiler_flags": ["-c", "-uper"],
"primary_type": "MyMessage",
"decode_command": "build/decoder --type {type} --hex {hex}"
}
This makes compiler flags, schema inputs, output paths, and test hooks explicit and reviewable.
The ASN1C skill captures checklists for tagging, PER alignment, DER canonical rules, wrappers, and reports.
Amp can create scripts, templates, tests, and docs while respecting repo constraints and local style.
Amp runs focused checks, reports what passed, and clearly marks what is blocked by missing proprietary tooling.
Call the user's licensed compiler, analyze logs, generate wrapper templates, manage vectors, and produce reports.
No proprietary compiler, no Objective Systems runtime redistribution, and no claim to replace the vendor toolchain.
Fill the generated wrappers with the exact C/C++ calls for your encoding rule and generated type names.
Add BER/DER TLV views, PER bit maps, schema diff reports, and vendor compatibility profiles.
The MVP has a static local dashboard; next add upload, decode, vector browser, and live report pages.
Run compile and vectors on every schema change to catch drift early.