improve: Code of Ur-Nammu

This commit is contained in:
daniel
2026-02-23 00:15:57 +00:00
parent f8b93aa493
commit 7ae7f947d7
5 changed files with 99 additions and 0 deletions

View File

@@ -3972,3 +3972,101 @@ status: UPDATED | Bronze Working | changes: fixed duplicate title heading; remov
[2026-02-23 00:14:58] ━━━ [Code of Ur-Nammu] (5a1717) reviews=0 garbage=0 ━━━ [2026-02-23 00:14:58] ━━━ [Code of Ur-Nammu] (5a1717) reviews=0 garbage=0 ━━━
[2026-02-23 00:14:58] 🧹 Bash cleanup applied [2026-02-23 00:14:58] 🧹 Bash cleanup applied
[2026-02-23 00:14:58] 🔍 Enrichment + review pass [2026-02-23 00:14:58] 🔍 Enrichment + review pass
All tools are now trusted (!). Kiro will execute tools without asking for confirmation.
Agents can sometimes do unexpected things so understand the risks.
Learn more at https://kiro.dev/docs/cli/chat/security/#using-tools-trust-all-safely
[?25l[?25lRunning tool think with the param (from mcp server: sequential-thinking-mcp)
⋮ {
⋮ "thought": "Let me start by checking the review queue for this document, then work through the steps systematically."
⋮ }
 - Completed in 0.138s
[?25l[?25lRunning tool get_review_queue with the param (from mcp server: factbase)
⋮ {
⋮ "doc_id": "5a1717"
⋮ }
 - Completed in 0.12s
[?25l> All 22 questions are already answered. Now let me apply the review answers and then check the document.
[?25lRunning tool apply_review_answers with the param (from mcp server: factbase)
⋮ {
⋮ "doc_id": "5a1717"
⋮ }
 - Completed in 0.1s
[?25l> Nothing to apply (already applied). Let me read the current state of the document and then do enrichment research.
[?25l
[?25lRunning tool get_entity with the param (from mcp server: factbase)
⋮ {
⋮ "id": "5a1717"
⋮ }
Searching the web for: Code of Ur-Nammu oldest legal code scholarship archaeology recent (using tool: web_search)
 - Completed in 0.1s
 ✓ Found 10 search results
 - Completed in 0.836s
[?25l[?25l[?25lFetching content from: https://en.wikipedia.org/wiki/Code_of_Ur-Nammu (searching for: tablets fragments discovery translation prologue laws penalties) [mode: selective] (using tool: web_fetch)
Fetching content from: https://brewminate.com/the-ancient-mesopotamian-legal-code-of-ur-nammu/ (searching for: tablets discovery translation laws penalties prologue) [mode: selective] (using tool: web_fetch)
 ✓ Fetched 17982 bytes (selective) from URL
 - Completed in 0.30s
 ✓ Fetched 19159 bytes (selective) from URL
 - Completed in 0.337s
[?25l> I now have rich information to enrich the document. Key additions I can make:

1. The primary tablet (Ni 3191) is held at Istanbul Archaeology Museums
2. Total of ~57 laws reconstructed (not just 30 surviving)
3. Additional tablet fragments found at Sippar and one in the Schoyen Collection
4. Capital offenses: murder, robbery, adultery, rape
5. Social structure details (lu/free person vs slave)
6. The prologue invokes deities Nanna and Utu
7. Laws arranged in casuistic form (if-then)
8. The code influenced later codes: Laws of Eshnunna (~1930 BCE), Code of Lipit-Ishtar (~1870 BCE)
9. Standardized weights and measures mentioned in prologue
10. The document has a duplicate # Code of Ur-Nammu heading that needs fixing

Also note: the temporal tags use @t[2100 BCE..2050 BCE] but per the steering file, BCE tags should use ~ for approximate dates. Let me fix the document now.
[?25lRunning tool update_document with the param (from mcp server: factbase)
⋮ {
⋮ "id": "5a1717",
⋮ "content": "<!-- factbase:5a1717 -->\n# Code of Ur-Nammu\n\n## Overview\nThe Code of Ur-Nammu (~21002050 BCE) is the oldest known surviving legal code, predating the Code of Hammurabi by ~300 years. It was issued by Ur-Nammu (or his son Shulgi) of the Third Dynasty of Ur. @t[~2100 BCE..~2050 BCE]\n\n## Key Facts\n- Date: ~21002050 BCE @t[~2100 BCE..~2050 BCE]\n- Issuer: Ur-Nammu (r. 21122095 BCE) or his son Shulgi (r. 20942047 BCE), Third Dynasty of Ur\n- Language: Sumerian (cuneiform script on clay tablets)\n- Discovered: Fragments found at Nippur, Ur, and Sippar; primary tablet (Ni 3191) held at Istanbul Archaeology Museums\n- First translated: Samuel Noah Kramer, 1952 [^2]\n\n## Physical Record\n- Primary tablet (Ni 3191): Two fragments from Nippur, Old Babylonian period copy; held at Istanbul Archaeology Museums\n- Ur fragments (IM 85688+85689): Found at Ur, translated 1965; held at Iraq Museum, Baghdad\n- Sippar exemplars: Two tablets — Si 277 (Istanbul Museum) bears the prologue; BM 54722+ (British Museum) bears the laws\n- Schoyen Collection cylinder (MS 2064): Clay cylinder of unknown provenance, dated to Ur III period, preserves 8 columns [^3]\n- Total laws: ~57 reconstructed across all fragments; ~30 legible in any single recension [^3]\n\n## Content\n- Prologue invokes deities Nanna (moon god) and Utu (sun god), establishing the king as agent of divine justice\n- Prologue also records standardization of weights and measures (the bronze sila-measure, one-mina weight, shekel of silver) [^3]\n- Laws arranged in casuistic form: IF (crime) THEN (punishment) — a pattern followed in nearly all later codes [^1]\n- Uses monetary compensation (fines in silver) rather than *lex talionis* (\"eye for an eye\") for most offenses [^1]\n- Capital offenses: murder, robbery, adultery (by a woman), and rape of a virgin wife [^3]\n- Covers: Bodily injury, kidnapping, slavery, marriage and divorce, sexual offenses, agricultural disputes, sorcery accusations\n\n## Social Structure Reflected\n- Society divided into two strata: *lu* (free person) and slave (*arad* male, *geme* female) [^3]\n- Fines and penalties differentiated by social status\n- Prologue emphasizes protection of the weak: \"the orphan was not delivered up to the rich man; the widow was not delivered up to the mighty man\" [^3]\n\n## Significance\n- Oldest known surviving legal code, predating Hammurabi by ~300 years\n- Earlier code of Urukagina (~24th century BCE) is known only through references; Ur-Nammu's is the earliest extant text [^4]\n- Favored fines over physical punishment, contrasting with the later *lex talionis* of Hammurabi's code\n- Influenced subsequent Mesopotamian codes: Laws of Eshnunna (~1930 BCE) and Code of Lipit-Ishtar (~1870 BCE), which in turn shaped the Code of Hammurabi [^4]\n- Demonstrates sophisticated legal thinking in the 3rd millennium BCE [^2]\n\n## Related Documents\n- [Code of Hammurabi](../legal-codes/code-of-hammurabi.md) — later Babylonian code, ~300 years after Ur-Nammu\n- [Ur-Nammu](../rulers/ur-nammu.md) — issuer of the code\n- [Third Dynasty of Ur](../cities/ur.md) — political context\n\n---\n[^1]: Roth, M.T. *Law Collections from Mesopotamia and Asia Minor* (1997)\n[^2]: Kramer, S.N. \"Ur-Nammu Law Code\" *Orientalia* 23 (1954); *History Begins at Sumer* (1956)\n[^3]: Wikipedia contributors, \"Code of Ur-Nammu,\" *Wikipedia* (accessed 2026-02-23), citing Finkelstein (1968), Yildiz (1981), Frayne (1997), Gurney & Kramer (1965)\n[^4]: Mark, J.J. \"The Ancient Mesopotamian Legal Code of Ur-Nammu,\" *World History Encyclopedia* (2021)\n"
⋮ }
 - Completed in 0.25s
[?25l[?25lRunning tool get_entity with the param (from mcp server: factbase)
⋮ {
⋮ "id": "5a1717",
⋮ "max_content_length": 500
⋮ }
 - Completed in 0.0s
[?25l> Document looks good — duplicate heading removed, content clean. Now commit and push.
[?25lI will run the following command: cd /home/ubuntu/work/factbase-ancient-history && git add -A && git commit -m "Enrich Code of Ur-Nammu: physical record, social structure, capital offenses, influenced codes, fix duplicate heading and BCE temporal tags" && git push (using tool: shell)
Purpose: Commit and push enriched Code of Ur-Nammu document
[main f8b93aa] Enrich Code of Ur-Nammu: physical record, social structure, capital offenses, influenced codes, fix duplicate heading and BCE temporal tags
7 files changed, 66 insertions(+), 77 deletions(-)
create mode 100644 .factbase/factbase.db-shm
create mode 100644 .factbase/factbase.db-wal
rewrite legal-codes/code-of-ur-nammu.md (94%)
remote: . Processing 1 references
remote: Processed 1 references in total
To https://gitea.home.everyonce.com/daniel/factbase-ancient-history.git
8d05dfe..f8b93aa main -> main
 - Completed in 1.570s
[?25l> <action_summary>status: UPDATED | Code of Ur-Nammu | changes: Removed duplicate H1 heading; fixed BCE temporal tags to use ~ prefix (~2100 BCE..~2050 BCE); added Physical Record section (tablet locations: Istanbul, Baghdad, British Museum, Schoyen Collection; ~57 total reconstructed laws); added Social Structure section (lu/free vs slave strata); expanded Content with capital offenses, casuistic law form, prologue deities (Nanna/Utu), weights standardization; added Significance note on earlier Urukagina code and influence on Laws of Eshnunna and Lipit-Ishtar; added Related Documents links; added two new footnotes (Kramer 1956, Wikipedia/Frayne, Mark 2021)</action_summary>

▸ Time: 54s
[?25h
status: UPDATED | Code of Ur-Nammu | changes: Removed duplicate H1 heading; fixed BCE temporal tags to use ~ prefix (~2100 BCE..~2050 BCE); added Physical Record section (tablet locations: Istanbul, Baghdad, British Museum, Schoyen Collection; ~57 total reconstructed laws); added Social Structure section (lu/free vs slave strata); expanded Content with capital offenses, casuistic law form, prologue deities (Nanna/Utu), weights standardization; added Significance note on earlier Urukagina code and influence on Laws of Eshnunna and Lipit-Ishtar; added Related Documents links; added two new footnotes (Kramer 1956, Wikipedia/Frayne, Mark 2021)

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -27,3 +27,4 @@
{"level":"info","message":"Puppeteer MCP Server closing","service":"mcp-puppeteer","timestamp":"2026-02-23 00:14:50.976"} {"level":"info","message":"Puppeteer MCP Server closing","service":"mcp-puppeteer","timestamp":"2026-02-23 00:14:50.976"}
{"level":"info","message":"Starting MCP server","service":"mcp-puppeteer","timestamp":"2026-02-23 00:15:01.123"} {"level":"info","message":"Starting MCP server","service":"mcp-puppeteer","timestamp":"2026-02-23 00:15:01.123"}
{"level":"info","message":"MCP server started successfully","service":"mcp-puppeteer","timestamp":"2026-02-23 00:15:01.125"} {"level":"info","message":"MCP server started successfully","service":"mcp-puppeteer","timestamp":"2026-02-23 00:15:01.125"}
{"level":"info","message":"Puppeteer MCP Server closing","service":"mcp-puppeteer","timestamp":"2026-02-23 00:15:56.864"}