@mudraforge/statutory 2.5.0 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/docs/OKF_MAINTENANCE_SOP.md +286 -0
- package/okf/corporate_ma_restructuring/slump_sale_50b/circulars/cbdt_notification_68_2021_rule_11uae_fmv.md +1 -1
- package/okf/corporate_ma_restructuring/slump_sale_50b/circulars/cbic_notification_12_2017_going_concern_exemption.md +1 -1
- package/okf/corporate_ma_restructuring/slump_sale_50b/section.json +3 -3
- package/okf/direct_tax/tcs_goods_206c_1h/circulars/finance_act_2025_sunset_memo.md +1 -1
- package/okf/direct_tax/tcs_goods_206c_1h/section.json +2 -2
- package/okf/direct_tax/tds_commission_194h/section.json +1 -1
- package/okf/direct_tax/tds_contractor_194c/circulars/cbdt_circular_23_2017_gst_unbundling.md +1 -1
- package/okf/direct_tax/tds_contractor_194c/section.json +1 -1
- package/okf/direct_tax/tds_goods_194q/circulars/cbdt_circular_13_2021_guidelines.md +1 -1
- package/okf/direct_tax/tds_goods_194q/circulars/cbdt_circular_23_2017_gst_unbundling.md +1 -1
- package/okf/direct_tax/tds_goods_194q/section.json +2 -2
- package/okf/direct_tax/tds_goods_393/section.json +1 -1
- package/okf/direct_tax/tds_rent_194i/circulars/cbdt_circular_23_2017_gst_unbundling.md +1 -1
- package/okf/direct_tax/tds_rent_194i/section.json +1 -1
- package/okf/direct_tax/tds_services_194j/circulars/cbdt_circular_03_2020_fts_rate_cut.md +1 -1
- package/okf/direct_tax/tds_services_194j/section.json +2 -2
- package/okf/international_tax/cross_border_remittance_195/circulars/supreme_court_engineering_analysis_doctrine.md +1 -1
- package/okf/international_tax/cross_border_remittance_195/section.json +1 -1
- package/okf/international_tax/foreign_tax_credit_irc_901_904/section.json +1 -1
- package/okf/manifest.json +22 -22
- package/okf/msme_commercial/delayed_payments_15_16/section.json +1 -1
- package/package.json +2 -1
- package/src/index.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
+
## [2.5.1] - 2026-10-25
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- **Citation Link Integrity & Canonical Landing Pages**: Audited all 70 statutory citation links across the OKF corpus, resolving broken direct PDF paths on `incometaxindia.gov.in` and `msme.gov.in` with canonical regulatory portal landing pages. Replaced decommissioned `main.sci.gov.in` with active `sci.gov.in`.
|
|
14
|
+
- **Government PKI TLS Transport**: Added recognition for Government of India Controller of Certifying Authorities (CCA / NIC CA) leaf certificate verification on `taxinformation.cbic.gov.in`.
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
- **Automated Citation Verifier**: Added `scripts/verify_citation_links.js` (`npm run citations`) enforcing regulatory domain whitelisting, 100% HTTPS protocol compliance, and live network reachability probing (`--live`).
|
|
18
|
+
- **OKF Maintenance Standard Operating Procedure**: Documented normative engineering and legal standard in [`docs/OKF_MAINTENANCE_SOP.md`](./docs/OKF_MAINTENANCE_SOP.md) defining the 10-step statutory provision lifecycle, the Dual-Tier URL Standard, Merkle tree cryptographic re-pinning, and anti-drift invariants.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## [2.5.0] - 2026-10-24
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
- **Multi-Domain Corpus Expansion**: Expanded statutory coverage from 8 to 18 provisions across 5 foundational domains:
|
|
26
|
+
- `corporate_ma_restructuring` (Section 50B Slump Sale)
|
|
27
|
+
- `direct_tax` (Sections 194C, 194H, 194I, 194J, 194Q, 206C(1H) sunset, 393 forward law)
|
|
28
|
+
- `indirect_tax_gst` (Sections 8 composite/mixed supplies, 9(3) RCM, 16(2) ITC eligibility, 17(5) blocked ITC)
|
|
29
|
+
- `international_tax` (Section 195 cross-border remittances, IRC §§ 901/904 foreign tax credits)
|
|
30
|
+
- `msme_commercial` (Sections 7, 15, 16, 22 of MSMED Act, 2006, MCA Form MSME-1)
|
|
31
|
+
- **Offline ISO/IEC 7064 Mod-36 Checksum**: Deterministic Indian GSTIN and PAN checksum validator in `verifyGstinChecksum()`.
|
|
32
|
+
- **Two-Pass Precision Resolution**: Enhanced `lookupLocalStatute()` with exact-match priority, resolving single-digit section numbers (e.g., Section 8, Section 9(3)) without sub-string prefix collisions.
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
10
36
|
## [2.4.2] - 2026-10-24
|
|
11
37
|
|
|
12
38
|
### Added
|
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
# OKF Statutory Profile: Maintenance Standard Operating Procedure (SOP)
|
|
2
|
+
|
|
3
|
+
> **Document Version**: 1.1.0
|
|
4
|
+
> **Classification**: Normative Engineering & Release Governance Standard
|
|
5
|
+
> **Target Substrate**: `@mudraforge/statutory` & Adesha Governance Runtime
|
|
6
|
+
> **Base Specification**: Open Knowledge Format (OKF) v0.2 (Upstream Google Specification)
|
|
7
|
+
> **Extension Profile**: MudraForge Statutory Knowledge Profile v0.2
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## 1. Purpose, Authority & Governance Boundary
|
|
12
|
+
|
|
13
|
+
This Standard Operating Procedure (SOP) establishes the mandatory release discipline, authoring conventions, citation standards, cryptographic integrity controls, and verification protocols for the MudraForge Statutory Knowledge Substrate (`@mudraforge/statutory`).
|
|
14
|
+
|
|
15
|
+
### 1.1 Release Control vs. Legal Correctness
|
|
16
|
+
This SOP functions as a **reproducible release control and engineering quality discipline**, not as proof of absolute statutory correctness or judicial finality:
|
|
17
|
+
- Passing all tests establishes conformance to the **tested requirements, mathematical formulas, and documented edge cases**. It does not independently prove that every legal interpretation is infallible or that government citations will remain valid indefinitely.
|
|
18
|
+
- In accordance with regulatory AI governance principles—such as those articulated in the Reserve Bank of India (RBI) 2025 FREE-AI Committee Report (*Free and Responsible Exploration of AI in Finance*)—automated toolkits, deterministic validators, and algorithmic guardrails exist to support institutional risk management, auditability, and validation. They are **decision-support controls**, never legal or statutory substitutes for an enterprise's own fiduciary governance, internal financial controls, or qualified tax counsel.
|
|
19
|
+
|
|
20
|
+
### 1.2 Target Failure Modes
|
|
21
|
+
This SOP is enforced to systematically prevent:
|
|
22
|
+
1. **Link Rot & Citation Drift**: Broken government URLs that degrade external inspectability and audit confidence.
|
|
23
|
+
2. **Behavioral & Calculator Drift**: Discrepancies between deterministic code calculators, LLM prompt directives, and primary legislative truth.
|
|
24
|
+
3. **Rollback, Replay & Tamper Vulnerabilities**: Malicious substitution, stale bundle replay, or unauthorized manipulation of statutory rules.
|
|
25
|
+
4. **Sub-Domain Collisions**: Heuristic false matches between single-digit or composite statutory sections (e.g. Section 8, Section 9(3), Section 194C).
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## 2. Upstream OKF Specification vs. MudraForge Statutory Profile
|
|
30
|
+
|
|
31
|
+
To preserve architectural clarity, this standard strictly distinguishes between upstream Open Knowledge Format (OKF) conformance and MudraForge's additional statutory engineering profile:
|
|
32
|
+
|
|
33
|
+
```mermaid
|
|
34
|
+
flowchart TD
|
|
35
|
+
subgraph UPSTREAM["Upstream Google OKF v0.2 (Minimal & Portable)"]
|
|
36
|
+
direction TB
|
|
37
|
+
OKF_MD["Markdown Semantic Documentation"]
|
|
38
|
+
OKF_YAML["YAML Frontmatter Metadata (id, title, authority, dates)"]
|
|
39
|
+
OKF_DIR["Hierarchical Folder Structure by Regulatory Domain"]
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
subgraph PROFILE["MudraForge Statutory Profile (Engineering Extension)"]
|
|
43
|
+
direction TB
|
|
44
|
+
MF_JSON["section.json: Typed Machine Contracts & Formula ASTs"]
|
|
45
|
+
MF_CALC["Deterministic Calculation Engine (lib/core/statutory_calculator.js)"]
|
|
46
|
+
MF_HASH["SHA-256 Merkle Tree Integrity Manifests (okf/manifest.json)"]
|
|
47
|
+
MF_SIG["Ed25519 Release Pinning & Tamper-Evident Signatures"]
|
|
48
|
+
MF_FAIL["Fail-Closed Missing Evidence & Contradiction Gates"]
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
UPSTREAM -->|Inherited By| PROFILE
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
### 2.1 Upstream OKF Conformance
|
|
55
|
+
Upstream Google OKF is a lightweight, portable knowledge representation designed for cross-agent interchange. It standardizes:
|
|
56
|
+
- Markdown-based legal narratives with structured YAML frontmatter.
|
|
57
|
+
- Hierarchical folder trees organized by regulatory jurisdiction and domain.
|
|
58
|
+
- Self-contained, portable knowledge artifacts that can be ingested by any LLM or knowledge base.
|
|
59
|
+
|
|
60
|
+
*Upstream OKF does NOT prescribe a specific calculation engine, machine-readable JSON schema, cryptographic release pipeline, or transactional runtime.*
|
|
61
|
+
|
|
62
|
+
### 2.2 The MudraForge Statutory Profile
|
|
63
|
+
The MudraForge Statutory Profile introduces additional normative engineering conventions on top of OKF to enable high-assurance financial automation:
|
|
64
|
+
- **Typed Machine Contracts (`section.json`)**: Eliminates heuristic interpretation of numeric thresholds, currency values, and applicability conditions.
|
|
65
|
+
- **Deterministic Computation**: All threshold comparisons, tax rates, excess math, and rounding execute through deterministic code on CPU (zero LLM token generation for numbers).
|
|
66
|
+
- **Cryptographic Release Verification**: SHA-256 Merkle trees and Ed25519 digital signatures guarantee byte-level non-tampering from edge to endpoint.
|
|
67
|
+
- **Fail-Closed Evidence Gates**: Rejection or quarantine of transactions when statutory evidence is incomplete, unverified, or contradictory.
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## 3. Architectural Separation & Testable Guarantees
|
|
72
|
+
|
|
73
|
+
Every statutory provision in the MudraForge profile maintains a strict division of responsibility across three distinct artifact types:
|
|
74
|
+
|
|
75
|
+
```mermaid
|
|
76
|
+
flowchart TD
|
|
77
|
+
subgraph ARTIFACTS["OKF Provision Directory: okf/<domain>/<statute_folder>/"]
|
|
78
|
+
SJ["section.json<br/>(Machine Contract)"]
|
|
79
|
+
CB["circulars/*.md<br/>(Semantic Executive Briefs)"]
|
|
80
|
+
FS["forms/*.json | forms/*.md<br/>(Filing Schemas & Templates)"]
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
subgraph ENGINE["Deterministic Execution Layer (CPU)"]
|
|
84
|
+
SJ --> CALC["statutory_calculator.js<br/>• Paisa Rounding & Excess Math<br/>• Cumulative Ledger Thresholds<br/>• Temporal Effective-Date Gates"]
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
subgraph REASONING["Adesha Governance Layer (LLM + Human)"]
|
|
88
|
+
CB --> LLM["Agent Reasoning<br/>• Context Synthesis<br/>• Exception Analysis<br/>• Discrepancy Detection"]
|
|
89
|
+
CB --> AUDIT["External Tax Counsel<br/>• Independent Verification<br/>• Audit Trails"]
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
subgraph WRITEBACK["Compliance Systems"]
|
|
93
|
+
FS --> ERP["ERP Integration<br/>• Form 26Q, GSTR-3B, MSME-1"]
|
|
94
|
+
end
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
### 3.1 Testable Guarantees
|
|
98
|
+
Rather than making unprovable claims of "zero hallucination", the MudraForge profile operates under four testable and verifiable guarantees:
|
|
99
|
+
|
|
100
|
+
1. **Deterministic Execution**: Calculations execute exclusively through deterministic code. Given identical inputs, rules, and effective dates, the resulting tax calculations, cumulative thresholds, and paisa rounding are mathematically invariant across all runs.
|
|
101
|
+
2. **Versioned Applicability**: Legal applicability is evaluated against versioned rules, notified effective dates, and explicit statutory sunset boundaries (e.g. Section 206C(1H) sunset on 1 April 2025; Section 393 effective 1 April 2026).
|
|
102
|
+
3. **Fail-Closed Handling of Uncertainty**: Missing, incomplete, or contradictory evidence triggers a fail-closed outcome (holding payments, flagging discrepancies, or requesting missing links) rather than manufacturing assumptions.
|
|
103
|
+
4. **Independent Verification**: Test fixtures verify specified behaviors, edge cases, and arithmetic against independent statutory ground truth rather than trusting agent self-reports.
|
|
104
|
+
|
|
105
|
+
### 3.2 Artifact Responsibilities
|
|
106
|
+
|
|
107
|
+
| Artifact | Primary Consumer | Content Mandate | Operational Role |
|
|
108
|
+
|---|---|---|---|
|
|
109
|
+
| [`section.json`](file:///d:/work/packages/statutory/okf/direct_tax/tds_goods_194q/section.json) | **Deterministic Engine Runtime** | Typed numbers, effective dates, boolean applicability conditions, and threshold formulas. | Machine execution on CPU. Prevents mathematical drift, rate confusion, and arithmetic errors. |
|
|
110
|
+
| `circulars/*.md` | **LLM Agents & Human Auditors** | Semantic legal context, executive interpretations, judicial precedents, and YAML frontmatter. | Cross-domain reasoning, statutory crosswalks, exception argumentation, and human auditability. |
|
|
111
|
+
| `forms/*` | **Compliance & Reporting Systems** | Machine-evaluable JSON schemas and Markdown return checklists. | Return preparation, ERP writeback payloads, and statutory disclosure schedules. |
|
|
112
|
+
|
|
113
|
+
---
|
|
114
|
+
|
|
115
|
+
## 4. Citation & Link Integrity Protocol
|
|
116
|
+
|
|
117
|
+
To prevent link rot caused by frequent government portal redesigns and CMS migrations, OKF provisions must follow the **Dual-Tier URL Standard**:
|
|
118
|
+
|
|
119
|
+
### 4.1 Tier 1: Canonical Authority Landing Pages
|
|
120
|
+
Direct PDF download paths on government websites frequently change or break during CMS updates. Therefore, official citation URLs must point to canonical, evergreen regulatory landing pages:
|
|
121
|
+
- **CBDT / Direct Tax Circulars**: `https://www.incometaxindia.gov.in/pages/communications/circulars.aspx`
|
|
122
|
+
- **CBDT Notifications**: `https://www.incometaxindia.gov.in/pages/communications/notifications.aspx`
|
|
123
|
+
- **Income-tax Act Provisions**: `https://www.incometaxindia.gov.in/pages/acts/income-tax-act.aspx`
|
|
124
|
+
- **CBIC / GST Circulars & Notifications**: `https://taxinformation.cbic.gov.in/`
|
|
125
|
+
- **MSME Policies & Office Memorandums**: `https://dcmsme.gov.in/` or `https://msme.gov.in/`
|
|
126
|
+
- **MCA Notifications & Orders**: `https://www.mca.gov.in/`
|
|
127
|
+
- **RBI Master Directions**: `https://www.rbi.org.in/`
|
|
128
|
+
- **Supreme Court of India**: `https://sci.gov.in/`
|
|
129
|
+
- **ICAI Standards & Guidance Notes**: `https://www.icai.org/`
|
|
130
|
+
- **US Internal Revenue Service (IRS)**: `https://www.irs.gov/`
|
|
131
|
+
|
|
132
|
+
### 4.2 Tier 2: Legal Instrument Metadata
|
|
133
|
+
In `section.json`, the legal instrument itself must be fully described so that statutory provenance is preserved even in offline or air-gapped environments:
|
|
134
|
+
```json
|
|
135
|
+
{
|
|
136
|
+
"authority": "Central Board of Direct Taxes (CBDT)",
|
|
137
|
+
"instrument": "Circular No. 13 of 2021 (Dated 30 June 2021)",
|
|
138
|
+
"subject": "Guidelines under section 194Q of the Income-tax Act, 1961 - Threshold calculation & advance netting",
|
|
139
|
+
"officialUrl": "https://www.incometaxindia.gov.in/pages/communications/circulars.aspx"
|
|
140
|
+
}
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
### 4.3 Domain Whitelist Enforcement
|
|
144
|
+
All citation URLs must belong to the regulatory domain whitelist defined in [`scripts/verify_citation_links.js`](file:///d:/work/packages/statutory/scripts/verify_citation_links.js). Citations to commercial blogs, paywalled content aggregators, or unvetted third-party websites are prohibited.
|
|
145
|
+
|
|
146
|
+
### 4.4 Protocol Security & TLS Trust
|
|
147
|
+
- **100% HTTPS Enforcement**: Insecure `http://` links are rejected by the linter.
|
|
148
|
+
- **Government PKI Recognition**: Automated link verification recognizes leaf certificates issued by the Government of India Controller of Certifying Authorities (CCA / NIC CA).
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
## 5. The 10-Step Release Control Lifecycle
|
|
153
|
+
|
|
154
|
+
Whenever authoring, updating, or amending a statutory provision, this 10-step quality discipline must be executed sequentially:
|
|
155
|
+
|
|
156
|
+
```mermaid
|
|
157
|
+
flowchart TD
|
|
158
|
+
S1["1. Legal Sourcing & Dual-Act Boundary"] --> S2["2. Author section.json"]
|
|
159
|
+
S2 --> S3["3. Author circulars/*.md"]
|
|
160
|
+
S3 --> S4["4. Author forms/* Schemas"]
|
|
161
|
+
S4 --> S5["5. Citation & Link Audit (npm run citations)"]
|
|
162
|
+
S5 --> S6["6. Linter & Schema Conformance (npm run validate)"]
|
|
163
|
+
S6 --> S7["7. Merkle Manifest Re-Gen (npm run manifest)"]
|
|
164
|
+
S7 --> S8["8. Client Pinning & Ed25519 Signing"]
|
|
165
|
+
S8 --> S9["9. Dual Regression Testing (Package + Engine)"]
|
|
166
|
+
S9 --> S10["10. SemVer Release & Distribution"]
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
### Step 1: Legal Sourcing & Dual-Act Temporal Boundary
|
|
170
|
+
1. Identify primary legislation: Act name, Section number, notified effective date.
|
|
171
|
+
2. Determine temporal classification:
|
|
172
|
+
- `ACTIVE`: Currently in force under current legislation.
|
|
173
|
+
- `SUNSET_SUPERSEDED`: Subject to statutory sunset (e.g. Section 206C(1H) on 1 April 2025).
|
|
174
|
+
- `FUTURE_LAW`: Enacted forward law (e.g. Income-tax Act, 2025 Section 393 on 1 April 2026).
|
|
175
|
+
3. Enforce deterministic calculator isolation in `statutory_calculator.js`.
|
|
176
|
+
|
|
177
|
+
### Step 2: Author `section.json` Machine Contract
|
|
178
|
+
- Declare mandatory fields: `sectionId`, `sectionCode`, `aliases`, `governingStatute`, `statutorySection`, `successorStatute`, `successorSection`, `title`, `effectivePeriod`, `plainTextSummary`, `keyStatutoryThresholds`, `officialCitations`, `requiredDocumentChecklist`, `tier`, `version`.
|
|
179
|
+
- Standardize all search aliases in lowercase or official legal codes (e.g. `["194q", "sec194q", "tds goods"]`).
|
|
180
|
+
|
|
181
|
+
### Step 3: Author Circulars (`circulars/*.md`)
|
|
182
|
+
- Enforce strict YAML frontmatter (`id`, `title`, `authority`, `date`, `statutory_section`, `valid_from`, `valid_to`, `temporal_status`, `subject`, `official_url`).
|
|
183
|
+
- Provide clear executive summaries detailing commercial application, tax base unbundling rules, and statutory exceptions.
|
|
184
|
+
|
|
185
|
+
### Step 4: Author Compliance Forms (`forms/*`)
|
|
186
|
+
- Supply machine-evaluable JSON schemas or Markdown checklists for compliance returns and statutory disclosures.
|
|
187
|
+
|
|
188
|
+
### Step 5: Citation & Link Integrity Audit
|
|
189
|
+
Run the automated citation verification suite:
|
|
190
|
+
```powershell
|
|
191
|
+
npm run citations
|
|
192
|
+
```
|
|
193
|
+
To run live network probing across all endpoints:
|
|
194
|
+
```powershell
|
|
195
|
+
node scripts/verify_citation_links.js --live
|
|
196
|
+
```
|
|
197
|
+
*Pass Criteria*: 0 syntax errors, 0 unauthorized domains, 0 HTTP failures.
|
|
198
|
+
|
|
199
|
+
### Step 6: Schema Conformance & Syntax Validation
|
|
200
|
+
Validate structure and conformance against test fixtures:
|
|
201
|
+
```powershell
|
|
202
|
+
npm run validate
|
|
203
|
+
npm run conformance
|
|
204
|
+
```
|
|
205
|
+
*Pass Criteria*: 100% schemas valid, 12/12 conformance fixtures passing, 0 defects.
|
|
206
|
+
|
|
207
|
+
### Step 7: Cryptographic Merkle Manifest Re-generation
|
|
208
|
+
Recompute per-file SHA-256 hashes and update the root Merkle digest:
|
|
209
|
+
```powershell
|
|
210
|
+
npm run manifest
|
|
211
|
+
npm run manifest:check
|
|
212
|
+
```
|
|
213
|
+
Record the resulting root hash in release notes.
|
|
214
|
+
|
|
215
|
+
### Step 8: Client Pinning & Trust Anchor Verification
|
|
216
|
+
1. Add the updated root digest to `PINNED_RELEASE_ROOTS` in [`src/index.js`](file:///d:/work/packages/statutory/src/index.js).
|
|
217
|
+
2. For remote edge synchronization, verify Ed25519 digital signature validation against the MudraForge Root Authority.
|
|
218
|
+
|
|
219
|
+
### Step 9: Dual Regression Testing
|
|
220
|
+
Execute both package unit tests and the core engine verification suite:
|
|
221
|
+
```powershell
|
|
222
|
+
# 1. Package Regression Suite (49 tests)
|
|
223
|
+
npm run test
|
|
224
|
+
|
|
225
|
+
# 2. Engine Unified Test Runner (68 suites)
|
|
226
|
+
npm --prefix ../../mudraforge-sarvam test
|
|
227
|
+
|
|
228
|
+
# 3. Adesha Benchmark Runner (6 scenarios)
|
|
229
|
+
node ../../mudraforge-sarvam/tests/benchmarks/adesha_benchmark_challenge_01_runner.js
|
|
230
|
+
```
|
|
231
|
+
*Pass Criteria*: 100% passing across all 123 test suites and benchmark scenarios with 0 regressions.
|
|
232
|
+
|
|
233
|
+
### Step 10: SemVer Release & Distribution
|
|
234
|
+
1. Bump package version in `package.json` and synchronize `STATUTORY_CLIENT_VERSION` in `src/index.js`.
|
|
235
|
+
2. Document all changes in `CHANGELOG.md`.
|
|
236
|
+
3. Publish package to the public registry: `npm publish --access public`.
|
|
237
|
+
4. Deploy / seed edge catalogs on Cloudflare Workers KV.
|
|
238
|
+
5. Verify in a clean downstream consumer project (`scratch/fresh_public_npm_consumer`).
|
|
239
|
+
|
|
240
|
+
---
|
|
241
|
+
|
|
242
|
+
## 6. Anti-Drift & Security Invariants
|
|
243
|
+
|
|
244
|
+
All engineers and automated agents contributing to OKF provisions must uphold five mandatory invariants:
|
|
245
|
+
|
|
246
|
+
| Invariant | Operational Requirement | Verification Mechanism |
|
|
247
|
+
|---|---|---|
|
|
248
|
+
| **Rule 2: Stale Reference Scan** | After renaming or deprecating any provision, scan the entire codebase for stale references. | PowerShell `Get-ChildItem -Recurse \| Select-String` returns zero matches. |
|
|
249
|
+
| **Rule 3: Single Execution Path** | No duplicate inline calculators. All dispatchers delegate to canonical `statutory_calculator.js`. | Unit tests confirm identical mathematical output across all entrypoints. |
|
|
250
|
+
| **Rule 4: Regex User Input Escaping** | User-supplied search queries must be sanitized with `replace(/[.*+?^${}()\|[\]\\]/g, '\\$&')`. | Unit tests verify queries containing `(`, `)`, `[`, `]`, `*`. |
|
|
251
|
+
| **Rule 5: No Dead Schema Parameters** | Every parameter declared in `section.json` must be evaluated by the execution runtime. | Parameter mapping audit in `statutory_commons.js`. |
|
|
252
|
+
| **Rule 11: Statutory Truth Over Engine Output** | Calculations and effective dates must match independent legal ground truth, not merely agent agreement. | Parameterized test suites testing cumulative prior purchases and temporal dates. |
|
|
253
|
+
|
|
254
|
+
---
|
|
255
|
+
|
|
256
|
+
## 7. Verifiable Release Artifacts & Evidence Ledger
|
|
257
|
+
|
|
258
|
+
Claims of test passage and release integrity are substantiated by the following reproducible artifacts:
|
|
259
|
+
|
|
260
|
+
| Verification Layer | Active Release Evidence | Location / Verification Command |
|
|
261
|
+
|---|---|---|
|
|
262
|
+
| **Cryptographic Root** | `sha256-3f25fc3941d29de5b8befc0ddb24d1bb2632067f00b200680cf784961616424c` | `npm run manifest:check` across all 59 files |
|
|
263
|
+
| **Citation Network Liveness** | 70/70 passing citations across 13 regulatory domains (0 failures) | `node scripts/verify_citation_links.js --live` |
|
|
264
|
+
| **Statutory Schema Conformance** | 18/18 sections, 19 circulars, 22 forms passing OKF v0.2 linter | `npm run validate` |
|
|
265
|
+
| **Package Regression** | 49/49 test suites passing with 100% reproducible precision | `npm run test` in `packages/statutory` |
|
|
266
|
+
| **Engine Invariant Regression** | 68/68 test suites passing across governance runtime and TLA+ oracles | `npm test` in `mudraforge-sarvam` |
|
|
267
|
+
| **Adesha Benchmark Challenge 01** | 6/6 scenarios scored (Base 100/100, Variants A-E verified) | `node mudraforge-sarvam/tests/benchmarks/adesha_benchmark_challenge_01_runner.js` |
|
|
268
|
+
| **Live NPM Consumer** | Installed and verified live from registry in clean consumer | `node scratch/fresh_public_npm_consumer/test_live_npm_benchmark.js` |
|
|
269
|
+
|
|
270
|
+
---
|
|
271
|
+
|
|
272
|
+
## 8. Pre-Flight Maintenance Checklist
|
|
273
|
+
|
|
274
|
+
Before closing any maintenance task or cutting a new release, verify that each item is completed:
|
|
275
|
+
|
|
276
|
+
- [ ] All 18 statutory provisions contain complete and valid `section.json` contracts.
|
|
277
|
+
- [ ] Every citation URL uses `https://` and resolves to an approved regulatory domain.
|
|
278
|
+
- [ ] `npm run citations` reports 0 defects and 0 unauthorized domains.
|
|
279
|
+
- [ ] `npm run validate` passes with 0 schema errors.
|
|
280
|
+
- [ ] `npm run conformance` passes 12/12 fixture tests.
|
|
281
|
+
- [ ] `npm run manifest:check` verifies all 59 files against SHA-256 digests.
|
|
282
|
+
- [ ] `PINNED_RELEASE_ROOTS` in `src/index.js` includes the active manifest root hash.
|
|
283
|
+
- [ ] Two-pass precision lookup correctly resolves single-digit sections (`8`, `9(3)`).
|
|
284
|
+
- [ ] All 49 package tests and 68 engine regression suites pass with 0 failures.
|
|
285
|
+
- [ ] Stale reference scan returns zero matches for deprecated names or legacy domains.
|
|
286
|
+
- [ ] Version number in `package.json` exactly matches `STATUTORY_CLIENT_VERSION`.
|
|
@@ -8,7 +8,7 @@ valid_from: 2021-04-01
|
|
|
8
8
|
valid_to: OPEN_ENDED
|
|
9
9
|
temporal_status: ACTIVE
|
|
10
10
|
subject: Computation of Full Value of Consideration for Slump Sale under Section 50B(2)(ii)
|
|
11
|
-
official_url: https://incometaxindia.gov.in/communications/
|
|
11
|
+
official_url: https://www.incometaxindia.gov.in/pages/communications/notifications.aspx
|
|
12
12
|
---
|
|
13
13
|
|
|
14
14
|
> [STATUTORY VALIDITY WINDOW & TEMPORAL STATUS]
|
|
@@ -8,7 +8,7 @@ valid_from: 2017-07-01
|
|
|
8
8
|
valid_to: OPEN_ENDED
|
|
9
9
|
temporal_status: ACTIVE
|
|
10
10
|
subject: Services by way of transfer of a going concern, as a whole or an independent part thereof, attract 0% GST (exempt supply)
|
|
11
|
-
official_url: https://cbic
|
|
11
|
+
official_url: https://taxinformation.cbic.gov.in/
|
|
12
12
|
---
|
|
13
13
|
|
|
14
14
|
> [STATUTORY VALIDITY WINDOW & TEMPORAL STATUS]
|
|
@@ -40,19 +40,19 @@
|
|
|
40
40
|
"authority": "Income Tax Department, Ministry of Finance",
|
|
41
41
|
"instrument": "Section 50B, Income-tax Act, 1961",
|
|
42
42
|
"subject": "Special provision for computation of capital gains in case of slump sale",
|
|
43
|
-
"officialUrl": "https://incometaxindia.gov.in/acts/income-tax-act
|
|
43
|
+
"officialUrl": "https://www.incometaxindia.gov.in/pages/acts/income-tax-act.aspx"
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
"authority": "Central Board of Direct Taxes (CBDT)",
|
|
47
47
|
"instrument": "Notification No. 68/2021 (Dated 24 May 2021)",
|
|
48
48
|
"subject": "Rule 11UAE: Computation of fair market value of capital assets for the purposes of section 50B",
|
|
49
|
-
"officialUrl": "https://incometaxindia.gov.in/communications/
|
|
49
|
+
"officialUrl": "https://www.incometaxindia.gov.in/pages/communications/notifications.aspx"
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
"authority": "Central Board of Indirect Taxes and Customs (CBIC)",
|
|
53
53
|
"instrument": "Notification No. 12/2017-Central Tax (Rate) Entry 2",
|
|
54
54
|
"subject": "Services by way of transfer of a going concern, as a whole or an independent part thereof, attract 0% GST",
|
|
55
|
-
"officialUrl": "https://cbic
|
|
55
|
+
"officialUrl": "https://taxinformation.cbic.gov.in/"
|
|
56
56
|
}
|
|
57
57
|
],
|
|
58
58
|
"requiredDocumentChecklist": [
|
|
@@ -10,7 +10,7 @@ valid_to: 2025-03-31
|
|
|
10
10
|
temporal_status: SUNSET_OMITTED
|
|
11
11
|
sunset_effective_date: 2025-04-01
|
|
12
12
|
successor_rule: Section 194Q buyer TDS applies conditionally
|
|
13
|
-
official_url: https://incometaxindia.gov.in/communications/
|
|
13
|
+
official_url: https://www.incometaxindia.gov.in/pages/communications/circulars.aspx
|
|
14
14
|
---
|
|
15
15
|
|
|
16
16
|
> [TEMPORAL STATUS: SUNSET & OMITTED]
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
"authority": "Parliament of India / Ministry of Finance",
|
|
32
32
|
"instrument": "Finance Act, 2025 (Section 206C(1H) Sunset Clause)",
|
|
33
33
|
"subject": "Omission of Section 206C(1H) effective 1 April 2025",
|
|
34
|
-
"officialUrl": "https://incometaxindia.gov.in/communications/
|
|
34
|
+
"officialUrl": "https://www.incometaxindia.gov.in/pages/communications/circulars.aspx"
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
"authority": "Central Board of Direct Taxes (CBDT)",
|
|
38
38
|
"instrument": "Circular No. 17 of 2020",
|
|
39
39
|
"subject": "Guidelines for collection of tax at source under section 206C(1H)",
|
|
40
|
-
"officialUrl": "https://incometaxindia.gov.in/communications/
|
|
40
|
+
"officialUrl": "https://www.incometaxindia.gov.in/pages/communications/circulars.aspx"
|
|
41
41
|
}
|
|
42
42
|
],
|
|
43
43
|
"requiredDocumentChecklist": [
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"authority": "Central Board of Direct Taxes (CBDT)",
|
|
49
49
|
"instrument": "Circular No. 23 of 2017",
|
|
50
50
|
"subject": "Exclusion of GST component from value of commission for tax deduction at source",
|
|
51
|
-
"officialUrl": "https://incometaxindia.gov.in/communications/
|
|
51
|
+
"officialUrl": "https://www.incometaxindia.gov.in/pages/communications/circulars.aspx"
|
|
52
52
|
}
|
|
53
53
|
],
|
|
54
54
|
"requiredDocumentChecklist": [
|
package/okf/direct_tax/tds_contractor_194c/circulars/cbdt_circular_23_2017_gst_unbundling.md
CHANGED
|
@@ -8,7 +8,7 @@ valid_from: 2017-07-01
|
|
|
8
8
|
valid_to: OPEN_ENDED
|
|
9
9
|
temporal_status: ACTIVE
|
|
10
10
|
subject: Exclusion of separately stated GST from basic taxable amount for TDS on works contracts
|
|
11
|
-
official_url: https://incometaxindia.gov.in/communications/
|
|
11
|
+
official_url: https://www.incometaxindia.gov.in/pages/communications/circulars.aspx
|
|
12
12
|
---
|
|
13
13
|
|
|
14
14
|
> [STATUTORY VALIDITY WINDOW & TEMPORAL STATUS]
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"authority": "Central Board of Direct Taxes (CBDT)",
|
|
51
51
|
"instrument": "Circular No. 23 of 2017",
|
|
52
52
|
"subject": "Exclusion of GST component from value of contract for tax deduction at source",
|
|
53
|
-
"officialUrl": "https://incometaxindia.gov.in/communications/
|
|
53
|
+
"officialUrl": "https://www.incometaxindia.gov.in/pages/communications/circulars.aspx"
|
|
54
54
|
}
|
|
55
55
|
],
|
|
56
56
|
"requiredDocumentChecklist": [
|
|
@@ -9,7 +9,7 @@ valid_to: 2026-03-31
|
|
|
9
9
|
temporal_status: TRANSITIONED_TO_ACT_2025
|
|
10
10
|
sunset_notes: Governed transactions under Income-tax Act, 1961 until 31 March 2026. Substantive guidelines (excess over ₹50L calculation, advance payment netting, and non-resident PE exclusion) continue under Section 393(1) Table 8(ii) of the Income-tax Act, 2025 effective 1 April 2026.
|
|
11
11
|
subject: Threshold calculation, advance payment netting, and non-resident exemption
|
|
12
|
-
official_url: https://incometaxindia.gov.in/communications/
|
|
12
|
+
official_url: https://www.incometaxindia.gov.in/pages/communications/circulars.aspx
|
|
13
13
|
---
|
|
14
14
|
|
|
15
15
|
> [STATUTORY VALIDITY WINDOW & TEMPORAL STATUS]
|
|
@@ -8,7 +8,7 @@ valid_from: 2017-07-01
|
|
|
8
8
|
valid_to: OPEN_ENDED
|
|
9
9
|
temporal_status: ACTIVE
|
|
10
10
|
subject: Exclusion of separately stated GST from basic taxable amount for TDS purposes
|
|
11
|
-
official_url: https://incometaxindia.gov.in/communications/
|
|
11
|
+
official_url: https://www.incometaxindia.gov.in/pages/communications/circulars.aspx
|
|
12
12
|
---
|
|
13
13
|
|
|
14
14
|
> [STATUTORY VALIDITY WINDOW & TEMPORAL STATUS]
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"authority": "Central Board of Direct Taxes (CBDT)",
|
|
34
34
|
"instrument": "Circular No. 13 of 2021 (Dated 30 June 2021)",
|
|
35
35
|
"subject": "Guidelines under section 194Q of the Income-tax Act, 1961 - Threshold calculation & advance netting",
|
|
36
|
-
"officialUrl": "https://incometaxindia.gov.in/communications/
|
|
36
|
+
"officialUrl": "https://www.incometaxindia.gov.in/pages/communications/circulars.aspx"
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"authority": "Central Board of Direct Taxes (CBDT)",
|
|
40
40
|
"instrument": "Circular No. 23 of 2017",
|
|
41
41
|
"subject": "Exclusion of separately stated GST from basic taxable amount for TDS purposes",
|
|
42
|
-
"officialUrl": "https://incometaxindia.gov.in/communications/
|
|
42
|
+
"officialUrl": "https://www.incometaxindia.gov.in/pages/communications/circulars.aspx"
|
|
43
43
|
}
|
|
44
44
|
],
|
|
45
45
|
"requiredDocumentChecklist": [
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"authority": "Central Board of Direct Taxes (CBDT)",
|
|
48
48
|
"instrument": "Circular No. 13 of 2021 (Principles saved under Section 536(2) transitional savings)",
|
|
49
49
|
"subject": "Threshold calculation & advance netting guidelines saved under 2025 Act",
|
|
50
|
-
"officialUrl": "https://incometaxindia.gov.in/communications/
|
|
50
|
+
"officialUrl": "https://www.incometaxindia.gov.in/pages/communications/circulars.aspx"
|
|
51
51
|
}
|
|
52
52
|
],
|
|
53
53
|
"requiredDocumentChecklist": [
|
|
@@ -8,7 +8,7 @@ valid_from: 2017-07-01
|
|
|
8
8
|
valid_to: OPEN_ENDED
|
|
9
9
|
temporal_status: ACTIVE
|
|
10
10
|
subject: Exclusion of separately stated GST from basic rent amount for TDS under Section 194I
|
|
11
|
-
official_url: https://incometaxindia.gov.in/communications/
|
|
11
|
+
official_url: https://www.incometaxindia.gov.in/pages/communications/circulars.aspx
|
|
12
12
|
---
|
|
13
13
|
|
|
14
14
|
> [STATUTORY VALIDITY WINDOW & TEMPORAL STATUS]
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"authority": "Central Board of Direct Taxes (CBDT)",
|
|
49
49
|
"instrument": "Circular No. 23 of 2017",
|
|
50
50
|
"subject": "Exclusion of GST component from rent value for tax deduction at source",
|
|
51
|
-
"officialUrl": "https://incometaxindia.gov.in/communications/
|
|
51
|
+
"officialUrl": "https://www.incometaxindia.gov.in/pages/communications/circulars.aspx"
|
|
52
52
|
}
|
|
53
53
|
],
|
|
54
54
|
"requiredDocumentChecklist": [
|
|
@@ -8,7 +8,7 @@ valid_from: 2020-04-01
|
|
|
8
8
|
valid_to: OPEN_ENDED
|
|
9
9
|
temporal_status: ACTIVE
|
|
10
10
|
subject: Reduction of TDS rate for Fees for Technical Services (FTS) from 10% to 2%
|
|
11
|
-
official_url: https://incometaxindia.gov.in/communications/
|
|
11
|
+
official_url: https://www.incometaxindia.gov.in/pages/communications/circulars.aspx
|
|
12
12
|
---
|
|
13
13
|
|
|
14
14
|
> [STATUTORY VALIDITY WINDOW & TEMPORAL STATUS]
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
"authority": "Ministry of Law & Justice / CBDT",
|
|
38
38
|
"instrument": "Finance Act, 2020 (Act No. 12 of 2020), Section 80 amending Section 194J(1)",
|
|
39
39
|
"subject": "Reduction of TDS rate on Fees for Technical Services (FTS) from 10% to 2%",
|
|
40
|
-
"officialUrl": "https://incometaxindia.gov.in/communications/
|
|
40
|
+
"officialUrl": "https://www.incometaxindia.gov.in/pages/communications/circulars.aspx"
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
"authority": "Central Board of Direct Taxes (CBDT)",
|
|
44
44
|
"instrument": "Circular No. 23 of 2017",
|
|
45
45
|
"subject": "Exclusion of GST component from value of service for tax deduction at source",
|
|
46
|
-
"officialUrl": "https://incometaxindia.gov.in/communications/
|
|
46
|
+
"officialUrl": "https://www.incometaxindia.gov.in/pages/communications/circulars.aspx"
|
|
47
47
|
}
|
|
48
48
|
],
|
|
49
49
|
"requiredDocumentChecklist": [
|
|
@@ -7,7 +7,7 @@ statutory_section: Section 195 and Section 9(1)(vi) of Income-tax Act, 1961 read
|
|
|
7
7
|
valid_from: 2021-03-02
|
|
8
8
|
valid_to: OPEN_ENDED
|
|
9
9
|
temporal_status: ACTIVE
|
|
10
|
-
official_url: https://
|
|
10
|
+
official_url: https://sci.gov.in
|
|
11
11
|
---
|
|
12
12
|
|
|
13
13
|
# Supreme Court of India: Engineering Analysis Centre of Excellence v. CIT (2021)
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"authority": "Supreme Court of India",
|
|
53
53
|
"instrument": "Civil Appeal Nos. 8733-8734 of 2018 (Engineering Analysis Centre of Excellence Pvt Ltd v. CIT)",
|
|
54
54
|
"subject": "Landmark ruling on characterization of software and SaaS payments under DTAA",
|
|
55
|
-
"officialUrl": "https://
|
|
55
|
+
"officialUrl": "https://sci.gov.in"
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
"authority": "Central Board of Direct Taxes (CBDT)",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"authority": "Internal Revenue Service (IRS)",
|
|
39
39
|
"instrument": "Instructions for Schedule K-3 (Form 1065)",
|
|
40
40
|
"subject": "Partner Share of Income, Deductions, Credits, etc. - International",
|
|
41
|
-
"officialUrl": "https://www.irs.gov/forms-pubs/about-
|
|
41
|
+
"officialUrl": "https://www.irs.gov/forms-pubs/about-form-1065"
|
|
42
42
|
}
|
|
43
43
|
],
|
|
44
44
|
"requiredDocumentChecklist": [
|
package/okf/manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"okfVersion": "2.6.0",
|
|
3
|
-
"publishedAt": "2026-10-
|
|
4
|
-
"rootHash": "sha256-
|
|
3
|
+
"publishedAt": "2026-10-24T21:12:22.412Z",
|
|
4
|
+
"rootHash": "sha256-3f25fc3941d29de5b8befc0ddb24d1bb2632067f00b200680cf784961616424c",
|
|
5
5
|
"totalSections": 18,
|
|
6
6
|
"totalFiles": 59,
|
|
7
7
|
"changelog": "Expanded statutory commons with foundational AP provisions: Section 194C (Contractors), Section 194I (Rent), and Section 194H (Commission & Brokerage).",
|
|
@@ -56,32 +56,32 @@
|
|
|
56
56
|
"MSMED-SEC-22"
|
|
57
57
|
],
|
|
58
58
|
"files": {
|
|
59
|
-
"corporate_ma_restructuring/slump_sale_50b/circulars/cbdt_notification_68_2021_rule_11uae_fmv.md": "
|
|
60
|
-
"corporate_ma_restructuring/slump_sale_50b/circulars/cbic_notification_12_2017_going_concern_exemption.md": "
|
|
59
|
+
"corporate_ma_restructuring/slump_sale_50b/circulars/cbdt_notification_68_2021_rule_11uae_fmv.md": "172135f3014acf0ac375494ca0e300595b74c4452c8622e782ef4b310ee8a980",
|
|
60
|
+
"corporate_ma_restructuring/slump_sale_50b/circulars/cbic_notification_12_2017_going_concern_exemption.md": "414279a2f777945fa67340a02acfd28e139f80ee654fd9aa2a78985939fc5ea5",
|
|
61
61
|
"corporate_ma_restructuring/slump_sale_50b/forms/form_3cea_chartered_accountant_report.json": "ce245341e41e92f1a38a9af9abc27535578a71984bcdc4d63c45fe4d6de51a25",
|
|
62
62
|
"corporate_ma_restructuring/slump_sale_50b/forms/section_281_tax_clearance_checklist.md": "3e3837a55c288a0ddb5e378896f0a8dddaf05a29bc6f9dc2269a2f91ee3dab89",
|
|
63
|
-
"corporate_ma_restructuring/slump_sale_50b/section.json": "
|
|
64
|
-
"direct_tax/tcs_goods_206c_1h/circulars/finance_act_2025_sunset_memo.md": "
|
|
65
|
-
"direct_tax/tcs_goods_206c_1h/section.json": "
|
|
63
|
+
"corporate_ma_restructuring/slump_sale_50b/section.json": "62d31e1b57381db7dd853c1ac468c8395a4d532bee2a569d62a5e57f029fc52d",
|
|
64
|
+
"direct_tax/tcs_goods_206c_1h/circulars/finance_act_2025_sunset_memo.md": "714e81f9a4a4519f7cd7ecfb54af190aad1d1cee54a521dad9170311b5f3e5b6",
|
|
65
|
+
"direct_tax/tcs_goods_206c_1h/section.json": "dadf1c8843d4a369ecc330c5635ef37d5afc7b2a5c4b41eb7ec8061188faa8e3",
|
|
66
66
|
"direct_tax/tds_commission_194h/circulars/finance_act_2024_rate_cut_memo.md": "b4137a9b647b9f5b2aa7c13dd154c8523f85b7d9cc77cbf157fc220cc79c8888",
|
|
67
67
|
"direct_tax/tds_commission_194h/forms/form_26q_quarterly_return.json": "bbbff2b82c5b911d03cdb33d3b6c73d080b093fb62f512429542c2cae98857b5",
|
|
68
|
-
"direct_tax/tds_commission_194h/section.json": "
|
|
69
|
-
"direct_tax/tds_contractor_194c/circulars/cbdt_circular_23_2017_gst_unbundling.md": "
|
|
68
|
+
"direct_tax/tds_commission_194h/section.json": "fa4c1479cad34ba2a3858027bd1b8ece76b3b0295184007f32a2802e156712eb",
|
|
69
|
+
"direct_tax/tds_contractor_194c/circulars/cbdt_circular_23_2017_gst_unbundling.md": "963616ff6ecf2f639510bd3c60cf0d1322b844eb1435ace30b592d6f95e451d0",
|
|
70
70
|
"direct_tax/tds_contractor_194c/forms/form_26q_quarterly_return.json": "35dab116a4b9eadddfd13f8e9c61acf23582f64e6b82aad8dd268a7dabb6fe19",
|
|
71
71
|
"direct_tax/tds_contractor_194c/forms/transporter_194c_declaration.json": "1582a358ee1e15767dd9dc000f3ca9a9780df9cbedf6012a9d3baad0f009149b",
|
|
72
|
-
"direct_tax/tds_contractor_194c/section.json": "
|
|
73
|
-
"direct_tax/tds_goods_194q/circulars/cbdt_circular_13_2021_guidelines.md": "
|
|
74
|
-
"direct_tax/tds_goods_194q/circulars/cbdt_circular_23_2017_gst_unbundling.md": "
|
|
72
|
+
"direct_tax/tds_contractor_194c/section.json": "0ccde8047ad3c552593770327e515b642c53c4e2ea852925c314afa0ed314895",
|
|
73
|
+
"direct_tax/tds_goods_194q/circulars/cbdt_circular_13_2021_guidelines.md": "b45927677bf7eaced3e6b3a90870406c9ff8c2d8fcc687be8abf9ea799599b8d",
|
|
74
|
+
"direct_tax/tds_goods_194q/circulars/cbdt_circular_23_2017_gst_unbundling.md": "a4e047c5f753d0c6269ad2fd7eea7a7ec2da3b7b9cc0148d3855cec065753d37",
|
|
75
75
|
"direct_tax/tds_goods_194q/forms/form_26q_quarterly_return.json": "f1d92eb728b9d1846691481f32057b8d1f804901b856851606a5a90c2d3726a4",
|
|
76
76
|
"direct_tax/tds_goods_194q/forms/vendor_pan_declaration.md": "1fadbae2f18b9d542509f186b365874575e6251f20916db3d31898a5804e5ef9",
|
|
77
|
-
"direct_tax/tds_goods_194q/section.json": "
|
|
78
|
-
"direct_tax/tds_goods_393/section.json": "
|
|
79
|
-
"direct_tax/tds_rent_194i/circulars/cbdt_circular_23_2017_gst_unbundling.md": "
|
|
77
|
+
"direct_tax/tds_goods_194q/section.json": "bd186e8ea885ce2555022eb70ebdd8a3b551d712809fe5715fb37788429662ba",
|
|
78
|
+
"direct_tax/tds_goods_393/section.json": "1237a9fd558bd70140acf9b37a7b4c4a723e37ee18d844d2fe5f248d91999a8f",
|
|
79
|
+
"direct_tax/tds_rent_194i/circulars/cbdt_circular_23_2017_gst_unbundling.md": "6d29ec1d7bd222924a631e06e652e78426c456756e62f81d2d696adbea996c15",
|
|
80
80
|
"direct_tax/tds_rent_194i/forms/form_26q_quarterly_return.json": "843e9aedc6e63d1d16a472d8a610e8c86c9d3f4958381fbfe6d459050f1e2a39",
|
|
81
|
-
"direct_tax/tds_rent_194i/section.json": "
|
|
82
|
-
"direct_tax/tds_services_194j/circulars/cbdt_circular_03_2020_fts_rate_cut.md": "
|
|
81
|
+
"direct_tax/tds_rent_194i/section.json": "55a03f2b58c37890d17ff7093b35082dce67a1d3a0d24bdfa406208d988513b7",
|
|
82
|
+
"direct_tax/tds_services_194j/circulars/cbdt_circular_03_2020_fts_rate_cut.md": "2e661cde8fa9d86d12d71237603050067caa15c6eaa370ab32ba52c924ebe626",
|
|
83
83
|
"direct_tax/tds_services_194j/forms/form_16a_tds_certificate.json": "c80c48d0b8758935be8092e1b3bec6ab88bdef8cd9cca6efe61fcdbfa335d068",
|
|
84
|
-
"direct_tax/tds_services_194j/section.json": "
|
|
84
|
+
"direct_tax/tds_services_194j/section.json": "320def5ef2ad4d4f9ca870b9c95fb62defee45ec64d5acc6e54e1efe7d6f8d38",
|
|
85
85
|
"indirect_tax_gst/blocked_itc_17_5/circulars/cbic_circular_172_2022_employer_obligations.md": "77fab713c94dbcf0e30639c1a294525084d169b4db2ffe1a29bc01f44f0535bc",
|
|
86
86
|
"indirect_tax_gst/blocked_itc_17_5/forms/gstr_2b_ineligible_reconciliation.json": "b71b26a0797077ad1f5195fa07b25e8c499fcec46c4073360195b35ca431c6f6",
|
|
87
87
|
"indirect_tax_gst/blocked_itc_17_5/section.json": "169a936a4aaa6e718c3b50dd7c22a8ef35b68b7e049a9dfab5136fb4ef564b60",
|
|
@@ -95,16 +95,16 @@
|
|
|
95
95
|
"indirect_tax_gst/rcm_liability_sec9_3/forms/rcm_self_invoice_payment_voucher.json": "5b0b6cd1ca9e08083d060245963da9d271e81ecdf77fd8d0af9749cb49ed06f0",
|
|
96
96
|
"indirect_tax_gst/rcm_liability_sec9_3/section.json": "21734a8d51388aaf60bdcc17b48db48b6243882fadb1175e218ad274eb4b592f",
|
|
97
97
|
"international_tax/cross_border_remittance_195/circulars/cbdt_circular_03_2022_form10f_electronic.md": "9ec736d24d617c1bcacf867fa97e43b14e1233225c6bb0db182988b5db1c7faf",
|
|
98
|
-
"international_tax/cross_border_remittance_195/circulars/supreme_court_engineering_analysis_doctrine.md": "
|
|
98
|
+
"international_tax/cross_border_remittance_195/circulars/supreme_court_engineering_analysis_doctrine.md": "56bb3d74e4ba293c5d3ecfe25ea8cb24e0601fd08fc2ced5329518d81a0754dd",
|
|
99
99
|
"international_tax/cross_border_remittance_195/forms/form_15ca_15cb_compliance_checklist.json": "58a71629120c0f7bc6c907dae11970750e99c5ad4097df046af6350d15e6c7cf",
|
|
100
|
-
"international_tax/cross_border_remittance_195/section.json": "
|
|
100
|
+
"international_tax/cross_border_remittance_195/section.json": "2fe1d0ac227bc77fa112993276e97ba7a1e27c593dc8d8841e70a150aaaf65f4",
|
|
101
101
|
"international_tax/foreign_tax_credit_irc_901_904/forms/form_67_statement_of_foreign_tax.json": "05f8fb5b2765a23e53e6f9c38be1a89ed817abdfdbbe78ac0c361b9976959e2d",
|
|
102
102
|
"international_tax/foreign_tax_credit_irc_901_904/forms/irs_schedule_k3_reporting.json": "f2672f3870427338f37d408daba17c870230eab3f9dcb6eb2f14de2b4141f1fb",
|
|
103
|
-
"international_tax/foreign_tax_credit_irc_901_904/section.json": "
|
|
103
|
+
"international_tax/foreign_tax_credit_irc_901_904/section.json": "eae701cb45d55c4b6ddaf56d63e262bf0fc93f7e66309c059f651d74d021cab1",
|
|
104
104
|
"msme_commercial/delayed_payments_15_16/circulars/msme_om_2021_trader_exclusion.md": "f55f0e9368156452b891583043a31d1ebc4f162484925635be78f3c54a32af4a",
|
|
105
105
|
"msme_commercial/delayed_payments_15_16/forms/schedule_iii_msme_disclosure.md": "93d6000e79a96f4242d6a831905edeb44654134206301a9642bf63ca65f6b5ab",
|
|
106
106
|
"msme_commercial/delayed_payments_15_16/forms/udyam_registration_verification.json": "3da5d248a8fae5ed74af21149dd5922ddd18a9e3e1378ef69925e5beda09ebe6",
|
|
107
|
-
"msme_commercial/delayed_payments_15_16/section.json": "
|
|
107
|
+
"msme_commercial/delayed_payments_15_16/section.json": "3969960eb24be4825a80433f1cc31037b1e0a32de62dd523e99bc7270aaad74d",
|
|
108
108
|
"msme_commercial/enterprise_classification_sec7/circulars/msme_notification_2119_e_composite_criteria.md": "609cb707309ba64adb4773b5c179bc97724cf2decf3b9e39c0e3a116f0f81eff",
|
|
109
109
|
"msme_commercial/enterprise_classification_sec7/forms/udyam_composite_calculation_worksheet.json": "7bc3a3b4823c8024375096b2c4348c7e2c95041cf44bdc00b3de34f1c460149e",
|
|
110
110
|
"msme_commercial/enterprise_classification_sec7/section.json": "8a9f04596338859e2be7728badd933b2d22f781f5e0ce1122270bee1711d20d8",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"authority": "Ministry of MSME",
|
|
48
48
|
"instrument": "Office Memorandum No. 5/2(2)/2021-E/P & G/Policy (Dated 2 July 2021) & OM No. 1/4(1)/2021-P&G/Policy",
|
|
49
49
|
"subject": "Inclusion of Retail and Wholesale Trade under MSME - Restriction on Chapter V delayed payment benefits",
|
|
50
|
-
"officialUrl": "https://
|
|
50
|
+
"officialUrl": "https://dcmsme.gov.in/"
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
"authority": "Reserve Bank of India",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mudraforge/statutory",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.1",
|
|
4
4
|
"description": "Open Knowledge Format (OKF) client & AI Agent Skill for Indian and cross-border statutory tax provisions. Zero dependencies.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"scripts": {
|
|
28
28
|
"test": "node test.js",
|
|
29
29
|
"validate": "node scripts/validate_okf.js",
|
|
30
|
+
"citations": "node scripts/verify_citation_links.js",
|
|
30
31
|
"conformance": "node conformance/test_conformance.js",
|
|
31
32
|
"quality": "node scripts/corpus_quality_report.js",
|
|
32
33
|
"example:trace": "node examples/simulate_end_to_end_trace.js",
|
package/src/index.js
CHANGED
|
@@ -18,13 +18,14 @@ const __filename = fileURLToPath(import.meta.url);
|
|
|
18
18
|
const __dirname = path.dirname(__filename);
|
|
19
19
|
export const DEFAULT_LOCAL_OKF_DIR = path.resolve(__dirname, '..', 'okf');
|
|
20
20
|
export const DEFAULT_BASE_URL = 'https://api.mudraforge.in';
|
|
21
|
-
export const STATUTORY_CLIENT_VERSION = '2.5.
|
|
21
|
+
export const STATUTORY_CLIENT_VERSION = '2.5.1';
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* Pinned official release Merkle root digests.
|
|
25
25
|
* Prevents unauthorized bundle substitution attacks even if an attacker controls the remote endpoint.
|
|
26
26
|
*/
|
|
27
27
|
export const PINNED_RELEASE_ROOTS = new Set([
|
|
28
|
+
'sha256-3f25fc3941d29de5b8befc0ddb24d1bb2632067f00b200680cf784961616424c', // v2.5.0 Verified Citation Merkle Root (18 Sections across 5 Domains)
|
|
28
29
|
'sha256-c32be389bfb82a52ffc40670b74103216c45f3b284c66d2b0020097eb36a25f9', // v2.5.0 Merkle Manifest Root (18 Sections across 5 Domains)
|
|
29
30
|
'sha256-f3b230a0774eb55d607403b5a656bbe2950a32d07145a46f0eb083232ec12986', // v2.6.0 Edge Sync Bundle Root (12 Sections across 5 Domains)
|
|
30
31
|
'sha256-4e9d9c064e55748dc6389eae1b5cb2fec1ad7f1c811097afd57e4fb0a6f6454e', // v2.6.0 Local Static Manifest Root (12 Sections across 5 Domains)
|