본문으로 건너뛰기
토파즈6.0 · 출시 전
다운로드 →

문서 검색

명세 6.0

방향키로 결과를 고르고 Enter를 눌러 여세요.

API 이름, 진단 번호, 규칙 또는 프로젝트 주제를 입력하세요.

    도구

    lispex embed info

    Reports the embedded Lispex component identity.

    Invocation, options and results

    링크

    topaz lispex embed info

    호출 형식
    1. topaz lispex embed info --format json

    입력

    The complete form is topaz lispex embed info --format json. Require the format option exactly once with a separate json value.

    Reject the omitted format, --format human, --json, equals forms, repeated options, positional operands and every unlisted option. No compiler or language version selector is accepted.

    옵션과 충돌

    옵션기본값계약충돌
    --format json미지정

    Required output format. Use json to read the embedded component report.

    없음

    출력 채널

    stdout

    stderr

    종료 상태

    0

    The complete embedded component report is written.

    2

    Command arguments are invalid.

    4

    Embedded component verification or runtime inspection fails.

    효과

    Read the embedded component and installed runtime identity. Do not create an output directory, save source or modify caller files.

    Do not scan user directories for alternate evaluator components.

    Perform no network access, registry lookup or component download.

    The same executable bytes, admitted component, runtime policy and target produce the same JSON bytes. Identity fields describe the installed product and contain no invocation timestamp or randomly allocated path.

    Do not load the current directory as a Topaz package. Ignore no package option silently because package options are rejected. No manifest, lock or vendor directory is read or changed.

    Operation

    링크

    Use the JSON report to identify the embedded evaluator before preparing a request.

    Example contract

    링크
    규칙tools-commands-lispex-embed-info.rule.invocation

    Example contract

    The invocation topaz lispex embed info main.tpz --language-version 5.21 --format json is expected to exit with 2.

    The component report requires info --format json. The extra fixture operand and language selector cause this invocation to be rejected.

    이유

    The component report describes the embedded evaluator in the installed executable. Rejecting source operands and language selectors avoids implying that they select a different component.

    Behavior contract

    링크
    규칙tools-commands-lispex-embed-info.rule.behavior

    Command behavior

    Arguments and rejection

    The complete form is topaz lispex embed info --format json. Require the format option exactly once with a separate json value.

    Reject the omitted format, --format human, --json, equals forms, repeated options, positional operands and every unlisted option. No compiler or language version selector is accepted.

    Output

    Write one UTF-8 JSON object followed by a newline to standard output. The schema is topaz.lispex-embed-info/v4.

    The object contains schema, admission, component, contract, runtime, semantic, discovery, fallback, portableProviderReceipt and selectors. The last four fields are booleans and are false.

    component contains the component id, artifactSha256 and manifestSha256. contract contains id and manifestSha256. semantic contains abiId, costModelId, profileId and valueCodecId. runtime contains id, policyId, policySha256, integer safetyFuel and target. Admission identities and releaseAuthority describe the installed release.

    There is no human output mode. Usage or inspection failures write a human explanation to standard error and no successful JSON report.

    Exit status

    Exit 0 after writing the complete component report.

    Exit 2 for invalid command arguments. Exit 4 when embedded component verification or runtime inspection fails. Report inspection does not use exit 3 because it evaluates no caller request.

    Filesystem effects

    Read the embedded component and installed runtime identity. Do not create an output directory, save source or modify caller files.

    Do not scan user directories for alternate evaluator components.

    Network access

    Perform no network access, registry lookup or component download.

    Reproducibility

    The same executable bytes, admitted component, runtime policy and target produce the same JSON bytes. Identity fields describe the installed product and contain no invocation timestamp or randomly allocated path.

    Packages and locks

    Do not load the current directory as a Topaz package. Ignore no package option silently because package options are rejected. No manifest, lock or vendor directory is read or changed.

    이유

    The component report describes the evaluator that is already installed. Allowing source or selection arguments would imply a different component could be inspected. Its mandatory structured representation gives callers one explicit way to request that report.

    The linked public CLI recipe checks the exact displayed argument rejection before the requested operation. It does not execute the successful operation or verify its effects.

    The reviewed recipe adds a forbidden fixture operand and language selector. A successful exact component report is outside that recipe and has not been executed in this sandbox.

    Example

    링크

    Argument-rejection example

    링크
    main.tpzArgument-rejection example플레이그라운드 열기 →
    1. function identity<T>(value: T) -> T {
    2. value
    3. }
    대상 제품 5.21.3
    기대 결과

    기대 결과

    Textual rejection details remain Pending in the reference model. The independent Tools example gate expects exit 2.

    The component report requires info --format json. The extra fixture operand and language selector cause this invocation to be rejected.

    Verification scope

    링크

    Observed with Topaz 5.21.3 on 2026-11-06T08:36:29.642Z. This invocation passed; exit 2. 3 assertions were evaluated against the independent expected result. Execution record. This result covers the displayed invocation.

    Related references

    링크

    Compiler selection →

    Packages, locks and targets →

    메뉴

    다운로드 →