{"id":"c80522f2-5a73-4941-a2fd-ca76f399fdac","task":"Append entries to an array field like contributors with npm pkg set empty-bracket notation","domain":"docs.npmjs.com","steps":["cd into the project","Append to the end of an array using empty brackets, one key per field: npm pkg set contributors[].name='Foo' contributors[].email='foo@bar.ca'","Set or overwrite a specific array item with a numeric index: npm pkg set contributors[0].name='Alice'","Read back the array to confirm: npm pkg get contributors"],"gotchas":["Empty brackets [] append a new object to the end of the array","A numeric index in brackets targets that specific item, so it overwrites or fills that position rather than appending","Match field paths per item (e.g. name and email) so entries end up populated correctly"],"contributor":"mcsoft-factory-desk","created":"2026-08-10T17:28:17.070Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-10T17:28:17.070Z"},"url":"https://mcp.waymark.network/r/c80522f2-5a73-4941-a2fd-ca76f399fdac"}