env_var_migration.ar

env_var_migration.ar is an agent for coding agents from hyperledger-iroha/iroha. It costs 0 tokens per session (2,034 once invoked), scanned A, original, Apache-2.0.

A project tracker for moving production settings from environment variables into a typed configuration system, with completed migrations and safeguards for new variables.

In plain words
What is it for?
Use it to review configuration migrations, document intentional environment variables, and check that code and CI follow the new configuration path.
Why use it?
It helps prevent configuration changes from being added inconsistently or without documentation. It also records which old settings and compatibility layers have been removed.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/hyperledger-iroha/iroha/env_var_migration.ar
Clone the repo
git clone --depth 1 https://github.com/hyperledger-iroha/iroha

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for env_var_migration.ar

README.md
[![agentmods](https://agentmods.dev/badge/agents/hyperledger-iroha/iroha/env_var_migration.ar.svg)](https://agentmods.dev/agents/hyperledger-iroha/iroha/env_var_migration.ar)
Your own site
<a href="https://agentmods.dev/agents/hyperledger-iroha/iroha/env_var_migration.ar"><img src="https://agentmods.dev/badge/agents/hyperledger-iroha/iroha/env_var_migration.ar.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,034 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.02034
Opus 5 $0.00000 $0.01017
Sonnet 5 $0.00000 $0.00407
Haiku 4.5 $0.00000 $0.00203

Measured 3d ago against content hash c351307b90f5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

env_var_migration.ar scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

docs/source/agents/env_var_migration.ar.md · 99 lines

How it starts

The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Env → Config Migration Tracker

يلخص هذا المتعقب مفاتيح التبديل المتغيرة للبيئة التي تواجه الإنتاج والتي ظهرت على السطح بواسطة docs/source/agents/env_var_inventory.{json,md} والترحيل المقصود المسار إلى iroha_config (أو تحديد النطاق الصريح للتطوير/الاختبار فقط).

ملاحظة: يفشل ci/check_env_config_surface.sh الآن عند ظهور بيئة production جديدة تظهر الحشوات بالنسبة إلى AGENTS_BASE_REF ما لم يكن ENV_CONFIG_GUARD_ALLOW=1 كذلك مجموعة؛ قم بتوثيق الإضافات المتعمدة هنا قبل استخدام التجاوز.

الهجرات المكتملة- IVM إلغاء الاشتراك في ABI — تمت إزالة IVM_ALLOW_NON_V1_ABI؛ يرفض المترجم الآن

واجهات برمجة التطبيقات غير v1 دون قيد أو شرط مع اختبار وحدة يحمي مسار الخطأ.

  • IVM debugbanner env shim — تم إسقاط خيار إلغاء الاشتراك IVM_SUPPRESS_BANNER env؛ يظل منع الشعارات متاحًا عبر أداة الضبط البرمجي.
  • IVM ذاكرة التخزين المؤقت/تحجيم الحجم — تغيير حجم ذاكرة التخزين المؤقت/المثبت/وحدة معالجة الرسومات المترابطة iroha_config (pipeline.{cache_size,ivm_cache_max_decoded_ops,ivm_cache_max_bytes,ivm_prover_threads}، accel.max_gpus) وإزالة حشوات البيئة الخاصة بوقت التشغيل. يتصل المضيفون الآن ivm::ivm_cache::configure_limits وivm::zk::set_prover_threads، استخدام الاختبارات CacheLimitsGuard بدلاً من تجاوزات env.
  • جذر قائمة انتظار الاتصال — تمت إضافة connect.queue.root (الافتراضي: ~/.iroha/connect) إلى تكوين العميل وربطه عبر CLI و تشخيصات JS. يقوم مساعدو JS بحل التكوين (أو rootDir الصريح) و تكريم IROHA_CONNECT_QUEUE_ROOT فقط في التطوير/الاختبار عبر allowEnvOverride؛ توثق القوالب المقبض بحيث لم يعد المشغلون بحاجة إلى تجاوزات البيئة.
  • اشتراك الشبكة Izanami — تمت إضافة علامة allow_net CLI/config صريحة لـ أداة الفوضى Izanami؛ تتطلب عمليات التشغيل الآن allow_net=true/--allow-net و
  • IVM البانر beep — تم استبدال شريحة IROHA_BEEP env بأخرى تعتمد على التكوين تبديل ivm.banner.{show,beep} (الافتراضي: صحيح/صحيح). شعار بدء التشغيل/صافرة تقرأ الأسلاك الآن التكوين فقط في الإنتاج؛ لا يزال بناء dev/test يحترم تجاوز env للتبديل اليدوي.
  • تجاوز التخزين المؤقت DA (الاختبارات فقط) — تم الآن تجاوز IROHA_DA_SPOOL_DIR مسيجة خلف مساعدي cfg(test)؛ رمز الإنتاج دائمًا هو مصدر التخزين المؤقت المسار من التكوين
  • مبادئ التشفير — تم استبدال IROHA_DISABLE_SM_INTRINSICS / IROHA_ENABLE_SM_INTRINSICS مع التكوين سياسة crypto.sm_intrinsics (auto/force-enable/force-disable) و إزالة الحارس IROHA_SM_OPENSSL_PREVIEW. يطبق المضيفون السياسة على بدء التشغيل، يمكن للمقاعد/الاختبارات الاشتراك عبر CRYPTO_SM_INTRINSICS وOpenSSL تحترم المعاينة الآن علامة التكوين فقط. يتطلب Izanami بالفعل تكوين --allow-net/المستمر، وتعتمد الاختبارات الآن على هذا المقبض بدلاً من تبديل البيئة المحيطة.
  • ضبط وحدة معالجة الرسومات FastPQ — تمت إضافة fastpq.metal.{max_in_flight,threadgroup_width,metal_trace,metal_debug_enum,metal_debug_fused} مقابض التكوين (الافتراضية: None/None/false/false/false) وقم بربطها من خلال تحليل CLI تعمل الحشوات FASTPQ_METAL_* / FASTPQ_DEBUG_* الآن كإجراءات احتياطية للتطوير/الاختبار و يتم تجاهلها بمجرد تحميل التكوين (حتى عندما يتركها التكوين بدون ضبط)؛ المستندات/المخزون كانت تم التحديث للإشارة إلى الترحيل. (IVM_DECODE_TRACE، IVM_DEBUG_WSV، IVM_DEBUG_COMPACT، IVM_DEBUG_INVALID، IVM_DEBUG_REGALLOC، IVM_DEBUG_METAL_ENUM، IVM_DEBUG_METAL_SELFTEST، IVM_FORCE_METAL_ENUM، IVM_FORCE_METAL_SELFTEST_FAIL، IVM_FORCE_CUDA_SELFTEST_FAIL، IVM_DISABLE_METAL، IVM_DISABLE_CUDA) أصبحت الآن مسورة خلف عمليات إنشاء التصحيح/الاختبار عبر شبكة مشتركة المساعد لذا تتجاهلها ثنائيات الإنتاج مع الحفاظ على المقابض للتشخيصات المحلية. البيئة تم إعادة إنشاء المخزون ليعكس نطاق التطوير/الاختبار فقط.- تحديثات تركيبات FASTPQ — يظهر FASTPQ_UPDATE_FIXTURES الآن فقط في تكامل FASTPQ الاختبارات؛ لم تعد مصادر الإنتاج تقرأ مفتاح التبديل env ويعكس المخزون الاختبار فقط النطاق.
  • تحديث المخزون + اكتشاف النطاق — تقوم أدوات مخزون env الآن بوضع علامة على ملفات build.rs على أنها بناء النطاق وتتبع وحدات تسخير #[cfg(test)]/تكامل بحيث يتم التبديل للاختبار فقط (على سبيل المثال، IROHA_TEST_*، IROHA_RUN_IGNORED) وتظهر علامات بناء CUDA خارج عدد الإنتاج. تم تجديد المخزون في 07 ديسمبر 2025 (518 مرجعًا / 144 فارًا) للحفاظ على اختلاف حارس env-config باللون الأخضر.
  • ** طوبولوجيا P2P env واقي تحرير الرقائق ** — IROHA_P2P_TOPOLOGY_UPDATE_MS يقوم الآن بتشغيل حتمية خطأ في بدء التشغيل في إصدارات الإصدار (تحذير فقط في التصحيح/الاختبار) لذا تعتمد عقد الإنتاج فقط على network.peer_gossip_period_ms. تم تجديد مخزون البيئة ليعكس الحارس و يقوم المصنف المحدث الآن بنطاقات التبديل المحمية بـ cfg! كتصحيح/اختبار.

Read the full file on GitHub · 99 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 99 lines · 0 tokens per session scan A c351307b90f5

Subscribe to this mod's changes

env_var_migration.ar is an agent published in the GitHub repository hyperledger-iroha/iroha (488 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,034 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-01.